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

Theorem zfregcl 9046
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 2898 . . . 4 (𝑧 = 𝐴 → (𝑥𝑧𝑥𝐴))
21exbidv 1913 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥𝑧 ↔ ∃𝑥 𝑥𝐴))
3 eleq2 2898 . . . . . 6 (𝑧 = 𝐴 → (𝑦𝑧𝑦𝐴))
43notbid 319 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦𝑧 ↔ ¬ 𝑦𝐴))
54ralbidv 3194 . . . 4 (𝑧 = 𝐴 → (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦𝑥 ¬ 𝑦𝐴))
65rexeqbi1dv 3402 . . 3 (𝑧 = 𝐴 → (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
72, 6imbi12d 346 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧) ↔ (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴)))
8 nfre1 3303 . . 3 𝑥𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧
9 axreg2 9045 . . . 4 (𝑥𝑧 → ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
10 df-ral 3140 . . . . . 6 (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
1110rexbii 3244 . . . . 5 (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
12 df-rex 3141 . . . . 5 (∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧) ↔ ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
1311, 12bitr2i 277 . . . 4 (∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)) ↔ ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
149, 13sylib 219 . . 3 (𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
158, 14exlimi 2207 . 2 (∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
167, 15vtoclg 3565 1 (𝐴𝑉 → (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wal 1526   = wceq 1528  wex 1771  wcel 2105  wral 3135  wrex 3136
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-12 2167  ax-ext 2790  ax-reg 9044
This theorem depends on definitions:  df-bi 208  df-an 397  df-ex 1772  df-nf 1776  df-cleq 2811  df-clel 2890  df-ral 3140  df-rex 3141
This theorem is referenced by:  zfreg  9047  elirrv  9048
  Copyright terms: Public domain W3C validator