Users' Mathboxes Mathbox for Giovanni Mascellani < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  sbccom2lem Structured version   Visualization version   GIF version

Theorem sbccom2lem 35562
Description: Lemma for sbccom2 35563. (Contributed by Giovanni Mascellani, 31-May-2019.)
Hypothesis
Ref Expression
sbccom2lem.1 𝐴 ∈ V
Assertion
Ref Expression
sbccom2lem ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝐵(𝑥)

Proof of Theorem sbccom2lem
StepHypRef Expression
1 sbcan 3768 . . . 4 ([𝐴 / 𝑥](𝑦 = 𝐵𝜑) ↔ ([𝐴 / 𝑥]𝑦 = 𝐵[𝐴 / 𝑥]𝜑))
2 sbc5 3748 . . . 4 ([𝐴 / 𝑥](𝑦 = 𝐵𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
3 sbccom2lem.1 . . . . . 6 𝐴 ∈ V
43csbconstgi 3849 . . . . . 6 𝐴 / 𝑥𝑦 = 𝑦
5 eqid 2798 . . . . . 6 𝐴 / 𝑥𝐵 = 𝐴 / 𝑥𝐵
63, 4, 5sbceqi 4318 . . . . 5 ([𝐴 / 𝑥]𝑦 = 𝐵𝑦 = 𝐴 / 𝑥𝐵)
76anbi1i 626 . . . 4 (([𝐴 / 𝑥]𝑦 = 𝐵[𝐴 / 𝑥]𝜑) ↔ (𝑦 = 𝐴 / 𝑥𝐵[𝐴 / 𝑥]𝜑))
81, 2, 73bitr3i 304 . . 3 (∃𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ (𝑦 = 𝐴 / 𝑥𝐵[𝐴 / 𝑥]𝜑))
98exbii 1849 . 2 (∃𝑦𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ ∃𝑦(𝑦 = 𝐴 / 𝑥𝐵[𝐴 / 𝑥]𝜑))
10 sbc5 3748 . . . . 5 ([𝐵 / 𝑦]𝜑 ↔ ∃𝑦(𝑦 = 𝐵𝜑))
1110sbcbii 3776 . . . 4 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥]𝑦(𝑦 = 𝐵𝜑))
12 sbc5 3748 . . . 4 ([𝐴 / 𝑥]𝑦(𝑦 = 𝐵𝜑) ↔ ∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
1311, 12bitri 278 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ ∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
14 19.42v 1954 . . . . . 6 (∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ (𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)))
1514bicomi 227 . . . . 5 ((𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)) ↔ ∃𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
1615exbii 1849 . . . 4 (∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)) ↔ ∃𝑥𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
17 excom 2166 . . . 4 (∃𝑥𝑦(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)) ↔ ∃𝑦𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
1816, 17bitri 278 . . 3 (∃𝑥(𝑥 = 𝐴 ∧ ∃𝑦(𝑦 = 𝐵𝜑)) ↔ ∃𝑦𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
1913, 18bitri 278 . 2 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑 ↔ ∃𝑦𝑥(𝑥 = 𝐴 ∧ (𝑦 = 𝐵𝜑)))
20 sbc5 3748 . 2 ([𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑 ↔ ∃𝑦(𝑦 = 𝐴 / 𝑥𝐵[𝐴 / 𝑥]𝜑))
219, 19, 203bitr4i 306 1 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜑[𝐴 / 𝑥𝐵 / 𝑦][𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399   = wceq 1538  wex 1781  wcel 2111  Vcvv 3441  [wsbc 3720  csb 3828
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-sbc 3721  df-csb 3829
This theorem is referenced by:  sbccom2  35563
  Copyright terms: Public domain W3C validator