Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > enqbreq2 | Structured version Visualization version GIF version |
Description: Equivalence relation for positive fractions in terms of positive integers. (Contributed by Mario Carneiro, 8-May-2013.) (New usage is discouraged.) |
Ref | Expression |
---|---|
enqbreq2 | ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 1st2nd2 7719 | . . 3 ⊢ (𝐴 ∈ (N × N) → 𝐴 = 〈(1st ‘𝐴), (2nd ‘𝐴)〉) | |
2 | 1st2nd2 7719 | . . 3 ⊢ (𝐵 ∈ (N × N) → 𝐵 = 〈(1st ‘𝐵), (2nd ‘𝐵)〉) | |
3 | 1, 2 | breqan12d 5074 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ 〈(1st ‘𝐴), (2nd ‘𝐴)〉 ~Q 〈(1st ‘𝐵), (2nd ‘𝐵)〉)) |
4 | xp1st 7712 | . . . 4 ⊢ (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N) | |
5 | xp2nd 7713 | . . . 4 ⊢ (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N) | |
6 | 4, 5 | jca 512 | . . 3 ⊢ (𝐴 ∈ (N × N) → ((1st ‘𝐴) ∈ N ∧ (2nd ‘𝐴) ∈ N)) |
7 | xp1st 7712 | . . . 4 ⊢ (𝐵 ∈ (N × N) → (1st ‘𝐵) ∈ N) | |
8 | xp2nd 7713 | . . . 4 ⊢ (𝐵 ∈ (N × N) → (2nd ‘𝐵) ∈ N) | |
9 | 7, 8 | jca 512 | . . 3 ⊢ (𝐵 ∈ (N × N) → ((1st ‘𝐵) ∈ N ∧ (2nd ‘𝐵) ∈ N)) |
10 | enqbreq 10330 | . . 3 ⊢ ((((1st ‘𝐴) ∈ N ∧ (2nd ‘𝐴) ∈ N) ∧ ((1st ‘𝐵) ∈ N ∧ (2nd ‘𝐵) ∈ N)) → (〈(1st ‘𝐴), (2nd ‘𝐴)〉 ~Q 〈(1st ‘𝐵), (2nd ‘𝐵)〉 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((2nd ‘𝐴) ·N (1st ‘𝐵)))) | |
11 | 6, 9, 10 | syl2an 595 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (〈(1st ‘𝐴), (2nd ‘𝐴)〉 ~Q 〈(1st ‘𝐵), (2nd ‘𝐵)〉 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((2nd ‘𝐴) ·N (1st ‘𝐵)))) |
12 | mulcompi 10307 | . . . 4 ⊢ ((2nd ‘𝐴) ·N (1st ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴)) | |
13 | 12 | eqeq2i 2834 | . . 3 ⊢ (((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((2nd ‘𝐴) ·N (1st ‘𝐵)) ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))) |
14 | 13 | a1i 11 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((2nd ‘𝐴) ·N (1st ‘𝐵)) ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
15 | 3, 11, 14 | 3bitrd 306 | 1 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴)))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 207 ∧ wa 396 = wceq 1528 ∈ wcel 2105 〈cop 4565 class class class wbr 5058 × cxp 5547 ‘cfv 6349 (class class class)co 7145 1st c1st 7678 2nd c2nd 7679 Ncnpi 10255 ·N cmi 10257 ~Q ceq 10262 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1787 ax-4 1801 ax-5 1902 ax-6 1961 ax-7 2006 ax-8 2107 ax-9 2115 ax-10 2136 ax-11 2151 ax-12 2167 ax-ext 2793 ax-sep 5195 ax-nul 5202 ax-pow 5258 ax-pr 5321 ax-un 7450 |
This theorem depends on definitions: df-bi 208 df-an 397 df-or 842 df-3or 1080 df-3an 1081 df-tru 1531 df-ex 1772 df-nf 1776 df-sb 2061 df-mo 2618 df-eu 2650 df-clab 2800 df-cleq 2814 df-clel 2893 df-nfc 2963 df-ne 3017 df-ral 3143 df-rex 3144 df-reu 3145 df-rab 3147 df-v 3497 df-sbc 3772 df-csb 3883 df-dif 3938 df-un 3940 df-in 3942 df-ss 3951 df-pss 3953 df-nul 4291 df-if 4466 df-pw 4539 df-sn 4560 df-pr 4562 df-tp 4564 df-op 4566 df-uni 4833 df-iun 4914 df-br 5059 df-opab 5121 df-mpt 5139 df-tr 5165 df-id 5454 df-eprel 5459 df-po 5468 df-so 5469 df-fr 5508 df-we 5510 df-xp 5555 df-rel 5556 df-cnv 5557 df-co 5558 df-dm 5559 df-rn 5560 df-res 5561 df-ima 5562 df-pred 6142 df-ord 6188 df-on 6189 df-lim 6190 df-suc 6191 df-iota 6308 df-fun 6351 df-fn 6352 df-f 6353 df-f1 6354 df-fo 6355 df-f1o 6356 df-fv 6357 df-ov 7148 df-oprab 7149 df-mpo 7150 df-om 7569 df-1st 7680 df-2nd 7681 df-wrecs 7938 df-recs 7999 df-rdg 8037 df-oadd 8097 df-omul 8098 df-ni 10283 df-mi 10285 df-enq 10322 |
This theorem is referenced by: adderpqlem 10365 mulerpqlem 10366 ltsonq 10380 lterpq 10381 |
Copyright terms: Public domain | W3C validator |