MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  keephyp Structured version   Visualization version   GIF version

Theorem keephyp 4599
Description: Transform a hypothesis 𝜓 that we want to keep (but contains the same class variable 𝐴 used in the eliminated hypothesis) for use with the weak deduction theorem. (Contributed by NM, 15-May-1999.)
Hypotheses
Ref Expression
keephyp.1 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓𝜃))
keephyp.2 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒𝜃))
keephyp.3 𝜓
keephyp.4 𝜒
Assertion
Ref Expression
keephyp 𝜃

Proof of Theorem keephyp
StepHypRef Expression
1 keephyp.3 . 2 𝜓
2 keephyp.4 . 2 𝜒
3 keephyp.1 . . 3 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓𝜃))
4 keephyp.2 . . 3 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒𝜃))
53, 4ifboth 4567 . 2 ((𝜓𝜒) → 𝜃)
61, 2, 5mp2an 690 1 𝜃
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1541  ifcif 4528
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-if 4529
This theorem is referenced by:  boxcutc  8934  fin23lem13  10326  abvtrivd  20447  znf1o  21106  zntoslem  21111  dscmet  24080  sqff1o  26683  lgsne0  26835  dchrisum0flblem1  27008  dchrisum0flblem2  27009
  Copyright terms: Public domain W3C validator