![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > zmin | Structured version Visualization version GIF version |
Description: There is a unique smallest integer greater than or equal to a given real number. (Contributed by NM, 12-Nov-2004.) (Revised by Mario Carneiro, 13-Jun-2014.) |
Ref | Expression |
---|---|
zmin | ⊢ (𝐴 ∈ ℝ → ∃!𝑥 ∈ ℤ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nnssz 12562 | . . . . . 6 ⊢ ℕ ⊆ ℤ | |
2 | arch 12451 | . . . . . 6 ⊢ (𝐴 ∈ ℝ → ∃𝑧 ∈ ℕ 𝐴 < 𝑧) | |
3 | ssrexv 4047 | . . . . . 6 ⊢ (ℕ ⊆ ℤ → (∃𝑧 ∈ ℕ 𝐴 < 𝑧 → ∃𝑧 ∈ ℤ 𝐴 < 𝑧)) | |
4 | 1, 2, 3 | mpsyl 68 | . . . . 5 ⊢ (𝐴 ∈ ℝ → ∃𝑧 ∈ ℤ 𝐴 < 𝑧) |
5 | zre 12544 | . . . . . . 7 ⊢ (𝑧 ∈ ℤ → 𝑧 ∈ ℝ) | |
6 | ltle 11284 | . . . . . . 7 ⊢ ((𝐴 ∈ ℝ ∧ 𝑧 ∈ ℝ) → (𝐴 < 𝑧 → 𝐴 ≤ 𝑧)) | |
7 | 5, 6 | sylan2 593 | . . . . . 6 ⊢ ((𝐴 ∈ ℝ ∧ 𝑧 ∈ ℤ) → (𝐴 < 𝑧 → 𝐴 ≤ 𝑧)) |
8 | 7 | reximdva 3167 | . . . . 5 ⊢ (𝐴 ∈ ℝ → (∃𝑧 ∈ ℤ 𝐴 < 𝑧 → ∃𝑧 ∈ ℤ 𝐴 ≤ 𝑧)) |
9 | 4, 8 | mpd 15 | . . . 4 ⊢ (𝐴 ∈ ℝ → ∃𝑧 ∈ ℤ 𝐴 ≤ 𝑧) |
10 | rabn0 4381 | . . . 4 ⊢ ({𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ≠ ∅ ↔ ∃𝑧 ∈ ℤ 𝐴 ≤ 𝑧) | |
11 | 9, 10 | sylibr 233 | . . 3 ⊢ (𝐴 ∈ ℝ → {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ≠ ∅) |
12 | breq2 5145 | . . . . . 6 ⊢ (𝑧 = 𝑛 → (𝐴 ≤ 𝑧 ↔ 𝐴 ≤ 𝑛)) | |
13 | 12 | cbvrabv 3441 | . . . . 5 ⊢ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} = {𝑛 ∈ ℤ ∣ 𝐴 ≤ 𝑛} |
14 | 13 | eqimssi 4038 | . . . 4 ⊢ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ⊆ {𝑛 ∈ ℤ ∣ 𝐴 ≤ 𝑛} |
15 | uzwo3 12909 | . . . 4 ⊢ ((𝐴 ∈ ℝ ∧ ({𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ⊆ {𝑛 ∈ ℤ ∣ 𝐴 ≤ 𝑛} ∧ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ≠ ∅)) → ∃!𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) | |
16 | 14, 15 | mpanr1 701 | . . 3 ⊢ ((𝐴 ∈ ℝ ∧ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ≠ ∅) → ∃!𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) |
17 | 11, 16 | mpdan 685 | . 2 ⊢ (𝐴 ∈ ℝ → ∃!𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) |
18 | breq2 5145 | . . . . . . 7 ⊢ (𝑧 = 𝑥 → (𝐴 ≤ 𝑧 ↔ 𝐴 ≤ 𝑥)) | |
19 | 18 | elrab 3679 | . . . . . 6 ⊢ (𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ↔ (𝑥 ∈ ℤ ∧ 𝐴 ≤ 𝑥)) |
20 | breq2 5145 | . . . . . . 7 ⊢ (𝑧 = 𝑦 → (𝐴 ≤ 𝑧 ↔ 𝐴 ≤ 𝑦)) | |
21 | 20 | ralrab 3685 | . . . . . 6 ⊢ (∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦 ↔ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)) |
22 | 19, 21 | anbi12i 627 | . . . . 5 ⊢ ((𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) ↔ ((𝑥 ∈ ℤ ∧ 𝐴 ≤ 𝑥) ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦))) |
23 | anass 469 | . . . . 5 ⊢ (((𝑥 ∈ ℤ ∧ 𝐴 ≤ 𝑥) ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)) ↔ (𝑥 ∈ ℤ ∧ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)))) | |
24 | 22, 23 | bitri 274 | . . . 4 ⊢ ((𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) ↔ (𝑥 ∈ ℤ ∧ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)))) |
25 | 24 | eubii 2578 | . . 3 ⊢ (∃!𝑥(𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦) ↔ ∃!𝑥(𝑥 ∈ ℤ ∧ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)))) |
26 | df-reu 3376 | . . 3 ⊢ (∃!𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦 ↔ ∃!𝑥(𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧} ∧ ∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦)) | |
27 | df-reu 3376 | . . 3 ⊢ (∃!𝑥 ∈ ℤ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)) ↔ ∃!𝑥(𝑥 ∈ ℤ ∧ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦)))) | |
28 | 25, 26, 27 | 3bitr4i 302 | . 2 ⊢ (∃!𝑥 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}∀𝑦 ∈ {𝑧 ∈ ℤ ∣ 𝐴 ≤ 𝑧}𝑥 ≤ 𝑦 ↔ ∃!𝑥 ∈ ℤ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦))) |
29 | 17, 28 | sylib 217 | 1 ⊢ (𝐴 ∈ ℝ → ∃!𝑥 ∈ ℤ (𝐴 ≤ 𝑥 ∧ ∀𝑦 ∈ ℤ (𝐴 ≤ 𝑦 → 𝑥 ≤ 𝑦))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 ∈ wcel 2106 ∃!weu 2561 ≠ wne 2939 ∀wral 3060 ∃wrex 3069 ∃!wreu 3373 {crab 3431 ⊆ wss 3944 ∅c0 4318 class class class wbr 5141 ℝcr 11091 < clt 11230 ≤ cle 11231 ℕcn 12194 ℤcz 12540 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2702 ax-sep 5292 ax-nul 5299 ax-pow 5356 ax-pr 5420 ax-un 7708 ax-cnex 11148 ax-resscn 11149 ax-1cn 11150 ax-icn 11151 ax-addcl 11152 ax-addrcl 11153 ax-mulcl 11154 ax-mulrcl 11155 ax-mulcom 11156 ax-addass 11157 ax-mulass 11158 ax-distr 11159 ax-i2m1 11160 ax-1ne0 11161 ax-1rid 11162 ax-rnegex 11163 ax-rrecex 11164 ax-cnre 11165 ax-pre-lttri 11166 ax-pre-lttrn 11167 ax-pre-ltadd 11168 ax-pre-mulgt0 11169 ax-pre-sup 11170 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3or 1088 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-mo 2533 df-eu 2562 df-clab 2709 df-cleq 2723 df-clel 2809 df-nfc 2884 df-ne 2940 df-nel 3046 df-ral 3061 df-rex 3070 df-rmo 3375 df-reu 3376 df-rab 3432 df-v 3475 df-sbc 3774 df-csb 3890 df-dif 3947 df-un 3949 df-in 3951 df-ss 3961 df-pss 3963 df-nul 4319 df-if 4523 df-pw 4598 df-sn 4623 df-pr 4625 df-op 4629 df-uni 4902 df-iun 4992 df-br 5142 df-opab 5204 df-mpt 5225 df-tr 5259 df-id 5567 df-eprel 5573 df-po 5581 df-so 5582 df-fr 5624 df-we 5626 df-xp 5675 df-rel 5676 df-cnv 5677 df-co 5678 df-dm 5679 df-rn 5680 df-res 5681 df-ima 5682 df-pred 6289 df-ord 6356 df-on 6357 df-lim 6358 df-suc 6359 df-iota 6484 df-fun 6534 df-fn 6535 df-f 6536 df-f1 6537 df-fo 6538 df-f1o 6539 df-fv 6540 df-riota 7349 df-ov 7396 df-oprab 7397 df-mpo 7398 df-om 7839 df-2nd 7958 df-frecs 8248 df-wrecs 8279 df-recs 8353 df-rdg 8392 df-er 8686 df-en 8923 df-dom 8924 df-sdom 8925 df-sup 9419 df-inf 9420 df-pnf 11232 df-mnf 11233 df-xr 11234 df-ltxr 11235 df-le 11236 df-sub 11428 df-neg 11429 df-nn 12195 df-n0 12455 df-z 12541 df-uz 12805 |
This theorem is referenced by: zmax 12911 zbtwnre 12912 |
Copyright terms: Public domain | W3C validator |