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

Theorem archnq 10124
 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 10069 . . . 4 (𝐴Q𝐴 ∈ (N × N))
2 xp1st 7465 . . . 4 (𝐴 ∈ (N × N) → (1st𝐴) ∈ N)
31, 2syl 17 . . 3 (𝐴Q → (1st𝐴) ∈ N)
4 1pi 10027 . . 3 1oN
5 addclpi 10036 . . 3 (((1st𝐴) ∈ N ∧ 1oN) → ((1st𝐴) +N 1o) ∈ N)
63, 4, 5sylancl 580 . 2 (𝐴Q → ((1st𝐴) +N 1o) ∈ N)
7 xp2nd 7466 . . . . . 6 (𝐴 ∈ (N × N) → (2nd𝐴) ∈ N)
81, 7syl 17 . . . . 5 (𝐴Q → (2nd𝐴) ∈ N)
9 mulclpi 10037 . . . . 5 ((((1st𝐴) +N 1o) ∈ N ∧ (2nd𝐴) ∈ N) → (((1st𝐴) +N 1o) ·N (2nd𝐴)) ∈ N)
106, 8, 9syl2anc 579 . . . 4 (𝐴Q → (((1st𝐴) +N 1o) ·N (2nd𝐴)) ∈ N)
11 eqid 2825 . . . . . . 7 ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)
12 oveq2 6918 . . . . . . . . 9 (𝑥 = 1o → ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o))
1312eqeq1d 2827 . . . . . . . 8 (𝑥 = 1o → (((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o) ↔ ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)))
1413rspcev 3526 . . . . . . 7 ((1oN ∧ ((1st𝐴) +N 1o) = ((1st𝐴) +N 1o)) → ∃𝑥N ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o))
154, 11, 14mp2an 683 . . . . . 6 𝑥N ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o)
16 ltexpi 10046 . . . . . 6 (((1st𝐴) ∈ N ∧ ((1st𝐴) +N 1o) ∈ N) → ((1st𝐴) <N ((1st𝐴) +N 1o) ↔ ∃𝑥N ((1st𝐴) +N 𝑥) = ((1st𝐴) +N 1o)))
1715, 16mpbiri 250 . . . . 5 (((1st𝐴) ∈ N ∧ ((1st𝐴) +N 1o) ∈ N) → (1st𝐴) <N ((1st𝐴) +N 1o))
183, 6, 17syl2anc 579 . . . 4 (𝐴Q → (1st𝐴) <N ((1st𝐴) +N 1o))
19 nlt1pi 10050 . . . . 5 ¬ (2nd𝐴) <N 1o
20 ltmpi 10048 . . . . . . 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 10030 . . . . . . . 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 4887 . . . . . 6 (𝐴Q → ((((1st𝐴) +N 1o) ·N (2nd𝐴)) <N (((1st𝐴) +N 1o) ·N 1o) ↔ (((1st𝐴) +N 1o) ·N (2nd𝐴)) <N ((1st𝐴) +N 1o)))
2521, 24bitrd 271 . . . . 5 (𝐴Q → ((2nd𝐴) <N 1o ↔ (((1st𝐴) +N 1o) ·N (2nd𝐴)) <N ((1st𝐴) +N 1o)))
2619, 25mtbii 318 . . . 4 (𝐴Q → ¬ (((1st𝐴) +N 1o) ·N (2nd𝐴)) <N ((1st𝐴) +N 1o))
27 ltsopi 10032 . . . . 5 <N Or N
28 ltrelpi 10033 . . . . 5 <N ⊆ (N × N)
2927, 28sotri3 5772 . . . 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 1494 . . 3 (𝐴Q → (1st𝐴) <N (((1st𝐴) +N 1o) ·N (2nd𝐴)))
31 pinq 10071 . . . . . 6 (((1st𝐴) +N 1o) ∈ N → ⟨((1st𝐴) +N 1o), 1o⟩ ∈ Q)
326, 31syl 17 . . . . 5 (𝐴Q → ⟨((1st𝐴) +N 1o), 1o⟩ ∈ Q)
33 ordpinq 10087 . . . . 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 678 . . . 4 (𝐴Q → (𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩ ↔ ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) <N ((1st ‘⟨((1st𝐴) +N 1o), 1o⟩) ·N (2nd𝐴))))
35 ovex 6942 . . . . . . . 8 ((1st𝐴) +N 1o) ∈ V
364elexi 3430 . . . . . . . 8 1o ∈ V
3735, 36op2nd 7442 . . . . . . 7 (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩) = 1o
3837oveq2i 6921 . . . . . 6 ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) = ((1st𝐴) ·N 1o)
39 mulidpi 10030 . . . . . . 7 ((1st𝐴) ∈ N → ((1st𝐴) ·N 1o) = (1st𝐴))
403, 39syl 17 . . . . . 6 (𝐴Q → ((1st𝐴) ·N 1o) = (1st𝐴))
4138, 40syl5eq 2873 . . . . 5 (𝐴Q → ((1st𝐴) ·N (2nd ‘⟨((1st𝐴) +N 1o), 1o⟩)) = (1st𝐴))
4235, 36op1st 7441 . . . . . . 7 (1st ‘⟨((1st𝐴) +N 1o), 1o⟩) = ((1st𝐴) +N 1o)
4342oveq1i 6920 . . . . . 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 4888 . . . 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 271 . . 3 (𝐴Q → (𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩ ↔ (1st𝐴) <N (((1st𝐴) +N 1o) ·N (2nd𝐴))))
4730, 46mpbird 249 . 2 (𝐴Q𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩)
48 opeq1 4625 . . . 4 (𝑥 = ((1st𝐴) +N 1o) → ⟨𝑥, 1o⟩ = ⟨((1st𝐴) +N 1o), 1o⟩)
4948breq2d 4887 . . 3 (𝑥 = ((1st𝐴) +N 1o) → (𝐴 <Q𝑥, 1o⟩ ↔ 𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩))
5049rspcev 3526 . 2 ((((1st𝐴) +N 1o) ∈ N𝐴 <Q ⟨((1st𝐴) +N 1o), 1o⟩) → ∃𝑥N 𝐴 <Q𝑥, 1o⟩)
516, 47, 50syl2anc 579 1 (𝐴Q → ∃𝑥N 𝐴 <Q𝑥, 1o⟩)
 Colors of variables: wff setvar class Syntax hints:  ¬ wn 3   → wi 4   ↔ wb 198   ∧ wa 386   = wceq 1656   ∈ wcel 2164  ∃wrex 3118  ⟨cop 4405   class class class wbr 4875   × cxp 5344  ‘cfv 6127  (class class class)co 6910  1st c1st 7431  2nd c2nd 7432  1oc1o 7824  Ncnpi 9988   +N cpli 9989   ·N cmi 9990
 Copyright terms: Public domain W3C validator