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

Theorem keephyp2v 2393
Description: Keep a hypothesis containing 2 class variables (for use with the weak deduction theorem dedth 2379).
Hypotheses
Ref Expression
keephyp2v.1 |- (A = if(ph, A, C) -> (ps <-> ch))
keephyp2v.2 |- (B = if(ph, B, D) -> (ch <-> th))
keephyp2v.3 |- (C = if(ph, A, C) -> (ta <-> et))
keephyp2v.4 |- (D = if(ph, B, D) -> (et <-> th))
keephyp2v.5 |- ps
keephyp2v.6 |- ta
Assertion
Ref Expression
keephyp2v |- th

Proof of Theorem keephyp2v
StepHypRef Expression
1 keephyp2v.5 . . 3 |- ps
2 iftrue 2362 . . . . . 6 |- (ph -> if(ph, A, C) = A)
32eqcomd 1477 . . . . 5 |- (ph -> A = if(ph, A, C))
4 keephyp2v.1 . . . . 5 |- (A = if(ph, A, C) -> (ps <-> ch))
53, 4syl 10 . . . 4 |- (ph -> (ps <-> ch))
6 iftrue 2362 . . . . . 6 |- (ph -> if(ph, B, D) = B)
76eqcomd 1477 . . . . 5 |- (ph -> B = if(ph, B, D))
8 keephyp2v.2 . . . . 5 |- (B = if(ph, B, D) -> (ch <-> th))
97, 8syl 10 . . . 4 |- (ph -> (ch <-> th))
105, 9bitrd 527 . . 3 |- (ph -> (ps <-> th))
111, 10mpbii 193 . 2 |- (ph -> th)
12 keephyp2v.6 . . 3 |- ta
13 iffalse 2363 . . . . . 6 |- (-. ph -> if(ph, A, C) = C)
1413eqcomd 1477 . . . . 5 |- (-. ph -> C = if(ph, A, C))
15 keephyp2v.3 . . . . 5 |- (C = if(ph, A, C) -> (ta <-> et))
1614, 15syl 10 . . . 4 |- (-. ph -> (ta <-> et))
17 iffalse 2363 . . . . . 6 |- (-. ph -> if(ph, B, D) = D)
1817eqcomd 1477 . . . . 5 |- (-. ph -> D = if(ph, B, D))
19 keephyp2v.4 . . . . 5 |- (D = if(ph, B, D) -> (et <-> th))
2018, 19syl 10 . . . 4 |- (-. ph -> (et <-> th))
2116, 20bitrd 527 . . 3 |- (-. ph -> (ta <-> th))
2212, 21mpbii 193 . 2 |- (-. ph -> th)
2311, 22pm2.61i 126 1 |- th
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