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

Theorem keephyp 2386
Description: Transform a hypothesis ps that we want to keep (but contains the same class variable A used in the eliminated hypothesis) for use with the weak deduction theorem.
Hypotheses
Ref Expression
keephyp.1 |- (A = if(ph, A, B) -> (ps <-> th))
keephyp.2 |- (B = if(ph, A, B) -> (ch <-> th))
keephyp.3 |- ps
keephyp.4 |- ch
Assertion
Ref Expression
keephyp |- th

Proof of Theorem keephyp
StepHypRef Expression
1 keephyp.3 . 2 |- ps
2 keephyp.4 . 2 |- ch
3 keephyp.1 . . 3 |- (A = if(ph, A, B) -> (ps <-> th))
4 keephyp.2 . . 3 |- (B = if(ph, A, B) -> (ch <-> th))
53, 4ifboth 2365 . 2 |- ((ps /\ ch) -> th)
61, 2, 5mp2an 695 1 |- th
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 146   = wceq 953  ifcif 2351
This theorem is referenced by:  keepel 2389  mulcant2 5660  sqrlem21 6623  sqrlem22 6624  projlem7 9108
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 959  ax-gen 960  ax-8 961  ax-10 963  ax-12 965  ax-17 968  ax-4 970  ax-5o 972  ax-6o 975  ax-9o 1119  ax-10o 1136  ax-16 1206  ax-11o 1213  ax-ext 1452
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-ex 978  df-sb 1168  df-clab 1457  df-cleq 1462  df-clel 1465  df-if 2352
Copyright terms: Public domain