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

Theorem archnq 11046
Description: For any fraction, there is an integer that is greater than it. This is also known as the "archimedean property". (Contributed by Mario Carneiro, 10-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
archnq (𝐴 ∈ Q → ∃𝑥 ∈ N 𝐴 <Q ⟨𝑥, 1o⟩)
Distinct variable group:   𝑥,𝐴

Proof of Theorem archnq
StepHypRef Expression
1 elpqn 10991 . . . 4 (𝐴 ∈ Q → 𝐴 ∈ (N × N))
2 xp1st 8022 . . . 4 (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N)
31, 2syl 18 . . 3 (𝐴 ∈ Q → (1st ‘𝐴) ∈ N)
4 1pi 10949 . . 3 1o ∈ N
5 addclpi 10958 . . 3 (((1st ‘𝐴) ∈ N ∧ 1o ∈ N) → ((1st ‘𝐴) +N 1o) ∈ N)
63, 4, 5sylancl 598 . 2 (𝐴 ∈ Q → ((1st ‘𝐴) +N 1o) ∈ N)
7 xp2nd 8023 . . . . . 6 (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N)
81, 7syl 18 . . . . 5 (𝐴 ∈ Q → (2nd ‘𝐴) ∈ N)
9 mulclpi 10959 . . . . 5 ((((1st ‘𝐴) +N 1o) ∈ N ∧ (2nd ‘𝐴) ∈ N) → (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) ∈ N)
106, 8, 9syl2anc 596 . . . 4 (𝐴 ∈ Q → (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) ∈ N)
11 eqid 2761 . . . . . . 7 ((1st ‘𝐴) +N 1o) = ((1st ‘𝐴) +N 1o)
12 oveq2 7420 . . . . . . . . 9 (𝑥 = 1o → ((1st ‘𝐴) +N 𝑥) = ((1st ‘𝐴) +N 1o))
1312eqeq1d 2763 . . . . . . . 8 (𝑥 = 1o → (((1st ‘𝐴) +N 𝑥) = ((1st ‘𝐴) +N 1o) ↔ ((1st ‘𝐴) +N 1o) = ((1st ‘𝐴) +N 1o)))
1413rspcev 3577 . . . . . . 7 ((1o ∈ N ∧ ((1st ‘𝐴) +N 1o) = ((1st ‘𝐴) +N 1o)) → ∃𝑥 ∈ N ((1st ‘𝐴) +N 𝑥) = ((1st ‘𝐴) +N 1o))
154, 11, 14mp2an 705 . . . . . 6 ∃𝑥 ∈ N ((1st ‘𝐴) +N 𝑥) = ((1st ‘𝐴) +N 1o)
16 ltexpi 10968 . . . . . 6 (((1st ‘𝐴) ∈ N ∧ ((1st ‘𝐴) +N 1o) ∈ N) → ((1st ‘𝐴) <N ((1st ‘𝐴) +N 1o) ↔ ∃𝑥 ∈ N ((1st ‘𝐴) +N 𝑥) = ((1st ‘𝐴) +N 1o)))
1715, 16mpbiri 261 . . . . 5 (((1st ‘𝐴) ∈ N ∧ ((1st ‘𝐴) +N 1o) ∈ N) → (1st ‘𝐴) <N ((1st ‘𝐴) +N 1o))
183, 6, 17syl2anc 596 . . . 4 (𝐴 ∈ Q → (1st ‘𝐴) <N ((1st ‘𝐴) +N 1o))
19 nlt1pi 10972 . . . . 5 ¬ (2nd ‘𝐴) <N 1o
20 ltmpi 10970 . . . . . . 7 (((1st ‘𝐴) +N 1o) ∈ N → ((2nd ‘𝐴) <N 1o ↔ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N (((1st ‘𝐴) +N 1o) ·N 1o)))
216, 20syl 18 . . . . . 6 (𝐴 ∈ Q → ((2nd ‘𝐴) <N 1o ↔ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N (((1st ‘𝐴) +N 1o) ·N 1o)))
22 mulidpi 10952 . . . . . . . 8 (((1st ‘𝐴) +N 1o) ∈ N → (((1st ‘𝐴) +N 1o) ·N 1o) = ((1st ‘𝐴) +N 1o))
236, 22syl 18 . . . . . . 7 (𝐴 ∈ Q → (((1st ‘𝐴) +N 1o) ·N 1o) = ((1st ‘𝐴) +N 1o))
2423breq2d 5115 . . . . . 6 (𝐴 ∈ Q → ((((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N (((1st ‘𝐴) +N 1o) ·N 1o) ↔ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N ((1st ‘𝐴) +N 1o)))
2521, 24bitrd 282 . . . . 5 (𝐴 ∈ Q → ((2nd ‘𝐴) <N 1o ↔ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N ((1st ‘𝐴) +N 1o)))
2619, 25mtbii 329 . . . 4 (𝐴 ∈ Q → ¬ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N ((1st ‘𝐴) +N 1o))
27 ltsopi 10954 . . . . 5 <N Or N
28 ltrelpi 10955 . . . . 5 <N ⊆ (N × N)
2927, 28sotri3 6122 . . . 4 (((((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) ∈ N ∧ (1st ‘𝐴) <N ((1st ‘𝐴) +N 1o) ∧ ¬ (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)) <N ((1st ‘𝐴) +N 1o)) → (1st ‘𝐴) <N (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)))
3010, 18, 26, 29syl3anc 1398 . . 3 (𝐴 ∈ Q → (1st ‘𝐴) <N (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)))
31 pinq 10993 . . . . . 6 (((1st ‘𝐴) +N 1o) ∈ N → ⟨((1st ‘𝐴) +N 1o), 1o⟩ ∈ Q)
326, 31syl 18 . . . . 5 (𝐴 ∈ Q → ⟨((1st ‘𝐴) +N 1o), 1o⟩ ∈ Q)
33 ordpinq 11009 . . . . 5 ((𝐴 ∈ Q ∧ ⟨((1st ‘𝐴) +N 1o), 1o⟩ ∈ Q) → (𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩ ↔ ((1st ‘𝐴) ·N (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩)) <N ((1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) ·N (2nd ‘𝐴))))
3432, 33mpdan 700 . . . 4 (𝐴 ∈ Q → (𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩ ↔ ((1st ‘𝐴) ·N (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩)) <N ((1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) ·N (2nd ‘𝐴))))
35 ovex 7445 . . . . . . . 8 ((1st ‘𝐴) +N 1o) ∈ V
36 1oex 8470 . . . . . . . 8 1o ∈ V
3735, 36op2nd 7999 . . . . . . 7 (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) = 1o
3837oveq2i 7423 . . . . . 6 ((1st ‘𝐴) ·N (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩)) = ((1st ‘𝐴) ·N 1o)
39 mulidpi 10952 . . . . . . 7 ((1st ‘𝐴) ∈ N → ((1st ‘𝐴) ·N 1o) = (1st ‘𝐴))
403, 39syl 18 . . . . . 6 (𝐴 ∈ Q → ((1st ‘𝐴) ·N 1o) = (1st ‘𝐴))
4138, 40eqtrid 2808 . . . . 5 (𝐴 ∈ Q → ((1st ‘𝐴) ·N (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩)) = (1st ‘𝐴))
4235, 36op1st 7998 . . . . . . 7 (1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) = ((1st ‘𝐴) +N 1o)
4342oveq1i 7422 . . . . . 6 ((1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) ·N (2nd ‘𝐴)) = (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴))
4443a1i 11 . . . . 5 (𝐴 ∈ Q → ((1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) ·N (2nd ‘𝐴)) = (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴)))
4541, 44breq12d 5116 . . . 4 (𝐴 ∈ Q → (((1st ‘𝐴) ·N (2nd ‘⟨((1st ‘𝐴) +N 1o), 1o⟩)) <N ((1st ‘⟨((1st ‘𝐴) +N 1o), 1o⟩) ·N (2nd ‘𝐴)) ↔ (1st ‘𝐴) <N (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴))))
4634, 45bitrd 282 . . 3 (𝐴 ∈ Q → (𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩ ↔ (1st ‘𝐴) <N (((1st ‘𝐴) +N 1o) ·N (2nd ‘𝐴))))
4730, 46mpbird 260 . 2 (𝐴 ∈ Q → 𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩)
48 opeq1 4833 . . . 4 (𝑥 = ((1st ‘𝐴) +N 1o) → ⟨𝑥, 1o⟩ = ⟨((1st ‘𝐴) +N 1o), 1o⟩)
4948breq2d 5115 . . 3 (𝑥 = ((1st ‘𝐴) +N 1o) → (𝐴 <Q ⟨𝑥, 1o⟩ ↔ 𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩))
5049rspcev 3577 . 2 ((((1st ‘𝐴) +N 1o) ∈ N ∧ 𝐴 <Q ⟨((1st ‘𝐴) +N 1o), 1o⟩) → ∃𝑥 ∈ N 𝐴 <Q ⟨𝑥, 1o⟩)
516, 47, 50syl2anc 596 1 (𝐴 ∈ Q → ∃𝑥 ∈ N 𝐴 <Q ⟨𝑥, 1o⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3087  ⟨cop 4590   class class class wbr 5103   × cxp 5649  ‘cfv 6531  (class class class)co 7412  1st c1st 7988  2nd c2nd 7989  1oc1o 8453  Ncnpi 10910   +N cpli 10911   ·N cmi 10912   <N clti 10913  Qcnq 10918   <Q cltq 10924
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-oadd 8464  df-omul 8465  df-ni 10938  df-pli 10939  df-mi 10940  df-lti 10941  df-ltpq 10976  df-nq 10978  df-ltnq 10984
This theorem is used by:  prlem934  11099
  Copyright terms: Public domain W3C validator