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

Theorem elimhyp2v 2391
Description: Eliminate a hypothesis containing 2 class variables.
Hypotheses
Ref Expression
elimhyp2v.1 |- (A = if(ph, A, C) -> (ph <-> ch))
elimhyp2v.2 |- (B = if(ph, B, D) -> (ch <-> th))
elimhyp2v.3 |- (C = if(ph, A, C) -> (ta <-> et))
elimhyp2v.4 |- (D = if(ph, B, D) -> (et <-> th))
elimhyp2v.5 |- ta
Assertion
Ref Expression
elimhyp2v |- th

Proof of Theorem elimhyp2v
StepHypRef Expression
1 iftrue 2366 . . . . . 6 |- (ph -> if(ph, A, C) = A)
21eqcomd 1480 . . . . 5 |- (ph -> A = if(ph, A, C))
3 elimhyp2v.1 . . . . 5 |- (A = if(ph, A, C) -> (ph <-> ch))
42, 3syl 10 . . . 4 |- (ph -> (ph <-> ch))
5 iftrue 2366 . . . . . 6 |- (ph -> if(ph, B, D) = B)
65eqcomd 1480 . . . . 5 |- (ph -> B = if(ph, B, D))
7 elimhyp2v.2 . . . . 5 |- (B = if(ph, B, D) -> (ch <-> th))
86, 7syl 10 . . . 4 |- (ph -> (ch <-> th))
94, 8bitrd 528 . . 3 |- (ph -> (ph <-> th))
109ibi 592 . 2 |- (ph -> th)
11 elimhyp2v.5 . . 3 |- ta
12 iffalse 2367 . . . . . 6 |- (-. ph -> if(ph, A, C) = C)
1312eqcomd 1480 . . . . 5 |- (-. ph -> C = if(ph, A, C))
14 elimhyp2v.3 . . . . 5 |- (C = if(ph, A, C) -> (ta <-> et))
1513, 14syl 10 . . . 4 |- (-. ph -> (ta <-> et))
16 iffalse 2367 . . . . . 6 |- (-. ph -> if(ph, B, D) = D)
1716eqcomd 1480 . . . . 5 |- (-. ph -> D = if(ph, B, D))
18 elimhyp2v.4 . . . . 5 |- (D = if(ph, B, D) -> (et <-> th))
1917, 18syl 10 . . . 4 |- (-. ph -> (et <-> th))
2015, 19bitrd 528 . . 3 |- (-. ph -> (ta <-> th))
2111, 20mpbii 193 . 2 |- (-. ph -> th)
2210, 21pm2.61i 126 1 |- th
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   = wceq 956  ifcif 2361
This theorem is referenced by:  bcpasc2t 6968  cvgcmp3cetlem1 7188  cvgcmp3cetlem2 7189  hlimcau 9107  omls 9246  osumlem8 9585
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 962  ax-gen 963  ax-8 964  ax-10 966  ax-12 968  ax-17 971  ax-4 973  ax-5o 975  ax-6o 978  ax-9o 1123  ax-10o 1140  ax-16 1210  ax-11o 1218  ax-ext 1459
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 981  df-sb 1172  df-clab 1464  df-cleq 1469  df-clel 1472  df-if 2362
Copyright terms: Public domain