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

Theorem enqbreq2 10917
Description: Equivalence relation for positive fractions in terms of positive integers. (Contributed by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
enqbreq2 ((๐ด โˆˆ (N ร— N) โˆง ๐ต โˆˆ (N ร— N)) โ†’ (๐ด ~Q ๐ต โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((1st โ€˜๐ต) ยทN (2nd โ€˜๐ด))))

Proof of Theorem enqbreq2
StepHypRef Expression
1 1st2nd2 8016 . . 3 (๐ด โˆˆ (N ร— N) โ†’ ๐ด = โŸจ(1st โ€˜๐ด), (2nd โ€˜๐ด)โŸฉ)
2 1st2nd2 8016 . . 3 (๐ต โˆˆ (N ร— N) โ†’ ๐ต = โŸจ(1st โ€˜๐ต), (2nd โ€˜๐ต)โŸฉ)
31, 2breqan12d 5163 . 2 ((๐ด โˆˆ (N ร— N) โˆง ๐ต โˆˆ (N ร— N)) โ†’ (๐ด ~Q ๐ต โ†” โŸจ(1st โ€˜๐ด), (2nd โ€˜๐ด)โŸฉ ~Q โŸจ(1st โ€˜๐ต), (2nd โ€˜๐ต)โŸฉ))
4 xp1st 8009 . . . 4 (๐ด โˆˆ (N ร— N) โ†’ (1st โ€˜๐ด) โˆˆ N)
5 xp2nd 8010 . . . 4 (๐ด โˆˆ (N ร— N) โ†’ (2nd โ€˜๐ด) โˆˆ N)
64, 5jca 510 . . 3 (๐ด โˆˆ (N ร— N) โ†’ ((1st โ€˜๐ด) โˆˆ N โˆง (2nd โ€˜๐ด) โˆˆ N))
7 xp1st 8009 . . . 4 (๐ต โˆˆ (N ร— N) โ†’ (1st โ€˜๐ต) โˆˆ N)
8 xp2nd 8010 . . . 4 (๐ต โˆˆ (N ร— N) โ†’ (2nd โ€˜๐ต) โˆˆ N)
97, 8jca 510 . . 3 (๐ต โˆˆ (N ร— N) โ†’ ((1st โ€˜๐ต) โˆˆ N โˆง (2nd โ€˜๐ต) โˆˆ N))
10 enqbreq 10916 . . 3 ((((1st โ€˜๐ด) โˆˆ N โˆง (2nd โ€˜๐ด) โˆˆ N) โˆง ((1st โ€˜๐ต) โˆˆ N โˆง (2nd โ€˜๐ต) โˆˆ N)) โ†’ (โŸจ(1st โ€˜๐ด), (2nd โ€˜๐ด)โŸฉ ~Q โŸจ(1st โ€˜๐ต), (2nd โ€˜๐ต)โŸฉ โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((2nd โ€˜๐ด) ยทN (1st โ€˜๐ต))))
116, 9, 10syl2an 594 . 2 ((๐ด โˆˆ (N ร— N) โˆง ๐ต โˆˆ (N ร— N)) โ†’ (โŸจ(1st โ€˜๐ด), (2nd โ€˜๐ด)โŸฉ ~Q โŸจ(1st โ€˜๐ต), (2nd โ€˜๐ต)โŸฉ โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((2nd โ€˜๐ด) ยทN (1st โ€˜๐ต))))
12 mulcompi 10893 . . . 4 ((2nd โ€˜๐ด) ยทN (1st โ€˜๐ต)) = ((1st โ€˜๐ต) ยทN (2nd โ€˜๐ด))
1312eqeq2i 2743 . . 3 (((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((2nd โ€˜๐ด) ยทN (1st โ€˜๐ต)) โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((1st โ€˜๐ต) ยทN (2nd โ€˜๐ด)))
1413a1i 11 . 2 ((๐ด โˆˆ (N ร— N) โˆง ๐ต โˆˆ (N ร— N)) โ†’ (((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((2nd โ€˜๐ด) ยทN (1st โ€˜๐ต)) โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((1st โ€˜๐ต) ยทN (2nd โ€˜๐ด))))
153, 11, 143bitrd 304 1 ((๐ด โˆˆ (N ร— N) โˆง ๐ต โˆˆ (N ร— N)) โ†’ (๐ด ~Q ๐ต โ†” ((1st โ€˜๐ด) ยทN (2nd โ€˜๐ต)) = ((1st โ€˜๐ต) ยทN (2nd โ€˜๐ด))))
Colors of variables: wff setvar class
Syntax hints:   โ†’ wi 4   โ†” wb 205   โˆง wa 394   = wceq 1539   โˆˆ wcel 2104  โŸจcop 4633   class class class wbr 5147   ร— cxp 5673  โ€˜cfv 6542  (class class class)co 7411  1st c1st 7975  2nd c2nd 7976  Ncnpi 10841   ยทN cmi 10843   ~Q ceq 10848
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-sep 5298  ax-nul 5305  ax-pr 5426  ax-un 7727
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ne 2939  df-ral 3060  df-rex 3069  df-reu 3375  df-rab 3431  df-v 3474  df-sbc 3777  df-csb 3893  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-pss 3966  df-nul 4322  df-if 4528  df-pw 4603  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-iun 4998  df-br 5148  df-opab 5210  df-mpt 5231  df-tr 5265  df-id 5573  df-eprel 5579  df-po 5587  df-so 5588  df-fr 5630  df-we 5632  df-xp 5681  df-rel 5682  df-cnv 5683  df-co 5684  df-dm 5685  df-rn 5686  df-res 5687  df-ima 5688  df-pred 6299  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6494  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-ov 7414  df-oprab 7415  df-mpo 7416  df-om 7858  df-1st 7977  df-2nd 7978  df-frecs 8268  df-wrecs 8299  df-recs 8373  df-rdg 8412  df-oadd 8472  df-omul 8473  df-ni 10869  df-mi 10871  df-enq 10908
This theorem is referenced by:  adderpqlem  10951  mulerpqlem  10952  ltsonq  10966  lterpq  10967
  Copyright terms: Public domain W3C validator