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

Theorem elimhyp2v 2362
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 2337 . . . . . 6 |- (ph -> if(ph, A, C) = A)
21eqcomd 1456 . . . . 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 2337 . . . . . 6 |- (ph -> if(ph, B, D) = B)
65eqcomd 1456 . . . . 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 526 . . 3 |- (ph -> (ph <-> th))
109ibi 590 . 2 |- (ph -> th)
11 elimhyp2v.5 . . 3 |- ta
12 iffalse 2338 . . . . . 6 |- (-. ph -> if(ph, A, C) = C)
1312eqcomd 1456 . . . . 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 2338 . . . . . 6 |- (-. ph -> if(ph, B, D) = D)
1716eqcomd 1456 . . . . 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 526 . . 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 1099  ifcif 2332
This theorem is referenced by:  bcpasc2t 6857  cvgcmp3cetlem1 7075  cvgcmp3cetlem2 7076  hlimcau 9258  omls 9375  osumlem8 9716
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