Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  ltasr Structured version   Visualization version   GIF version

Theorem ltasr 9800
 Description: Ordering property of addition. (Contributed by NM, 10-May-1996.) (New usage is discouraged.)
Assertion
Ref Expression
ltasr (𝐶R → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))

Proof of Theorem ltasr
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dmaddsr 9785 . 2 dom +R = (R × R)
2 ltrelsr 9768 . 2 <R ⊆ (R × R)
3 0nsr 9779 . 2 ¬ ∅ ∈ R
4 df-nr 9757 . . . 4 R = ((P × P) / ~R )
5 oveq1 6556 . . . . . 6 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ))
6 oveq1 6556 . . . . . 6 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))
75, 6breq12d 4596 . . . . 5 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → (([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )))
87bibi2d 331 . . . 4 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R )) ↔ ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))))
9 breq1 4586 . . . . 5 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R𝐴 <R [⟨𝑧, 𝑤⟩] ~R ))
10 oveq2 6557 . . . . . 6 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) = (𝐶 +R 𝐴))
1110breq1d 4593 . . . . 5 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → ((𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )))
129, 11bibi12d 334 . . . 4 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )) ↔ (𝐴 <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))))
13 breq2 4587 . . . . 5 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → (𝐴 <R [⟨𝑧, 𝑤⟩] ~R𝐴 <R 𝐵))
14 oveq2 6557 . . . . . 6 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) = (𝐶 +R 𝐵))
1514breq2d 4595 . . . . 5 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → ((𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
1613, 15bibi12d 334 . . . 4 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → ((𝐴 <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )) ↔ (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵))))
17 addclpr 9719 . . . . . . 7 ((𝑣P𝑢P) → (𝑣 +P 𝑢) ∈ P)
18173ad2ant1 1075 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (𝑣 +P 𝑢) ∈ P)
19 ltapr 9746 . . . . . . 7 ((𝑣 +P 𝑢) ∈ P → ((𝑥 +P 𝑤)<P (𝑦 +P 𝑧) ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))))
20 ltsrpr 9777 . . . . . . 7 ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝑥 +P 𝑤)<P (𝑦 +P 𝑧))
21 ltsrpr 9777 . . . . . . . 8 ([⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ↔ ((𝑣 +P 𝑥) +P (𝑢 +P 𝑤))<P ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)))
22 vex 3176 . . . . . . . . . 10 𝑣 ∈ V
23 vex 3176 . . . . . . . . . 10 𝑥 ∈ V
24 vex 3176 . . . . . . . . . 10 𝑢 ∈ V
25 addcompr 9722 . . . . . . . . . 10 (𝑦 +P 𝑧) = (𝑧 +P 𝑦)
26 addasspr 9723 . . . . . . . . . 10 ((𝑦 +P 𝑧) +P 𝑓) = (𝑦 +P (𝑧 +P 𝑓))
27 vex 3176 . . . . . . . . . 10 𝑤 ∈ V
2822, 23, 24, 25, 26, 27caov4 6763 . . . . . . . . 9 ((𝑣 +P 𝑥) +P (𝑢 +P 𝑤)) = ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))
29 addcompr 9722 . . . . . . . . . 10 ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) = ((𝑣 +P 𝑧) +P (𝑢 +P 𝑦))
30 vex 3176 . . . . . . . . . . 11 𝑧 ∈ V
31 addcompr 9722 . . . . . . . . . . 11 (𝑥 +P 𝑤) = (𝑤 +P 𝑥)
32 addasspr 9723 . . . . . . . . . . 11 ((𝑥 +P 𝑤) +P 𝑓) = (𝑥 +P (𝑤 +P 𝑓))
33 vex 3176 . . . . . . . . . . 11 𝑦 ∈ V
3422, 30, 24, 31, 32, 33caov42 6765 . . . . . . . . . 10 ((𝑣 +P 𝑧) +P (𝑢 +P 𝑦)) = ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))
3529, 34eqtri 2632 . . . . . . . . 9 ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) = ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))
3628, 35breq12i 4592 . . . . . . . 8 (((𝑣 +P 𝑥) +P (𝑢 +P 𝑤))<P ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧)))
3721, 36bitri 263 . . . . . . 7 ([⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧)))
3819, 20, 373bitr4g 302 . . . . . 6 ((𝑣 +P 𝑢) ∈ P → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ))
3918, 38syl 17 . . . . 5 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ))
40 addsrpr 9775 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝑥P𝑦P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R )
41403adant3 1074 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R )
42 addsrpr 9775 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R )
43423adant2 1073 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R )
4441, 43breq12d 4596 . . . . 5 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) ↔ [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ))
4539, 44bitr4d 270 . . . 4 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R )))
464, 8, 12, 16, 453ecoptocl 7726 . . 3 ((𝐶R𝐴R𝐵R) → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
47463coml 1264 . 2 ((𝐴R𝐵R𝐶R) → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
481, 2, 3, 47ndmovord 6722 1 (𝐶R → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 195   ∧ wa 383   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ⟨cop 4131   class class class wbr 4583  (class class class)co 6549  [cec 7627  Pcnp 9560   +P cpp 9562
 Copyright terms: Public domain W3C validator