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

Theorem cbvreuw 3341
Description: Change the bound variable of a restricted unique existential quantifier using implicit substitution. Version of cbvreu 3346 with a disjoint variable condition, which does not require ax-13 2371. (Contributed by Mario Carneiro, 15-Oct-2016.) (Revised by Gino Giotto, 10-Jan-2024.)
Hypotheses
Ref Expression
cbvreuw.1 𝑦𝜑
cbvreuw.2 𝑥𝜓
cbvreuw.3 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
cbvreuw (∃!𝑥𝐴 𝜑 ↔ ∃!𝑦𝐴 𝜓)
Distinct variable group:   𝑥,𝐴,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)

Proof of Theorem cbvreuw
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1922 . . . 4 𝑧(𝑥𝐴𝜑)
21sb8euv 2598 . . 3 (∃!𝑥(𝑥𝐴𝜑) ↔ ∃!𝑧[𝑧 / 𝑥](𝑥𝐴𝜑))
3 sban 2088 . . . 4 ([𝑧 / 𝑥](𝑥𝐴𝜑) ↔ ([𝑧 / 𝑥]𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑))
43eubii 2584 . . 3 (∃!𝑧[𝑧 / 𝑥](𝑥𝐴𝜑) ↔ ∃!𝑧([𝑧 / 𝑥]𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑))
5 clelsb3 2858 . . . . . 6 ([𝑧 / 𝑥]𝑥𝐴𝑧𝐴)
65anbi1i 627 . . . . 5 (([𝑧 / 𝑥]𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
76eubii 2584 . . . 4 (∃!𝑧([𝑧 / 𝑥]𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃!𝑧(𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑))
8 nfv 1922 . . . . . 6 𝑦 𝑧𝐴
9 cbvreuw.1 . . . . . . 7 𝑦𝜑
109nfsbv 2331 . . . . . 6 𝑦[𝑧 / 𝑥]𝜑
118, 10nfan 1907 . . . . 5 𝑦(𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑)
12 nfv 1922 . . . . 5 𝑧(𝑦𝐴𝜓)
13 eleq1w 2813 . . . . . 6 (𝑧 = 𝑦 → (𝑧𝐴𝑦𝐴))
14 sbequ 2091 . . . . . . 7 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
15 cbvreuw.2 . . . . . . . 8 𝑥𝜓
16 cbvreuw.3 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜓))
1715, 16sbiev 2315 . . . . . . 7 ([𝑦 / 𝑥]𝜑𝜓)
1814, 17bitrdi 290 . . . . . 6 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜓))
1913, 18anbi12d 634 . . . . 5 (𝑧 = 𝑦 → ((𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ (𝑦𝐴𝜓)))
2011, 12, 19cbveuw 2606 . . . 4 (∃!𝑧(𝑧𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃!𝑦(𝑦𝐴𝜓))
217, 20bitri 278 . . 3 (∃!𝑧([𝑧 / 𝑥]𝑥𝐴 ∧ [𝑧 / 𝑥]𝜑) ↔ ∃!𝑦(𝑦𝐴𝜓))
222, 4, 213bitri 300 . 2 (∃!𝑥(𝑥𝐴𝜑) ↔ ∃!𝑦(𝑦𝐴𝜓))
23 df-reu 3058 . 2 (∃!𝑥𝐴 𝜑 ↔ ∃!𝑥(𝑥𝐴𝜑))
24 df-reu 3058 . 2 (∃!𝑦𝐴 𝜓 ↔ ∃!𝑦(𝑦𝐴𝜓))
2522, 23, 243bitr4i 306 1 (∃!𝑥𝐴 𝜑 ↔ ∃!𝑦𝐴 𝜓)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wnf 1791  [wsb 2072  wcel 2112  ∃!weu 2567  ∃!wreu 3053
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-10 2143  ax-11 2160  ax-12 2177
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clel 2809  df-reu 3058
This theorem is referenced by:  cbvrmowOLD  3343  cbvreuvwOLD  3352  reu8nf  3776  poimirlem25  35488
  Copyright terms: Public domain W3C validator