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 34613
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 4391 . . 3 𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐[𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
2 sbcex2 3836 . . . . 5 ([𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦[𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
3 sbcex2 3836 . . . . . . 7 ([𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧[𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
4 sbcex2 3836 . . . . . . . . 9 ([𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑[𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑))
5 sbcan 3823 . . . . . . . . . . 11 ([𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑))
6 sbcg 3849 . . . . . . . . . . . 12 (𝐴𝑉 → ([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ↔ 𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩))
76anbi1d 631 . . . . . . . . . . 11 (𝐴𝑉 → (([𝐴 / 𝑥]𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑) ↔ (𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
85, 7syl5bb 285 . . . . . . . . . 10 (𝐴𝑉 → ([𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ (𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
98exbidv 1922 . . . . . . . . 9 (𝐴𝑉 → (∃𝑑[𝐴 / 𝑥](𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
104, 9syl5bb 285 . . . . . . . 8 (𝐴𝑉 → ([𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1110exbidv 1922 . . . . . . 7 (𝐴𝑉 → (∃𝑧[𝐴 / 𝑥]𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
123, 11syl5bb 285 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1312exbidv 1922 . . . . 5 (𝐴𝑉 → (∃𝑦[𝐴 / 𝑥]𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
142, 13syl5bb 285 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑) ↔ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)))
1514abbidv 2887 . . 3 (𝐴𝑉 → {𝑐[𝐴 / 𝑥]𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)})
161, 15syl5eq 2870 . 2 (𝐴𝑉𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)})
17 df-oprab 7162 . . 3 {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
1817csbeq2i 3893 . 2 𝐴 / 𝑥{⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = 𝐴 / 𝑥{𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ 𝜑)}
19 df-oprab 7162 . 2 {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ [𝐴 / 𝑥]𝜑} = {𝑐 ∣ ∃𝑦𝑧𝑑(𝑐 = ⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∧ [𝐴 / 𝑥]𝜑)}
2016, 18, 193eqtr4g 2883 1 (𝐴𝑉𝐴 / 𝑥{⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ 𝜑} = {⟨⟨𝑦, 𝑧⟩, 𝑑⟩ ∣ [𝐴 / 𝑥]𝜑})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wex 1780  wcel 2114  {cab 2801  [wsbc 3774  csb 3885  cop 4575  {coprab 7159
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-nul 4294  df-oprab 7162
This theorem is referenced by:  csbmpo123  34614
  Copyright terms: Public domain W3C validator