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

Theorem elimhyp4v 3024
Description: Eliminate a hypothesis containing 4 class variables (for use with the weak deduction theorem dedth 3011).
Hypotheses
Ref Expression
elimhyp4v.1 |- (A = if(ph, A, D) -> (ph <-> ch))
elimhyp4v.2 |- (B = if(ph, B, R) -> (ch <-> th))
elimhyp4v.3 |- (C = if(ph, C, S) -> (th <-> ta))
elimhyp4v.4 |- (F = if(ph, F, G) -> (ta <-> ps))
elimhyp4v.5 |- (D = if(ph, A, D) -> (et <-> ze))
elimhyp4v.6 |- (R = if(ph, B, R) -> (ze <-> si))
elimhyp4v.7 |- (S = if(ph, C, S) -> (si <-> rh))
elimhyp4v.8 |- (G = if(ph, F, G) -> (rh <-> ps))
elimhyp4v.9 |- et
Assertion
Ref Expression
elimhyp4v |- ps

Proof of Theorem elimhyp4v
StepHypRef Expression
1 iftrue 2989 . . . . . . 7 |- (ph -> if(ph, A, D) = A)
21eqcomd 1889 . . . . . 6 |- (ph -> A = if(ph, A, D))
3 elimhyp4v.1 . . . . . 6 |- (A = if(ph, A, D) -> (ph <-> ch))
42, 3syl 12 . . . . 5 |- (ph -> (ph <-> ch))
5 iftrue 2989 . . . . . . 7 |- (ph -> if(ph, B, R) = B)
65eqcomd 1889 . . . . . 6 |- (ph -> B = if(ph, B, R))
7 elimhyp4v.2 . . . . . 6 |- (B = if(ph, B, R) -> (ch <-> th))
86, 7syl 12 . . . . 5 |- (ph -> (ch <-> th))
94, 8bitrd 587 . . . 4 |- (ph -> (ph <-> th))
10 iftrue 2989 . . . . . 6 |- (ph -> if(ph, C, S) = C)
1110eqcomd 1889 . . . . 5 |- (ph -> C = if(ph, C, S))
12 elimhyp4v.3 . . . . 5 |- (C = if(ph, C, S) -> (th <-> ta))
1311, 12syl 12 . . . 4 |- (ph -> (th <-> ta))
14 iftrue 2989 . . . . . 6 |- (ph -> if(ph, F, G) = F)
1514eqcomd 1889 . . . . 5 |- (ph -> F = if(ph, F, G))
16 elimhyp4v.4 . . . . 5 |- (F = if(ph, F, G) -> (ta <-> ps))
1715, 16syl 12 . . . 4 |- (ph -> (ta <-> ps))
189, 13, 173bitrd 603 . . 3 |- (ph -> (ph <-> ps))
1918ibi 652 . 2 |- (ph -> ps)
20 elimhyp4v.9 . . 3 |- et
21 iffalse 2991 . . . . . . 7 |- (-. ph -> if(ph, A, D) = D)
2221eqcomd 1889 . . . . . 6 |- (-. ph -> D = if(ph, A, D))
23 elimhyp4v.5 . . . . . 6 |- (D = if(ph, A, D) -> (et <-> ze))
2422, 23syl 12 . . . . 5 |- (-. ph -> (et <-> ze))
25 iffalse 2991 . . . . . . 7 |- (-. ph -> if(ph, B, R) = R)
2625eqcomd 1889 . . . . . 6 |- (-. ph -> R = if(ph, B, R))
27 elimhyp4v.6 . . . . . 6 |- (R = if(ph, B, R) -> (ze <-> si))
2826, 27syl 12 . . . . 5 |- (-. ph -> (ze <-> si))
2924, 28bitrd 587 . . . 4 |- (-. ph -> (et <-> si))
30 iffalse 2991 . . . . . 6 |- (-. ph -> if(ph, C, S) = S)
3130eqcomd 1889 . . . . 5 |- (-. ph -> S = if(ph, C, S))
32 elimhyp4v.7 . . . . 5 |- (S = if(ph, C, S) -> (si <-> rh))
3331, 32syl 12 . . . 4 |- (-. ph -> (si <-> rh))
34 iffalse 2991 . . . . . 6 |- (-. ph -> if(ph, F, G) = G)
3534eqcomd 1889 . . . . 5 |- (-. ph -> G = if(ph, F, G))
36 elimhyp4v.8 . . . . 5 |- (G = if(ph, F, G) -> (rh <-> ps))
3735, 36syl 12 . . . 4 |- (-. ph -> (rh <-> ps))
3829, 33, 373bitrd 603 . . 3 |- (-. ph -> (et <-> ps))
3920, 38mpbii 210 . 2 |- (-. ph -> ps)
4019, 39pm2.61i 140 1 |- ps
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 163   = wceq 1298  ifcif 2982
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-10 1308  ax-12 1310  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-ex 1327  df-sb 1536  df-clab 1872  df-cleq 1877  df-clel 1880  df-if 2983
Copyright terms: Public domain