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

Theorem zfregcl 9588
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 2178 and ax-12 2213. (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 2850 . . . 4 (𝑧 = 𝐴 → (𝑥 ∈ 𝑧 ↔ 𝑥 ∈ 𝐴))
21exbidv 1954 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥 ∈ 𝑧 ↔ ∃𝑥 𝑥 ∈ 𝐴))
3 eleq2 2850 . . . . . 6 (𝑧 = 𝐴 → (𝑦 ∈ 𝑧 ↔ 𝑦 ∈ 𝐴))
43notbid 321 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦 ∈ 𝑧 ↔ ¬ 𝑦 ∈ 𝐴))
54ralbidv 3186 . . . 4 (𝑧 = 𝐴 → (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
65rexeqbi1dv 3331 . . 3 (𝑧 = 𝐴 → (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
72, 6imbi12d 347 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧) ↔ (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴)))
8 ax-reg 9586 . . 3 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
9 df-ral 3078 . . . . 5 (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
109rexbii 3110 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
11 df-rex 3088 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧) ↔ ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
1210, 11bitr2i 279 . . 3 (∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)) ↔ ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
138, 12sylib 221 . 2 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
147, 13vtoclg 3518 1 (𝐴 ∈ 𝑉 → (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-reg 9586
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088
This theorem is used by:  zfreg  9590  elirrvOLDOLD  9593
  Copyright terms: Public domain W3C validator