Users' Mathboxes Mathbox for Andrew Salmon < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  2sbc6g Structured version   Visualization version   GIF version

Theorem 2sbc6g 41922
Description: Theorem *13.21 in [WhiteheadRussell] p. 179. (Contributed by Andrew Salmon, 3-Jun-2011.)
Assertion
Ref Expression
2sbc6g ((𝐴𝐶𝐵𝐷) → (∀𝑧𝑤((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑) ↔ [𝐴 / 𝑧][𝐵 / 𝑤]𝜑))
Distinct variable groups:   𝑧,𝑤,𝐴   𝑤,𝐵,𝑧
Allowed substitution hints:   𝜑(𝑧,𝑤)   𝐶(𝑧,𝑤)   𝐷(𝑧,𝑤)

Proof of Theorem 2sbc6g
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqeq2 2750 . . . . . . 7 (𝑦 = 𝐵 → (𝑤 = 𝑦𝑤 = 𝐵))
21anbi2d 628 . . . . . 6 (𝑦 = 𝐵 → ((𝑧 = 𝑥𝑤 = 𝑦) ↔ (𝑧 = 𝑥𝑤 = 𝐵)))
32imbi1d 341 . . . . 5 (𝑦 = 𝐵 → (((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ ((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑)))
432albidv 1927 . . . 4 (𝑦 = 𝐵 → (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ ∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑)))
5 dfsbcq 3713 . . . . 5 (𝑦 = 𝐵 → ([𝑦 / 𝑤]𝜑[𝐵 / 𝑤]𝜑))
65sbcbidv 3770 . . . 4 (𝑦 = 𝐵 → ([𝑥 / 𝑧][𝑦 / 𝑤]𝜑[𝑥 / 𝑧][𝐵 / 𝑤]𝜑))
74, 6bibi12d 345 . . 3 (𝑦 = 𝐵 → ((∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ [𝑥 / 𝑧][𝑦 / 𝑤]𝜑) ↔ (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑) ↔ [𝑥 / 𝑧][𝐵 / 𝑤]𝜑)))
8 eqeq2 2750 . . . . . . 7 (𝑥 = 𝐴 → (𝑧 = 𝑥𝑧 = 𝐴))
98anbi1d 629 . . . . . 6 (𝑥 = 𝐴 → ((𝑧 = 𝑥𝑤 = 𝐵) ↔ (𝑧 = 𝐴𝑤 = 𝐵)))
109imbi1d 341 . . . . 5 (𝑥 = 𝐴 → (((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑) ↔ ((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑)))
11102albidv 1927 . . . 4 (𝑥 = 𝐴 → (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑) ↔ ∀𝑧𝑤((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑)))
12 dfsbcq 3713 . . . 4 (𝑥 = 𝐴 → ([𝑥 / 𝑧][𝐵 / 𝑤]𝜑[𝐴 / 𝑧][𝐵 / 𝑤]𝜑))
1311, 12bibi12d 345 . . 3 (𝑥 = 𝐴 → ((∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝐵) → 𝜑) ↔ [𝑥 / 𝑧][𝐵 / 𝑤]𝜑) ↔ (∀𝑧𝑤((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑) ↔ [𝐴 / 𝑧][𝐵 / 𝑤]𝜑)))
14 vex 3426 . . . . 5 𝑥 ∈ V
1514sbc6 3743 . . . 4 ([𝑥 / 𝑧][𝑦 / 𝑤]𝜑 ↔ ∀𝑧(𝑧 = 𝑥[𝑦 / 𝑤]𝜑))
16 19.21v 1943 . . . . . 6 (∀𝑤(𝑧 = 𝑥 → (𝑤 = 𝑦𝜑)) ↔ (𝑧 = 𝑥 → ∀𝑤(𝑤 = 𝑦𝜑)))
17 impexp 450 . . . . . . 7 (((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ (𝑧 = 𝑥 → (𝑤 = 𝑦𝜑)))
1817albii 1823 . . . . . 6 (∀𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ ∀𝑤(𝑧 = 𝑥 → (𝑤 = 𝑦𝜑)))
19 vex 3426 . . . . . . . 8 𝑦 ∈ V
2019sbc6 3743 . . . . . . 7 ([𝑦 / 𝑤]𝜑 ↔ ∀𝑤(𝑤 = 𝑦𝜑))
2120imbi2i 335 . . . . . 6 ((𝑧 = 𝑥[𝑦 / 𝑤]𝜑) ↔ (𝑧 = 𝑥 → ∀𝑤(𝑤 = 𝑦𝜑)))
2216, 18, 213bitr4ri 303 . . . . 5 ((𝑧 = 𝑥[𝑦 / 𝑤]𝜑) ↔ ∀𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
2322albii 1823 . . . 4 (∀𝑧(𝑧 = 𝑥[𝑦 / 𝑤]𝜑) ↔ ∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑))
2415, 23bitr2i 275 . . 3 (∀𝑧𝑤((𝑧 = 𝑥𝑤 = 𝑦) → 𝜑) ↔ [𝑥 / 𝑧][𝑦 / 𝑤]𝜑)
257, 13, 24vtocl2g 3500 . 2 ((𝐵𝐷𝐴𝐶) → (∀𝑧𝑤((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑) ↔ [𝐴 / 𝑧][𝐵 / 𝑤]𝜑))
2625ancoms 458 1 ((𝐴𝐶𝐵𝐷) → (∀𝑧𝑤((𝑧 = 𝐴𝑤 = 𝐵) → 𝜑) ↔ [𝐴 / 𝑧][𝐵 / 𝑤]𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  [wsbc 3711
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-v 3424  df-sbc 3712
This theorem is referenced by:  pm14.123a  41932
  Copyright terms: Public domain W3C validator