![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > ordpinq | Structured version Visualization version GIF version |
Description: Ordering of positive fractions in terms of positive integers. (Contributed by NM, 13-Feb-1996.) (Revised by Mario Carneiro, 28-Apr-2013.) (New usage is discouraged.) |
Ref | Expression |
---|---|
ordpinq | ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) <N ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | brinxp 5778 | . . 3 ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <pQ 𝐵 ↔ 𝐴( <pQ ∩ (Q × Q))𝐵)) | |
2 | df-ltnq 10987 | . . . 4 ⊢ <Q = ( <pQ ∩ (Q × Q)) | |
3 | 2 | breqi 5172 | . . 3 ⊢ (𝐴 <Q 𝐵 ↔ 𝐴( <pQ ∩ (Q × Q))𝐵) |
4 | 1, 3 | bitr4di 289 | . 2 ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <pQ 𝐵 ↔ 𝐴 <Q 𝐵)) |
5 | relxp 5718 | . . . . 5 ⊢ Rel (N × N) | |
6 | elpqn 10994 | . . . . 5 ⊢ (𝐴 ∈ Q → 𝐴 ∈ (N × N)) | |
7 | 1st2nd 8080 | . . . . 5 ⊢ ((Rel (N × N) ∧ 𝐴 ∈ (N × N)) → 𝐴 = 〈(1st ‘𝐴), (2nd ‘𝐴)〉) | |
8 | 5, 6, 7 | sylancr 586 | . . . 4 ⊢ (𝐴 ∈ Q → 𝐴 = 〈(1st ‘𝐴), (2nd ‘𝐴)〉) |
9 | elpqn 10994 | . . . . 5 ⊢ (𝐵 ∈ Q → 𝐵 ∈ (N × N)) | |
10 | 1st2nd 8080 | . . . . 5 ⊢ ((Rel (N × N) ∧ 𝐵 ∈ (N × N)) → 𝐵 = 〈(1st ‘𝐵), (2nd ‘𝐵)〉) | |
11 | 5, 9, 10 | sylancr 586 | . . . 4 ⊢ (𝐵 ∈ Q → 𝐵 = 〈(1st ‘𝐵), (2nd ‘𝐵)〉) |
12 | 8, 11 | breqan12d 5182 | . . 3 ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <pQ 𝐵 ↔ 〈(1st ‘𝐴), (2nd ‘𝐴)〉 <pQ 〈(1st ‘𝐵), (2nd ‘𝐵)〉)) |
13 | ordpipq 11011 | . . 3 ⊢ (〈(1st ‘𝐴), (2nd ‘𝐴)〉 <pQ 〈(1st ‘𝐵), (2nd ‘𝐵)〉 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) <N ((1st ‘𝐵) ·N (2nd ‘𝐴))) | |
14 | 12, 13 | bitrdi 287 | . 2 ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <pQ 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) <N ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
15 | 4, 14 | bitr3d 281 | 1 ⊢ ((𝐴 ∈ Q ∧ 𝐵 ∈ Q) → (𝐴 <Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) <N ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 = wceq 1537 ∈ wcel 2108 ∩ cin 3975 〈cop 4654 class class class wbr 5166 × cxp 5698 Rel wrel 5705 ‘cfv 6573 (class class class)co 7448 1st c1st 8028 2nd c2nd 8029 Ncnpi 10913 ·N cmi 10915 <N clti 10916 <pQ cltpq 10919 Qcnq 10921 <Q cltq 10927 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2158 ax-12 2178 ax-ext 2711 ax-sep 5317 ax-nul 5324 ax-pr 5447 ax-un 7770 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 847 df-3an 1089 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2065 df-mo 2543 df-eu 2572 df-clab 2718 df-cleq 2732 df-clel 2819 df-nfc 2895 df-ne 2947 df-ral 3068 df-rex 3077 df-rab 3444 df-v 3490 df-sbc 3805 df-csb 3922 df-dif 3979 df-un 3981 df-in 3983 df-ss 3993 df-nul 4353 df-if 4549 df-sn 4649 df-pr 4651 df-op 4655 df-uni 4932 df-iun 5017 df-br 5167 df-opab 5229 df-mpt 5250 df-id 5593 df-xp 5706 df-rel 5707 df-cnv 5708 df-co 5709 df-dm 5710 df-rn 5711 df-res 5712 df-ima 5713 df-iota 6525 df-fun 6575 df-fn 6576 df-f 6577 df-fv 6581 df-ov 7451 df-oprab 7452 df-mpo 7453 df-om 7904 df-1st 8030 df-2nd 8031 df-omul 8527 df-ni 10941 df-mi 10943 df-lti 10944 df-ltpq 10979 df-nq 10981 df-ltnq 10987 |
This theorem is referenced by: ltsonq 11038 lterpq 11039 ltanq 11040 ltmnq 11041 ltexnq 11044 archnq 11049 |
Copyright terms: Public domain | W3C validator |