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

Theorem csbriota 7433
Description: Interchange class substitution and restricted description binder. (Contributed by NM, 24-Feb-2013.) (Revised by NM, 2-Sep-2018.)
Assertion
Ref Expression
csbriota ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑)
Distinct variable groups:   𝑦,𝐴   𝑥,𝐵   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦)   𝐴(𝑥)   𝐵(𝑦)

Proof of Theorem csbriota
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 csbeq1 3856 . . . 4 (𝑧 = 𝐴 → ⦋𝑧 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑))
2 dfsbcq2 3747 . . . . 5 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑 ↔ [𝐴 / 𝑥]𝜑))
32riotabidv 7420 . . . 4 (𝑧 = 𝐴 → (℩𝑦 ∈ 𝐵 [𝑧 / 𝑥]𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑))
41, 3eqeq12d 2785 . . 3 (𝑧 = 𝐴 → (⦋𝑧 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝑧 / 𝑥]𝜑) ↔ ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑)))
5 vex 3460 . . . 4 𝑧 ∈ V
6 nfs1v 2200 . . . . 5 Ⅎ𝑥[𝑧 / 𝑥]𝜑
7 nfcv 2932 . . . . 5 Ⅎ𝑥𝐵
86, 7nfriota 7430 . . . 4 Ⅎ𝑥(℩𝑦 ∈ 𝐵 [𝑧 / 𝑥]𝜑)
9 sbequ12 2294 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
109riotabidv 7420 . . . 4 (𝑥 = 𝑧 → (℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝑧 / 𝑥]𝜑))
115, 8, 10csbief 3887 . . 3 ⦋𝑧 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝑧 / 𝑥]𝜑)
124, 11vtoclg 3523 . 2 (𝐴 ∈ V → ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑))
13 csbprc 4372 . . 3 (¬ 𝐴 ∈ V → ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = ∅)
14 df-riota 7418 . . . 4 (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑) = (℩𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑))
15 euex 2611 . . . . . 6 (∃!𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑) → ∃𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑))
16 sbcex 3754 . . . . . . . 8 ([𝐴 / 𝑥]𝜑 → 𝐴 ∈ V)
1716adantl 487 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1817exlimiv 1967 . . . . . 6 (∃𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1915, 18syl 18 . . . . 5 (∃!𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
20 iotanul 6552 . . . . 5 (¬ ∃!𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑) → (℩𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑)) = ∅)
2119, 20nsyl5 160 . . . 4 (¬ 𝐴 ∈ V → (℩𝑦(𝑦 ∈ 𝐵 ∧ [𝐴 / 𝑥]𝜑)) = ∅)
2214, 21eqtr2id 2817 . . 3 (¬ 𝐴 ∈ V → ∅ = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑))
2313, 22eqtrd 2804 . 2 (¬ 𝐴 ∈ V → ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑))
2412, 23pm2.61i 184 1 ⦋𝐴 / 𝑥⦌(℩𝑦 ∈ 𝐵 𝜑) = (℩𝑦 ∈ 𝐵 [𝐴 / 𝑥]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   = wceq 1572  ∃wex 1814  [wsb 2104   ∈ wcel 2151  ∃!weu 2600  Vcvv 3456  [wsbc 3744  ⦋csb 3853  ∅c0 4283  ℩cio 6525  ℩crio 7417
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-nul 4284  df-sn 4591  df-uni 4876  df-iota 6527  df-riota 7418
This theorem is used by:  cdlemkid3N  42282  cdlemkid4  42283
  Copyright terms: Public domain W3C validator