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

Theorem ltrnq 9657
Description: Ordering property of reciprocal for positive fractions. Proposition 9-2.6(iv) of [Gleason] p. 120. (Contributed by NM, 9-Mar-1996.) (Revised by Mario Carneiro, 10-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
ltrnq (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴))

Proof of Theorem ltrnq
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ltrelnq 9604 . . 3 <Q ⊆ (Q × Q)
21brel 5080 . 2 (𝐴 <Q 𝐵 → (𝐴Q𝐵Q))
31brel 5080 . . 3 ((*Q𝐵) <Q (*Q𝐴) → ((*Q𝐵) ∈ Q ∧ (*Q𝐴) ∈ Q))
4 dmrecnq 9646 . . . . 5 dom *Q = Q
5 0nnq 9602 . . . . 5 ¬ ∅ ∈ Q
64, 5ndmfvrcl 6114 . . . 4 ((*Q𝐵) ∈ Q𝐵Q)
74, 5ndmfvrcl 6114 . . . 4 ((*Q𝐴) ∈ Q𝐴Q)
86, 7anim12ci 588 . . 3 (((*Q𝐵) ∈ Q ∧ (*Q𝐴) ∈ Q) → (𝐴Q𝐵Q))
93, 8syl 17 . 2 ((*Q𝐵) <Q (*Q𝐴) → (𝐴Q𝐵Q))
10 breq1 4580 . . . 4 (𝑥 = 𝐴 → (𝑥 <Q 𝑦𝐴 <Q 𝑦))
11 fveq2 6088 . . . . 5 (𝑥 = 𝐴 → (*Q𝑥) = (*Q𝐴))
1211breq2d 4589 . . . 4 (𝑥 = 𝐴 → ((*Q𝑦) <Q (*Q𝑥) ↔ (*Q𝑦) <Q (*Q𝐴)))
1310, 12bibi12d 333 . . 3 (𝑥 = 𝐴 → ((𝑥 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝑥)) ↔ (𝐴 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝐴))))
14 breq2 4581 . . . 4 (𝑦 = 𝐵 → (𝐴 <Q 𝑦𝐴 <Q 𝐵))
15 fveq2 6088 . . . . 5 (𝑦 = 𝐵 → (*Q𝑦) = (*Q𝐵))
1615breq1d 4587 . . . 4 (𝑦 = 𝐵 → ((*Q𝑦) <Q (*Q𝐴) ↔ (*Q𝐵) <Q (*Q𝐴)))
1714, 16bibi12d 333 . . 3 (𝑦 = 𝐵 → ((𝐴 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝐴)) ↔ (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴))))
18 recclnq 9644 . . . . . 6 (𝑥Q → (*Q𝑥) ∈ Q)
19 recclnq 9644 . . . . . 6 (𝑦Q → (*Q𝑦) ∈ Q)
20 mulclnq 9625 . . . . . 6 (((*Q𝑥) ∈ Q ∧ (*Q𝑦) ∈ Q) → ((*Q𝑥) ·Q (*Q𝑦)) ∈ Q)
2118, 19, 20syl2an 492 . . . . 5 ((𝑥Q𝑦Q) → ((*Q𝑥) ·Q (*Q𝑦)) ∈ Q)
22 ltmnq 9650 . . . . 5 (((*Q𝑥) ·Q (*Q𝑦)) ∈ Q → (𝑥 <Q 𝑦 ↔ (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) <Q (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦)))
2321, 22syl 17 . . . 4 ((𝑥Q𝑦Q) → (𝑥 <Q 𝑦 ↔ (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) <Q (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦)))
24 mulcomnq 9631 . . . . . . 7 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = (𝑥 ·Q ((*Q𝑥) ·Q (*Q𝑦)))
25 mulassnq 9637 . . . . . . 7 ((𝑥 ·Q (*Q𝑥)) ·Q (*Q𝑦)) = (𝑥 ·Q ((*Q𝑥) ·Q (*Q𝑦)))
26 mulcomnq 9631 . . . . . . 7 ((𝑥 ·Q (*Q𝑥)) ·Q (*Q𝑦)) = ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥)))
2724, 25, 263eqtr2i 2637 . . . . . 6 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥)))
28 recidnq 9643 . . . . . . . 8 (𝑥Q → (𝑥 ·Q (*Q𝑥)) = 1Q)
2928oveq2d 6543 . . . . . . 7 (𝑥Q → ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥))) = ((*Q𝑦) ·Q 1Q))
30 mulidnq 9641 . . . . . . . 8 ((*Q𝑦) ∈ Q → ((*Q𝑦) ·Q 1Q) = (*Q𝑦))
3119, 30syl 17 . . . . . . 7 (𝑦Q → ((*Q𝑦) ·Q 1Q) = (*Q𝑦))
3229, 31sylan9eq 2663 . . . . . 6 ((𝑥Q𝑦Q) → ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥))) = (*Q𝑦))
3327, 32syl5eq 2655 . . . . 5 ((𝑥Q𝑦Q) → (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = (*Q𝑦))
34 mulassnq 9637 . . . . . . 7 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = ((*Q𝑥) ·Q ((*Q𝑦) ·Q 𝑦))
35 mulcomnq 9631 . . . . . . . 8 ((*Q𝑦) ·Q 𝑦) = (𝑦 ·Q (*Q𝑦))
3635oveq2i 6538 . . . . . . 7 ((*Q𝑥) ·Q ((*Q𝑦) ·Q 𝑦)) = ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦)))
3734, 36eqtri 2631 . . . . . 6 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦)))
38 recidnq 9643 . . . . . . . 8 (𝑦Q → (𝑦 ·Q (*Q𝑦)) = 1Q)
3938oveq2d 6543 . . . . . . 7 (𝑦Q → ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦))) = ((*Q𝑥) ·Q 1Q))
40 mulidnq 9641 . . . . . . . 8 ((*Q𝑥) ∈ Q → ((*Q𝑥) ·Q 1Q) = (*Q𝑥))
4118, 40syl 17 . . . . . . 7 (𝑥Q → ((*Q𝑥) ·Q 1Q) = (*Q𝑥))
4239, 41sylan9eqr 2665 . . . . . 6 ((𝑥Q𝑦Q) → ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦))) = (*Q𝑥))
4337, 42syl5eq 2655 . . . . 5 ((𝑥Q𝑦Q) → (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = (*Q𝑥))
4433, 43breq12d 4590 . . . 4 ((𝑥Q𝑦Q) → ((((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) <Q (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) ↔ (*Q𝑦) <Q (*Q𝑥)))
4523, 44bitrd 266 . . 3 ((𝑥Q𝑦Q) → (𝑥 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝑥)))
4613, 17, 45vtocl2ga 3246 . 2 ((𝐴Q𝐵Q) → (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴)))
472, 9, 46pm5.21nii 366 1 (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴))
Colors of variables: wff setvar class
Syntax hints:  wb 194  wa 382   = wceq 1474  wcel 1976   class class class wbr 4577  cfv 5790  (class class class)co 6527  Qcnq 9530  1Qc1q 9531   ·Q cmq 9534  *Qcrq 9535   <Q cltq 9536
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6824
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-ral 2900  df-rex 2901  df-reu 2902  df-rmo 2903  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6935  df-1st 7036  df-2nd 7037  df-wrecs 7271  df-recs 7332  df-rdg 7370  df-1o 7424  df-oadd 7428  df-omul 7429  df-er 7606  df-ni 9550  df-mi 9552  df-lti 9553  df-mpq 9587  df-ltpq 9588  df-enq 9589  df-nq 9590  df-erq 9591  df-mq 9593  df-1nq 9594  df-rq 9595  df-ltnq 9596
This theorem is referenced by:  addclprlem1  9694  reclem2pr  9726  reclem3pr  9727
  Copyright terms: Public domain W3C validator