Step | Hyp | Ref
| Expression |
1 | | 1zzd 9218 |
. . 3
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → 1 ∈
ℤ) |
2 | | breq1 3985 |
. . . 4
⊢ (𝑛 = 1 → (𝑛 ∥ 𝑋 ↔ 1 ∥ 𝑋)) |
3 | | breq1 3985 |
. . . 4
⊢ (𝑛 = 1 → (𝑛 ∥ 𝑌 ↔ 1 ∥ 𝑌)) |
4 | 2, 3 | anbi12d 465 |
. . 3
⊢ (𝑛 = 1 → ((𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌) ↔ (1 ∥ 𝑋 ∧ 1 ∥ 𝑌))) |
5 | | 1dvds 11745 |
. . . . 5
⊢ (𝑋 ∈ ℤ → 1 ∥
𝑋) |
6 | | 1dvds 11745 |
. . . . 5
⊢ (𝑌 ∈ ℤ → 1 ∥
𝑌) |
7 | 5, 6 | anim12i 336 |
. . . 4
⊢ ((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) → (1
∥ 𝑋 ∧ 1 ∥
𝑌)) |
8 | 7 | adantr 274 |
. . 3
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → (1 ∥ 𝑋 ∧ 1 ∥ 𝑌)) |
9 | | elnnuz 9502 |
. . . . . . 7
⊢ (𝑛 ∈ ℕ ↔ 𝑛 ∈
(ℤ≥‘1)) |
10 | 9 | biimpri 132 |
. . . . . 6
⊢ (𝑛 ∈
(ℤ≥‘1) → 𝑛 ∈ ℕ) |
11 | | simpll 519 |
. . . . . 6
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ 𝑛 ∈
(ℤ≥‘1)) → 𝑋 ∈ ℤ) |
12 | | dvdsdc 11738 |
. . . . . 6
⊢ ((𝑛 ∈ ℕ ∧ 𝑋 ∈ ℤ) →
DECID 𝑛
∥ 𝑋) |
13 | 10, 11, 12 | syl2an2 584 |
. . . . 5
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ 𝑛 ∈
(ℤ≥‘1)) → DECID 𝑛 ∥ 𝑋) |
14 | | simplr 520 |
. . . . . 6
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ 𝑛 ∈
(ℤ≥‘1)) → 𝑌 ∈ ℤ) |
15 | | dvdsdc 11738 |
. . . . . 6
⊢ ((𝑛 ∈ ℕ ∧ 𝑌 ∈ ℤ) →
DECID 𝑛
∥ 𝑌) |
16 | 10, 14, 15 | syl2an2 584 |
. . . . 5
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ 𝑛 ∈
(ℤ≥‘1)) → DECID 𝑛 ∥ 𝑌) |
17 | | dcan2 924 |
. . . . 5
⊢
(DECID 𝑛 ∥ 𝑋 → (DECID 𝑛 ∥ 𝑌 → DECID (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌))) |
18 | 13, 16, 17 | sylc 62 |
. . . 4
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ 𝑛 ∈
(ℤ≥‘1)) → DECID (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
19 | 18 | adantlr 469 |
. . 3
⊢ ((((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) ∧ 𝑛 ∈ (ℤ≥‘1))
→ DECID (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
20 | | simplll 523 |
. . . . 5
⊢ ((((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) ∧ 𝑋 ≠ 0) → 𝑋 ∈ ℤ) |
21 | | dvdsbnd 11889 |
. . . . . . 7
⊢ ((𝑋 ∈ ℤ ∧ 𝑋 ≠ 0) → ∃𝑗 ∈ ℕ ∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋) |
22 | | nnuz 9501 |
. . . . . . . 8
⊢ ℕ =
(ℤ≥‘1) |
23 | 22 | rexeqi 2666 |
. . . . . . 7
⊢
(∃𝑗 ∈
ℕ ∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋 ↔ ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋) |
24 | 21, 23 | sylib 121 |
. . . . . 6
⊢ ((𝑋 ∈ ℤ ∧ 𝑋 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋) |
25 | | id 19 |
. . . . . . . . 9
⊢ (¬
𝑛 ∥ 𝑋 → ¬ 𝑛 ∥ 𝑋) |
26 | 25 | intnanrd 922 |
. . . . . . . 8
⊢ (¬
𝑛 ∥ 𝑋 → ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
27 | 26 | ralimi 2529 |
. . . . . . 7
⊢
(∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋 → ∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
28 | 27 | reximi 2563 |
. . . . . 6
⊢
(∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑋 → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
29 | 24, 28 | syl 14 |
. . . . 5
⊢ ((𝑋 ∈ ℤ ∧ 𝑋 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
30 | 20, 29 | sylancom 417 |
. . . 4
⊢ ((((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) ∧ 𝑋 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
31 | | simpllr 524 |
. . . . 5
⊢ ((((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) ∧ 𝑌 ≠ 0) → 𝑌 ∈ ℤ) |
32 | | dvdsbnd 11889 |
. . . . . . 7
⊢ ((𝑌 ∈ ℤ ∧ 𝑌 ≠ 0) → ∃𝑗 ∈ ℕ ∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌) |
33 | 22 | rexeqi 2666 |
. . . . . . 7
⊢
(∃𝑗 ∈
ℕ ∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌 ↔ ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌) |
34 | 32, 33 | sylib 121 |
. . . . . 6
⊢ ((𝑌 ∈ ℤ ∧ 𝑌 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌) |
35 | | id 19 |
. . . . . . . . 9
⊢ (¬
𝑛 ∥ 𝑌 → ¬ 𝑛 ∥ 𝑌) |
36 | 35 | intnand 921 |
. . . . . . . 8
⊢ (¬
𝑛 ∥ 𝑌 → ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
37 | 36 | ralimi 2529 |
. . . . . . 7
⊢
(∀𝑛 ∈
(ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌 → ∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
38 | 37 | reximi 2563 |
. . . . . 6
⊢
(∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ 𝑛 ∥ 𝑌 → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
39 | 34, 38 | syl 14 |
. . . . 5
⊢ ((𝑌 ∈ ℤ ∧ 𝑌 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
40 | 31, 39 | sylancom 417 |
. . . 4
⊢ ((((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) ∧ 𝑌 ≠ 0) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
41 | | simpr 109 |
. . . . . 6
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → ¬ (𝑋 = 0 ∧ 𝑌 = 0)) |
42 | | simpll 519 |
. . . . . . . 8
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → 𝑋 ∈ ℤ) |
43 | | 0z 9202 |
. . . . . . . 8
⊢ 0 ∈
ℤ |
44 | | zdceq 9266 |
. . . . . . . 8
⊢ ((𝑋 ∈ ℤ ∧ 0 ∈
ℤ) → DECID 𝑋 = 0) |
45 | 42, 43, 44 | sylancl 410 |
. . . . . . 7
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) →
DECID 𝑋 =
0) |
46 | | ianordc 889 |
. . . . . . 7
⊢
(DECID 𝑋 = 0 → (¬ (𝑋 = 0 ∧ 𝑌 = 0) ↔ (¬ 𝑋 = 0 ∨ ¬ 𝑌 = 0))) |
47 | 45, 46 | syl 14 |
. . . . . 6
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → (¬ (𝑋 = 0 ∧ 𝑌 = 0) ↔ (¬ 𝑋 = 0 ∨ ¬ 𝑌 = 0))) |
48 | 41, 47 | mpbid 146 |
. . . . 5
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → (¬ 𝑋 = 0 ∨ ¬ 𝑌 = 0)) |
49 | | df-ne 2337 |
. . . . . 6
⊢ (𝑋 ≠ 0 ↔ ¬ 𝑋 = 0) |
50 | | df-ne 2337 |
. . . . . 6
⊢ (𝑌 ≠ 0 ↔ ¬ 𝑌 = 0) |
51 | 49, 50 | orbi12i 754 |
. . . . 5
⊢ ((𝑋 ≠ 0 ∨ 𝑌 ≠ 0) ↔ (¬ 𝑋 = 0 ∨ ¬ 𝑌 = 0)) |
52 | 48, 51 | sylibr 133 |
. . . 4
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → (𝑋 ≠ 0 ∨ 𝑌 ≠ 0)) |
53 | 30, 40, 52 | mpjaodan 788 |
. . 3
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → ∃𝑗 ∈
(ℤ≥‘1)∀𝑛 ∈ (ℤ≥‘𝑗) ¬ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)) |
54 | 1, 4, 8, 19, 53 | zsupcl 11880 |
. 2
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → sup({𝑛 ∈ ℤ ∣ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)}, ℝ, < ) ∈
(ℤ≥‘1)) |
55 | 54, 22 | eleqtrrdi 2260 |
1
⊢ (((𝑋 ∈ ℤ ∧ 𝑌 ∈ ℤ) ∧ ¬
(𝑋 = 0 ∧ 𝑌 = 0)) → sup({𝑛 ∈ ℤ ∣ (𝑛 ∥ 𝑋 ∧ 𝑛 ∥ 𝑌)}, ℝ, < ) ∈
ℕ) |