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

Theorem elimhyp4v 2389
Description: Eliminate a hypothesis containing 4 class variables (for use with the weak deduction theorem dedth 2379).
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 2362 . . . . . . 7 |- (ph -> if(ph, A, D) = A)
21eqcomd 1477 . . . . . 6 |- (ph -> A = if(ph, A, D))
3 elimhyp4v.1 . . . . . 6 |- (A = if(ph, A, D) -> (ph <-> ch))
42, 3syl 10 . . . . 5 |- (ph -> (ph <-> ch))
5 iftrue 2362 . . . . . . 7 |- (ph -> if(ph, B, R) = B)
65eqcomd 1477 . . . . . 6 |- (ph -> B = if(ph, B, R))
7 elimhyp4v.2 . . . . . 6 |- (B = if(ph, B, R) -> (ch <-> th))
86, 7syl 10 . . . . 5 |- (ph -> (ch <-> th))
94, 8bitrd 527 . . . 4 |- (ph -> (ph <-> th))
10 iftrue 2362 . . . . . 6 |- (ph -> if(ph, C, S) = C)
1110eqcomd 1477 . . . . 5 |- (ph -> C = if(ph, C, S))
12 elimhyp4v.3 . . . . 5 |- (C = if(ph, C, S) -> (th <-> ta))
1311, 12syl 10 . . . 4 |- (ph -> (th <-> ta))
14 iftrue 2362 . . . . . 6 |- (ph -> if(ph, F, G) = F)
1514eqcomd 1477 . . . . 5 |- (ph -> F = if(ph, F, G))
16 elimhyp4v.4 . . . . 5 |- (F = if(ph, F, G) -> (ta <-> ps))
1715, 16syl 10 . . . 4 |- (ph -> (ta <-> ps))
189, 13, 173bitrd 543 . . 3 |- (ph -> (ph <-> ps))
1918ibi 591 . 2 |- (ph -> ps)
20 elimhyp4v.9 . . 3 |- et
21 iffalse 2363 . . . . . . 7 |- (-. ph -> if(ph, A, D) = D)
2221eqcomd 1477 . . . . . 6 |- (-. ph -> D = if(ph, A, D))
23 elimhyp4v.5 . . . . . 6 |- (D = if(ph, A, D) -> (et <-> ze))
2422, 23syl 10 . . . . 5 |- (-. ph -> (et <-> ze))
25 iffalse 2363 . . . . . . 7 |- (-. ph -> if(ph, B, R) = R)
2625eqcomd 1477 . . . . . 6 |- (-. ph -> R = if(ph, B, R))
27 elimhyp4v.6 . . . . . 6 |- (R = if(ph, B, R) -> (ze <-> si))
2826, 27syl 10 . . . . 5 |- (-. ph -> (ze <-> si))
2924, 28bitrd 527 . . . 4 |- (-. ph -> (et <-> si))
30 iffalse 2363 . . . . . 6 |- (-. ph -> if(ph, C, S) = S)
3130eqcomd 1477 . . . . 5 |- (-. ph -> S = if(ph, C, S))
32 elimhyp4v.7 . . . . 5 |- (S = if(ph, C, S) -> (si <-> rh))
3331, 32syl 10 . . . 4 |- (-. ph -> (si <-> rh))
34 iffalse 2363 . . . . . 6 |- (-. ph -> if(ph, F, G) = G)
3534eqcomd 1477 . . . . 5 |- (-. ph -> G = if(ph, F, G))
36 elimhyp4v.8 . . . . 5 |- (G = if(ph, F, G) -> (rh <-> ps))
3735, 36syl 10 . . . 4 |- (-. ph -> (rh <-> ps))
3829, 33, 373bitrd 543 . . 3 |- (-. ph -> (et <-> ps))
3920, 38mpbii 193 . 2 |- (-. ph -> ps)
4019, 39pm2.61i 126 1 |- ps
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   = wceq 954  ifcif 2357
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 960  ax-gen 961  ax-8 962  ax-10 964  ax-12 966  ax-17 969  ax-4 971  ax-5o 973  ax-6o 976  ax-9o 1121  ax-10o 1138  ax-16 1208  ax-11o 1216  ax-ext 1457
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 979  df-sb 1170  df-clab 1462  df-cleq 1467  df-clel 1470  df-if 2358
Copyright terms: Public domain