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

Theorem csboprabg 35480
Description: Move class substitution in and out of class abstractions of nested ordered pairs. (Contributed by ML, 25-Oct-2020.)
Assertion
Ref Expression
csboprabg (𝐴𝑉𝐴 / 𝑥{⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ [𝐴 / 𝑥]𝜑})
Distinct variable groups:   𝐴,𝑑   𝑦,𝐴   𝑧,𝐴   𝑉,𝑑   𝑦,𝑉   𝑧,𝑉   𝑥,𝑑   𝑥,𝑦   𝑥,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑑)   𝐴(𝑥)   𝑉(𝑥)

Proof of Theorem csboprabg
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 csbab 4376 . . 3 𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐[𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
2 sbcex2 3785 . . . . 5 ([𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦[𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
3 sbcex2 3785 . . . . . . 7 ([𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧[𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
4 sbcex2 3785 . . . . . . . . 9 ([𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑[𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
5 sbcan 3771 . . . . . . . . . . 11 ([𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑))
6 sbcg 3799 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ↔ 𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩))
76anbi1d 629 . . . . . . . . . . 11 (𝐴𝑉 → (([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑) ↔ (𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
85, 7syl5bb 282 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ (𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
98exbidv 1927 . . . . . . . . 9 (𝐴𝑉 → (∃𝑑[𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
104, 9syl5bb 282 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1110exbidv 1927 . . . . . . 7 (𝐴𝑉 → (∃𝑧[𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
123, 11syl5bb 282 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1312exbidv 1927 . . . . 5 (𝐴𝑉 → (∃𝑦[𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
142, 13syl5bb 282 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1514abbidv 2808 . . 3 (𝐴𝑉 → {𝑐[𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)})
161, 15eqtrid 2791 . 2 (𝐴𝑉𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)})
17 df-oprab 7272 . . 3 {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
1817csbeq2i 3844 . 2 𝐴 / 𝑥{⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = 𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
19 df-oprab 7272 . 2 {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ [𝐴 / 𝑥]𝜑} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)}
2016, 18, 193eqtr4g 2804 1 (𝐴𝑉𝐴 / 𝑥{⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ [𝐴 / 𝑥]𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1541  wex 1785  wcel 2109  {cab 2716  [wsbc 3719  csb 3836  cop 4572  {coprab 7269
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-nul 4262  df-oprab 7272
This theorem is referenced by:  csbmpo123  35481
  Copyright terms: Public domain W3C validator