Metamath Proof Explorer

Axiom ax-12

Description: Axiom of Substitution. One of the 5 equality axioms of predicate calculus. The final consequent A. x ( x = y -> ph ) is a way of expressing " y substituted for x in wff ph " (cf. sb6 ). 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 and was replaced with this shorter ax-12 in Jan. 2007. The old axiom is proved from this one as theorem axc15 . Conversely, this axiom is proved from ax-c15 as theorem ax12 .

Juha Arpiainen proved the metalogical independence of this axiom (in the form of the older axiom ax-c15 ) from the others on 19-Jan-2006. See item 9a at .

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

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

Ref Expression
Assertion ax-12 x = y y φ x x = y φ

Detailed syntax breakdown

Step Hyp Ref Expression
0 vx setvar x
1 0 cv setvar x
2 vy setvar y
3 2 cv setvar y
4 1 3 wceq wff x = y
5 wph wff φ
6 5 2 wal wff y φ
7 4 5 wi wff x = y φ
8 7 0 wal wff x x = y φ
9 6 8 wi wff y φ x x = y φ
10 4 9 wi wff x = y y φ x x = y φ