Metamath Proof Explorer


Theorem ax12vALT

Description: Alternate proof of ax12v2 , shorter, but depending on more axioms. (Contributed by NM, 5-Aug-1993) (New usage is discouraged.) (Proof modification is discouraged.)

Ref Expression
Assertion ax12vALT ( 𝑥 = 𝑦 → ( 𝜑 → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) )

Proof

Step Hyp Ref Expression
1 ax-1 ( 𝜑 → ( 𝑥 = 𝑦𝜑 ) )
2 axc16 ( ∀ 𝑥 𝑥 = 𝑦 → ( ( 𝑥 = 𝑦𝜑 ) → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) )
3 1 2 syl5 ( ∀ 𝑥 𝑥 = 𝑦 → ( 𝜑 → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) )
4 3 a1d ( ∀ 𝑥 𝑥 = 𝑦 → ( 𝑥 = 𝑦 → ( 𝜑 → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) ) )
5 axc15 ( ¬ ∀ 𝑥 𝑥 = 𝑦 → ( 𝑥 = 𝑦 → ( 𝜑 → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) ) )
6 4 5 pm2.61i ( 𝑥 = 𝑦 → ( 𝜑 → ∀ 𝑥 ( 𝑥 = 𝑦𝜑 ) ) )