Users' Mathboxes Mathbox for Matthew House < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  regsfromregtr Structured version   Visualization version   GIF version

Theorem regsfromregtr 36649
Description: Derivation of ax-regs 35263 from ax-reg 9501 + exeltr 36646. (Contributed by Matthew House, 4-Mar-2026.)
Hypotheses
Ref Expression
regsfromregtr.1 (∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)))
regsfromregtr.2 𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
Assertion
Ref Expression
regsfromregtr (∃𝑥𝜑 → ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
Distinct variable groups:   𝑤,𝑢,𝑥,𝑦,𝑧   𝑥,𝑣   𝑡,𝑠,𝑢   𝜑,𝑢,𝑤,𝑦,𝑧   𝜑,𝑣,𝑢,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑡,𝑠)

Proof of Theorem regsfromregtr
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 vex 3445 . . . . . . . . 9 𝑣 ∈ V
2 elequ1 2121 . . . . . . . . . 10 (𝑦 = 𝑣 → (𝑦𝑢𝑣𝑢))
3 sbequ 2089 . . . . . . . . . 10 (𝑦 = 𝑣 → ([𝑦 / 𝑥]𝜑 ↔ [𝑣 / 𝑥]𝜑))
42, 3anbi12d 633 . . . . . . . . 9 (𝑦 = 𝑣 → ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑)))
51, 4spcev 3561 . . . . . . . 8 ((𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
65adantlr 716 . . . . . . 7 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
7 vex 3445 . . . . . . . . 9 𝑢 ∈ V
87rabex 5285 . . . . . . . 8 {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ∈ V
9 eleq2 2826 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
10 sbequ 2089 . . . . . . . . . . . 12 (𝑟 = 𝑦 → ([𝑟 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
1110elrab 3647 . . . . . . . . . . 11 (𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
129, 11bitrdi 287 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤 ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
1312exbidv 1923 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦 𝑦𝑤 ↔ ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
14 eleq2 2826 . . . . . . . . . . . . . . 15 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
15 sbequ 2089 . . . . . . . . . . . . . . . 16 (𝑟 = 𝑧 → ([𝑟 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
1615elrab 3647 . . . . . . . . . . . . . . 15 (𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
1714, 16bitrdi 287 . . . . . . . . . . . . . 14 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤 ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1817notbid 318 . . . . . . . . . . . . 13 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (¬ 𝑧𝑤 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1918imbi2d 340 . . . . . . . . . . . 12 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑧𝑦 → ¬ 𝑧𝑤) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2019albidv 1922 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2112, 20anbi12d 633 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2221exbidv 1923 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2313, 22imbi12d 344 . . . . . . . 8 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤))) ↔ (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))))
24 regsfromregtr.1 . . . . . . . 8 (∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)))
258, 23, 24vtocl 3516 . . . . . . 7 (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
266, 25syl 17 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
27 imnan 399 . . . . . . . . . . . . . . . 16 ((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
28 trel 5214 . . . . . . . . . . . . . . . . . 18 (Tr 𝑢 → ((𝑧𝑦𝑦𝑢) → 𝑧𝑢))
2928imp 406 . . . . . . . . . . . . . . . . 17 ((Tr 𝑢 ∧ (𝑧𝑦𝑦𝑢)) → 𝑧𝑢)
3029anass1rs 656 . . . . . . . . . . . . . . . 16 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → 𝑧𝑢)
31 imbibi 391 . . . . . . . . . . . . . . . 16 (((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → (𝑧𝑢 → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3227, 30, 31mpsyl 68 . . . . . . . . . . . . . . 15 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
3332pm5.74da 804 . . . . . . . . . . . . . 14 ((Tr 𝑢𝑦𝑢) → ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3433albidv 1922 . . . . . . . . . . . . 13 ((Tr 𝑢𝑦𝑢) → (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3534biimpar 477 . . . . . . . . . . . 12 (((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))
3635anim2i 618 . . . . . . . . . . 11 (([𝑦 / 𝑥]𝜑 ∧ ((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
3736exp44 437 . . . . . . . . . 10 ([𝑦 / 𝑥]𝜑 → (Tr 𝑢 → (𝑦𝑢 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3837com3l 89 . . . . . . . . 9 (Tr 𝑢 → (𝑦𝑢 → ([𝑦 / 𝑥]𝜑 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3938imp4c 423 . . . . . . . 8 (Tr 𝑢 → (((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4039eximdv 1919 . . . . . . 7 (Tr 𝑢 → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4140ad2antlr 728 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4226, 41mpd 15 . . . . 5 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
4342ex 412 . . . 4 ((𝑣𝑢 ∧ Tr 𝑢) → ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
44 regsfromregtr.2 . . . . 5 𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
45 dftr3 5211 . . . . . . . 8 (Tr 𝑢 ↔ ∀𝑡𝑢 𝑡𝑢)
46 df-ss 3919 . . . . . . . . 9 (𝑡𝑢 ↔ ∀𝑠(𝑠𝑡𝑠𝑢))
4746ralbii 3083 . . . . . . . 8 (∀𝑡𝑢 𝑡𝑢 ↔ ∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢))
48 df-ral 3053 . . . . . . . 8 (∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢) ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
4945, 47, 483bitri 297 . . . . . . 7 (Tr 𝑢 ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
5049anbi2i 624 . . . . . 6 ((𝑣𝑢 ∧ Tr 𝑢) ↔ (𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5150exbii 1850 . . . . 5 (∃𝑢(𝑣𝑢 ∧ Tr 𝑢) ↔ ∃𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5244, 51mpbir 231 . . . 4 𝑢(𝑣𝑢 ∧ Tr 𝑢)
5343, 52exlimiiv 1933 . . 3 ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
5453exlimiv 1932 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
55 nfv 1916 . . . 4 𝑣𝜑
5655sb8ef 2360 . . 3 (∃𝑥𝜑 ↔ ∃𝑣[𝑣 / 𝑥]𝜑)
5756bicomi 224 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 ↔ ∃𝑥𝜑)
58 sb6 2091 . . . 4 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
59 sb6 2091 . . . . . . 7 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
6059notbii 320 . . . . . 6 (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ ∀𝑥(𝑥 = 𝑧𝜑))
6160imbi2i 336 . . . . 5 ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6261albii 1821 . . . 4 (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6358, 62anbi12i 629 . . 3 (([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ (∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6463exbii 1850 . 2 (∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6554, 57, 643imtr3i 291 1 (∃𝑥𝜑 → ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wal 1540   = wceq 1542  wex 1781  [wsb 2068  wcel 2114  wral 3052  {crab 3400  wss 3902  Tr wtr 5206
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-sep 5242
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-ex 1782  df-nf 1786  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rab 3401  df-v 3443  df-in 3909  df-ss 3919  df-pw 4557  df-uni 4865  df-tr 5207
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator