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

Theorem ltsrpr 10501
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 enrer 10487 . . 3 ~R Er (P × P)
2 erdm 8301 . . 3 ( ~R Er (P × P) → dom ~R = (P × P))
31, 2ax-mp 5 . 2 dom ~R = (P × P)
4 df-nr 10480 . 2 R = ((P × P) / ~R )
5 ltrelsr 10492 . 2 <R ⊆ (R × R)
6 ltrelpr 10422 . 2 <P ⊆ (P × P)
7 0npr 10416 . 2 ¬ ∅ ∈ P
8 dmplp 10436 . 2 dom +P = (P × P)
9 enrex 10491 . . 3 ~R ∈ V
10 df-ltr 10483 . . 3 <R = {⟨𝑥, 𝑦⟩ ∣ ((𝑥R𝑦R) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = [⟨𝑧, 𝑤⟩] ~R𝑦 = [⟨𝑣, 𝑢⟩] ~R ) ∧ (𝑧 +P 𝑢)<P (𝑤 +P 𝑣)))}
11 addclpr 10442 . . . . . . 7 ((𝑤P𝑣P) → (𝑤 +P 𝑣) ∈ P)
1211ad2ant2lr 746 . . . . . 6 (((𝑧P𝑤P) ∧ (𝑣P𝑢P)) → (𝑤 +P 𝑣) ∈ P)
13 addclpr 10442 . . . . . . 7 ((𝐵P𝐶P) → (𝐵 +P 𝐶) ∈ P)
1413ad2ant2lr 746 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐶P𝐷P)) → (𝐵 +P 𝐶) ∈ P)
1512, 14anim12ci 615 . . . . 5 ((((𝑧P𝑤P) ∧ (𝑣P𝑢P)) ∧ ((𝐴P𝐵P) ∧ (𝐶P𝐷P))) → ((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P))
1615an4s 658 . . . 4 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → ((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P))
17 enreceq 10490 . . . . . 6 (((𝑧P𝑤P) ∧ (𝐴P𝐵P)) → ([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ↔ (𝑧 +P 𝐵) = (𝑤 +P 𝐴)))
18 enreceq 10490 . . . . . . 7 (((𝑣P𝑢P) ∧ (𝐶P𝐷P)) → ([⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ↔ (𝑣 +P 𝐷) = (𝑢 +P 𝐶)))
19 eqcom 2830 . . . . . . 7 ((𝑣 +P 𝐷) = (𝑢 +P 𝐶) ↔ (𝑢 +P 𝐶) = (𝑣 +P 𝐷))
2018, 19syl6bb 289 . . . . . 6 (((𝑣P𝑢P) ∧ (𝐶P𝐷P)) → ([⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ↔ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)))
2117, 20bi2anan9 637 . . . . 5 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) ↔ ((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷))))
22 oveq12 7167 . . . . . 6 (((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)) → ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶)) = ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷)))
23 addcompr 10445 . . . . . . . . . 10 (𝑢 +P 𝐵) = (𝐵 +P 𝑢)
2423oveq1i 7168 . . . . . . . . 9 ((𝑢 +P 𝐵) +P 𝐶) = ((𝐵 +P 𝑢) +P 𝐶)
25 addasspr 10446 . . . . . . . . 9 ((𝑢 +P 𝐵) +P 𝐶) = (𝑢 +P (𝐵 +P 𝐶))
26 addasspr 10446 . . . . . . . . 9 ((𝐵 +P 𝑢) +P 𝐶) = (𝐵 +P (𝑢 +P 𝐶))
2724, 25, 263eqtr3i 2854 . . . . . . . 8 (𝑢 +P (𝐵 +P 𝐶)) = (𝐵 +P (𝑢 +P 𝐶))
2827oveq2i 7169 . . . . . . 7 (𝑧 +P (𝑢 +P (𝐵 +P 𝐶))) = (𝑧 +P (𝐵 +P (𝑢 +P 𝐶)))
29 addasspr 10446 . . . . . . 7 ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = (𝑧 +P (𝑢 +P (𝐵 +P 𝐶)))
30 addasspr 10446 . . . . . . 7 ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶)) = (𝑧 +P (𝐵 +P (𝑢 +P 𝐶)))
3128, 29, 303eqtr4i 2856 . . . . . 6 ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑧 +P 𝐵) +P (𝑢 +P 𝐶))
32 addcompr 10445 . . . . . . . . . 10 (𝑣 +P 𝐴) = (𝐴 +P 𝑣)
3332oveq1i 7168 . . . . . . . . 9 ((𝑣 +P 𝐴) +P 𝐷) = ((𝐴 +P 𝑣) +P 𝐷)
34 addasspr 10446 . . . . . . . . 9 ((𝑣 +P 𝐴) +P 𝐷) = (𝑣 +P (𝐴 +P 𝐷))
35 addasspr 10446 . . . . . . . . 9 ((𝐴 +P 𝑣) +P 𝐷) = (𝐴 +P (𝑣 +P 𝐷))
3633, 34, 353eqtr3i 2854 . . . . . . . 8 (𝑣 +P (𝐴 +P 𝐷)) = (𝐴 +P (𝑣 +P 𝐷))
3736oveq2i 7169 . . . . . . 7 (𝑤 +P (𝑣 +P (𝐴 +P 𝐷))) = (𝑤 +P (𝐴 +P (𝑣 +P 𝐷)))
38 addasspr 10446 . . . . . . 7 ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)) = (𝑤 +P (𝑣 +P (𝐴 +P 𝐷)))
39 addasspr 10446 . . . . . . 7 ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷)) = (𝑤 +P (𝐴 +P (𝑣 +P 𝐷)))
4037, 38, 393eqtr4i 2856 . . . . . 6 ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)) = ((𝑤 +P 𝐴) +P (𝑣 +P 𝐷))
4122, 31, 403eqtr4g 2883 . . . . 5 (((𝑧 +P 𝐵) = (𝑤 +P 𝐴) ∧ (𝑢 +P 𝐶) = (𝑣 +P 𝐷)) → ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷)))
4221, 41syl6bi 255 . . . 4 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) → ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷))))
43 ovex 7191 . . . . 5 (𝑧 +P 𝑢) ∈ V
44 ovex 7191 . . . . 5 (𝐵 +P 𝐶) ∈ V
45 ltapr 10469 . . . . 5 (𝑓P → (𝑥<P 𝑦 ↔ (𝑓 +P 𝑥)<P (𝑓 +P 𝑦)))
46 ovex 7191 . . . . 5 (𝑤 +P 𝑣) ∈ V
47 addcompr 10445 . . . . 5 (𝑥 +P 𝑦) = (𝑦 +P 𝑥)
48 ovex 7191 . . . . 5 (𝐴 +P 𝐷) ∈ V
4943, 44, 45, 46, 47, 48caovord3 7363 . . . 4 ((((𝐵 +P 𝐶) ∈ P ∧ (𝑤 +P 𝑣) ∈ P) ∧ ((𝑧 +P 𝑢) +P (𝐵 +P 𝐶)) = ((𝑤 +P 𝑣) +P (𝐴 +P 𝐷))) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶)))
5016, 42, 49syl6an 682 . . 3 ((((𝑧P𝑤P) ∧ (𝐴P𝐵P)) ∧ ((𝑣P𝑢P) ∧ (𝐶P𝐷P))) → (([⟨𝑧, 𝑤⟩] ~R = [⟨𝐴, 𝐵⟩] ~R ∧ [⟨𝑣, 𝑢⟩] ~R = [⟨𝐶, 𝐷⟩] ~R ) → ((𝑧 +P 𝑢)<P (𝑤 +P 𝑣) ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶))))
519, 1, 4, 10, 50brecop 8392 . 2 (((𝐴P𝐵P) ∧ (𝐶P𝐷P)) → ([⟨𝐴, 𝐵⟩] ~R <R [⟨𝐶, 𝐷⟩] ~R ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶)))
523, 4, 5, 6, 7, 8, 51brecop2 8393 1 ([⟨𝐴, 𝐵⟩] ~R <R [⟨𝐶, 𝐷⟩] ~R ↔ (𝐴 +P 𝐷)<P (𝐵 +P 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1537  wcel 2114  cop 4575   class class class wbr 5068   × cxp 5555  dom cdm 5557  (class class class)co 7158   Er wer 8288  [cec 8289  Pcnp 10283   +P cpp 10285  <P cltp 10287   ~R cer 10288  Rcnr 10289   <R cltr 10295
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-inf2 9106
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-int 4879  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-1st 7691  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-1o 8104  df-oadd 8108  df-omul 8109  df-er 8291  df-ec 8293  df-qs 8297  df-ni 10296  df-pli 10297  df-mi 10298  df-lti 10299  df-plpq 10332  df-mpq 10333  df-ltpq 10334  df-enq 10335  df-nq 10336  df-erq 10337  df-plq 10338  df-mq 10339  df-1nq 10340  df-rq 10341  df-ltnq 10342  df-np 10405  df-plp 10407  df-ltp 10409  df-enr 10479  df-nr 10480  df-ltr 10483
This theorem is referenced by:  gt0srpr  10502  ltsosr  10518  0lt1sr  10519  ltasr  10524  mappsrpr  10532  ltpsrpr  10533  map2psrpr  10534
  Copyright terms: Public domain W3C validator