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

Theorem map2psrpr 9969
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 9927 . . . . 5 <R ⊆ (R × R)
21brel 5202 . . . 4 ((𝐶 +R -1R) <R 𝐴 → ((𝐶 +R -1R) ∈ R𝐴R))
32simprd 478 . . 3 ((𝐶 +R -1R) <R 𝐴𝐴R)
4 map2psrpr.2 . . . . . 6 𝐶R
5 ltasr 9959 . . . . . 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 9960 . . . . . . . . . 10 (𝐶R → (𝐶 +R (𝐶 ·R -1R)) = 0R)
84, 7ax-mp 5 . . . . . . . . 9 (𝐶 +R (𝐶 ·R -1R)) = 0R
98oveq1i 6700 . . . . . . . 8 ((𝐶 +R (𝐶 ·R -1R)) +R 𝐴) = (0R +R 𝐴)
10 addasssr 9947 . . . . . . . 8 ((𝐶 +R (𝐶 ·R -1R)) +R 𝐴) = (𝐶 +R ((𝐶 ·R -1R) +R 𝐴))
11 addcomsr 9946 . . . . . . . 8 (0R +R 𝐴) = (𝐴 +R 0R)
129, 10, 113eqtr3i 2681 . . . . . . 7 (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) = (𝐴 +R 0R)
13 0idsr 9956 . . . . . . 7 (𝐴R → (𝐴 +R 0R) = 𝐴)
1412, 13syl5eq 2697 . . . . . 6 (𝐴R → (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) = 𝐴)
1514breq2d 4697 . . . . 5 (𝐴R → ((𝐶 +R -1R) <R (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)) ↔ (𝐶 +R -1R) <R 𝐴))
166, 15syl5bb 272 . . . 4 (𝐴R → (-1R <R ((𝐶 ·R -1R) +R 𝐴) ↔ (𝐶 +R -1R) <R 𝐴))
17 m1r 9941 . . . . . . . 8 -1RR
18 mulclsr 9943 . . . . . . . 8 ((𝐶R ∧ -1RR) → (𝐶 ·R -1R) ∈ R)
194, 17, 18mp2an 708 . . . . . . 7 (𝐶 ·R -1R) ∈ R
20 addclsr 9942 . . . . . . 7 (((𝐶 ·R -1R) ∈ R𝐴R) → ((𝐶 ·R -1R) +R 𝐴) ∈ R)
2119, 20mpan 706 . . . . . 6 (𝐴R → ((𝐶 ·R -1R) +R 𝐴) ∈ R)
22 df-nr 9916 . . . . . . 7 R = ((P × P) / ~R )
23 breq2 4689 . . . . . . . 8 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (-1R <R [⟨𝑦, 𝑧⟩] ~R ↔ -1R <R ((𝐶 ·R -1R) +R 𝐴)))
24 eqeq2 2662 . . . . . . . . 9 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
2524rexbidv 3081 . . . . . . . 8 ([⟨𝑦, 𝑧⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ ∃𝑥P [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)))
2623, 25imbi12d 333 . . . . . . 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 9922 . . . . . . . . . . 11 -1R = [⟨1P, (1P +P 1P)⟩] ~R
2827breq1i 4692 . . . . . . . . . 10 (-1R <R [⟨𝑦, 𝑧⟩] ~R ↔ [⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R )
29 addasspr 9882 . . . . . . . . . . . 12 ((1P +P 1P) +P 𝑦) = (1P +P (1P +P 𝑦))
3029breq2i 4693 . . . . . . . . . . 11 ((1P +P 𝑧)<P ((1P +P 1P) +P 𝑦) ↔ (1P +P 𝑧)<P (1P +P (1P +P 𝑦)))
31 ltsrpr 9936 . . . . . . . . . . 11 ([⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R ↔ (1P +P 𝑧)<P ((1P +P 1P) +P 𝑦))
32 1pr 9875 . . . . . . . . . . . 12 1PP
33 ltapr 9905 . . . . . . . . . . . 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 292 . . . . . . . . . 10 ([⟨1P, (1P +P 1P)⟩] ~R <R [⟨𝑦, 𝑧⟩] ~R𝑧<P (1P +P 𝑦))
3628, 35bitri 264 . . . . . . . . 9 (-1R <R [⟨𝑦, 𝑧⟩] ~R𝑧<P (1P +P 𝑦))
37 ltexpri 9903 . . . . . . . . 9 (𝑧<P (1P +P 𝑦) → ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦))
3836, 37sylbi 207 . . . . . . . 8 (-1R <R [⟨𝑦, 𝑧⟩] ~R → ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦))
39 enreceq 9925 . . . . . . . . . . . 12 (((𝑥P ∧ 1PP) ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑥 +P 𝑧) = (1P +P 𝑦)))
4032, 39mpanl2 717 . . . . . . . . . . 11 ((𝑥P ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑥 +P 𝑧) = (1P +P 𝑦)))
41 addcompr 9881 . . . . . . . . . . . 12 (𝑧 +P 𝑥) = (𝑥 +P 𝑧)
4241eqeq1i 2656 . . . . . . . . . . 11 ((𝑧 +P 𝑥) = (1P +P 𝑦) ↔ (𝑥 +P 𝑧) = (1P +P 𝑦))
4340, 42syl6bbr 278 . . . . . . . . . 10 ((𝑥P ∧ (𝑦P𝑧P)) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑧 +P 𝑥) = (1P +P 𝑦)))
4443ancoms 468 . . . . . . . . 9 (((𝑦P𝑧P) ∧ 𝑥P) → ([⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ (𝑧 +P 𝑥) = (1P +P 𝑦)))
4544rexbidva 3078 . . . . . . . 8 ((𝑦P𝑧P) → (∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ↔ ∃𝑥P (𝑧 +P 𝑥) = (1P +P 𝑦)))
4638, 45syl5ibr 236 . . . . . . 7 ((𝑦P𝑧P) → (-1R <R [⟨𝑦, 𝑧⟩] ~R → ∃𝑥P [⟨𝑥, 1P⟩] ~R = [⟨𝑦, 𝑧⟩] ~R ))
4722, 26, 46ecoptocl 7880 . . . . . 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 6698 . . . . . . . 8 ([⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = (𝐶 +R ((𝐶 ·R -1R) +R 𝐴)))
5049, 14sylan9eqr 2707 . . . . . . 7 ((𝐴R ∧ [⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴)) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
5150ex 449 . . . . . 6 (𝐴R → ([⟨𝑥, 1P⟩] ~R = ((𝐶 ·R -1R) +R 𝐴) → (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
5251reximdv 3045 . . . . 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 250 . . 3 (𝐴R → ((𝐶 +R -1R) <R 𝐴 → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴))
553, 54mpcom 38 . 2 ((𝐶 +R -1R) <R 𝐴 → ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
564mappsrpr 9967 . . . . 5 ((𝐶 +R -1R) <R (𝐶 +R [⟨𝑥, 1P⟩] ~R ) ↔ 𝑥P)
57 breq2 4689 . . . . 5 ((𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → ((𝐶 +R -1R) <R (𝐶 +R [⟨𝑥, 1P⟩] ~R ) ↔ (𝐶 +R -1R) <R 𝐴))
5856, 57syl5bbr 274 . . . 4 ((𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → (𝑥P ↔ (𝐶 +R -1R) <R 𝐴))
5958biimpac 502 . . 3 ((𝑥P ∧ (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴) → (𝐶 +R -1R) <R 𝐴)
6059rexlimiva 3057 . 2 (∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴 → (𝐶 +R -1R) <R 𝐴)
6155, 60impbii 199 1 ((𝐶 +R -1R) <R 𝐴 ↔ ∃𝑥P (𝐶 +R [⟨𝑥, 1P⟩] ~R ) = 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1523  wcel 2030  wrex 2942  cop 4216   class class class wbr 4685  (class class class)co 6690  [cec 7785  Pcnp 9719  1Pc1p 9720   +P cpp 9721  <P cltp 9723   ~R cer 9724  Rcnr 9725  0Rc0r 9726  -1Rcm1r 9728   +R cplr 9729   ·R cmr 9730   <R cltr 9731
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991  ax-inf2 8576
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1055  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-reu 2948  df-rmo 2949  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-pss 3623  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-tp 4215  df-op 4217  df-uni 4469  df-int 4508  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-tr 4786  df-id 5053  df-eprel 5058  df-po 5064  df-so 5065  df-fr 5102  df-we 5104  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-pred 5718  df-ord 5764  df-on 5765  df-lim 5766  df-suc 5767  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-om 7108  df-1st 7210  df-2nd 7211  df-wrecs 7452  df-recs 7513  df-rdg 7551  df-1o 7605  df-oadd 7609  df-omul 7610  df-er 7787  df-ec 7789  df-qs 7793  df-ni 9732  df-pli 9733  df-mi 9734  df-lti 9735  df-plpq 9768  df-mpq 9769  df-ltpq 9770  df-enq 9771  df-nq 9772  df-erq 9773  df-plq 9774  df-mq 9775  df-1nq 9776  df-rq 9777  df-ltnq 9778  df-np 9841  df-1p 9842  df-plp 9843  df-mp 9844  df-ltp 9845  df-enr 9915  df-nr 9916  df-plr 9917  df-mr 9918  df-ltr 9919  df-0r 9920  df-1r 9921  df-m1r 9922
This theorem is referenced by:  supsrlem  9970
  Copyright terms: Public domain W3C validator