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

Theorem keephyp2v 4555
Description: Keep a hypothesis containing 2 class variables (for use with the weak deduction theorem dedth 4541). (Contributed by NM, 16-Apr-2005.)
Hypotheses
Ref Expression
keephyp2v.1 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜓 ↔ 𝜒))
keephyp2v.2 (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃))
keephyp2v.3 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂))
keephyp2v.4 (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃))
keephyp2v.5 𝜓
keephyp2v.6 𝜏
Assertion
Ref Expression
keephyp2v 𝜃

Proof of Theorem keephyp2v
StepHypRef Expression
1 keephyp2v.5 . . 3 𝜓
2 iftrue 4488 . . . . . 6 (𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐴)
32eqcomd 2767 . . . . 5 (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐶))
4 keephyp2v.1 . . . . 5 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜓 ↔ 𝜒))
53, 4syl 18 . . . 4 (𝜑 → (𝜓 ↔ 𝜒))
6 iftrue 4488 . . . . . 6 (𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐵)
76eqcomd 2767 . . . . 5 (𝜑 → 𝐵 = if(𝜑, 𝐵, 𝐷))
8 keephyp2v.2 . . . . 5 (𝐵 = if(𝜑, 𝐵, 𝐷) → (𝜒 ↔ 𝜃))
97, 8syl 18 . . . 4 (𝜑 → (𝜒 ↔ 𝜃))
105, 9bitrd 282 . . 3 (𝜑 → (𝜓 ↔ 𝜃))
111, 10mpbii 236 . 2 (𝜑 → 𝜃)
12 keephyp2v.6 . . 3 𝜏
13 iffalse 4491 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐶)
1413eqcomd 2767 . . . . 5 (¬ 𝜑 → 𝐶 = if(𝜑, 𝐴, 𝐶))
15 keephyp2v.3 . . . . 5 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂))
1614, 15syl 18 . . . 4 (¬ 𝜑 → (𝜏 ↔ 𝜂))
17 iffalse 4491 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐷)
1817eqcomd 2767 . . . . 5 (¬ 𝜑 → 𝐷 = if(𝜑, 𝐵, 𝐷))
19 keephyp2v.4 . . . . 5 (𝐷 = if(𝜑, 𝐵, 𝐷) → (𝜂 ↔ 𝜃))
2018, 19syl 18 . . . 4 (¬ 𝜑 → (𝜂 ↔ 𝜃))
2116, 20bitrd 282 . . 3 (¬ 𝜑 → (𝜏 ↔ 𝜃))
2212, 21mpbii 236 . 2 (¬ 𝜑 → 𝜃)
2311, 22pm2.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: (None)
  Copyright terms: Public domain W3C validator