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 36779
Description: Derivation of ax-regs 35320 from ax-reg 9501 + ax-tco 36713. (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 3437 . . . . . . . . 9 𝑣 ∈ V
2 elequ1 2128 . . . . . . . . . 10 (𝑦 = 𝑣 → (𝑦𝑢𝑣𝑢))
3 sbequ 2095 . . . . . . . . . 10 (𝑦 = 𝑣 → ([𝑦 / 𝑥]𝜑 ↔ [𝑣 / 𝑥]𝜑))
42, 3anbi12d 639 . . . . . . . . 9 (𝑦 = 𝑣 → ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑)))
51, 4spcev 3545 . . . . . . . 8 ((𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
65adantlr 722 . . . . . . 7 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
7 vex 3437 . . . . . . . . 9 𝑢 ∈ V
87rabex 5269 . . . . . . . 8 {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ∈ V
9 eleq2 2830 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
10 sbequ 2095 . . . . . . . . . . . 12 (𝑟 = 𝑦 → ([𝑟 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
1110elrab 3630 . . . . . . . . . . 11 (𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
129, 11bitrdi 289 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤 ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
1312exbidv 1929 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦 𝑦𝑤 ↔ ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
14 eleq2 2830 . . . . . . . . . . . . . . 15 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
15 sbequ 2095 . . . . . . . . . . . . . . . 16 (𝑟 = 𝑧 → ([𝑟 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
1615elrab 3630 . . . . . . . . . . . . . . 15 (𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
1714, 16bitrdi 289 . . . . . . . . . . . . . 14 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤 ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1817notbid 320 . . . . . . . . . . . . 13 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (¬ 𝑧𝑤 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1918imbi2d 342 . . . . . . . . . . . 12 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑧𝑦 → ¬ 𝑧𝑤) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2019albidv 1928 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2112, 20anbi12d 639 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2221exbidv 1929 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2313, 22imbi12d 346 . . . . . . . 8 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤))) ↔ (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))))
24 regsfromregtco.1 . . . . . . . 8 (∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)))
258, 23, 24vtocl 3504 . . . . . . 7 (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
266, 25syl 17 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
27 imnan 401 . . . . . . . . . . . . . . . 16 ((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
28 trel 5189 . . . . . . . . . . . . . . . . . 18 (Tr 𝑢 → ((𝑧𝑦𝑦𝑢) → 𝑧𝑢))
2928imp 408 . . . . . . . . . . . . . . . . 17 ((Tr 𝑢 ∧ (𝑧𝑦𝑦𝑢)) → 𝑧𝑢)
3029anass1rs 662 . . . . . . . . . . . . . . . 16 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → 𝑧𝑢)
31 imbibi 393 . . . . . . . . . . . . . . . 16 (((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → (𝑧𝑢 → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3227, 30, 31mpsyl 68 . . . . . . . . . . . . . . 15 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
3332pm5.74da 810 . . . . . . . . . . . . . 14 ((Tr 𝑢𝑦𝑢) → ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3433albidv 1928 . . . . . . . . . . . . 13 ((Tr 𝑢𝑦𝑢) → (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3534biimpar 479 . . . . . . . . . . . 12 (((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))
3635anim2i 624 . . . . . . . . . . 11 (([𝑦 / 𝑥]𝜑 ∧ ((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
3736exp44 439 . . . . . . . . . 10 ([𝑦 / 𝑥]𝜑 → (Tr 𝑢 → (𝑦𝑢 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3837com3l 89 . . . . . . . . 9 (Tr 𝑢 → (𝑦𝑢 → ([𝑦 / 𝑥]𝜑 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3938imp4c 425 . . . . . . . 8 (Tr 𝑢 → (((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4039eximdv 1925 . . . . . . 7 (Tr 𝑢 → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4140ad2antlr 734 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4226, 41mpd 15 . . . . 5 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
4342ex 414 . . . 4 ((𝑣𝑢 ∧ Tr 𝑢) → ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
44 regsfromregtco.2 . . . . 5 𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
45 dftr3 5186 . . . . . . . 8 (Tr 𝑢 ↔ ∀𝑡𝑢 𝑡𝑢)
46 df-ss 3901 . . . . . . . . 9 (𝑡𝑢 ↔ ∀𝑠(𝑠𝑡𝑠𝑢))
4746ralbii 3087 . . . . . . . 8 (∀𝑡𝑢 𝑡𝑢 ↔ ∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢))
48 df-ral 3056 . . . . . . . 8 (∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢) ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
4945, 47, 483bitri 299 . . . . . . 7 (Tr 𝑢 ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
5049anbi2i 630 . . . . . 6 ((𝑣𝑢 ∧ Tr 𝑢) ↔ (𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5150exbii 1856 . . . . 5 (∃𝑢(𝑣𝑢 ∧ Tr 𝑢) ↔ ∃𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5244, 51mpbir 233 . . . 4 𝑢(𝑣𝑢 ∧ Tr 𝑢)
5343, 52exlimiiv 1939 . . 3 ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
5453exlimiv 1938 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
55 nfv 1922 . . . 4 𝑣𝜑
5655sb8ef 2365 . . 3 (∃𝑥𝜑 ↔ ∃𝑣[𝑣 / 𝑥]𝜑)
5756bicomi 226 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 ↔ ∃𝑥𝜑)
58 sb6 2097 . . . 4 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
59 sb6 2097 . . . . . . 7 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
6059notbii 322 . . . . . 6 (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ ∀𝑥(𝑥 = 𝑧𝜑))
6160imbi2i 338 . . . . 5 ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6261albii 1827 . . . 4 (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6358, 62anbi12i 635 . . 3 (([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ (∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6463exbii 1856 . 2 (∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6554, 57, 643imtr3i 293 1 (∃𝑥𝜑 → ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 397  wal 1546   = wceq 1548  wex 1787  [wsb 2074  wcel 2121  wral 3055  {crab 3393  wss 3884  Tr wtr 5181
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 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-10 2154  ax-11 2170  ax-12 2191  ax-ext 2713  ax-sep 5220
This theorem depends on definitions:  df-bi 209  df-an 398  df-or 855  df-3an 1095  df-tru 1551  df-ex 1788  df-nf 1792  df-sb 2075  df-clab 2720  df-cleq 2733  df-clel 2816  df-ral 3056  df-rab 3394  df-v 3435  df-in 3891  df-ss 3901  df-pw 4533  df-uni 4841  df-tr 5182
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator