Metamath Proof Explorer


Theorem lesub0i

Description: Lemma to show a nonnegative number is zero. (Contributed by NM, 8-Oct-1999) (Proof shortened by Andrew Salmon, 19-Nov-2011)

Ref Expression
Hypotheses lt2.1 ⊢ A ∈ ℝ
lt2.2 ⊢ B ∈ ℝ
Assertion lesub0i ⊢ 0 ≤ A ∧ B ≤ B − A ↔ A = 0

Proof

Step Hyp Ref Expression
1 lt2.1 ⊢ A ∈ ℝ
2 lt2.2 ⊢ B ∈ ℝ
3 lesub0 ⊢ A ∈ ℝ ∧ B ∈ ℝ → 0 ≤ A ∧ B ≤ B − A ↔ A = 0
4 1 2 3 mp2an ⊢ 0 ≤ A ∧ B ≤ B − A ↔ A = 0