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 36903
Description: Derivation of ax-regs 35426 from ax-reg 9542 + ax-tco 36837. (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 3460 . . . . . . . . 9 𝑣 ∈ V
2 elequ1 2151 . . . . . . . . . 10 (𝑦 = 𝑣 → (𝑦𝑢𝑣𝑢))
3 sbequ 2118 . . . . . . . . . 10 (𝑦 = 𝑣 → ([𝑦 / 𝑥]𝜑 ↔ [𝑣 / 𝑥]𝜑))
42, 3anbi12d 641 . . . . . . . . 9 (𝑦 = 𝑣 → ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ↔ (𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑)))
51, 4spcev 3567 . . . . . . . 8 ((𝑣𝑢 ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
65adantlr 725 . . . . . . 7 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
7 vex 3460 . . . . . . . . 9 𝑢 ∈ V
87rabex 5297 . . . . . . . 8 {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ∈ V
9 eleq2 2853 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
10 sbequ 2118 . . . . . . . . . . . 12 (𝑟 = 𝑦 → ([𝑟 / 𝑥]𝜑 ↔ [𝑦 / 𝑥]𝜑))
1110elrab 3652 . . . . . . . . . . 11 (𝑦 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑))
129, 11bitrdi 289 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑦𝑤 ↔ (𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
1312exbidv 1943 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦 𝑦𝑤 ↔ ∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑)))
14 eleq2 2853 . . . . . . . . . . . . . . 15 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑}))
15 sbequ 2118 . . . . . . . . . . . . . . . 16 (𝑟 = 𝑧 → ([𝑟 / 𝑥]𝜑 ↔ [𝑧 / 𝑥]𝜑))
1615elrab 3652 . . . . . . . . . . . . . . 15 (𝑧 ∈ {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
1714, 16bitrdi 289 . . . . . . . . . . . . . 14 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (𝑧𝑤 ↔ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1817notbid 320 . . . . . . . . . . . . 13 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (¬ 𝑧𝑤 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
1918imbi2d 342 . . . . . . . . . . . 12 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑧𝑦 → ¬ 𝑧𝑤) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2019albidv 1942 . . . . . . . . . . 11 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
2112, 20anbi12d 641 . . . . . . . . . 10 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2221exbidv 1943 . . . . . . . . 9 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → (∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)) ↔ ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))))
2313, 22imbi12d 346 . . . . . . . 8 (𝑤 = {𝑟𝑢 ∣ [𝑟 / 𝑥]𝜑} → ((∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤))) ↔ (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))))
24 regsfromregtco.1 . . . . . . . 8 (∃𝑦 𝑦𝑤 → ∃𝑦(𝑦𝑤 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝑤)))
258, 23, 24vtocl 3527 . . . . . . 7 (∃𝑦(𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
266, 25syl 17 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
27 imnan 403 . . . . . . . . . . . . . . . 16 ((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))
28 trel 5217 . . . . . . . . . . . . . . . . . 18 (Tr 𝑢 → ((𝑧𝑦𝑦𝑢) → 𝑧𝑢))
2928imp 410 . . . . . . . . . . . . . . . . 17 ((Tr 𝑢 ∧ (𝑧𝑦𝑦𝑢)) → 𝑧𝑢)
3029anass1rs 665 . . . . . . . . . . . . . . . 16 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → 𝑧𝑢)
31 imbibi 394 . . . . . . . . . . . . . . . 16 (((𝑧𝑢 → ¬ [𝑧 / 𝑥]𝜑) ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → (𝑧𝑢 → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3227, 30, 31mpsyl 68 . . . . . . . . . . . . . . 15 (((Tr 𝑢𝑦𝑢) ∧ 𝑧𝑦) → (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))
3332pm5.74da 813 . . . . . . . . . . . . . 14 ((Tr 𝑢𝑦𝑢) → ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3433albidv 1942 . . . . . . . . . . . . 13 ((Tr 𝑢𝑦𝑢) → (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))))
3534biimpar 481 . . . . . . . . . . . 12 (((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))
3635anim2i 626 . . . . . . . . . . 11 (([𝑦 / 𝑥]𝜑 ∧ ((Tr 𝑢𝑦𝑢) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
3736exp44 441 . . . . . . . . . 10 ([𝑦 / 𝑥]𝜑 → (Tr 𝑢 → (𝑦𝑢 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3837com3l 89 . . . . . . . . 9 (Tr 𝑢 → (𝑦𝑢 → ([𝑦 / 𝑥]𝜑 → (∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑)) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))))
3938imp4c 427 . . . . . . . 8 (Tr 𝑢 → (((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4039eximdv 1939 . . . . . . 7 (Tr 𝑢 → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4140ad2antlr 737 . . . . . 6 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → (∃𝑦((𝑦𝑢 ∧ [𝑦 / 𝑥]𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ (𝑧𝑢 ∧ [𝑧 / 𝑥]𝜑))) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
4226, 41mpd 15 . . . . 5 (((𝑣𝑢 ∧ Tr 𝑢) ∧ [𝑣 / 𝑥]𝜑) → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
4342ex 416 . . . 4 ((𝑣𝑢 ∧ Tr 𝑢) → ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑))))
44 regsfromregtco.2 . . . . 5 𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
45 dftr3 5214 . . . . . . . 8 (Tr 𝑢 ↔ ∀𝑡𝑢 𝑡𝑢)
46 df-ss 3923 . . . . . . . . 9 (𝑡𝑢 ↔ ∀𝑠(𝑠𝑡𝑠𝑢))
4746ralbii 3110 . . . . . . . 8 (∀𝑡𝑢 𝑡𝑢 ↔ ∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢))
48 df-ral 3079 . . . . . . . 8 (∀𝑡𝑢𝑠(𝑠𝑡𝑠𝑢) ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
4945, 47, 483bitri 299 . . . . . . 7 (Tr 𝑢 ↔ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢)))
5049anbi2i 632 . . . . . 6 ((𝑣𝑢 ∧ Tr 𝑢) ↔ (𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5150exbii 1870 . . . . 5 (∃𝑢(𝑣𝑢 ∧ Tr 𝑢) ↔ ∃𝑢(𝑣𝑢 ∧ ∀𝑡(𝑡𝑢 → ∀𝑠(𝑠𝑡𝑠𝑢))))
5244, 51mpbir 233 . . . 4 𝑢(𝑣𝑢 ∧ Tr 𝑢)
5343, 52exlimiiv 1953 . . 3 ([𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
5453exlimiv 1952 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 → ∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)))
55 nfv 1936 . . . 4 𝑣𝜑
5655sb8ef 2388 . . 3 (∃𝑥𝜑 ↔ ∃𝑣[𝑣 / 𝑥]𝜑)
5756bicomi 226 . 2 (∃𝑣[𝑣 / 𝑥]𝜑 ↔ ∃𝑥𝜑)
58 sb6 2120 . . . 4 ([𝑦 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑦𝜑))
59 sb6 2120 . . . . . . 7 ([𝑧 / 𝑥]𝜑 ↔ ∀𝑥(𝑥 = 𝑧𝜑))
6059notbii 322 . . . . . 6 (¬ [𝑧 / 𝑥]𝜑 ↔ ¬ ∀𝑥(𝑥 = 𝑧𝜑))
6160imbi2i 338 . . . . 5 ((𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ (𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6261albii 1841 . . . 4 (∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑) ↔ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑)))
6358, 62anbi12i 637 . . 3 (([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ (∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6463exbii 1870 . 2 (∃𝑦([𝑦 / 𝑥]𝜑 ∧ ∀𝑧(𝑧𝑦 → ¬ [𝑧 / 𝑥]𝜑)) ↔ ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
6554, 57, 643imtr3i 293 1 (∃𝑥𝜑 → ∃𝑦(∀𝑥(𝑥 = 𝑦𝜑) ∧ ∀𝑧(𝑧𝑦 → ¬ ∀𝑥(𝑥 = 𝑧𝜑))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 399  wal 1560   = wceq 1562  wex 1801  [wsb 2092  wcel 2144  wral 3078  {crab 3416  wss 3906  Tr wtr 5209
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-sep 5248
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1101  df-tru 1565  df-ex 1802  df-nf 1806  df-sb 2093  df-clab 2743  df-cleq 2756  df-clel 2839  df-ral 3079  df-rab 3417  df-v 3458  df-in 3913  df-ss 3923  df-pw 4559  df-uni 4868  df-tr 5210
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator