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

Theorem csbriota 7108
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 3831 . . . 4 (𝑧 = 𝐴𝑧 / 𝑥(𝑦𝐵 𝜑) = 𝐴 / 𝑥(𝑦𝐵 𝜑))
2 dfsbcq2 3723 . . . . 5 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑[𝐴 / 𝑥]𝜑))
32riotabidv 7095 . . . 4 (𝑧 = 𝐴 → (𝑦𝐵 [𝑧 / 𝑥]𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
41, 3eqeq12d 2814 . . 3 (𝑧 = 𝐴 → (𝑧 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑) ↔ 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑)))
5 vex 3444 . . . 4 𝑧 ∈ V
6 nfs1v 2157 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
7 nfcv 2955 . . . . 5 𝑥𝐵
86, 7nfriota 7105 . . . 4 𝑥(𝑦𝐵 [𝑧 / 𝑥]𝜑)
9 sbequ12 2250 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
109riotabidv 7095 . . . 4 (𝑥 = 𝑧 → (𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑))
115, 8, 10csbief 3862 . . 3 𝑧 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝑧 / 𝑥]𝜑)
124, 11vtoclg 3515 . 2 (𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
13 csbprc 4313 . . 3 𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = ∅)
14 df-riota 7093 . . . 4 (𝑦𝐵 [𝐴 / 𝑥]𝜑) = (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑))
15 euex 2637 . . . . . 6 (∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → ∃𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑))
16 sbcex 3730 . . . . . . . 8 ([𝐴 / 𝑥]𝜑𝐴 ∈ V)
1716adantl 485 . . . . . . 7 ((𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1817exlimiv 1931 . . . . . 6 (∃𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
1915, 18syl 17 . . . . 5 (∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → 𝐴 ∈ V)
20 iotanul 6302 . . . . 5 (¬ ∃!𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑) → (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑)) = ∅)
2119, 20nsyl5 162 . . . 4 𝐴 ∈ V → (℩𝑦(𝑦𝐵[𝐴 / 𝑥]𝜑)) = ∅)
2214, 21syl5req 2846 . . 3 𝐴 ∈ V → ∅ = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
2313, 22eqtrd 2833 . 2 𝐴 ∈ V → 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑))
2412, 23pm2.61i 185 1 𝐴 / 𝑥(𝑦𝐵 𝜑) = (𝑦𝐵 [𝐴 / 𝑥]𝜑)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 399   = wceq 1538  wex 1781  [wsb 2069  wcel 2111  ∃!weu 2628  Vcvv 3441  [wsbc 3720  csb 3828  c0 4243  cio 6281  crio 7092
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-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-uni 4801  df-iota 6283  df-riota 7093
This theorem is referenced by:  cdlemkid3N  38229  cdlemkid4  38230
  Copyright terms: Public domain W3C validator