Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-ax12v2cl Structured version   Visualization version   GIF version

Theorem wl-ax12v2cl 37485
Description: The class version of ax12v2 2179, where the set variable 𝑦 is replaced with the class variable 𝐴. This is possible if 𝐴 is known to be a set, expressed by the antecedent.

Theorem ax12v 2178 is a specialization of ax12v2 2179. So any proof using ax12v 2178 will still hold if ax12v2 2179 is used instead.

Theorem ax12v2 2179 expresses that two equal set variables cannot be distinguished by whatever complicated formula 𝜑 if one is replaced with the other in it. This theorem states a similar result for a class variable known to be a set: All sets equal to the class variable behave the same if they replace the class variable in 𝜑.

Most axioms in FOL containing an equation correspond to a theorem where a class variable known to be a set replaces a set variable in the formula. Some exceptions cannot be avoided: The set variable must nowhere be bound. And it is not possible to state a distinct variable condition where a class 𝐴 is different from another, or distinct from a variable with type wff. So ax-12 2177 proper is out of reach: you cannot replace 𝑦 in 𝑦𝜑 with a class variable.

But where such limitations are not violated, the proof of the FOL theorem should carry over to a version where a class variable, known to be set, appears instead of a set variable. (Contributed by Wolf Lammen, 8-Aug-2020.)

Assertion
Ref Expression
wl-ax12v2cl (∃𝑦 𝑦 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
Distinct variable groups:   𝑥,𝐴   𝑦,𝐴
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem wl-ax12v2cl
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2740 . . 3 (𝑧 = 𝑦 → (𝑧 = 𝐴𝑦 = 𝐴))
21cbvexvw 2036 . 2 (∃𝑧 𝑧 = 𝐴 ↔ ∃𝑦 𝑦 = 𝐴)
3 ax12v 2178 . . . 4 (𝑥 = 𝑧 → (𝜑 → ∀𝑥(𝑥 = 𝑧𝜑)))
4 eqeq2 2748 . . . . 5 (𝑧 = 𝐴 → (𝑥 = 𝑧𝑥 = 𝐴))
54imbi1d 341 . . . . . . 7 (𝑧 = 𝐴 → ((𝑥 = 𝑧𝜑) ↔ (𝑥 = 𝐴𝜑)))
65albidv 1920 . . . . . 6 (𝑧 = 𝐴 → (∀𝑥(𝑥 = 𝑧𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜑)))
76imbi2d 340 . . . . 5 (𝑧 = 𝐴 → ((𝜑 → ∀𝑥(𝑥 = 𝑧𝜑)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
84, 7imbi12d 344 . . . 4 (𝑧 = 𝐴 → ((𝑥 = 𝑧 → (𝜑 → ∀𝑥(𝑥 = 𝑧𝜑))) ↔ (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑)))))
93, 8mpbii 233 . . 3 (𝑧 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
109exlimiv 1930 . 2 (∃𝑧 𝑧 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
112, 10sylbir 235 1 (∃𝑦 𝑦 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1538   = wceq 1540  wex 1779
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-9 2118  ax-12 2177  ax-ext 2707
This theorem depends on definitions:  df-bi 207  df-an 396  df-ex 1780  df-cleq 2728
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator