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

Theorem axsepg4 35331
Description: A generalization of ax-sep 5225 that combines axsepg 5226 and axsepg2 35328 into a single theorem scheme. Unlike ax-sep 5225, this scheme lacks a distinct variable condition for 𝜑 and 𝑧 as well as for 𝑥 and 𝑧. Usage of this theorem is discouraged because it depends on ax-13 2380. (Contributed by BTernaryTau, 24-May-2026.) (New usage is discouraged.)
Assertion
Ref Expression
axsepg4 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))
Distinct variable groups:   𝜑,𝑦   𝑥,𝑦   𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑧)

Proof of Theorem axsepg4
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 nfa1 2162 . . . 4 𝑧𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑))
21a1i 11 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)))
3 nfvd 1922 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑤𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑)))
4 sp 2195 . . . 4 (∀𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) → ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)))
5 dveeq2 2386 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑧 → (𝑤 = 𝑧 → ∀𝑥 𝑤 = 𝑧))
65naecoms 2437 . . . . 5 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → ∀𝑥 𝑤 = 𝑧))
7 elequ2 2134 . . . . . . . . . 10 (𝑤 = 𝑧 → (𝑥𝑤𝑥𝑧))
87anbi1d 637 . . . . . . . . 9 (𝑤 = 𝑧 → ((𝑥𝑤𝜑) ↔ (𝑥𝑧𝜑)))
98bibi2d 343 . . . . . . . 8 (𝑤 = 𝑧 → ((𝑥𝑦 ↔ (𝑥𝑤𝜑)) ↔ (𝑥𝑦 ↔ (𝑥𝑧𝜑))))
109biimpd 230 . . . . . . 7 (𝑤 = 𝑧 → ((𝑥𝑦 ↔ (𝑥𝑤𝜑)) → (𝑥𝑦 ↔ (𝑥𝑧𝜑))))
1110al2imi 1822 . . . . . 6 (∀𝑥 𝑤 = 𝑧 → (∀𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) → ∀𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
1211eximdv 1924 . . . . 5 (∀𝑥 𝑤 = 𝑧 → (∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) → ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
136, 12syl6 35 . . . 4 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → (∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) → ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑)))))
144, 13syl7 74 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → (∀𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑)) → ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑)))))
15 elequ1 2126 . . . . . . . 8 (𝑧 = 𝑥 → (𝑧𝑦𝑥𝑦))
16 elequ1 2126 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑧𝑧𝑥𝑧))
1716anbi1d 637 . . . . . . . 8 (𝑧 = 𝑥 → ((𝑧𝑧𝜑) ↔ (𝑥𝑧𝜑)))
1815, 17bibi12d 346 . . . . . . 7 (𝑧 = 𝑥 → ((𝑧𝑦 ↔ (𝑧𝑧𝜑)) ↔ (𝑥𝑦 ↔ (𝑥𝑧𝜑))))
1918biimpd 230 . . . . . 6 (𝑧 = 𝑥 → ((𝑧𝑦 ↔ (𝑧𝑧𝜑)) → (𝑥𝑦 ↔ (𝑥𝑧𝜑))))
2019al2imi 1822 . . . . 5 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑)) → ∀𝑧(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
21 axc11 2438 . . . . 5 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑥𝑦 ↔ (𝑥𝑧𝜑)) → ∀𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
2220, 21syld 47 . . . 4 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑)) → ∀𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
2322eximdv 1924 . . 3 (∀𝑧 𝑧 = 𝑥 → (∃𝑦𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑)) → ∃𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))))
24 axsepg 5226 . . . 4 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑))
2524gen2 1803 . . 3 𝑤𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑤𝜑))
26 ax-nul 5235 . . . . 5 𝑦𝑧 ¬ 𝑧𝑦
27 elirrv 9509 . . . . . . . . 9 ¬ 𝑧𝑧
2827intnanr 488 . . . . . . . 8 ¬ (𝑧𝑧𝜑)
2928nbn 373 . . . . . . 7 𝑧𝑦 ↔ (𝑧𝑦 ↔ (𝑧𝑧𝜑)))
3029biimpi 217 . . . . . 6 𝑧𝑦 → (𝑧𝑦 ↔ (𝑧𝑧𝜑)))
3130alimi 1818 . . . . 5 (∀𝑧 ¬ 𝑧𝑦 → ∀𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑)))
3226, 31eximii 1844 . . . 4 𝑦𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑))
3332ax-gen 1802 . . 3 𝑧𝑦𝑧(𝑧𝑦 ↔ (𝑧𝑧𝜑))
342, 3, 14, 23, 25, 33dvelimalcasei 35265 . 2 𝑧𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))
3534spi 2196 1 𝑦𝑥(𝑥𝑦 ↔ (𝑥𝑧𝜑))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 207  wa 396  wal 1545  wex 1786  wnf 1790
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-13 2380  ax-sep 5225  ax-nul 5235  ax-reg 9504
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-tru 1550  df-ex 1787  df-nf 1791
This theorem is referenced by:  axsepg5  35332
  Copyright terms: Public domain W3C validator