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

Theorem map2psrpr 10866
Description: Equivalence for positive signed real. (Contributed by NM, 17-May-1996.) (Revised by Mario Carneiro, 15-Jun-2013.) (New usage is discouraged.)
Hypothesis
Ref Expression
map2psrpr.2 𝐶R
Assertion
Ref Expression
map2psrpr ((𝐶 +R -1R) <R 𝐴 ↔ ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶

Proof of Theorem map2psrpr
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltrelsr 10824 . . . . 5 <R ⊆ (R × R)
21brel 5652 . . . 4 ((𝐶 +R -1R) <R 𝐴 → ((𝐶 +R -1R) ∈ R𝐴R))
32simprd 496 . . 3 ((𝐶 +R -1R) <R 𝐴𝐴R)
4 map2psrpr.2 . . . . . 6 𝐶R
5 ltasr 10856 . . . . . 6 (𝐶R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) ↔ (𝐶 +R -1R) <R (𝐶 +R ((𝐶 ·R -1R) +R 𝐴))))
64, 5ax-mp 5 . . . . 5 (-1R <R ((𝐶 ·R -1R) +R 𝐴) ↔ (𝐶 +R -1R) <R (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)))
7 pn0sr 10857 . . . . . . . . . 10 (𝐶R → (𝐶 +R (𝐶 ·R -1R)) = 0R)
84, 7ax-mp 5 . . . . . . . . 9 (𝐶 +R (𝐶 ·R -1R)) = 0R
98oveq1i 7285 . . . . . . . 8 ((𝐶 +R (𝐶 ·R -1R)) +R 𝐴) = (0R +R 𝐴)
10 addasssr 10844 . . . . . . . 8 ((𝐶 +R (𝐶 ·R -1R)) +R 𝐴) = (𝐶 +R ((𝐶 ·R -1R) +R 𝐴))
11 addcomsr 10843 . . . . . . . 8 (0R +R 𝐴) = (𝐴 +R 0R)
129, 10, 113eqtr3i 2774 . . . . . . 7 (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) = (𝐴 +R 0R)
13 0idsr 10853 . . . . . . 7 (𝐴R → (𝐴 +R 0R) = 𝐴)
1412, 13eqtrid 2790 . . . . . 6 (𝐴R → (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) = 𝐴)
1514breq2d 5086 . . . . 5 (𝐴R → ((𝐶 +R -1R) <R (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) ↔ (𝐶 +R -1R) <R 𝐴))
166, 15bitrid 282 . . . 4 (𝐴R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) ↔ (𝐶 +R -1R) <R 𝐴))
17 m1r 10838 . . . . . . . 8 -1RR
18 mulclsr 10840 . . . . . . . 8 ((𝐶R ∧ -1RR) → (𝐶 ·R -1R) ∈ R)
194, 17, 18mp2an 689 . . . . . . 7 (𝐶 ·R -1R) ∈ R
20 addclsr 10839 . . . . . . 7 (((𝐶 ·R -1R) ∈ R𝐴R) → ((𝐶 ·R -1R) +R 𝐴) ∈ R)
2119, 20mpan 687 . . . . . 6 (𝐴R → ((𝐶 ·R -1R) +R 𝐴) ∈ R)
22 df-nr 10812 . . . . . . 7 R = ((P × P) / ~R )
23 breq2 5078 . . . . . . . 8 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (-1R <R [⟨𝑦, 𝑧⟩] ~R ↔ -1R <R ((𝐶 ·R -1R) +R 𝐴)))
24 eqeq2 2750 . . . . . . . . 9 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
2524rexbidv 3226 . . . . . . . 8 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ ∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
2623, 25imbi12d 345 . . . . . . 7 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → ((-1R <R [⟨𝑦, 𝑧⟩] ~R → ∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ) ↔ (-1R <R ((𝐶 ·R -1R) +R 𝐴) → ∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴))))
27 df-m1r 10818 . . . . . . . . . . 11 -1R = [⟨1P, (1P +P 1P)⟩] ~R
2827breq1i 5081 . . . . . . . . . 10 (-1R <R [⟨𝑦, 𝑧⟩] ~R ↔ [⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R )
29 addasspr 10778 . . . . . . . . . . . 12 ((1P +P 1P) +P 𝑦) = (1P +P (1P +P 𝑦))
3029breq2i 5082 . . . . . . . . . . 11 ((1P +P 𝑧)<P ((1P +P 1P) +P 𝑦) ↔ (1P +P 𝑧)<P (1P +P (1P +P 𝑦)))
31 ltsrpr 10833 . . . . . . . . . . 11 ([⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R ↔ (1P +P 𝑧)<P ((1P +P 1P) +P 𝑦))
32 1pr 10771 . . . . . . . . . . . 12 1PP
33 ltapr 10801 . . . . . . . . . . . 12 (1PP → (𝑧<P (1P +P 𝑦) ↔ (1P +P 𝑧)<P (1P +P (1P +P 𝑦))))
3432, 33ax-mp 5 . . . . . . . . . . 11 (𝑧<P (1P +P 𝑦) ↔ (1P +P 𝑧)<P (1P +P (1P +P 𝑦)))
3530, 31, 343bitr4i 303 . . . . . . . . . 10 ([⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R𝑧<P (1P +P 𝑦))
3628, 35bitri 274 . . . . . . . . 9 (-1R <R [⟨𝑦, 𝑧⟩] ~R𝑧<P (1P +P 𝑦))
37 ltexpri 10799 . . . . . . . . 9 (𝑧<P (1P +P 𝑦) → ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦))
3836, 37sylbi 216 . . . . . . . 8 (-1R <R [⟨𝑦, 𝑧⟩] ~R → ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦))
39 enreceq 10822 . . . . . . . . . . . 12 (((𝑥P ∧ 1PP) ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑥 +P 𝑧) = (1P +P 𝑦)))
4032, 39mpanl2 698 . . . . . . . . . . 11 ((𝑥P ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑥 +P 𝑧) = (1P +P 𝑦)))
41 addcompr 10777 . . . . . . . . . . . 12 (𝑧 +P 𝑥) = (𝑥 +P 𝑧)
4241eqeq1i 2743 . . . . . . . . . . 11 ((𝑧 +P 𝑥) = (1P +P 𝑦) ↔ (𝑥 +P 𝑧) = (1P +P 𝑦))
4340, 42bitr4di 289 . . . . . . . . . 10 ((𝑥P ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑧 +P 𝑥) = (1P +P 𝑦)))
4443ancoms 459 . . . . . . . . 9 (((𝑦P𝑧P) ∧ 𝑥P) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑧 +P 𝑥) = (1P +P 𝑦)))
4544rexbidva 3225 . . . . . . . 8 ((𝑦P𝑧P) → (∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦)))
4638, 45syl5ibr 245 . . . . . . 7 ((𝑦P𝑧P) → (-1R <R [⟨𝑦, 𝑧⟩] ~R → ∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ))
4722, 26, 46ecoptocl 8596 . . . . . 6 (((𝐶 ·R -1R) +R 𝐴) ∈ R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) → ∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
4821, 47syl 17 . . . . 5 (𝐴R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) → ∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
49 oveq2 7283 . . . . . . . 8 ([⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)))
5049, 14sylan9eqr 2800 . . . . . . 7 ((𝐴R ∧ [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
5150ex 413 . . . . . 6 (𝐴R → ([⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
5251reximdv 3202 . . . . 5 (𝐴R → (∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
5348, 52syld 47 . . . 4 (𝐴R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
5416, 53sylbird 259 . . 3 (𝐴R → ((𝐶 +R -1R) <R 𝐴 → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
553, 54mpcom 38 . 2 ((𝐶 +R -1R) <R 𝐴 → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
564mappsrpr 10864 . . . . 5 ((𝐶 +R -1R) <R (𝐶 +R [⟨𝑥, 1P⟩] ~R ) ↔ 𝑥P)
57 breq2 5078 . . . . 5 ((𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → ((𝐶 +R -1R) <R (𝐶 +R [⟨𝑥, 1P⟩] ~R ) ↔ (𝐶 +R -1R) <R 𝐴))
5856, 57bitr3id 285 . . . 4 ((𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → (𝑥P ↔ (𝐶 +R -1R) <R 𝐴))
5958biimpac 479 . . 3 ((𝑥P ∧ (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴) → (𝐶 +R -1R) <R 𝐴)
6059rexlimiva 3210 . 2 (∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → (𝐶 +R -1R) <R 𝐴)
6155, 60impbii 208 1 ((𝐶 +R -1R) <R 𝐴 ↔ ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wrex 3065  cop 4567   class class class wbr 5074  (class class class)co 7275  [cec 8496  Pcnp 10615  1Pc1p 10616   +P cpp 10617  <P cltp 10619   ~R cer 10620  Rcnr 10621  0Rc0r 10622  -1Rcm1r 10624   +R cplr 10625   ·R cmr 10626   <R cltr 10627
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-inf2 9399
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-oadd 8301  df-omul 8302  df-er 8498  df-ec 8500  df-qs 8504  df-ni 10628  df-pli 10629  df-mi 10630  df-lti 10631  df-plpq 10664  df-mpq 10665  df-ltpq 10666  df-enq 10667  df-nq 10668  df-erq 10669  df-plq 10670  df-mq 10671  df-1nq 10672  df-rq 10673  df-ltnq 10674  df-np 10737  df-1p 10738  df-plp 10739  df-mp 10740  df-ltp 10741  df-enr 10811  df-nr 10812  df-plr 10813  df-mr 10814  df-ltr 10815  df-0r 10816  df-1r 10817  df-m1r 10818
This theorem is referenced by:  supsrlem  10867
  Copyright terms: Public domain W3C validator