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

Theorem zfregcl 9353
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 1924 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥𝑧 ↔ ∃𝑥 𝑥𝐴))
3 eleq2 2827 . . . . . 6 (𝑧 = 𝐴 → (𝑦𝑧𝑦𝐴))
43notbid 318 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦𝑧 ↔ ¬ 𝑦𝐴))
54ralbidv 3112 . . . 4 (𝑧 = 𝐴 → (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦𝑥 ¬ 𝑦𝐴))
65rexeqbi1dv 3341 . . 3 (𝑧 = 𝐴 → (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
72, 6imbi12d 345 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧) ↔ (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴)))
8 nfre1 3239 . . 3 𝑥𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧
9 axreg2 9352 . . . 4 (𝑥𝑧 → ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
10 df-ral 3069 . . . . . 6 (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
1110rexbii 3181 . . . . 5 (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
12 df-rex 3070 . . . . 5 (∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧) ↔ ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
1311, 12bitr2i 275 . . . 4 (∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)) ↔ ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
149, 13sylib 217 . . 3 (𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
158, 14exlimi 2210 . 2 (∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
167, 15vtoclg 3505 1 (𝐴𝑉 → (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  wral 3064  wrex 3065
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2709  ax-reg 9351
This theorem depends on definitions:  df-bi 206  df-an 397  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070
This theorem is referenced by:  zfreg  9354  elirrv  9355
  Copyright terms: Public domain W3C validator