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

Theorem zfregcl 9042
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 2878 . . . 4 (𝑧 = 𝐴 → (𝑥𝑧𝑥𝐴))
21exbidv 1922 . . 3 (𝑧 = 𝐴 → (∃𝑥 𝑥𝑧 ↔ ∃𝑥 𝑥𝐴))
3 eleq2 2878 . . . . . 6 (𝑧 = 𝐴 → (𝑦𝑧𝑦𝐴))
43notbid 321 . . . . 5 (𝑧 = 𝐴 → (¬ 𝑦𝑧 ↔ ¬ 𝑦𝐴))
54ralbidv 3162 . . . 4 (𝑧 = 𝐴 → (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦𝑥 ¬ 𝑦𝐴))
65rexeqbi1dv 3357 . . 3 (𝑧 = 𝐴 → (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
72, 6imbi12d 348 . 2 (𝑧 = 𝐴 → ((∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧) ↔ (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴)))
8 nfre1 3265 . . 3 𝑥𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧
9 axreg2 9041 . . . 4 (𝑥𝑧 → ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
10 df-ral 3111 . . . . . 6 (∀𝑦𝑥 ¬ 𝑦𝑧 ↔ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
1110rexbii 3210 . . . . 5 (∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧 ↔ ∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧))
12 df-rex 3112 . . . . 5 (∃𝑥𝑧𝑦(𝑦𝑥 → ¬ 𝑦𝑧) ↔ ∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)))
1311, 12bitr2i 279 . . . 4 (∃𝑥(𝑥𝑧 ∧ ∀𝑦(𝑦𝑥 → ¬ 𝑦𝑧)) ↔ ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
149, 13sylib 221 . . 3 (𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
158, 14exlimi 2215 . 2 (∃𝑥 𝑥𝑧 → ∃𝑥𝑧𝑦𝑥 ¬ 𝑦𝑧)
167, 15vtoclg 3515 1 (𝐴𝑉 → (∃𝑥 𝑥𝐴 → ∃𝑥𝐴𝑦𝑥 ¬ 𝑦𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wal 1536   = wceq 1538  wex 1781  wcel 2111  wral 3106  wrex 3107
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-12 2175  ax-ext 2770  ax-reg 9040
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-nf 1786  df-cleq 2791  df-clel 2870  df-ral 3111  df-rex 3112
This theorem is referenced by:  zfreg  9043  elirrv  9044
  Copyright terms: Public domain W3C validator