Metamath Proof Explorer


Theorem addge0

Description: The sum of 2 nonnegative numbers is nonnegative. (Contributed by NM, 17-Mar-2005) (Proof shortened by Andrew Salmon, 19-Nov-2011)

Ref Expression
Assertion addge0 ⊢ A ∈ ℝ ∧ B ∈ ℝ ∧ 0 ≤ A ∧ 0 ≤ B → 0 ≤ A + B

Proof

Step Hyp Ref Expression
1 00id ⊢ 0 + 0 = 0
2 0re ⊢ 0 ∈ ℝ
3 le2add ⊢ 0 ∈ ℝ ∧ 0 ∈ ℝ ∧ A ∈ ℝ ∧ B ∈ ℝ → 0 ≤ A ∧ 0 ≤ B → 0 + 0 ≤ A + B
4 2 2 3 mpanl12 ⊢ A ∈ ℝ ∧ B ∈ ℝ → 0 ≤ A ∧ 0 ≤ B → 0 + 0 ≤ A + B
5 4 imp ⊢ A ∈ ℝ ∧ B ∈ ℝ ∧ 0 ≤ A ∧ 0 ≤ B → 0 + 0 ≤ A + B
6 1 5 eqbrtrrid ⊢ A ∈ ℝ ∧ B ∈ ℝ ∧ 0 ≤ A ∧ 0 ≤ B → 0 ≤ A + B