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

Theorem elimhyp 4551
Description: Eliminate a hypothesis containing class variable 𝐴 when it is known for a specific class 𝐵. For more information, see comments in dedth 4544. (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 4491 . . . . 5 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21eqcomd 2769 . . . 4 (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐵))
3 elimhyp.1 . . . 4 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜑 ↔ 𝜓))
42, 3syl 18 . . 3 (𝜑 → (𝜑 ↔ 𝜓))
54ibi 270 . 2 (𝜑 → 𝜓)
6 elimhyp.3 . . 3 𝜒
7 iffalse 4494 . . . . 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
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   = wceq 1570  ifcif 4485
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-if 4486
This theorem is used by:  elimel  4555  elimf  6730  oeoa  8634  oeoe  8636  limensuc  9201  axcc4dom  10546  elimne0  11323  elimgt0  12182  elimge0  12183  2ndcdisj  23805  siilem2  31484  normlem7tALT  31751  hhsssh  31901  shintcl  31962  chintcl  31964  spanun  32177  elunop2  32645  lnophm  32651  nmbdfnlb  32682  hmopidmch  32785  hmopidmpj  32786  chirred  33027  limsucncmp  37412  elimhyps  40210  elimhyps2  40213
  Copyright terms: Public domain W3C validator