Metamath Proof Explorer


Theorem xmetrtri2

Description: The reverse triangle inequality for the distance function of an extended metric. In order to express the "extended absolute value function", we use the distance function xrsdsval defined on the extended real structure. (Contributed by Mario Carneiro, 4-Sep-2015)

Ref Expression
Hypothesis xmetrtri2.1 K = dist 𝑠 *
Assertion xmetrtri2 D ∞Met X A X B X C X A D C K B D C A D B

Proof

Step Hyp Ref Expression
1 xmetrtri2.1 K = dist 𝑠 *
2 xmetcl D ∞Met X A X C X A D C *
3 2 3adant3r2 D ∞Met X A X B X C X A D C *
4 xmetcl D ∞Met X B X C X B D C *
5 4 3adant3r1 D ∞Met X A X B X C X B D C *
6 1 xrsdsval A D C * B D C * A D C K B D C = if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C
7 3 5 6 syl2anc D ∞Met X A X B X C X A D C K B D C = if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C
8 3ancoma A X B X C X B X A X C X
9 xmetrtri D ∞Met X B X A X C X B D C + 𝑒 A D C B D A
10 8 9 sylan2b D ∞Met X A X B X C X B D C + 𝑒 A D C B D A
11 xmetsym D ∞Met X A X B X A D B = B D A
12 11 3adant3r3 D ∞Met X A X B X C X A D B = B D A
13 10 12 breqtrrd D ∞Met X A X B X C X B D C + 𝑒 A D C A D B
14 xmetrtri D ∞Met X A X B X C X A D C + 𝑒 B D C A D B
15 breq1 B D C + 𝑒 A D C = if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C B D C + 𝑒 A D C A D B if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C A D B
16 breq1 A D C + 𝑒 B D C = if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C A D C + 𝑒 B D C A D B if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C A D B
17 15 16 ifboth B D C + 𝑒 A D C A D B A D C + 𝑒 B D C A D B if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C A D B
18 13 14 17 syl2anc D ∞Met X A X B X C X if A D C B D C B D C + 𝑒 A D C A D C + 𝑒 B D C A D B
19 7 18 eqbrtrd D ∞Met X A X B X C X A D C K B D C A D B