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

Theorem zfregcl 9598
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 2179 and ax-12 2215. (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 2852 . . . 4 (𝑧 = 𝐴 → (𝑥 ∈ 𝑧 ↔ 𝑥 ∈ 𝐴))
21exbidv 1955 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥 ∈ 𝑧 ↔ ∃𝑥 𝑥 ∈ 𝐴))
3 eleq2 2852 . . . . . 6 (𝑧 = 𝐴 → (𝑦 ∈ 𝑧 ↔ 𝑦 ∈ 𝐴))
43notbid 321 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦 ∈ 𝑧 ↔ ¬ 𝑦 ∈ 𝐴))
54ralbidv 3188 . . . 4 (𝑧 = 𝐴 → (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
65rexeqbi1dv 3333 . . 3 (𝑧 = 𝐴 → (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴))
72, 6imbi12d 347 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧) ↔ (∃𝑥 𝑥 ∈ 𝐴 → ∃𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝐴)))
8 ax-reg 9596 . . 3 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
9 df-ral 3080 . . . . 5 (∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
109rexbii 3112 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧 ↔ ∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧))
11 df-rex 3090 . . . 4 (∃𝑥 ∈ 𝑧 ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧) ↔ ∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)))
1210, 11bitr2i 279 . . 3 (∃𝑥(𝑥 ∈ 𝑧 ∧ ∀𝑦(𝑦 ∈ 𝑥 → ¬ 𝑦 ∈ 𝑧)) ↔ ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
138, 12sylib 221 . 2 (∃𝑥 𝑥 ∈ 𝑧 → ∃𝑥 ∈ 𝑧 ∀𝑦 ∈ 𝑥 ¬ 𝑦 ∈ 𝑧)
147, 13vtoclg 3520 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 2146  ∀wral 3079  ∃wrex 3089
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735  ax-reg 9596
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rex 3090
This theorem is used by:  zfreg  9600  elirrvOLDOLD  9603
  Copyright terms: Public domain W3C validator