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

Theorem ltasr 10510
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 10495 . 2 dom +R = (R × R)
2 ltrelsr 10478 . 2 <R ⊆ (R × R)
3 0nsr 10489 . 2 ¬ ∅ ∈ R
4 df-nr 10466 . . . 4 R = ((P × P) / ~R )
5 oveq1 7152 . . . . . 6 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ))
6 oveq1 7152 . . . . . 6 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))
75, 6breq12d 5070 . . . . 5 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → (([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )))
87bibi2d 344 . . . 4 ([⟨𝑣, 𝑢⟩] ~R = 𝐶 → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R )) ↔ ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))))
9 breq1 5060 . . . . 5 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R𝐴 <R [⟨𝑧, 𝑤⟩] ~R ))
10 oveq2 7153 . . . . . 6 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) = (𝐶 +R 𝐴))
1110breq1d 5067 . . . . 5 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → ((𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )))
129, 11bibi12d 347 . . . 4 ([⟨𝑥, 𝑦⟩] ~R = 𝐴 → (([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R [⟨𝑥, 𝑦⟩] ~R ) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )) ↔ (𝐴 <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ))))
13 breq2 5061 . . . . 5 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → (𝐴 <R [⟨𝑧, 𝑤⟩] ~R𝐴 <R 𝐵))
14 oveq2 7153 . . . . . 6 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) = (𝐶 +R 𝐵))
1514breq2d 5069 . . . . 5 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → ((𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R ) ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
1613, 15bibi12d 347 . . . 4 ([⟨𝑧, 𝑤⟩] ~R = 𝐵 → ((𝐴 <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝐶 +R 𝐴) <R (𝐶 +R [⟨𝑧, 𝑤⟩] ~R )) ↔ (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵))))
17 addclpr 10428 . . . . . . 7 ((𝑣P𝑢P) → (𝑣 +P 𝑢) ∈ P)
18173ad2ant1 1125 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (𝑣 +P 𝑢) ∈ P)
19 ltapr 10455 . . . . . . 7 ((𝑣 +P 𝑢) ∈ P → ((𝑥 +P 𝑤)<P (𝑦 +P 𝑧) ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))))
20 ltsrpr 10487 . . . . . . 7 ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ (𝑥 +P 𝑤)<P (𝑦 +P 𝑧))
21 ltsrpr 10487 . . . . . . . 8 ([⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ↔ ((𝑣 +P 𝑥) +P (𝑢 +P 𝑤))<P ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)))
22 vex 3495 . . . . . . . . . 10 𝑣 ∈ V
23 vex 3495 . . . . . . . . . 10 𝑥 ∈ V
24 vex 3495 . . . . . . . . . 10 𝑢 ∈ V
25 addcompr 10431 . . . . . . . . . 10 (𝑦 +P 𝑧) = (𝑧 +P 𝑦)
26 addasspr 10432 . . . . . . . . . 10 ((𝑦 +P 𝑧) +P 𝑓) = (𝑦 +P (𝑧 +P 𝑓))
27 vex 3495 . . . . . . . . . 10 𝑤 ∈ V
2822, 23, 24, 25, 26, 27caov4 7368 . . . . . . . . 9 ((𝑣 +P 𝑥) +P (𝑢 +P 𝑤)) = ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))
29 addcompr 10431 . . . . . . . . . 10 ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) = ((𝑣 +P 𝑧) +P (𝑢 +P 𝑦))
30 vex 3495 . . . . . . . . . . 11 𝑧 ∈ V
31 addcompr 10431 . . . . . . . . . . 11 (𝑥 +P 𝑤) = (𝑤 +P 𝑥)
32 addasspr 10432 . . . . . . . . . . 11 ((𝑥 +P 𝑤) +P 𝑓) = (𝑥 +P (𝑤 +P 𝑓))
33 vex 3495 . . . . . . . . . . 11 𝑦 ∈ V
3422, 30, 24, 31, 32, 33caov42 7370 . . . . . . . . . 10 ((𝑣 +P 𝑧) +P (𝑢 +P 𝑦)) = ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))
3529, 34eqtri 2841 . . . . . . . . 9 ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) = ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧))
3628, 35breq12i 5066 . . . . . . . 8 (((𝑣 +P 𝑥) +P (𝑢 +P 𝑤))<P ((𝑢 +P 𝑦) +P (𝑣 +P 𝑧)) ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧)))
3721, 36bitri 276 . . . . . . 7 ([⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ↔ ((𝑣 +P 𝑢) +P (𝑥 +P 𝑤))<P ((𝑣 +P 𝑢) +P (𝑦 +P 𝑧)))
3819, 20, 373bitr4g 315 . . . . . 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 10485 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝑥P𝑦P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R )
41403adant3 1124 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) = [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R )
42 addsrpr 10485 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R )
43423adant2 1123 . . . . . 6 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) = [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R )
4441, 43breq12d 5070 . . . . 5 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → (([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R ) ↔ [⟨(𝑣 +P 𝑥), (𝑢 +P 𝑦)⟩] ~R <R [⟨(𝑣 +P 𝑧), (𝑢 +P 𝑤)⟩] ~R ))
4539, 44bitr4d 283 . . . 4 (((𝑣P𝑢P) ∧ (𝑥P𝑦P) ∧ (𝑧P𝑤P)) → ([⟨𝑥, 𝑦⟩] ~R <R [⟨𝑧, 𝑤⟩] ~R ↔ ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑥, 𝑦⟩] ~R ) <R ([⟨𝑣, 𝑢⟩] ~R +R [⟨𝑧, 𝑤⟩] ~R )))
464, 8, 12, 16, 453ecoptocl 8378 . . 3 ((𝐶R𝐴R𝐵R) → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
47463coml 1119 . 2 ((𝐴R𝐵R𝐶R) → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
481, 2, 3, 47ndmovord 7327 1 (𝐶R → (𝐴 <R 𝐵 ↔ (𝐶 +R 𝐴) <R (𝐶 +R 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 207  wa 396  w3a 1079   = wceq 1528  wcel 2105  cop 4563   class class class wbr 5057  (class class class)co 7145  [cec 8276  Pcnp 10269   +P cpp 10271  <P cltp 10273   ~R cer 10274  Rcnr 10275   +R cplr 10279   <R cltr 10281
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450  ax-inf2 9092
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rmo 3143  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-pss 3951  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-tp 4562  df-op 4564  df-uni 4831  df-int 4868  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-tr 5164  df-id 5453  df-eprel 5458  df-po 5467  df-so 5468  df-fr 5507  df-we 5509  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-pred 6141  df-ord 6187  df-on 6188  df-lim 6189  df-suc 6190  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7148  df-oprab 7149  df-mpo 7150  df-om 7570  df-1st 7678  df-2nd 7679  df-wrecs 7936  df-recs 7997  df-rdg 8035  df-1o 8091  df-oadd 8095  df-omul 8096  df-er 8278  df-ec 8280  df-qs 8284  df-ni 10282  df-pli 10283  df-mi 10284  df-lti 10285  df-plpq 10318  df-mpq 10319  df-ltpq 10320  df-enq 10321  df-nq 10322  df-erq 10323  df-plq 10324  df-mq 10325  df-1nq 10326  df-rq 10327  df-ltnq 10328  df-np 10391  df-plp 10393  df-ltp 10395  df-enr 10465  df-nr 10466  df-plr 10467  df-ltr 10469
This theorem is referenced by:  addgt0sr  10514  sqgt0sr  10516  mappsrpr  10518  ltpsrpr  10519  map2psrpr  10520  supsrlem  10521  axpre-ltadd  10577
  Copyright terms: Public domain W3C validator