Step | Hyp | Ref
| Expression |
1 | | 1z 12280 |
. . . . 5
⊢ 1 ∈
ℤ |
2 | | ssel 3910 |
. . . . . . 7
⊢ (𝐴 ⊆ ℤ → (𝑛 ∈ 𝐴 → 𝑛 ∈ ℤ)) |
3 | | 1dvds 15908 |
. . . . . . 7
⊢ (𝑛 ∈ ℤ → 1 ∥
𝑛) |
4 | 2, 3 | syl6 35 |
. . . . . 6
⊢ (𝐴 ⊆ ℤ → (𝑛 ∈ 𝐴 → 1 ∥ 𝑛)) |
5 | 4 | ralrimiv 3106 |
. . . . 5
⊢ (𝐴 ⊆ ℤ →
∀𝑛 ∈ 𝐴 1 ∥ 𝑛) |
6 | | breq1 5073 |
. . . . . . . 8
⊢ (𝑧 = 1 → (𝑧 ∥ 𝑛 ↔ 1 ∥ 𝑛)) |
7 | 6 | ralbidv 3120 |
. . . . . . 7
⊢ (𝑧 = 1 → (∀𝑛 ∈ 𝐴 𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ 𝐴 1 ∥ 𝑛)) |
8 | | gcdcllem1.1 |
. . . . . . 7
⊢ 𝑆 = {𝑧 ∈ ℤ ∣ ∀𝑛 ∈ 𝐴 𝑧 ∥ 𝑛} |
9 | 7, 8 | elrab2 3620 |
. . . . . 6
⊢ (1 ∈
𝑆 ↔ (1 ∈ ℤ
∧ ∀𝑛 ∈
𝐴 1 ∥ 𝑛)) |
10 | 9 | biimpri 227 |
. . . . 5
⊢ ((1
∈ ℤ ∧ ∀𝑛 ∈ 𝐴 1 ∥ 𝑛) → 1 ∈ 𝑆) |
11 | 1, 5, 10 | sylancr 586 |
. . . 4
⊢ (𝐴 ⊆ ℤ → 1 ∈
𝑆) |
12 | 11 | ne0d 4266 |
. . 3
⊢ (𝐴 ⊆ ℤ → 𝑆 ≠ ∅) |
13 | 12 | adantr 480 |
. 2
⊢ ((𝐴 ⊆ ℤ ∧
∃𝑛 ∈ 𝐴 𝑛 ≠ 0) → 𝑆 ≠ ∅) |
14 | | neeq1 3005 |
. . . 4
⊢ (𝑛 = 𝑤 → (𝑛 ≠ 0 ↔ 𝑤 ≠ 0)) |
15 | 14 | cbvrexvw 3373 |
. . 3
⊢
(∃𝑛 ∈
𝐴 𝑛 ≠ 0 ↔ ∃𝑤 ∈ 𝐴 𝑤 ≠ 0) |
16 | | breq1 5073 |
. . . . . . . . . . . 12
⊢ (𝑧 = 𝑦 → (𝑧 ∥ 𝑛 ↔ 𝑦 ∥ 𝑛)) |
17 | 16 | ralbidv 3120 |
. . . . . . . . . . 11
⊢ (𝑧 = 𝑦 → (∀𝑛 ∈ 𝐴 𝑧 ∥ 𝑛 ↔ ∀𝑛 ∈ 𝐴 𝑦 ∥ 𝑛)) |
18 | 17, 8 | elrab2 3620 |
. . . . . . . . . 10
⊢ (𝑦 ∈ 𝑆 ↔ (𝑦 ∈ ℤ ∧ ∀𝑛 ∈ 𝐴 𝑦 ∥ 𝑛)) |
19 | 18 | simprbi 496 |
. . . . . . . . 9
⊢ (𝑦 ∈ 𝑆 → ∀𝑛 ∈ 𝐴 𝑦 ∥ 𝑛) |
20 | 18 | simplbi 497 |
. . . . . . . . . 10
⊢ (𝑦 ∈ 𝑆 → 𝑦 ∈ ℤ) |
21 | | ssel2 3912 |
. . . . . . . . . . . . . . 15
⊢ ((𝐴 ⊆ ℤ ∧ 𝑛 ∈ 𝐴) → 𝑛 ∈ ℤ) |
22 | | dvdsleabs 15948 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑦 ∈ ℤ ∧ 𝑛 ∈ ℤ ∧ 𝑛 ≠ 0) → (𝑦 ∥ 𝑛 → 𝑦 ≤ (abs‘𝑛))) |
23 | 22 | 3expia 1119 |
. . . . . . . . . . . . . . 15
⊢ ((𝑦 ∈ ℤ ∧ 𝑛 ∈ ℤ) → (𝑛 ≠ 0 → (𝑦 ∥ 𝑛 → 𝑦 ≤ (abs‘𝑛)))) |
24 | 21, 23 | sylan2 592 |
. . . . . . . . . . . . . 14
⊢ ((𝑦 ∈ ℤ ∧ (𝐴 ⊆ ℤ ∧ 𝑛 ∈ 𝐴)) → (𝑛 ≠ 0 → (𝑦 ∥ 𝑛 → 𝑦 ≤ (abs‘𝑛)))) |
25 | 24 | anassrs 467 |
. . . . . . . . . . . . 13
⊢ (((𝑦 ∈ ℤ ∧ 𝐴 ⊆ ℤ) ∧ 𝑛 ∈ 𝐴) → (𝑛 ≠ 0 → (𝑦 ∥ 𝑛 → 𝑦 ≤ (abs‘𝑛)))) |
26 | 25 | com23 86 |
. . . . . . . . . . . 12
⊢ (((𝑦 ∈ ℤ ∧ 𝐴 ⊆ ℤ) ∧ 𝑛 ∈ 𝐴) → (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) |
27 | 26 | ralrimiva 3107 |
. . . . . . . . . . 11
⊢ ((𝑦 ∈ ℤ ∧ 𝐴 ⊆ ℤ) →
∀𝑛 ∈ 𝐴 (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) |
28 | 27 | ancoms 458 |
. . . . . . . . . 10
⊢ ((𝐴 ⊆ ℤ ∧ 𝑦 ∈ ℤ) →
∀𝑛 ∈ 𝐴 (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) |
29 | 20, 28 | sylan2 592 |
. . . . . . . . 9
⊢ ((𝐴 ⊆ ℤ ∧ 𝑦 ∈ 𝑆) → ∀𝑛 ∈ 𝐴 (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) |
30 | | r19.26 3094 |
. . . . . . . . . 10
⊢
(∀𝑛 ∈
𝐴 (𝑦 ∥ 𝑛 ∧ (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) ↔ (∀𝑛 ∈ 𝐴 𝑦 ∥ 𝑛 ∧ ∀𝑛 ∈ 𝐴 (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))))) |
31 | | pm3.35 799 |
. . . . . . . . . . 11
⊢ ((𝑦 ∥ 𝑛 ∧ (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))) |
32 | 31 | ralimi 3086 |
. . . . . . . . . 10
⊢
(∀𝑛 ∈
𝐴 (𝑦 ∥ 𝑛 ∧ (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) → ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))) |
33 | 30, 32 | sylbir 234 |
. . . . . . . . 9
⊢
((∀𝑛 ∈
𝐴 𝑦 ∥ 𝑛 ∧ ∀𝑛 ∈ 𝐴 (𝑦 ∥ 𝑛 → (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)))) → ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))) |
34 | 19, 29, 33 | syl2an2 682 |
. . . . . . . 8
⊢ ((𝐴 ⊆ ℤ ∧ 𝑦 ∈ 𝑆) → ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))) |
35 | 34 | ralrimiva 3107 |
. . . . . . 7
⊢ (𝐴 ⊆ ℤ →
∀𝑦 ∈ 𝑆 ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛))) |
36 | | fveq2 6756 |
. . . . . . . . . . . 12
⊢ (𝑛 = 𝑤 → (abs‘𝑛) = (abs‘𝑤)) |
37 | 36 | breq2d 5082 |
. . . . . . . . . . 11
⊢ (𝑛 = 𝑤 → (𝑦 ≤ (abs‘𝑛) ↔ 𝑦 ≤ (abs‘𝑤))) |
38 | 14, 37 | imbi12d 344 |
. . . . . . . . . 10
⊢ (𝑛 = 𝑤 → ((𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)) ↔ (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤)))) |
39 | 38 | cbvralvw 3372 |
. . . . . . . . 9
⊢
(∀𝑛 ∈
𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)) ↔ ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤))) |
40 | 39 | ralbii 3090 |
. . . . . . . 8
⊢
(∀𝑦 ∈
𝑆 ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)) ↔ ∀𝑦 ∈ 𝑆 ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤))) |
41 | | ralcom 3280 |
. . . . . . . 8
⊢
(∀𝑦 ∈
𝑆 ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 ∀𝑦 ∈ 𝑆 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤))) |
42 | | r19.21v 3100 |
. . . . . . . . 9
⊢
(∀𝑦 ∈
𝑆 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤)) ↔ (𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
43 | 42 | ralbii 3090 |
. . . . . . . 8
⊢
(∀𝑤 ∈
𝐴 ∀𝑦 ∈ 𝑆 (𝑤 ≠ 0 → 𝑦 ≤ (abs‘𝑤)) ↔ ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
44 | 40, 41, 43 | 3bitri 296 |
. . . . . . 7
⊢
(∀𝑦 ∈
𝑆 ∀𝑛 ∈ 𝐴 (𝑛 ≠ 0 → 𝑦 ≤ (abs‘𝑛)) ↔ ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
45 | 35, 44 | sylib 217 |
. . . . . 6
⊢ (𝐴 ⊆ ℤ →
∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
46 | | ssel2 3912 |
. . . . . . . . . . 11
⊢ ((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) → 𝑤 ∈ ℤ) |
47 | | nn0abscl 14952 |
. . . . . . . . . . 11
⊢ (𝑤 ∈ ℤ →
(abs‘𝑤) ∈
ℕ0) |
48 | 46, 47 | syl 17 |
. . . . . . . . . 10
⊢ ((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) → (abs‘𝑤) ∈
ℕ0) |
49 | 48 | nn0zd 12353 |
. . . . . . . . 9
⊢ ((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) → (abs‘𝑤) ∈ ℤ) |
50 | | breq2 5074 |
. . . . . . . . . . 11
⊢ (𝑥 = (abs‘𝑤) → (𝑦 ≤ 𝑥 ↔ 𝑦 ≤ (abs‘𝑤))) |
51 | 50 | ralbidv 3120 |
. . . . . . . . . 10
⊢ (𝑥 = (abs‘𝑤) → (∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥 ↔ ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
52 | 51 | adantl 481 |
. . . . . . . . 9
⊢ (((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) ∧ 𝑥 = (abs‘𝑤)) → (∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥 ↔ ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤))) |
53 | 49, 52 | rspcedv 3544 |
. . . . . . . 8
⊢ ((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) → (∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤) → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥)) |
54 | 53 | imim2d 57 |
. . . . . . 7
⊢ ((𝐴 ⊆ ℤ ∧ 𝑤 ∈ 𝐴) → ((𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤)) → (𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥))) |
55 | 54 | ralimdva 3102 |
. . . . . 6
⊢ (𝐴 ⊆ ℤ →
(∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∀𝑦 ∈ 𝑆 𝑦 ≤ (abs‘𝑤)) → ∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥))) |
56 | 45, 55 | mpd 15 |
. . . . 5
⊢ (𝐴 ⊆ ℤ →
∀𝑤 ∈ 𝐴 (𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥)) |
57 | | r19.23v 3207 |
. . . . 5
⊢
(∀𝑤 ∈
𝐴 (𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥) ↔ (∃𝑤 ∈ 𝐴 𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥)) |
58 | 56, 57 | sylib 217 |
. . . 4
⊢ (𝐴 ⊆ ℤ →
(∃𝑤 ∈ 𝐴 𝑤 ≠ 0 → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥)) |
59 | 58 | imp 406 |
. . 3
⊢ ((𝐴 ⊆ ℤ ∧
∃𝑤 ∈ 𝐴 𝑤 ≠ 0) → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥) |
60 | 15, 59 | sylan2b 593 |
. 2
⊢ ((𝐴 ⊆ ℤ ∧
∃𝑛 ∈ 𝐴 𝑛 ≠ 0) → ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥) |
61 | 13, 60 | jca 511 |
1
⊢ ((𝐴 ⊆ ℤ ∧
∃𝑛 ∈ 𝐴 𝑛 ≠ 0) → (𝑆 ≠ ∅ ∧ ∃𝑥 ∈ ℤ ∀𝑦 ∈ 𝑆 𝑦 ≤ 𝑥)) |