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

Theorem elimdhyp 2366
Description: Version of elimhyp 2361 where the hypothesis is deduced from the final antecedent. See ghomgrplem 8656 for an example of its use. (Contributed by Paul Chapman, 25-Mar-2008.)
Hypotheses
Ref Expression
elimdhyp.1 |- (ph -> ps)
elimdhyp.2 |- (A = if(ph, A, B) -> (ps <-> ch))
elimdhyp.3 |- (B = if(ph, A, B) -> (th <-> ch))
elimdhyp.4 |- th
Assertion
Ref Expression
elimdhyp |- ch

Proof of Theorem elimdhyp
StepHypRef Expression
1 elimdhyp.1 . . 3 |- (ph -> ps)
2 iftrue 2337 . . . . 5 |- (ph -> if(ph, A, B) = A)
32eqcomd 1456 . . . 4 |- (ph -> A = if(ph, A, B))
4 elimdhyp.2 . . . 4 |- (A = if(ph, A, B) -> (ps <-> ch))
53, 4syl 10 . . 3 |- (ph -> (ps <-> ch))
61, 5mpbid 195 . 2 |- (ph -> ch)
7 elimdhyp.4 . . 3 |- th
8 iffalse 2338 . . . . 5 |- (-. ph -> if(ph, A, B) = B)
98eqcomd 1456 . . . 4 |- (-. ph -> B = if(ph, A, B))
10 elimdhyp.3 . . . 4 |- (B = if(ph, A, B) -> (th <-> ch))
119, 10syl 10 . . 3 |- (-. ph -> (th <-> ch))
127, 11mpbii 193 . 2 |- (-. ph -> ch)
136, 12pm2.61i 126 1 |- ch
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   = wceq 1099  ifcif 2332
This theorem is referenced by:  ghomgrplem 8656
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-4 951  ax-5 952  ax-6 953  ax-7 954  ax-gen 955  ax-8 1101  ax-9 1102  ax-10 1103  ax-12 1104  ax-17 1190  ax-16 1194  ax-11o 1202  ax-ext 1436
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 957  df-sb 1155  df-clab 1441  df-cleq 1446  df-clel 1449  df-if 2333
Copyright terms: Public domain