HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem dedth2v 1785
Description: Weak deduction theorem for eliminating hypotheses with 2 class variables.
Hypotheses
Ref Expression
dedth2v.1 |- (A = if(ph, A, C) -> (ps <-> ch))
dedth2v.2 |- (B = if(ph, B, D) -> (ch <-> th))
dedth2v.3 |- th
Assertion
Ref Expression
dedth2v |- (ph -> ps)

Proof of Theorem dedth2v
StepHypRef Expression
1 dedth2v.3 . 2 |- th
2 iftrue 1780 . . . . 5 |- (ph -> if(ph, A, C) = A)
32cleqcomd 1106 . . . 4 |- (ph -> A = if(ph, A, C))
4 dedth2v.1 . . . 4 |- (A = if(ph, A, C) -> (ps <-> ch))
53, 4syl 12 . . 3 |- (ph -> (ps <-> ch))
6 iftrue 1780 . . . . 5 |- (ph -> if(ph, B, D) = B)
76cleqcomd 1106 . . . 4 |- (ph -> B = if(ph, B, D))
8 dedth2v.2 . . . 4 |- (B = if(ph, B, D) -> (ch <-> th))
97, 8syl 12 . . 3 |- (ph -> (ch <-> th))
105, 9bitrd 406 . 2 |- (ph -> (ps <-> th))
111, 10mpbiri 169 1 |- (ph -> ps)
Colors of variables: wff set class
Syntax hints:   -> wi 2   <-> wb 127   = wceq 1091  ifcif 1776
This theorem is referenced by:  climuni 4884  hlimuni 5144  omls 5251  osumlem8 5537
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-16 922  ax-17 925  ax-ext 1074
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-if 1777
metamath.org