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

Theorem elimhyp 4554
Description: Eliminate a hypothesis containing class variable 𝐴 when it is known for a specific class 𝐵. For more information, see comments in dedth 4547. (Contributed by NM, 15-May-1999.)
Hypotheses
Ref Expression
elimhyp.1 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜑𝜓))
elimhyp.2 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒𝜓))
elimhyp.3 𝜒
Assertion
Ref Expression
elimhyp 𝜓

Proof of Theorem elimhyp
StepHypRef Expression
1 iftrue 4494 . . . . 5 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21eqcomd 2769 . . . 4 (𝜑𝐴 = if(𝜑, 𝐴, 𝐵))
3 elimhyp.1 . . . 4 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜑𝜓))
42, 3syl 18 . . 3 (𝜑 → (𝜑𝜓))
54ibi 270 . 2 (𝜑𝜓)
6 elimhyp.3 . . 3 𝜒
7 iffalse 4497 . . . . 5 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
87eqcomd 2769 . . . 4 𝜑𝐵 = if(𝜑, 𝐴, 𝐵))
9 elimhyp.2 . . . 4 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒𝜓))
108, 9syl 18 . . 3 𝜑 → (𝜒𝜓))
116, 10mpbii 236 . 2 𝜑𝜓)
125, 11pm2.61i 184 1 𝜓
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209   = wceq 1570  ifcif 4488
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-ext 2735
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ex 1810  df-sb 2097  df-clab 2742  df-cleq 2755  df-clel 2838  df-if 4489
This theorem is referenced by:  elimel  4558  elimf  6706  oeoa  8584  oeoe  8586  limensuc  9143  axcc4dom  10426  elimne0  11197  elimgt0  12054  elimge0  12055  2ndcdisj  23594  siilem2  31182  normlem7tALT  31449  hhsssh  31599  shintcl  31660  chintcl  31662  spanun  31875  elunop2  32343  lnophm  32349  nmbdfnlb  32380  hmopidmch  32483  hmopidmpj  32484  chirred  32725  limsucncmp  36935  elimhyps  39713  elimhyps2  39716
  Copyright terms: Public domain W3C validator