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 1569  ifcif 4481
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-if 4482
This theorem is used by:  boxcutc  8970  fin23lem13  10411  abvtrivd  21090  znf1o  21858  zntoslem  21863  dscmet  24892  sqff1o  27510  lgsne0  27663  dchrisum0flblem1  27836  dchrisum0flblem2  27837
  Copyright terms: Public domain W3C validator