MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  zfregcl Structured version   Visualization version   GIF version

Theorem zfregcl 9589
Description: The Axiom of Regularity with class variables. (Contributed by NM, 5-Aug-1994.) Replace sethood hypothesis with sethood antecedent. (Revised by BJ, 27-Apr-2021.) Avoid ax-10 2177 and ax-12 2212. (Revised by TM, 31-Dec-2025.)
Assertion
Ref Expression
zfregcl (𝐴 ∈ 𝑉 → (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
Distinct variable group:   𝑥,𝐴,𝑦
Allowed substitution hints:   𝑉(𝑥, 𝑦)

Proof of Theorem zfregcl
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eleq2 2849 . . . 4 (𝑧 = 𝐴 → (𝑥 ∈ 𝑧 ↔ 𝑥 ∈ 𝐴))
21exbidv 1953 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥 ∈ 𝑧 ↔ ∃𝑥 𝑥 ∈ 𝐴))
3 eleq2 2849 . . . . . 6 (𝑧 = 𝐴 → (𝑦 ∈ 𝑧 ↔ 𝑦 ∈ 𝐴))
43notbid 321 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦 ∈ 𝑧 ↔ ¬ 𝑦 ∈ 𝐴))
54ralbidv 3185 . . . 4 (𝑧 = 𝐴 → (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
65rexeqbi1dv 3330 . . 3 (𝑧 = 𝐴 → (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
72, 6imbi12d 347 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧) ↔ (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴)))
8 ax-reg 9587 . . 3 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
9 df-ral 3077 . . . . 5 (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
109rexbii 3109 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
11 df-rex 3087 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧) ↔ ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
1210, 11bitr2i 279 . . 3 (∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)) ↔ ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
138, 12sylib 221 . 2 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
147, 13vtoclg 3517 1 (𝐴 ∈ 𝑉 → (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144  ∀wral 3076  ∃wrex 3086
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-reg 9587
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087
This theorem is used by:  zfreg  9591  elirrvOLDOLD  9594
  Copyright terms: Public domain W3C validator