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

Theorem keephyp 4559
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 4527 . 2 ((𝜓 ∧ 𝜒) → 𝜃)
61, 2, 5mp2an 705 1 𝜃
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1572  ifcif 4487
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-if 4488
This theorem is used by:  boxcutc  9011  fin23lem13  10453  abvtrivd  21151  znf1o  21923  zntoslem  21928  dscmet  24963  sqff1o  27579  lgsne0  27732  dchrisum0flblem1  27905  dchrisum0flblem2  27906
  Copyright terms: Public domain W3C validator