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

Theorem cbvrabcsfw 3924
Description: Version of cbvrabcsf 3928 with a disjoint variable condition, which does not require ax-13 2390. (Contributed by Andrew Salmon, 13-Jul-2011.) (Revised by Gino Giotto, 26-Jan-2024.)
Hypotheses
Ref Expression
cbvrabcsfw.1 𝑦𝐴
cbvrabcsfw.2 𝑥𝐵
cbvrabcsfw.3 𝑦𝜑
cbvrabcsfw.4 𝑥𝜓
cbvrabcsfw.5 (𝑥 = 𝑦𝐴 = 𝐵)
cbvrabcsfw.6 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvrabcsfw {𝑥𝐴𝜑} = {𝑦𝐵𝜓}
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem cbvrabcsfw
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1915 . . . 4 𝑧(𝑥𝐴𝜑)
2 nfcsb1v 3907 . . . . . 6 𝑥𝑧 / 𝑥𝐴
32nfcri 2971 . . . . 5 𝑥 𝑧𝑧 / 𝑥𝐴
4 nfs1v 2160 . . . . 5 𝑥[𝑧 / 𝑥]𝜑
53, 4nfan 1900 . . . 4 𝑥(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)
6 id 22 . . . . . 6 (𝑥 = 𝑧𝑥 = 𝑧)
7 csbeq1a 3897 . . . . . 6 (𝑥 = 𝑧𝐴 = 𝑧 / 𝑥𝐴)
86, 7eleq12d 2907 . . . . 5 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝑧 / 𝑥𝐴))
9 sbequ12 2253 . . . . 5 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
108, 9anbi12d 632 . . . 4 (𝑥 = 𝑧 → ((𝑥𝐴𝜑) ↔ (𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)))
111, 5, 10cbvabw 2890 . . 3 {𝑥 ∣ (𝑥𝐴𝜑)} = {𝑧 ∣ (𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)}
12 nfcv 2977 . . . . . . 7 𝑦𝑧
13 cbvrabcsfw.1 . . . . . . 7 𝑦𝐴
1412, 13nfcsbw 3909 . . . . . 6 𝑦𝑧 / 𝑥𝐴
1514nfcri 2971 . . . . 5 𝑦 𝑧𝑧 / 𝑥𝐴
16 cbvrabcsfw.3 . . . . . 6 𝑦𝜑
1716nfsbv 2349 . . . . 5 𝑦[𝑧 / 𝑥]𝜑
1815, 17nfan 1900 . . . 4 𝑦(𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)
19 nfv 1915 . . . 4 𝑧(𝑦𝐵𝜓)
20 id 22 . . . . . 6 (𝑧 = 𝑦𝑧 = 𝑦)
21 csbeq1 3886 . . . . . . 7 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝑦 / 𝑥𝐴)
22 vex 3497 . . . . . . . 8 𝑦 ∈ V
23 cbvrabcsfw.2 . . . . . . . 8 𝑥𝐵
24 cbvrabcsfw.5 . . . . . . . 8 (𝑥 = 𝑦𝐴 = 𝐵)
2522, 23, 24csbief 3917 . . . . . . 7 𝑦 / 𝑥𝐴 = 𝐵
2621, 25syl6eq 2872 . . . . . 6 (𝑧 = 𝑦𝑧 / 𝑥𝐴 = 𝐵)
2720, 26eleq12d 2907 . . . . 5 (𝑧 = 𝑦 → (𝑧𝑧 / 𝑥𝐴𝑦𝐵))
28 cbvrabcsfw.4 . . . . . 6 𝑥𝜓
29 cbvrabcsfw.6 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
3028, 29sbhypf 3552 . . . . 5 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
3127, 30anbi12d 632 . . . 4 (𝑧 = 𝑦 → ((𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑦𝐵𝜓)))
3218, 19, 31cbvabw 2890 . . 3 {𝑧 ∣ (𝑧𝑧 / 𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑)} = {𝑦 ∣ (𝑦𝐵𝜓)}
3311, 32eqtri 2844 . 2 {𝑥 ∣ (𝑥𝐴𝜑)} = {𝑦 ∣ (𝑦𝐵𝜓)}
34 df-rab 3147 . 2 {𝑥𝐴𝜑} = {𝑥 ∣ (𝑥𝐴𝜑)}
35 df-rab 3147 . 2 {𝑦𝐵𝜓} = {𝑦 ∣ (𝑦𝐵𝜓)}
3633, 34, 353eqtr4i 2854 1 {𝑥𝐴𝜑} = {𝑦𝐵𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wnf 1784  [wsb 2069  wcel 2114  {cab 2799  wnfc 2961  {crab 3142  csb 3883
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 2793
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884
This theorem is referenced by:  cbvrabv2w  41443  smfsup  43137  smfinflem  43140  smfinf  43141
  Copyright terms: Public domain W3C validator