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

Theorem elimhyp 4558
Description: Eliminate a hypothesis containing class variable 𝐴 when it is known for a specific class 𝐵. For more information, see comments in dedth 4551. (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 4498 . . . . 5 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21eqcomd 2775 . . . 4 (𝜑𝐴 = if(𝜑, 𝐴, 𝐵))
3 elimhyp.1 . . . 4 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜑𝜓))
42, 3syl 18 . . 3 (𝜑 → (𝜑𝜓))
54ibi 270 . 2 (𝜑𝜓)
6 elimhyp.3 . . 3 𝜒
7 iffalse 4501 . . . . 5 𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐵)
87eqcomd 2775 . . . 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 1567  ifcif 4492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-ext 2741
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-ex 1807  df-sb 2098  df-clab 2748  df-cleq 2761  df-clel 2844  df-if 4493
This theorem is referenced by:  elimel  4562  elimf  6705  oeoa  8583  oeoe  8585  limensuc  9142  axcc4dom  10425  elimne0  11196  elimgt0  12053  elimge0  12054  2ndcdisj  23582  siilem2  31145  normlem7tALT  31412  hhsssh  31562  shintcl  31623  chintcl  31625  spanun  31838  elunop2  32306  lnophm  32312  nmbdfnlb  32343  hmopidmch  32446  hmopidmpj  32447  chirred  32688  limsucncmp  36880  elimhyps  39659  elimhyps2  39662
  Copyright terms: Public domain W3C validator