Metamath Proof Explorer


Theorem enen2

Description: Equality-like theorem for equinumerosity. (Contributed by NM, 18-Dec-2003)

Ref Expression
Assertion enen2 ( 𝐴 ≈ 𝐵 → ( 𝐶 ≈ 𝐴 ↔ 𝐶 ≈ 𝐵 ) )

Proof

Step Hyp Ref Expression
1 entr ⊢ ( ( 𝐶 ≈ 𝐴 ∧ 𝐴 ≈ 𝐵 ) → 𝐶 ≈ 𝐵 )
2 1 ancoms ⊢ ( ( 𝐴 ≈ 𝐵 ∧ 𝐶 ≈ 𝐴 ) → 𝐶 ≈ 𝐵 )
3 ensym ⊢ ( 𝐴 ≈ 𝐵 → 𝐵 ≈ 𝐴 )
4 entr ⊢ ( ( 𝐶 ≈ 𝐵 ∧ 𝐵 ≈ 𝐴 ) → 𝐶 ≈ 𝐴 )
5 4 ancoms ⊢ ( ( 𝐵 ≈ 𝐴 ∧ 𝐶 ≈ 𝐵 ) → 𝐶 ≈ 𝐴 )
6 3 5 sylan ⊢ ( ( 𝐴 ≈ 𝐵 ∧ 𝐶 ≈ 𝐵 ) → 𝐶 ≈ 𝐴 )
7 2 6 impbida ⊢ ( 𝐴 ≈ 𝐵 → ( 𝐶 ≈ 𝐴 ↔ 𝐶 ≈ 𝐵 ) )