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

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

Proof of Theorem regsfromregtco
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 vex 3457 . . . . . . . . 9 𝑣 ∈ V
2 elequ1 2148 . . . . . . . . . 10 (𝑦 = 𝑣 → (𝑦𝑢𝑣𝑢))
3 sbequ 2115 . . . . . . . . . 10 (𝑦 = 𝑣 → ([𝑦 / 𝑥]𝜑 ↔ [𝑣 / 𝑥]𝜑))
42, 3anbi12d 643 . . . . . . . . 9 (𝑦 = 𝑣 → ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑)))
51, 4spcev 3564 . . . . . . . 8 ((𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
65adantlr 727 . . . . . . 7 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
7 vex 3457 . . . . . . . . 9 𝑢 ∈ V
87rabex 5309 . . . . . . . 8 {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ∈ V
9 eleq2 2850 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
10 sbequ 2115 . . . . . . . . . . . 12 (𝑟 = 𝑦 → ([𝑟 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
1110elrab 3649 . . . . . . . . . . 11 (𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
129, 11bitrdi 290 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤 ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
1312exbidv 1949 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦 𝑦𝑤 ↔ ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
14 eleq2 2850 . . . . . . . . . . . . . . 15 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
15 sbequ 2115 . . . . . . . . . . . . . . . 16 (𝑟 = 𝑧 → ([𝑟 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
1615elrab 3649 . . . . . . . . . . . . . . 15 (𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
1714, 16bitrdi 290 . . . . . . . . . . . . . 14 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤 ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1817notbid 321 . . . . . . . . . . . . 13 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (¬ 𝑧𝑤 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1918imbi2d 343 . . . . . . . . . . . 12 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑧𝑦 → ¬ 𝑧𝑤) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2019albidv 1948 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2112, 20anbi12d 643 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2221exbidv 1949 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2313, 22imbi12d 347 . . . . . . . 8 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤))) ↔ (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))))
24 regsfromregtco.1 . . . . . . . 8 (∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)))
258, 23, 24vtocl 3524 . . . . . . 7 (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
266, 25syl 18 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
27 imnan 404 . . . . . . . . . . . . . . . 16 ((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
28 trel 5225 . . . . . . . . . . . . . . . . . 18 (Tr 𝑢 → ((𝑧𝑦𝑦𝑢) → 𝑧𝑢))
2928imp 411 . . . . . . . . . . . . . . . . 17 ((Tr 𝑢 ∧ (𝑧𝑦𝑦𝑢)) → 𝑧𝑢)
3029anass1rs 667 . . . . . . . . . . . . . . . 16 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → 𝑧𝑢)
31 imbibi 395 . . . . . . . . . . . . . . . 16 (((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → (𝑧𝑢 → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3227, 30, 31mpsyl 69 . . . . . . . . . . . . . . 15 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
3332pm5.74da 815 . . . . . . . . . . . . . 14 ((Tr 𝑢𝑦𝑢) → ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3433albidv 1948 . . . . . . . . . . . . 13 ((Tr 𝑢𝑦𝑢) → (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3534biimpar 482 . . . . . . . . . . . 12 (((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))
3635anim2i 628 . . . . . . . . . . 11 (([𝑦 / 𝑥]𝜑 ∧ ((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
3736exp44 442 . . . . . . . . . 10 ([𝑦 / 𝑥]𝜑 → (Tr 𝑢 → (𝑦𝑢 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3837com3l 90 . . . . . . . . 9 (Tr 𝑢 → (𝑦𝑢 → ([𝑦 / 𝑥]𝜑 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3938imp4c 428 . . . . . . . 8 (Tr 𝑢 → (((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4039eximdv 1945 . . . . . . 7 (Tr 𝑢 → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4140ad2antlr 739 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4226, 41mpd 16 . . . . 5 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
4342ex 417 . . . 4 ((𝑣𝑢 ∧ Tr 𝑢) → ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
44 regsfromregtco.2 . . . . 5 𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
45 dftr3 5222 . . . . . . . 8 (Tr 𝑢 ↔ ∀𝑡𝑢 𝑡𝑢)
46 df-ss 3921 . . . . . . . . 9 (𝑡𝑢 ↔ ∀𝑠(𝑠𝑡𝑠𝑢))
4746ralbii 3109 . . . . . . . 8 (∀𝑡𝑢 𝑡𝑢 ↔ ∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢))
48 df-ral 3078 . . . . . . . 8 (∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢) ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
4945, 47, 483bitri 300 . . . . . . 7 (Tr 𝑢 ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
5049anbi2i 634 . . . . . 6 ((𝑣𝑢 ∧ Tr 𝑢) ↔ (𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5150exbii 1876 . . . . 5 (∃𝑢(𝑣𝑢 ∧ Tr 𝑢) ↔ ∃𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5244, 51mpbir 234 . . . 4 𝑢(𝑣𝑢 ∧ Tr 𝑢)
5343, 52exlimiiv 1959 . . 3 ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
5453exlimiv 1958 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
55 nfv 1942 . . . 4 𝑣𝜑
5655sb8ef 2385 . . 3 (∃𝑥𝜑 ↔ ∃𝑣[𝑣 / 𝑥]𝜑)
5756bicomi 227 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 ↔ ∃𝑥𝜑)
58 sb6 2117 . . . 4 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
59 sb6 2117 . . . . . . 7 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
6059notbii 323 . . . . . 6 (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ ∀𝑥(𝑥 = 𝑧𝜑))
6160imbi2i 339 . . . . 5 ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6261albii 1847 . . . 4 (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6358, 62anbi12i 639 . . 3 (([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ (∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6463exbii 1876 . 2 (∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6554, 57, 643imtr3i 294 1 (∃𝑥𝜑 → ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400  wal 1566   = wceq 1568  wex 1807  [wsb 2094  wcel 2141  wral 3077  {crab 3414  wss 3904  Tr wtr 5217
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1823  ax-4 1837  ax-5 1938  ax-6 1995  ax-7 2036  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5256
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1571  df-ex 1808  df-nf 1812  df-sb 2095  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rab 3415  df-v 3455  df-in 3911  df-ss 3921  df-pw 4563  df-uni 4872  df-tr 5218
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator