![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > z2ge | Structured version Visualization version GIF version |
Description: There exists an integer greater than or equal to any two others. (Contributed by NM, 28-Aug-2005.) |
Ref | Expression |
---|---|
z2ge | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ∃𝑘 ∈ ℤ (𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ifcl 4567 | . . 3 ⊢ ((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) | |
2 | 1 | ancoms 459 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) |
3 | zre 12544 | . . 3 ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ ℝ) | |
4 | zre 12544 | . . 3 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℝ) | |
5 | max1 13146 | . . . 4 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
6 | max2 13148 | . . . 4 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
7 | 5, 6 | jca 512 | . . 3 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
8 | 3, 4, 7 | syl2an 596 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
9 | breq2 5145 | . . . 4 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → (𝑀 ≤ 𝑘 ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
10 | breq2 5145 | . . . 4 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → (𝑁 ≤ 𝑘 ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
11 | 9, 10 | anbi12d 631 | . . 3 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → ((𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘) ↔ (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))) |
12 | 11 | rspcev 3609 | . 2 ⊢ ((if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ ∧ (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) → ∃𝑘 ∈ ℤ (𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘)) |
13 | 2, 8, 12 | syl2anc 584 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ∃𝑘 ∈ ℤ (𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1541 ∈ wcel 2106 ∃wrex 3069 ifcif 4522 class class class wbr 5141 ℝcr 11091 ≤ cle 11231 ℤ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-pre-lttri 11166 ax-pre-lttrn 11167 |
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-rab 3432 df-v 3475 df-sbc 3774 df-csb 3890 df-dif 3947 df-un 3949 df-in 3951 df-ss 3961 df-nul 4319 df-if 4523 df-pw 4598 df-sn 4623 df-pr 4625 df-op 4629 df-uni 4902 df-br 5142 df-opab 5204 df-mpt 5225 df-id 5567 df-po 5581 df-so 5582 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-iota 6484 df-fun 6534 df-fn 6535 df-f 6536 df-f1 6537 df-fo 6538 df-f1o 6539 df-fv 6540 df-ov 7396 df-er 8686 df-en 8923 df-dom 8924 df-sdom 8925 df-pnf 11232 df-mnf 11233 df-xr 11234 df-ltxr 11235 df-le 11236 df-neg 11429 df-z 12541 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |