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

Theorem elimhyp 4553
Description: Eliminate a hypothesis containing class variable 𝐴 when it is known for a specific class 𝐵. For more information, see comments in dedth 4546. (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 4493 . . . . 5 (𝜑 → if(𝜑, 𝐴, 𝐵) = 𝐴)
21eqcomd 2775 . . . 4 (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐵))
3 elimhyp.1 . . . 4 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜑 ↔ 𝜓))
42, 3syl 18 . . 3 (𝜑 → (𝜑 ↔ 𝜓))
54ibi 270 . 2 (𝜑 → 𝜓)
6 elimhyp.3 . . 3 𝜒
7 iffalse 4496 . . . . 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
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   = wceq 1572  ifcif 4487
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-if 4488
This theorem is used by:  elimel  4557  elimf  6748  oeoa  8654  oeoe  8656  limensuc  9221  axcc4dom  10568  elimne0  11345  elimgt0  12205  elimge0  12206  2ndcdisj  23853  siilem2  31530  normlem7tALT  31797  hhsssh  31947  shintcl  32008  chintcl  32010  spanun  32223  elunop2  32691  lnophm  32697  nmbdfnlb  32728  hmopidmch  32831  hmopidmpj  32832  chirred  33073  limsucncmp  37474  elimhyps  40310  elimhyps2  40313
  Copyright terms: Public domain W3C validator