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

Theorem pinq 10614
Description: The representatives of positive integers as positive fractions. (Contributed by NM, 29-Oct-1995.) (Revised by Mario Carneiro, 6-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
pinq (𝐴N → ⟨𝐴, 1o⟩ ∈ Q)

Proof of Theorem pinq
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq1 5073 . . . . 5 (𝑥 = ⟨𝐴, 1o⟩ → (𝑥 ~Q 𝑦 ↔ ⟨𝐴, 1o⟩ ~Q 𝑦))
2 fveq2 6756 . . . . . . 7 (𝑥 = ⟨𝐴, 1o⟩ → (2nd𝑥) = (2nd ‘⟨𝐴, 1o⟩))
32breq2d 5082 . . . . . 6 (𝑥 = ⟨𝐴, 1o⟩ → ((2nd𝑦) <N (2nd𝑥) ↔ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩)))
43notbid 317 . . . . 5 (𝑥 = ⟨𝐴, 1o⟩ → (¬ (2nd𝑦) <N (2nd𝑥) ↔ ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩)))
51, 4imbi12d 344 . . . 4 (𝑥 = ⟨𝐴, 1o⟩ → ((𝑥 ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd𝑥)) ↔ (⟨𝐴, 1o⟩ ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩))))
65ralbidv 3120 . . 3 (𝑥 = ⟨𝐴, 1o⟩ → (∀𝑦 ∈ (N × N)(𝑥 ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd𝑥)) ↔ ∀𝑦 ∈ (N × N)(⟨𝐴, 1o⟩ ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩))))
7 1pi 10570 . . . 4 1oN
8 opelxpi 5617 . . . 4 ((𝐴N ∧ 1oN) → ⟨𝐴, 1o⟩ ∈ (N × N))
97, 8mpan2 687 . . 3 (𝐴N → ⟨𝐴, 1o⟩ ∈ (N × N))
10 nlt1pi 10593 . . . . . 6 ¬ (2nd𝑦) <N 1o
11 1oex 8280 . . . . . . . 8 1o ∈ V
12 op2ndg 7817 . . . . . . . 8 ((𝐴N ∧ 1o ∈ V) → (2nd ‘⟨𝐴, 1o⟩) = 1o)
1311, 12mpan2 687 . . . . . . 7 (𝐴N → (2nd ‘⟨𝐴, 1o⟩) = 1o)
1413breq2d 5082 . . . . . 6 (𝐴N → ((2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩) ↔ (2nd𝑦) <N 1o))
1510, 14mtbiri 326 . . . . 5 (𝐴N → ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩))
1615a1d 25 . . . 4 (𝐴N → (⟨𝐴, 1o⟩ ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩)))
1716ralrimivw 3108 . . 3 (𝐴N → ∀𝑦 ∈ (N × N)(⟨𝐴, 1o⟩ ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd ‘⟨𝐴, 1o⟩)))
186, 9, 17elrabd 3619 . 2 (𝐴N → ⟨𝐴, 1o⟩ ∈ {𝑥 ∈ (N × N) ∣ ∀𝑦 ∈ (N × N)(𝑥 ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd𝑥))})
19 df-nq 10599 . 2 Q = {𝑥 ∈ (N × N) ∣ ∀𝑦 ∈ (N × N)(𝑥 ~Q 𝑦 → ¬ (2nd𝑦) <N (2nd𝑥))}
2018, 19eleqtrrdi 2850 1 (𝐴N → ⟨𝐴, 1o⟩ ∈ Q)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1539  wcel 2108  wral 3063  {crab 3067  Vcvv 3422  cop 4564   class class class wbr 5070   × cxp 5578  cfv 6418  2nd c2nd 7803  1oc1o 8260  Ncnpi 10531   <N clti 10534   ~Q ceq 10538  Qcnq 10539
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fv 6426  df-om 7688  df-2nd 7805  df-1o 8267  df-ni 10559  df-lti 10562  df-nq 10599
This theorem is referenced by:  1nq  10615  archnq  10667  prlem934  10720
  Copyright terms: Public domain W3C validator