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 37445
Description: The class version of ax12v2 2178, 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 2177 is a specialization of ax12v2 2178. So any proof using ax12v 2177 will still hold if ax12v2 2178 is used instead.

Theorem ax12v2 2178 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 2176 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 2738 . . 3 (𝑧 = 𝑦 → (𝑧 = 𝐴𝑦 = 𝐴))
21cbvexvw 2035 . 2 (∃𝑧 𝑧 = 𝐴 ↔ ∃𝑦 𝑦 = 𝐴)
3 ax12v 2177 . . . 4 (𝑥 = 𝑧 → (𝜑 → ∀𝑥(𝑥 = 𝑧𝜑)))
4 eqeq2 2746 . . . . 5 (𝑧 = 𝐴 → (𝑥 = 𝑧𝑥 = 𝐴))
54imbi1d 341 . . . . . . 7 (𝑧 = 𝐴 → ((𝑥 = 𝑧𝜑) ↔ (𝑥 = 𝐴𝜑)))
65albidv 1919 . . . . . 6 (𝑧 = 𝐴 → (∀𝑥(𝑥 = 𝑧𝜑) ↔ ∀𝑥(𝑥 = 𝐴𝜑)))
76imbi2d 340 . . . . 5 (𝑧 = 𝐴 → ((𝜑 → ∀𝑥(𝑥 = 𝑧𝜑)) ↔ (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
84, 7imbi12d 344 . . . 4 (𝑧 = 𝐴 → ((𝑥 = 𝑧 → (𝜑 → ∀𝑥(𝑥 = 𝑧𝜑))) ↔ (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑)))))
93, 8mpbii 233 . . 3 (𝑧 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
109exlimiv 1929 . 2 (∃𝑧 𝑧 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
112, 10sylbir 235 1 (∃𝑦 𝑦 = 𝐴 → (𝑥 = 𝐴 → (𝜑 → ∀𝑥(𝑥 = 𝐴𝜑))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wal 1537   = wceq 1539  wex 1778
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-9 2117  ax-12 2176  ax-ext 2706
This theorem depends on definitions:  df-bi 207  df-an 396  df-ex 1779  df-cleq 2726
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator