![]() |
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 4579 | . . 3 ⊢ ((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) | |
2 | 1 | ancoms 458 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) |
3 | zre 12624 | . . 3 ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ ℝ) | |
4 | zre 12624 | . . 3 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℝ) | |
5 | max1 13233 | . . . 4 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
6 | max2 13235 | . . . 4 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
7 | 5, 6 | jca 511 | . . 3 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
8 | 3, 4, 7 | syl2an 596 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
9 | breq2 5155 | . . . 4 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → (𝑀 ≤ 𝑘 ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
10 | breq2 5155 | . . . 4 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → (𝑁 ≤ 𝑘 ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
11 | 9, 10 | anbi12d 632 | . . 3 ⊢ (𝑘 = if(𝑀 ≤ 𝑁, 𝑁, 𝑀) → ((𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘) ↔ (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))) |
12 | 11 | rspcev 3625 | . 2 ⊢ ((if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ ∧ (𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∧ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) → ∃𝑘 ∈ ℤ (𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘)) |
13 | 2, 8, 12 | syl2anc 584 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ∃𝑘 ∈ ℤ (𝑀 ≤ 𝑘 ∧ 𝑁 ≤ 𝑘)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 395 = wceq 1539 ∈ wcel 2108 ∃wrex 3070 ifcif 4534 class class class wbr 5151 ℝcr 11161 ≤ cle 11303 ℤcz 12620 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1794 ax-4 1808 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2157 ax-12 2177 ax-ext 2708 ax-sep 5305 ax-nul 5315 ax-pow 5374 ax-pr 5441 ax-un 7761 ax-cnex 11218 ax-resscn 11219 ax-pre-lttri 11236 ax-pre-lttrn 11237 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3or 1088 df-3an 1089 df-tru 1542 df-fal 1552 df-ex 1779 df-nf 1783 df-sb 2065 df-mo 2540 df-eu 2569 df-clab 2715 df-cleq 2729 df-clel 2816 df-nfc 2892 df-ne 2941 df-nel 3047 df-ral 3062 df-rex 3071 df-rab 3437 df-v 3483 df-sbc 3795 df-csb 3912 df-dif 3969 df-un 3971 df-in 3973 df-ss 3983 df-nul 4343 df-if 4535 df-pw 4610 df-sn 4635 df-pr 4637 df-op 4641 df-uni 4916 df-br 5152 df-opab 5214 df-mpt 5235 df-id 5587 df-po 5601 df-so 5602 df-xp 5699 df-rel 5700 df-cnv 5701 df-co 5702 df-dm 5703 df-rn 5704 df-res 5705 df-ima 5706 df-iota 6522 df-fun 6571 df-fn 6572 df-f 6573 df-f1 6574 df-fo 6575 df-f1o 6576 df-fv 6577 df-ov 7441 df-er 8753 df-en 8994 df-dom 8995 df-sdom 8996 df-pnf 11304 df-mnf 11305 df-xr 11306 df-ltxr 11307 df-le 11308 df-neg 11502 df-z 12621 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |