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

Theorem ltapr 9812
Description: Ordering property of addition. Proposition 9-3.5(v) of [Gleason] p. 123. (Contributed by NM, 8-Apr-1996.) (New usage is discouraged.)
Assertion
Ref Expression
ltapr (𝐶P → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))

Proof of Theorem ltapr
StepHypRef Expression
1 dmplp 9779 . 2 dom +P = (P × P)
2 ltrelpr 9765 . 2 <P ⊆ (P × P)
3 0npr 9759 . 2 ¬ ∅ ∈ P
4 ltaprlem 9811 . . . . . 6 (𝐶P → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
54adantr 481 . . . . 5 ((𝐶P ∧ (𝐵P𝐴P)) → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
6 olc 399 . . . . . . . . 9 ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
7 ltaprlem 9811 . . . . . . . . . . . 12 (𝐶P → (𝐵<P 𝐴 → (𝐶 +P 𝐵)<P (𝐶 +P 𝐴)))
87adantr 481 . . . . . . . . . . 11 ((𝐶P ∧ (𝐵P𝐴P)) → (𝐵<P 𝐴 → (𝐶 +P 𝐵)<P (𝐶 +P 𝐴)))
9 ltsopr 9799 . . . . . . . . . . . . 13 <P Or P
10 sotric 5026 . . . . . . . . . . . . 13 ((<P Or P ∧ (𝐵P𝐴P)) → (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴𝐴<P 𝐵)))
119, 10mpan 705 . . . . . . . . . . . 12 ((𝐵P𝐴P) → (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴𝐴<P 𝐵)))
1211adantl 482 . . . . . . . . . . 11 ((𝐶P ∧ (𝐵P𝐴P)) → (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴𝐴<P 𝐵)))
13 addclpr 9785 . . . . . . . . . . . . 13 ((𝐶P𝐵P) → (𝐶 +P 𝐵) ∈ P)
14 addclpr 9785 . . . . . . . . . . . . 13 ((𝐶P𝐴P) → (𝐶 +P 𝐴) ∈ P)
1513, 14anim12dan 881 . . . . . . . . . . . 12 ((𝐶P ∧ (𝐵P𝐴P)) → ((𝐶 +P 𝐵) ∈ P ∧ (𝐶 +P 𝐴) ∈ P))
16 sotric 5026 . . . . . . . . . . . 12 ((<P Or P ∧ ((𝐶 +P 𝐵) ∈ P ∧ (𝐶 +P 𝐴) ∈ P)) → ((𝐶 +P 𝐵)<P (𝐶 +P 𝐴) ↔ ¬ ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵))))
179, 15, 16sylancr 694 . . . . . . . . . . 11 ((𝐶P ∧ (𝐵P𝐴P)) → ((𝐶 +P 𝐵)<P (𝐶 +P 𝐴) ↔ ¬ ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵))))
188, 12, 173imtr3d 282 . . . . . . . . . 10 ((𝐶P ∧ (𝐵P𝐴P)) → (¬ (𝐵 = 𝐴𝐴<P 𝐵) → ¬ ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵))))
1918con4d 114 . . . . . . . . 9 ((𝐶P ∧ (𝐵P𝐴P)) → (((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)) → (𝐵 = 𝐴𝐴<P 𝐵)))
206, 19syl5 34 . . . . . . . 8 ((𝐶P ∧ (𝐵P𝐴P)) → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → (𝐵 = 𝐴𝐴<P 𝐵)))
21 df-or 385 . . . . . . . 8 ((𝐵 = 𝐴𝐴<P 𝐵) ↔ (¬ 𝐵 = 𝐴𝐴<P 𝐵))
2220, 21syl6ib 241 . . . . . . 7 ((𝐶P ∧ (𝐵P𝐴P)) → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → (¬ 𝐵 = 𝐴𝐴<P 𝐵)))
2322com23 86 . . . . . 6 ((𝐶P ∧ (𝐵P𝐴P)) → (¬ 𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → 𝐴<P 𝐵)))
249, 2soirri 5485 . . . . . . . 8 ¬ (𝐶 +P 𝐴)<P (𝐶 +P 𝐴)
25 oveq2 6613 . . . . . . . . 9 (𝐵 = 𝐴 → (𝐶 +P 𝐵) = (𝐶 +P 𝐴))
2625breq2d 4630 . . . . . . . 8 (𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐴)))
2724, 26mtbiri 317 . . . . . . 7 (𝐵 = 𝐴 → ¬ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵))
2827pm2.21d 118 . . . . . 6 (𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → 𝐴<P 𝐵))
2923, 28pm2.61d2 172 . . . . 5 ((𝐶P ∧ (𝐵P𝐴P)) → ((𝐶 +P 𝐴)<P (𝐶 +P 𝐵) → 𝐴<P 𝐵))
305, 29impbid 202 . . . 4 ((𝐶P ∧ (𝐵P𝐴P)) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
31303impb 1257 . . 3 ((𝐶P𝐵P𝐴P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
32313com13 1267 . 2 ((𝐴P𝐵P𝐶P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
331, 2, 3, 32ndmovord 6778 1 (𝐶P → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P (𝐶 +P 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384   = wceq 1480  wcel 1992   class class class wbr 4618   Or wor 4999  (class class class)co 6605  Pcnp 9626   +P cpp 9628  <P cltp 9630
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903  ax-inf2 8483
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-pred 5642  df-ord 5688  df-on 5689  df-lim 5690  df-suc 5691  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-ov 6608  df-oprab 6609  df-mpt2 6610  df-om 7014  df-1st 7116  df-2nd 7117  df-wrecs 7353  df-recs 7414  df-rdg 7452  df-1o 7506  df-oadd 7510  df-omul 7511  df-er 7688  df-ni 9639  df-pli 9640  df-mi 9641  df-lti 9642  df-plpq 9675  df-mpq 9676  df-ltpq 9677  df-enq 9678  df-nq 9679  df-erq 9680  df-plq 9681  df-mq 9682  df-1nq 9683  df-rq 9684  df-ltnq 9685  df-np 9748  df-plp 9750  df-ltp 9752
This theorem is referenced by:  addcanpr  9813  ltsrpr  9843  gt0srpr  9844  ltsosr  9860  ltasr  9866  ltpsrpr  9875  map2psrpr  9876
  Copyright terms: Public domain W3C validator