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

Theorem elimhyp2v 4549
Description: Eliminate a hypothesis containing 2 class variables. (Contributed by NM, 14-Aug-1999.)
Hypotheses
Ref Expression
elimhyp2v.1 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜑 ↔ 𝜒))
elimhyp2v.2 (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃))
elimhyp2v.3 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂))
elimhyp2v.4 (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃))
elimhyp2v.5 𝜏
Assertion
Ref Expression
elimhyp2v 𝜃

Proof of Theorem elimhyp2v
StepHypRef Expression
1 iftrue 4488 . . . . . 6 (𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐴)
21eqcomd 2767 . . . . 5 (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐶))
3 elimhyp2v.1 . . . . 5 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜑 ↔ 𝜒))
42, 3syl 18 . . . 4 (𝜑 → (𝜑 ↔ 𝜒))
5 iftrue 4488 . . . . . 6 (𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐵)
65eqcomd 2767 . . . . 5 (𝜑 → 𝐵 = if(𝜑, 𝐵, 𝐷))
7 elimhyp2v.2 . . . . 5 (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃))
86, 7syl 18 . . . 4 (𝜑 → (𝜒 ↔ 𝜃))
94, 8bitrd 282 . . 3 (𝜑 → (𝜑 ↔ 𝜃))
109ibi 270 . 2 (𝜑 → 𝜃)
11 elimhyp2v.5 . . 3 𝜏
12 iffalse 4491 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐶)
1312eqcomd 2767 . . . . 5 (¬ 𝜑 → 𝐶 = if(𝜑, 𝐴, 𝐶))
14 elimhyp2v.3 . . . . 5 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂))
1513, 14syl 18 . . . 4 (¬ 𝜑 → (𝜏 ↔ 𝜂))
16 iffalse 4491 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐷)
1716eqcomd 2767 . . . . 5 (¬ 𝜑 → 𝐷 = if(𝜑, 𝐵, 𝐷))
18 elimhyp2v.4 . . . . 5 (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃))
1917, 18syl 18 . . . 4 (¬ 𝜑 → (𝜂 ↔ 𝜃))
2015, 19bitrd 282 . . 3 (¬ 𝜑 → (𝜏 ↔ 𝜃))
2111, 20mpbii 236 . 2 (¬ 𝜑 → 𝜃)
2210, 21pm2.61i 184 1 𝜃
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   = wceq 1570  ifcif 4482
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-if 4483
This theorem is used by:  omlsi  32006
  Copyright terms: Public domain W3C validator