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

Theorem archnq 10395
 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 10340 . . . 4 (𝐴Q𝐴 ∈ (N × N))
2 xp1st 7707 . . . 4 (𝐴 ∈ (N × N) → (1st𝐴) ∈ N)
31, 2syl 17 . . 3 (𝐴Q → (1st𝐴) ∈ N)
4 1pi 10298 . . 3 1oN
5 addclpi 10307 . . 3 (((1st𝐴) ∈ N ∧ 1oN) → ((1st𝐴) +N 1o) ∈ N)
63, 4, 5sylancl 589 . 2 (𝐴Q → ((1st𝐴) +N 1o) ∈ N)
7 xp2nd 7708 . . . . . 6 (𝐴 ∈ (N × N) → (2nd𝐴) ∈ N)
81, 7syl 17 . . . . 5 (𝐴Q → (2nd𝐴) ∈ N)
9 mulclpi 10308 . . . . 5 ((((1st𝐴) +N 1o) ∈ N ∧ (2nd𝐴) ∈ N) → (((1st𝐴) +N 1o) ·N (2nd𝐴)) ∈ N)
106, 8, 9syl2anc 587 . . . 4 (𝐴Q → (((1st𝐴) +N 1o) ·N (2nd𝐴)) ∈ N)
11 eqid 2801 . . . . . . 7 ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)
12 oveq2 7147 . . . . . . . . 9 (𝑥 = 1o → ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o))
1312eqeq1d 2803 . . . . . . . 8 (𝑥 = 1o → (((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o) ↔ ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)))
1413rspcev 3574 . . . . . . 7 ((1oN ∧ ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)) → ∃𝑥N ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o))
154, 11, 14mp2an 691 . . . . . 6 𝑥N ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o)
16 ltexpi 10317 . . . . . 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 587 . . . 4 (𝐴Q → (1st𝐴) <N ((1st𝐴) +N 1o))
19 nlt1pi 10321 . . . . 5 ¬ (2nd𝐴) <N 1o
20 ltmpi 10319 . . . . . . 7 (((1st𝐴) +N 1o) ∈ N → ((2nd𝐴) <N 1o ↔ (((1st𝐴) +N 1o) ·N (2nd𝐴)) <N (((1st𝐴) +N 1o) ·N 1o)))
216, 20syl 17 . . . . . 6 (𝐴Q → ((2nd𝐴) <N 1o ↔ (((1st𝐴) +N 1o) ·N (2nd𝐴)) <N (((1st𝐴) +N 1o) ·N 1o)))
22 mulidpi 10301 . . . . . . . 8 (((1st𝐴) +N 1o) ∈ N → (((1st𝐴) +N 1o) ·N 1o) = ((1st𝐴) +N 1o))
236, 22syl 17 . . . . . . 7 (𝐴Q → (((1st𝐴) +N 1o) ·N 1o) = ((1st𝐴) +N 1o))
2423breq2d 5045 . . . . . 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 10303 . . . . 5 <N Or N
28 ltrelpi 10304 . . . . 5 <N ⊆ (N × N)
2927, 28sotri3 5961 . . . 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 1368 . . 3 (𝐴Q → (1st𝐴) <N (((1st𝐴) +N 1o) ·N (2nd𝐴)))
31 pinq 10342 . . . . . 6 (((1st𝐴) +N 1o) ∈ N → ⟨((1st𝐴) +N 1o), 1o⟩ ∈ Q)
326, 31syl 17 . . . . 5 (𝐴Q → ⟨((1st𝐴) +N 1o), 1o⟩ ∈ Q)
33 ordpinq 10358 . . . . 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 686 . . . 4 (𝐴Q → (𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩ ↔ ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) <N ((1st ‘⟨((1st𝐴) +N 1o), 1o⟩) ·N (2nd𝐴))))
35 ovex 7172 . . . . . . . 8 ((1st𝐴) +N 1o) ∈ V
36 1oex 8097 . . . . . . . 8 1o ∈ V
3735, 36op2nd 7684 . . . . . . 7 (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩) = 1o
3837oveq2i 7150 . . . . . 6 ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) = ((1st𝐴) ·N 1o)
39 mulidpi 10301 . . . . . . 7 ((1st𝐴) ∈ N → ((1st𝐴) ·N 1o) = (1st𝐴))
403, 39syl 17 . . . . . 6 (𝐴Q → ((1st𝐴) ·N 1o) = (1st𝐴))
4138, 40syl5eq 2848 . . . . 5 (𝐴Q → ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) = (1st𝐴))
4235, 36op1st 7683 . . . . . . 7 (1st ‘⟨((1st𝐴) +N 1o), 1o⟩) = ((1st𝐴) +N 1o)
4342oveq1i 7149 . . . . . 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 5046 . . . 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 4766 . . . 4 (𝑥 = ((1st𝐴) +N 1o) → ⟨𝑥, 1o⟩ = ⟨((1st𝐴) +N 1o), 1o⟩)
4948breq2d 5045 . . 3 (𝑥 = ((1st𝐴) +N 1o) → (𝐴 <Q𝑥, 1o⟩ ↔ 𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩))
5049rspcev 3574 . 2 ((((1st𝐴) +N 1o) ∈ N𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩) → ∃𝑥N 𝐴 <Q𝑥, 1o⟩)
516, 47, 50syl2anc 587 1 (𝐴Q → ∃𝑥N 𝐴 <Q𝑥, 1o⟩)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538   ∈ wcel 2112  ∃wrex 3110  ⟨cop 4534   class class class wbr 5033   × cxp 5521  ‘cfv 6328  (class class class)co 7139  1st c1st 7673  2nd c2nd 7674  1oc1o 8082  Ncnpi 10259   +N cpli 10260   ·N cmi 10261
 Copyright terms: Public domain W3C validator