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

Theorem zfregcl 9283
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.)
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 2827 . . . 4 (𝑧 = 𝐴 → (𝑥𝑧𝑥𝐴))
21exbidv 1925 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥𝑧 ↔ ∃𝑥 𝑥𝐴))
3 eleq2 2827 . . . . . 6 (𝑧 = 𝐴 → (𝑦𝑧𝑦𝐴))
43notbid 317 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦𝑧 ↔ ¬ 𝑦𝐴))
54ralbidv 3120 . . . 4 (𝑧 = 𝐴 → (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦𝑥 ¬ 𝑦𝐴))
65rexeqbi1dv 3332 . . 3 (𝑧 = 𝐴 → (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
72, 6imbi12d 344 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧) ↔ (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴)))
8 nfre1 3234 . . 3 𝑥𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧
9 axreg2 9282 . . . 4 (𝑥𝑧 → ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
10 df-ral 3068 . . . . . 6 (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
1110rexbii 3177 . . . . 5 (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
12 df-rex 3069 . . . . 5 (∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧) ↔ ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
1311, 12bitr2i 275 . . . 4 (∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)) ↔ ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
149, 13sylib 217 . . 3 (𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
158, 14exlimi 2213 . 2 (∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
167, 15vtoclg 3495 1 (𝐴𝑉 → (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  wral 3063  wrex 3064
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-12 2173  ax-ext 2709  ax-reg 9281
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069
This theorem is referenced by:  zfreg  9284  elirrv  9285
  Copyright terms: Public domain W3C validator