Proof of Theorem uzin
Step | Hyp | Ref
| Expression |
1 | | uztric 12535 |
. 2
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈
(ℤ≥‘𝑀) ∨ 𝑀 ∈ (ℤ≥‘𝑁))) |
2 | | uzss 12534 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → (ℤ≥‘𝑁) ⊆
(ℤ≥‘𝑀)) |
3 | | sseqin2 4146 |
. . . . 5
⊢
((ℤ≥‘𝑁) ⊆
(ℤ≥‘𝑀) ↔
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘𝑁)) |
4 | 2, 3 | sylib 217 |
. . . 4
⊢ (𝑁 ∈
(ℤ≥‘𝑀) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘𝑁)) |
5 | | eluzle 12524 |
. . . . . 6
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → 𝑀 ≤ 𝑁) |
6 | | iftrue 4462 |
. . . . . 6
⊢ (𝑀 ≤ 𝑁 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑁) |
7 | 5, 6 | syl 17 |
. . . . 5
⊢ (𝑁 ∈
(ℤ≥‘𝑀) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑁) |
8 | 7 | fveq2d 6760 |
. . . 4
⊢ (𝑁 ∈
(ℤ≥‘𝑀) →
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) = (ℤ≥‘𝑁)) |
9 | 4, 8 | eqtr4d 2781 |
. . 3
⊢ (𝑁 ∈
(ℤ≥‘𝑀) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
10 | | uzss 12534 |
. . . . 5
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → (ℤ≥‘𝑀) ⊆
(ℤ≥‘𝑁)) |
11 | | df-ss 3900 |
. . . . 5
⊢
((ℤ≥‘𝑀) ⊆
(ℤ≥‘𝑁) ↔
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘𝑀)) |
12 | 10, 11 | sylib 217 |
. . . 4
⊢ (𝑀 ∈
(ℤ≥‘𝑁) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘𝑀)) |
13 | | eluzle 12524 |
. . . . . . . . . 10
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → 𝑁 ≤ 𝑀) |
14 | | eluzel2 12516 |
. . . . . . . . . . 11
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → 𝑁 ∈ ℤ) |
15 | | eluzelz 12521 |
. . . . . . . . . . 11
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → 𝑀 ∈ ℤ) |
16 | | zre 12253 |
. . . . . . . . . . . 12
⊢ (𝑁 ∈ ℤ → 𝑁 ∈
ℝ) |
17 | | zre 12253 |
. . . . . . . . . . . 12
⊢ (𝑀 ∈ ℤ → 𝑀 ∈
ℝ) |
18 | | letri3 10991 |
. . . . . . . . . . . 12
⊢ ((𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ) → (𝑁 = 𝑀 ↔ (𝑁 ≤ 𝑀 ∧ 𝑀 ≤ 𝑁))) |
19 | 16, 17, 18 | syl2an 595 |
. . . . . . . . . . 11
⊢ ((𝑁 ∈ ℤ ∧ 𝑀 ∈ ℤ) → (𝑁 = 𝑀 ↔ (𝑁 ≤ 𝑀 ∧ 𝑀 ≤ 𝑁))) |
20 | 14, 15, 19 | syl2anc 583 |
. . . . . . . . . 10
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → (𝑁 = 𝑀 ↔ (𝑁 ≤ 𝑀 ∧ 𝑀 ≤ 𝑁))) |
21 | 13, 20 | mpbirand 703 |
. . . . . . . . 9
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → (𝑁 = 𝑀 ↔ 𝑀 ≤ 𝑁)) |
22 | 21 | biimprcd 249 |
. . . . . . . 8
⊢ (𝑀 ≤ 𝑁 → (𝑀 ∈ (ℤ≥‘𝑁) → 𝑁 = 𝑀)) |
23 | 6 | eqeq1d 2740 |
. . . . . . . 8
⊢ (𝑀 ≤ 𝑁 → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑀 ↔ 𝑁 = 𝑀)) |
24 | 22, 23 | sylibrd 258 |
. . . . . . 7
⊢ (𝑀 ≤ 𝑁 → (𝑀 ∈ (ℤ≥‘𝑁) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑀)) |
25 | 24 | com12 32 |
. . . . . 6
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → (𝑀 ≤ 𝑁 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑀)) |
26 | | iffalse 4465 |
. . . . . 6
⊢ (¬
𝑀 ≤ 𝑁 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑀) |
27 | 25, 26 | pm2.61d1 180 |
. . . . 5
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) = 𝑀) |
28 | 27 | fveq2d 6760 |
. . . 4
⊢ (𝑀 ∈
(ℤ≥‘𝑁) →
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) = (ℤ≥‘𝑀)) |
29 | 12, 28 | eqtr4d 2781 |
. . 3
⊢ (𝑀 ∈
(ℤ≥‘𝑁) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
30 | 9, 29 | jaoi 853 |
. 2
⊢ ((𝑁 ∈
(ℤ≥‘𝑀) ∨ 𝑀 ∈ (ℤ≥‘𝑁)) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
31 | 1, 30 | syl 17 |
1
⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) →
((ℤ≥‘𝑀) ∩ (ℤ≥‘𝑁)) =
(ℤ≥‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |