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

Theorem keephyp2v 4554
Description: Keep a hypothesis containing 2 class variables (for use with the weak deduction theorem dedth 4540). (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 4487 . . . . . 6 (𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐴)
32eqcomd 2766 . . . . 5 (𝜑 → 𝐴 = if(𝜑, 𝐴, 𝐶))
4 keephyp2v.1 . . . . 5 (𝐴 = if(𝜑, 𝐴, 𝐶) → (𝜓 ↔ 𝜒))
53, 4syl 18 . . . 4 (𝜑 → (𝜓 ↔ 𝜒))
6 iftrue 4487 . . . . . 6 (𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐵)
76eqcomd 2766 . . . . 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 4490 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐴, 𝐶) = 𝐶)
1413eqcomd 2766 . . . . 5 (¬ 𝜑 → 𝐶 = if(𝜑, 𝐴, 𝐶))
15 keephyp2v.3 . . . . 5 (𝐶 = if(𝜑, 𝐴, 𝐶) → (𝜏 ↔ 𝜂))
1614, 15syl 18 . . . 4 (¬ 𝜑 → (𝜏 ↔ 𝜂))
17 iffalse 4490 . . . . . 6 (¬ 𝜑 → if(𝜑, 𝐵, 𝐷) = 𝐷)
1817eqcomd 2766 . . . . 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 1569  ifcif 4481
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-if 4482
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator