Metamath Proof Explorer


Theorem ax12i

Description: Inference that has ax-12 (without A. y ) as its conclusion. Uses only Tarski's FOL axiom schemes. The hypotheses may be eliminable without using ax-12 in special cases. Proof similar to Lemma 16 of Tarski p. 70. (Contributed by NM, 20-May-2008)

Ref Expression
Hypotheses ax12i.1 ⊢ x = y → φ ↔ ψ
ax12i.2 ⊢ ψ → ∀ x ψ
Assertion ax12i ⊢ x = y → φ → ∀ x x = y → φ

Proof

Step Hyp Ref Expression
1 ax12i.1 ⊢ x = y → φ ↔ ψ
2 ax12i.2 ⊢ ψ → ∀ x ψ
3 1 biimprcd ⊢ ψ → x = y → φ
4 2 3 alrimih ⊢ ψ → ∀ x x = y → φ
5 1 4 biimtrdi ⊢ x = y → φ → ∀ x x = y → φ