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

Theorem ltrnq 9489
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 9436 . . 3 <Q ⊆ (Q × Q)
21brel 4930 . 2 (𝐴 <Q 𝐵 → (𝐴Q𝐵Q))
31brel 4930 . . 3 ((*Q𝐵) <Q (*Q𝐴) → ((*Q𝐵) ∈ Q ∧ (*Q𝐴) ∈ Q))
4 dmrecnq 9478 . . . . 5 dom *Q = Q
5 0nnq 9434 . . . . 5 ¬ ∅ ∈ Q
64, 5ndmfvrcl 5953 . . . 4 ((*Q𝐵) ∈ Q𝐵Q)
74, 5ndmfvrcl 5953 . . . 4 ((*Q𝐴) ∈ Q𝐴Q)
86, 7anim12ci 583 . . 3 (((*Q𝐵) ∈ Q ∧ (*Q𝐴) ∈ Q) → (𝐴Q𝐵Q))
93, 8syl 17 . 2 ((*Q𝐵) <Q (*Q𝐴) → (𝐴Q𝐵Q))
10 breq1 4437 . . . 4 (𝑥 = 𝐴 → (𝑥 <Q 𝑦𝐴 <Q 𝑦))
11 fveq2 5927 . . . . 5 (𝑥 = 𝐴 → (*Q𝑥) = (*Q𝐴))
1211breq2d 4446 . . . 4 (𝑥 = 𝐴 → ((*Q𝑦) <Q (*Q𝑥) ↔ (*Q𝑦) <Q (*Q𝐴)))
1310, 12bibi12d 330 . . 3 (𝑥 = 𝐴 → ((𝑥 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝑥)) ↔ (𝐴 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝐴))))
14 breq2 4438 . . . 4 (𝑦 = 𝐵 → (𝐴 <Q 𝑦𝐴 <Q 𝐵))
15 fveq2 5927 . . . . 5 (𝑦 = 𝐵 → (*Q𝑦) = (*Q𝐵))
1615breq1d 4444 . . . 4 (𝑦 = 𝐵 → ((*Q𝑦) <Q (*Q𝐴) ↔ (*Q𝐵) <Q (*Q𝐴)))
1714, 16bibi12d 330 . . 3 (𝑦 = 𝐵 → ((𝐴 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝐴)) ↔ (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴))))
18 recclnq 9476 . . . . . 6 (𝑥Q → (*Q𝑥) ∈ Q)
19 recclnq 9476 . . . . . 6 (𝑦Q → (*Q𝑦) ∈ Q)
20 mulclnq 9457 . . . . . 6 (((*Q𝑥) ∈ Q ∧ (*Q𝑦) ∈ Q) → ((*Q𝑥) ·Q (*Q𝑦)) ∈ Q)
2118, 19, 20syl2an 487 . . . . 5 ((𝑥Q𝑦Q) → ((*Q𝑥) ·Q (*Q𝑦)) ∈ Q)
22 ltmnq 9482 . . . . 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 9463 . . . . . . 7 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = (𝑥 ·Q ((*Q𝑥) ·Q (*Q𝑦)))
25 mulassnq 9469 . . . . . . 7 ((𝑥 ·Q (*Q𝑥)) ·Q (*Q𝑦)) = (𝑥 ·Q ((*Q𝑥) ·Q (*Q𝑦)))
26 mulcomnq 9463 . . . . . . 7 ((𝑥 ·Q (*Q𝑥)) ·Q (*Q𝑦)) = ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥)))
2724, 25, 263eqtr2i 2533 . . . . . 6 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥)))
28 recidnq 9475 . . . . . . . 8 (𝑥Q → (𝑥 ·Q (*Q𝑥)) = 1Q)
2928oveq2d 6379 . . . . . . 7 (𝑥Q → ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥))) = ((*Q𝑦) ·Q 1Q))
30 mulidnq 9473 . . . . . . . 8 ((*Q𝑦) ∈ Q → ((*Q𝑦) ·Q 1Q) = (*Q𝑦))
3119, 30syl 17 . . . . . . 7 (𝑦Q → ((*Q𝑦) ·Q 1Q) = (*Q𝑦))
3229, 31sylan9eq 2559 . . . . . 6 ((𝑥Q𝑦Q) → ((*Q𝑦) ·Q (𝑥 ·Q (*Q𝑥))) = (*Q𝑦))
3327, 32syl5eq 2551 . . . . 5 ((𝑥Q𝑦Q) → (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) = (*Q𝑦))
34 mulassnq 9469 . . . . . . 7 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = ((*Q𝑥) ·Q ((*Q𝑦) ·Q 𝑦))
35 mulcomnq 9463 . . . . . . . 8 ((*Q𝑦) ·Q 𝑦) = (𝑦 ·Q (*Q𝑦))
3635oveq2i 6374 . . . . . . 7 ((*Q𝑥) ·Q ((*Q𝑦) ·Q 𝑦)) = ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦)))
3734, 36eqtri 2527 . . . . . 6 (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦)))
38 recidnq 9475 . . . . . . . 8 (𝑦Q → (𝑦 ·Q (*Q𝑦)) = 1Q)
3938oveq2d 6379 . . . . . . 7 (𝑦Q → ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦))) = ((*Q𝑥) ·Q 1Q))
40 mulidnq 9473 . . . . . . . 8 ((*Q𝑥) ∈ Q → ((*Q𝑥) ·Q 1Q) = (*Q𝑥))
4118, 40syl 17 . . . . . . 7 (𝑥Q → ((*Q𝑥) ·Q 1Q) = (*Q𝑥))
4239, 41sylan9eqr 2561 . . . . . 6 ((𝑥Q𝑦Q) → ((*Q𝑥) ·Q (𝑦 ·Q (*Q𝑦))) = (*Q𝑥))
4337, 42syl5eq 2551 . . . . 5 ((𝑥Q𝑦Q) → (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) = (*Q𝑥))
4433, 43breq12d 4447 . . . 4 ((𝑥Q𝑦Q) → ((((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑥) <Q (((*Q𝑥) ·Q (*Q𝑦)) ·Q 𝑦) ↔ (*Q𝑦) <Q (*Q𝑥)))
4523, 44bitrd 263 . . 3 ((𝑥Q𝑦Q) → (𝑥 <Q 𝑦 ↔ (*Q𝑦) <Q (*Q𝑥)))
4613, 17, 45vtocl2ga 3136 . 2 ((𝐴Q𝐵Q) → (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴)))
472, 9, 46pm5.21nii 362 1 (𝐴 <Q 𝐵 ↔ (*Q𝐵) <Q (*Q𝐴))
Colors of variables: wff setvar class
Syntax hints:  wb 191  wa 378   = wceq 1468  wcel 1937   class class class wbr 4434  cfv 5633  (class class class)co 6363  Qcnq 9362  1Qc1q 9363   ·Q cmq 9366  *Qcrq 9367   <Q cltq 9368
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1698  ax-4 1711  ax-5 1789  ax-6 1836  ax-7 1883  ax-8 1939  ax-9 1946  ax-10 1965  ax-11 1970  ax-12 1983  ax-13 2137  ax-ext 2485  ax-sep 4558  ax-nul 4567  ax-pow 4619  ax-pr 4680  ax-un 6659
This theorem depends on definitions:  df-bi 192  df-or 379  df-an 380  df-3or 1022  df-3an 1023  df-tru 1471  df-ex 1693  df-nf 1697  df-sb 1829  df-eu 2357  df-mo 2358  df-clab 2492  df-cleq 2498  df-clel 2501  df-nfc 2635  df-ne 2677  df-ral 2796  df-rex 2797  df-reu 2798  df-rmo 2799  df-rab 2800  df-v 3068  df-sbc 3292  df-csb 3386  df-dif 3429  df-un 3431  df-in 3433  df-ss 3440  df-pss 3442  df-nul 3758  df-if 3909  df-pw 3980  df-sn 3996  df-pr 3998  df-tp 4000  df-op 4002  df-uni 4229  df-iun 4309  df-br 4435  df-opab 4494  df-mpt 4495  df-tr 4531  df-eprel 4791  df-id 4795  df-po 4801  df-so 4802  df-fr 4839  df-we 4841  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-pred 5431  df-ord 5477  df-on 5478  df-lim 5479  df-suc 5480  df-iota 5597  df-fun 5635  df-fn 5636  df-f 5637  df-f1 5638  df-fo 5639  df-f1o 5640  df-fv 5641  df-ov 6366  df-oprab 6367  df-mpt2 6368  df-om 6770  df-1st 6870  df-2nd 6871  df-wrecs 7105  df-recs 7167  df-rdg 7205  df-1o 7259  df-oadd 7263  df-omul 7264  df-er 7440  df-ni 9382  df-mi 9384  df-lti 9385  df-mpq 9419  df-ltpq 9420  df-enq 9421  df-nq 9422  df-erq 9423  df-mq 9425  df-1nq 9426  df-rq 9427  df-ltnq 9428
This theorem is referenced by:  addclprlem1  9526  reclem2pr  9558  reclem3pr  9559
  Copyright terms: Public domain W3C validator