Metamath Proof Explorer
Description: Subtraction of both sides of 'less than or equal to'. (Contributed by Mario Carneiro, 30-May-2016)
|
|
Ref |
Expression |
|
Hypotheses |
leidd.1 |
⊢ ( 𝜑 → 𝐴 ∈ ℝ ) |
|
|
ltnegd.2 |
⊢ ( 𝜑 → 𝐵 ∈ ℝ ) |
|
|
ltadd1d.3 |
⊢ ( 𝜑 → 𝐶 ∈ ℝ ) |
|
|
leadd1dd.4 |
⊢ ( 𝜑 → 𝐴 ≤ 𝐵 ) |
|
Assertion |
lesub2dd |
⊢ ( 𝜑 → ( 𝐶 − 𝐵 ) ≤ ( 𝐶 − 𝐴 ) ) |
Proof
Step |
Hyp |
Ref |
Expression |
1 |
|
leidd.1 |
⊢ ( 𝜑 → 𝐴 ∈ ℝ ) |
2 |
|
ltnegd.2 |
⊢ ( 𝜑 → 𝐵 ∈ ℝ ) |
3 |
|
ltadd1d.3 |
⊢ ( 𝜑 → 𝐶 ∈ ℝ ) |
4 |
|
leadd1dd.4 |
⊢ ( 𝜑 → 𝐴 ≤ 𝐵 ) |
5 |
1 2 3
|
lesub2d |
⊢ ( 𝜑 → ( 𝐴 ≤ 𝐵 ↔ ( 𝐶 − 𝐵 ) ≤ ( 𝐶 − 𝐴 ) ) ) |
6 |
4 5
|
mpbid |
⊢ ( 𝜑 → ( 𝐶 − 𝐵 ) ≤ ( 𝐶 − 𝐴 ) ) |