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

Theorem ltsrpr 9777
Description: Ordering of signed reals in terms of positive reals. (Contributed by NM, 20-Feb-1996.) (Revised by Mario Carneiro, 12-Aug-2015.) (New usage is discouraged.)
Assertion
Ref Expression
ltsrpr ([⟨𝐴, 𝐵⟩] ~R <R [⟨𝐶, 𝐷⟩] ~R ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶))

Proof of Theorem ltsrpr
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 enrex 9767 . 2 ~R ∈ V
2 enrer 9765 . . 3 ~R Er (P × P)
3 erdm 7639 . . 3 ( ~R Er (P × P) → dom ~R = (P × P))
42, 3ax-mp 5 . 2 dom ~R = (P × P)
5 df-nr 9757 . 2 R = ((P × P) / ~R )
6 ltrelsr 9768 . 2 <R ⊆ (R × R)
7 ltrelpr 9699 . 2 <P ⊆ (P × P)
8 0npr 9693 . 2 ¬ ∅ ∈ P
9 dmplp 9713 . 2 dom +P = (P × P)
10 df-ltr 9760 . . 3 <R = {⟨𝑥, 𝑦⟩ ∣ ((𝑥R𝑦R) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] ~R𝑦 = [⟨𝑣, 𝑢⟩] ~R ) ∧ (𝑧 +P 𝑢)<P (𝑤 +P 𝑣)))}
11 addclpr 9719 . . . . . . 7 ((𝑤P𝑣P) → (𝑤 +P 𝑣) ∈ P)
1211ad2ant2lr 780 . . . . . 6 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑤 +P 𝑣) ∈ P)
13 addclpr 9719 . . . . . . 7 ((𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
1413ad2ant2lr 780 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐶P𝐷P)) → (𝐵 +P 𝐶) ∈ P)
1512, 14anim12ci 589 . . . . 5 ((((𝑧P𝑤P) ∧ (𝑣P𝑢P)) ∧ ((𝐴P𝐵P) ∧ (𝐶P𝐷P))) → ((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P))
1615an4s 865 . . . 4 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → ((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P))
17 enreceq 9766 . . . . . 6 (((𝑧P𝑤P) ∧ (𝐴P𝐵P)) → ([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ↔ (𝑧 +P 𝐵) = (𝑤 +P 𝐴)))
18 enreceq 9766 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝐶P𝐷P)) → ([⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ↔ (𝑣 +P 𝐷) = (𝑢 +P 𝐶)))
19 eqcom 2617 . . . . . . 7 ((𝑣 +P 𝐷) = (𝑢 +P 𝐶) ↔ (𝑢 +P 𝐶) = (𝑣 +P 𝐷))
2018, 19syl6bb 275 . . . . . 6 (((𝑣P𝑢P) ∧ (𝐶P𝐷P)) → ([⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ↔ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)))
2117, 20bi2anan9 913 . . . . 5 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) ↔ ((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷))))
22 oveq12 6558 . . . . . 6 (((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)) → ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶)) = ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷)))
23 addcompr 9722 . . . . . . . . . 10 (𝑢 +P 𝐵) = (𝐵 +P 𝑢)
2423oveq1i 6559 . . . . . . . . 9 ((𝑢 +P 𝐵) +P 𝐶) = ((𝐵 +P 𝑢) +P 𝐶)
25 addasspr 9723 . . . . . . . . 9 ((𝑢 +P 𝐵) +P 𝐶) = (𝑢 +P (𝐵 +P 𝐶))
26 addasspr 9723 . . . . . . . . 9 ((𝐵 +P 𝑢) +P 𝐶) = (𝐵 +P (𝑢 +P 𝐶))
2724, 25, 263eqtr3i 2640 . . . . . . . 8 (𝑢 +P (𝐵 +P 𝐶)) = (𝐵 +P (𝑢 +P 𝐶))
2827oveq2i 6560 . . . . . . 7 (𝑧 +P (𝑢 +P (𝐵 +P 𝐶))) = (𝑧 +P (𝐵 +P (𝑢 +P 𝐶)))
29 addasspr 9723 . . . . . . 7 ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = (𝑧 +P (𝑢 +P (𝐵 +P 𝐶)))
30 addasspr 9723 . . . . . . 7 ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶)) = (𝑧 +P (𝐵 +P (𝑢 +P 𝐶)))
3128, 29, 303eqtr4i 2642 . . . . . 6 ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶))
32 addcompr 9722 . . . . . . . . . 10 (𝑣 +P 𝐴) = (𝐴 +P 𝑣)
3332oveq1i 6559 . . . . . . . . 9 ((𝑣 +P 𝐴) +P 𝐷) = ((𝐴 +P 𝑣) +P 𝐷)
34 addasspr 9723 . . . . . . . . 9 ((𝑣 +P 𝐴) +P 𝐷) = (𝑣 +P (𝐴 +P 𝐷))
35 addasspr 9723 . . . . . . . . 9 ((𝐴 +P 𝑣) +P 𝐷) = (𝐴 +P (𝑣 +P 𝐷))
3633, 34, 353eqtr3i 2640 . . . . . . . 8 (𝑣 +P (𝐴 +P 𝐷)) = (𝐴 +P (𝑣 +P 𝐷))
3736oveq2i 6560 . . . . . . 7 (𝑤 +P (𝑣 +P (𝐴 +P 𝐷))) = (𝑤 +P (𝐴 +P (𝑣 +P 𝐷)))
38 addasspr 9723 . . . . . . 7 ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)) = (𝑤 +P (𝑣 +P (𝐴 +P 𝐷)))
39 addasspr 9723 . . . . . . 7 ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷)) = (𝑤 +P (𝐴 +P (𝑣 +P 𝐷)))
4037, 38, 393eqtr4i 2642 . . . . . 6 ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)) = ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷))
4122, 31, 403eqtr4g 2669 . . . . 5 (((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)) → ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)))
4221, 41syl6bi 242 . . . 4 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) → ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷))))
43 ovex 6577 . . . . 5 (𝑧 +P 𝑢) ∈ V
44 ovex 6577 . . . . 5 (𝐵 +P 𝐶) ∈ V
45 ltapr 9746 . . . . 5 (𝑓P → (𝑥<P 𝑦 ↔ (𝑓 +P 𝑥)<P (𝑓 +P 𝑦)))
46 ovex 6577 . . . . 5 (𝑤 +P 𝑣) ∈ V
47 addcompr 9722 . . . . 5 (𝑥 +P 𝑦) = (𝑦 +P 𝑥)
48 ovex 6577 . . . . 5 (𝐴 +P 𝐷) ∈ V
4943, 44, 45, 46, 47, 48caovord3 6745 . . . 4 ((((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P) ∧ ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷))) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶)))
5016, 42, 49syl6an 566 . . 3 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶))))
511, 2, 5, 10, 50brecop 7727 . 2 (((𝐴P𝐵P) ∧ (𝐶P𝐷P)) → ([⟨𝐴, 𝐵⟩] ~R <R [⟨𝐶, 𝐷⟩] ~R ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶)))
521, 4, 5, 6, 7, 8, 9, 51brecop2 7728 1 ([⟨𝐴, 𝐵⟩] ~R <R [⟨𝐶, 𝐷⟩] ~R ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wb 195  wa 383   = wceq 1475  wcel 1977  cop 4131   class class class wbr 4583   × cxp 5036  dom cdm 5038  (class class class)co 6549   Er wer 7626  [cec 7627  Pcnp 9560   +P cpp 9562  <P cltp 9564   ~R cer 9565  Rcnr 9566   <R cltr 9572
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-inf2 8421
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-oadd 7451  df-omul 7452  df-er 7629  df-ec 7631  df-qs 7635  df-ni 9573  df-pli 9574  df-mi 9575  df-lti 9576  df-plpq 9609  df-mpq 9610  df-ltpq 9611  df-enq 9612  df-nq 9613  df-erq 9614  df-plq 9615  df-mq 9616  df-1nq 9617  df-rq 9618  df-ltnq 9619  df-np 9682  df-plp 9684  df-ltp 9686  df-enr 9756  df-nr 9757  df-ltr 9760
This theorem is referenced by:  gt0srpr  9778  ltsosr  9794  0lt1sr  9795  ltasr  9800  mappsrpr  9808  ltpsrpr  9809  map2psrpr  9810
  Copyright terms: Public domain W3C validator