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 35977
Description: A generalization of ax-sep 5258 that combines axsepg 5259 and axsepg2 35974 into a single theorem scheme. Unlike ax-sep 5258, 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 2408. (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 2195 . . . 4 Ⅎ𝑧∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑))
21a1i 11 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑧∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)))
3 nfvd 1952 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → Ⅎ𝑤∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)))
4 sp 2227 . . . 4 (∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)))
5 dveeq2 2414 . . . . . 6 (¬ ∀𝑥 𝑥 = 𝑧 → (𝑤 = 𝑧 → ∀𝑥 𝑤 = 𝑧))
65naecoms 2465 . . . . 5 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → ∀𝑥 𝑤 = 𝑧))
7 elequ2 2166 . . . . . . . . . 10 (𝑤 = 𝑧 → (𝑥 ∈ 𝑤 ↔ 𝑥 ∈ 𝑧))
87anbi1d 643 . . . . . . . . 9 (𝑤 = 𝑧 → ((𝑥 ∈ 𝑤 ∧ 𝜑) ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)))
98bibi2d 345 . . . . . . . 8 (𝑤 = 𝑧 → ((𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) ↔ (𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
109biimpd 232 . . . . . . 7 (𝑤 = 𝑧 → ((𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → (𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
1110al2imi 1850 . . . . . 6 (∀𝑥 𝑤 = 𝑧 → (∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → ∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
1211eximdv 1954 . . . . 5 (∀𝑥 𝑤 = 𝑧 → (∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
136, 12syl6 36 . . . 4 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → (∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)))))
144, 13syl7 75 . . 3 (¬ ∀𝑧 𝑧 = 𝑥 → (𝑤 = 𝑧 → (∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑)) → ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)))))
15 elequ1 2158 . . . . . . . 8 (𝑧 = 𝑥 → (𝑧 ∈ 𝑦 ↔ 𝑥 ∈ 𝑦))
16 elequ1 2158 . . . . . . . . 9 (𝑧 = 𝑥 → (𝑧 ∈ 𝑧 ↔ 𝑥 ∈ 𝑧))
1716anbi1d 643 . . . . . . . 8 (𝑧 = 𝑥 → ((𝑧 ∈ 𝑧 ∧ 𝜑) ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)))
1815, 17bibi12d 348 . . . . . . 7 (𝑧 = 𝑥 → ((𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)) ↔ (𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
1918biimpd 232 . . . . . 6 (𝑧 = 𝑥 → ((𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)) → (𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
2019al2imi 1850 . . . . 5 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)) → ∀𝑧(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
21 axc11 2466 . . . . 5 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑)) → ∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
2220, 21syld 48 . . . 4 (∀𝑧 𝑧 = 𝑥 → (∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)) → ∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
2322eximdv 1954 . . 3 (∀𝑧 𝑧 = 𝑥 → (∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)) → ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))))
24 axsepg 5259 . . . 4 ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑))
2524gen2 1831 . . 3 ∀𝑤∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑤 ∧ 𝜑))
26 ax-nul 5269 . . . . 5 ∃𝑦∀𝑧 ¬ 𝑧 ∈ 𝑦
27 elirrv 9639 . . . . . . . . 9 ¬ 𝑧 ∈ 𝑧
2827intnanr 493 . . . . . . . 8 ¬ (𝑧 ∈ 𝑧 ∧ 𝜑)
2928nbn 375 . . . . . . 7 (¬ 𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)))
3029biimpi 219 . . . . . 6 (¬ 𝑧 ∈ 𝑦 → (𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)))
3130alimi 1846 . . . . 5 (∀𝑧 ¬ 𝑧 ∈ 𝑦 → ∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑)))
3226, 31eximii 1872 . . . 4 ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑))
3332ax-gen 1830 . . 3 ∀𝑧∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑧 ∧ 𝜑))
342, 3, 14, 23, 25, 33dvelimalcasei 35834 . 2 ∀𝑧∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))
3534spi 2228 1 ∃𝑦∀𝑥(𝑥 ∈ 𝑦 ↔ (𝑥 ∈ 𝑧 ∧ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570  ∃wex 1814  Ⅎwnf 1818
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-13 2408  ax-sep 5258  ax-nul 5269  ax-reg 9634
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1815  df-nf 1819
This theorem is used by:  axsepg5  35978
  Copyright terms: Public domain W3C validator