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

Theorem csbriota 6523
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 3502 . . . 4 (𝑧 = 𝐴𝑧 / 𝑥(𝑦𝐵 𝜑) = 𝐴 / 𝑥(𝑦𝐵 𝜑))
2 dfsbcq2 3405 . . . . 5 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32riotabidv 6513 . . . 4 (𝑧 = 𝐴 → (𝑦𝐵 [𝑧 / 𝑥]𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
41, 3eqeq12d 2625 . . 3 (𝑧 = 𝐴 → (𝑧 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑) ↔ 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑)))
5 vex 3176 . . . 4 𝑧 ∈ V
6 nfs1v 2425 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
7 nfcv 2751 . . . . 5 𝑥𝐵
86, 7nfriota 6520 . . . 4 𝑥(𝑦𝐵 [𝑧 / 𝑥]𝜑)
9 sbequ12 2097 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
109riotabidv 6513 . . . 4 (𝑥 = 𝑧 → (𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑))
115, 8, 10csbief 3524 . . 3 𝑧 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑)
124, 11vtoclg 3239 . 2 (𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
13 csbprc 3932 . . 3 𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = ∅)
14 df-riota 6511 . . . 4 (𝑦𝐵 [𝐴 / 𝑥]𝜑) = (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑))
15 euex 2482 . . . . . . 7 (∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → ∃𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑))
16 sbcex 3412 . . . . . . . . 9 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1716adantl 481 . . . . . . . 8 ((𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1817exlimiv 1845 . . . . . . 7 (∃𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1915, 18syl 17 . . . . . 6 (∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
2019con3i 149 . . . . 5 𝐴 ∈ V → ¬ ∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑))
21 iotanul 5783 . . . . 5 (¬ ∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑)) = ∅)
2220, 21syl 17 . . . 4 𝐴 ∈ V → (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑)) = ∅)
2314, 22syl5req 2657 . . 3 𝐴 ∈ V → ∅ = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
2413, 23eqtrd 2644 . 2 𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
2512, 24pm2.61i 175 1 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 383   = wceq 1475  wex 1695  [wsb 1867  wcel 1977  ∃!weu 2458  Vcvv 3173  [wsbc 3402  csb 3499  c0 3874  cio 5766  crio 6510
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-in 3547  df-ss 3554  df-nul 3875  df-sn 4126  df-uni 4373  df-iota 5768  df-riota 6511
This theorem is referenced by:  cdlemkid3N  35239  cdlemkid4  35240
  Copyright terms: Public domain W3C validator