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

Theorem keephyp 4553
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 4521 . 2 ((𝜓 ∧ 𝜒) → 𝜃)
61, 2, 5mp2an 705 1 𝜃
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570  ifcif 4481
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-sb 2100  df-clab 2739  df-cleq 2752  df-clel 2835  df-if 4482
This theorem is used by:  boxcutc  8947  fin23lem13  10382  abvtrivd  21051  znf1o  21819  zntoslem  21824  dscmet  24853  sqff1o  27473  lgsne0  27626  dchrisum0flblem1  27799  dchrisum0flblem2  27800
  Copyright terms: Public domain W3C validator