Metamath Proof Explorer


Theorem axc11n11r

Description: Proof of axc11n from { ax-1 -- ax-7 , axc9 , axc11r } (note that axc16 is provable from { ax-1 -- ax-7 , axc11r }).

Note that axc11n proves (over minimal calculus) that axc11 and axc11r are equivalent. Therefore, axc11n11 and axc11n11r prove that one can use one or the other as an axiom, provided one assumes the axioms listed above ( axc11 appears slightly stronger since axc11n11r requires axc9 while axc11n11 does not).

(Contributed by BJ, 6-Jul-2021) (Proof modification is discouraged.)

Ref Expression
Assertion axc11n11r ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 )

Proof

Step Hyp Ref Expression
1 equcomi ( 𝑥 = 𝑦𝑦 = 𝑥 )
2 axc16 ( ∀ 𝑦 𝑦 = 𝑧 → ( 𝑦 = 𝑥 → ∀ 𝑦 𝑦 = 𝑥 ) )
3 1 2 syl5 ( ∀ 𝑦 𝑦 = 𝑧 → ( 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
4 3 spsd ( ∀ 𝑦 𝑦 = 𝑧 → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
5 4 exlimiv ( ∃ 𝑧𝑦 𝑦 = 𝑧 → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
6 alnex ( ∀ 𝑧 ¬ ∀ 𝑦 𝑦 = 𝑧 ↔ ¬ ∃ 𝑧𝑦 𝑦 = 𝑧 )
7 ax6evr 𝑧 𝑥 = 𝑧
8 19.29 ( ( ∀ 𝑧 ¬ ∀ 𝑦 𝑦 = 𝑧 ∧ ∃ 𝑧 𝑥 = 𝑧 ) → ∃ 𝑧 ( ¬ ∀ 𝑦 𝑦 = 𝑧𝑥 = 𝑧 ) )
9 7 8 mpan2 ( ∀ 𝑧 ¬ ∀ 𝑦 𝑦 = 𝑧 → ∃ 𝑧 ( ¬ ∀ 𝑦 𝑦 = 𝑧𝑥 = 𝑧 ) )
10 axc9 ( ¬ ∀ 𝑦 𝑦 = 𝑥 → ( ¬ ∀ 𝑦 𝑦 = 𝑧 → ( 𝑥 = 𝑧 → ∀ 𝑦 𝑥 = 𝑧 ) ) )
11 10 impcom ( ( ¬ ∀ 𝑦 𝑦 = 𝑧 ∧ ¬ ∀ 𝑦 𝑦 = 𝑥 ) → ( 𝑥 = 𝑧 → ∀ 𝑦 𝑥 = 𝑧 ) )
12 axc11r ( ∀ 𝑥 𝑥 = 𝑦 → ( ∀ 𝑦 𝑥 = 𝑧 → ∀ 𝑥 𝑥 = 𝑧 ) )
13 11 12 syl9 ( ( ¬ ∀ 𝑦 𝑦 = 𝑧 ∧ ¬ ∀ 𝑦 𝑦 = 𝑥 ) → ( ∀ 𝑥 𝑥 = 𝑦 → ( 𝑥 = 𝑧 → ∀ 𝑥 𝑥 = 𝑧 ) ) )
14 aev ( ∀ 𝑥 𝑥 = 𝑧 → ∀ 𝑦 𝑦 = 𝑥 )
15 13 14 syl8 ( ( ¬ ∀ 𝑦 𝑦 = 𝑧 ∧ ¬ ∀ 𝑦 𝑦 = 𝑥 ) → ( ∀ 𝑥 𝑥 = 𝑦 → ( 𝑥 = 𝑧 → ∀ 𝑦 𝑦 = 𝑥 ) ) )
16 15 ex ( ¬ ∀ 𝑦 𝑦 = 𝑧 → ( ¬ ∀ 𝑦 𝑦 = 𝑥 → ( ∀ 𝑥 𝑥 = 𝑦 → ( 𝑥 = 𝑧 → ∀ 𝑦 𝑦 = 𝑥 ) ) ) )
17 16 com24 ( ¬ ∀ 𝑦 𝑦 = 𝑧 → ( 𝑥 = 𝑧 → ( ∀ 𝑥 𝑥 = 𝑦 → ( ¬ ∀ 𝑦 𝑦 = 𝑥 → ∀ 𝑦 𝑦 = 𝑥 ) ) ) )
18 17 imp ( ( ¬ ∀ 𝑦 𝑦 = 𝑧𝑥 = 𝑧 ) → ( ∀ 𝑥 𝑥 = 𝑦 → ( ¬ ∀ 𝑦 𝑦 = 𝑥 → ∀ 𝑦 𝑦 = 𝑥 ) ) )
19 pm2.18 ( ( ¬ ∀ 𝑦 𝑦 = 𝑥 → ∀ 𝑦 𝑦 = 𝑥 ) → ∀ 𝑦 𝑦 = 𝑥 )
20 18 19 syl6 ( ( ¬ ∀ 𝑦 𝑦 = 𝑧𝑥 = 𝑧 ) → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
21 20 exlimiv ( ∃ 𝑧 ( ¬ ∀ 𝑦 𝑦 = 𝑧𝑥 = 𝑧 ) → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
22 9 21 syl ( ∀ 𝑧 ¬ ∀ 𝑦 𝑦 = 𝑧 → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
23 6 22 sylbir ( ¬ ∃ 𝑧𝑦 𝑦 = 𝑧 → ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 ) )
24 5 23 pm2.61i ( ∀ 𝑥 𝑥 = 𝑦 → ∀ 𝑦 𝑦 = 𝑥 )