Metamath Proof Explorer


Theorem ex-abs

Description: Example for df-abs . (Contributed by AV, 4-Sep-2021)

Ref Expression
Assertion ex-abs ⊢ − 2 = 2

Proof

Step Hyp Ref Expression
1 2cn ⊢ 2 ∈ ℂ
2 1 absnegi ⊢ − 2 = 2
3 2re ⊢ 2 ∈ ℝ
4 0le2 ⊢ 0 ≤ 2
5 absid ⊢ 2 ∈ ℝ ∧ 0 ≤ 2 → 2 = 2
6 3 4 5 mp2an ⊢ 2 = 2
7 2 6 eqtri ⊢ − 2 = 2