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

Axiom ax-12 2216
Description: Axiom of Substitution. One of the 5 equality axioms of predicate calculus. The final consequent ∀𝑥(𝑥 = 𝑦 → 𝜑) is a way of expressing "𝑦 substituted for 𝑥 in wff 𝜑 " (cf. sb6 2124). It is based on Lemma 16 of [Tarski] p. 70 and Axiom C8 of [Monk2] p. 105, from which it can be proved by cases.

The original version of this axiom was ax-c15 40137 and was replaced with this shorter ax-12 2216 in Jan. 2007. The old axiom is proved from this one as Theorem axc15 2454. Conversely, this axiom is proved from ax-c15 40137 as Theorem ax12 2455.

Juha Arpiainen proved the metalogical independence of this axiom (in the form of the older axiom ax-c15 40137) from the others on 19-Jan-2006. See item 9a at https://us.metamath.org/award2003.html 40137.

See ax12v 2217 and ax12v2 2218 for other equivalents of this axiom that (unlike this axiom) have distinct variable restrictions.

This axiom scheme is logically redundant (see ax12w 2172) but is used as an auxiliary axiom scheme to achieve scheme completeness. (Contributed by NM, 22-Jan-2007.) (New usage is discouraged.)

Assertion
Ref Expression
ax-12 (𝑥 = 𝑦 → (∀𝑦𝜑 → ∀𝑥(𝑥 = 𝑦 → 𝜑)))

Detailed syntax breakdown of Axiom ax-12
StepHypRef Expression
1 vx . . 3 setvar 𝑥
2 vy . . 3 setvar 𝑦
31, 2weq 1997 . 2 wff 𝑥 = 𝑦
4 wph . . . 4 wff 𝜑
54, 2wal 1568 . . 3 wff ∀𝑦𝜑
63, 4wi 4 . . . 4 wff (𝑥 = 𝑦 → 𝜑)
76, 1wal 1568 . . 3 wff ∀𝑥(𝑥 = 𝑦 → 𝜑)
85, 7wi 4 . 2 wff (∀𝑦𝜑 → ∀𝑥(𝑥 = 𝑦 → 𝜑))
93, 8wi 4 1 wff (𝑥 = 𝑦 → (∀𝑦𝜑 → ∀𝑥(𝑥 = 𝑦 → 𝜑)))
Colors of variables:    wff setvar class
This axiom is used by:  ax12v  2217  equs5aALT  2398  equs5eALT  2399  axc11r  2400
  Copyright terms: Public domain W3C validator