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

Theorem elimhyp2v 4147
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 4092 . . . . . 6 (𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐴)
21eqcomd 2628 . . . . 5 (𝜑𝐴 = if(𝜑, 𝐴, 𝐶))
3 elimhyp2v.1 . . . . 5 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜑𝜒))
42, 3syl 17 . . . 4 (𝜑 → (𝜑𝜒))
5 iftrue 4092 . . . . . 6 (𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐵)
65eqcomd 2628 . . . . 5 (𝜑𝐵 = if(𝜑, 𝐵, 𝐷))
7 elimhyp2v.2 . . . . 5 (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒𝜃))
86, 7syl 17 . . . 4 (𝜑 → (𝜒𝜃))
94, 8bitrd 268 . . 3 (𝜑 → (𝜑𝜃))
109ibi 256 . 2 (𝜑𝜃)
11 elimhyp2v.5 . . 3 𝜏
12 iffalse 4095 . . . . . 6 𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐶)
1312eqcomd 2628 . . . . 5 𝜑𝐶 = if(𝜑, 𝐴, 𝐶))
14 elimhyp2v.3 . . . . 5 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏𝜂))
1513, 14syl 17 . . . 4 𝜑 → (𝜏𝜂))
16 iffalse 4095 . . . . . 6 𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐷)
1716eqcomd 2628 . . . . 5 𝜑𝐷 = if(𝜑, 𝐵, 𝐷))
18 elimhyp2v.4 . . . . 5 (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂𝜃))
1917, 18syl 17 . . . 4 𝜑 → (𝜂𝜃))
2015, 19bitrd 268 . . 3 𝜑 → (𝜏𝜃))
2111, 20mpbii 223 . 2 𝜑𝜃)
2210, 21pm2.61i 176 1 𝜃
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196   = wceq 1483  ifcif 4086
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-if 4087
This theorem is referenced by:  omlsi  28263
  Copyright terms: Public domain W3C validator