Step | Hyp | Ref
| Expression |
1 | | elfznn0 13278 |
. . 3
⊢ (𝐾 ∈ (0...(deg‘𝐹)) → 𝐾 ∈
ℕ0) |
2 | | elqaa.6 |
. . . . 5
⊢ 𝑅 = (seq0( · , 𝑁)‘(deg‘𝐹)) |
3 | 2 | fveq2i 6759 |
. . . 4
⊢ ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(seq0( · , 𝑁)‘(deg‘𝐹))) |
4 | | nnmulcl 11927 |
. . . . . 6
⊢ ((𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (𝑖 · 𝑗) ∈ ℕ) |
5 | 4 | adantl 481 |
. . . . 5
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑖 · 𝑗) ∈ ℕ) |
6 | | elfznn0 13278 |
. . . . . 6
⊢ (𝑖 ∈ (0...(deg‘𝐹)) → 𝑖 ∈ ℕ0) |
7 | | elqaa.1 |
. . . . . . . . 9
⊢ (𝜑 → 𝐴 ∈ ℂ) |
8 | | elqaa.2 |
. . . . . . . . 9
⊢ (𝜑 → 𝐹 ∈ ((Poly‘ℚ) ∖
{0𝑝})) |
9 | | elqaa.3 |
. . . . . . . . 9
⊢ (𝜑 → (𝐹‘𝐴) = 0) |
10 | | elqaa.4 |
. . . . . . . . 9
⊢ 𝐵 = (coeff‘𝐹) |
11 | | elqaa.5 |
. . . . . . . . 9
⊢ 𝑁 = (𝑘 ∈ ℕ0 ↦
inf({𝑛 ∈ ℕ
∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, <
)) |
12 | 7, 8, 9, 10, 11, 2 | elqaalem1 25384 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑖 ∈ ℕ0) → ((𝑁‘𝑖) ∈ ℕ ∧ ((𝐵‘𝑖) · (𝑁‘𝑖)) ∈ ℤ)) |
13 | 12 | simpld 494 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑖 ∈ ℕ0) → (𝑁‘𝑖) ∈ ℕ) |
14 | 13 | adantlr 711 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ ℕ0)
→ (𝑁‘𝑖) ∈
ℕ) |
15 | 6, 14 | sylan2 592 |
. . . . 5
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ (0...(deg‘𝐹))) → (𝑁‘𝑖) ∈ ℕ) |
16 | | eldifi 4057 |
. . . . . . . 8
⊢ (𝐹 ∈ ((Poly‘ℚ)
∖ {0𝑝}) → 𝐹 ∈
(Poly‘ℚ)) |
17 | | dgrcl 25299 |
. . . . . . . 8
⊢ (𝐹 ∈ (Poly‘ℚ)
→ (deg‘𝐹) ∈
ℕ0) |
18 | 8, 16, 17 | 3syl 18 |
. . . . . . 7
⊢ (𝜑 → (deg‘𝐹) ∈
ℕ0) |
19 | | nn0uz 12549 |
. . . . . . 7
⊢
ℕ0 = (ℤ≥‘0) |
20 | 18, 19 | eleqtrdi 2849 |
. . . . . 6
⊢ (𝜑 → (deg‘𝐹) ∈
(ℤ≥‘0)) |
21 | 20 | adantr 480 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) →
(deg‘𝐹) ∈
(ℤ≥‘0)) |
22 | | nnz 12272 |
. . . . . . . . . 10
⊢ (𝑖 ∈ ℕ → 𝑖 ∈
ℤ) |
23 | 22 | ad2antrl 724 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → 𝑖 ∈
ℤ) |
24 | 7, 8, 9, 10, 11, 2 | elqaalem1 25384 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑁‘𝐾) ∈ ℕ ∧ ((𝐵‘𝐾) · (𝑁‘𝐾)) ∈ ℤ)) |
25 | 24 | simpld 494 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑁‘𝐾) ∈ ℕ) |
26 | 25 | adantr 480 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑁‘𝐾) ∈ ℕ) |
27 | 23, 26 | zmodcld 13540 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑖 mod (𝑁‘𝐾)) ∈
ℕ0) |
28 | 27 | nn0zd 12353 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑖 mod (𝑁‘𝐾)) ∈ ℤ) |
29 | | nnz 12272 |
. . . . . . . . . 10
⊢ (𝑗 ∈ ℕ → 𝑗 ∈
ℤ) |
30 | 29 | ad2antll 725 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → 𝑗 ∈
ℤ) |
31 | 30, 26 | zmodcld 13540 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑗 mod (𝑁‘𝐾)) ∈
ℕ0) |
32 | 31 | nn0zd 12353 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑗 mod (𝑁‘𝐾)) ∈ ℤ) |
33 | 26 | nnrpd 12699 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑁‘𝐾) ∈
ℝ+) |
34 | | nnre 11910 |
. . . . . . . . 9
⊢ (𝑖 ∈ ℕ → 𝑖 ∈
ℝ) |
35 | 34 | ad2antrl 724 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → 𝑖 ∈
ℝ) |
36 | | modabs2 13553 |
. . . . . . . 8
⊢ ((𝑖 ∈ ℝ ∧ (𝑁‘𝐾) ∈ ℝ+) → ((𝑖 mod (𝑁‘𝐾)) mod (𝑁‘𝐾)) = (𝑖 mod (𝑁‘𝐾))) |
37 | 35, 33, 36 | syl2anc 583 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑖 mod (𝑁‘𝐾)) mod (𝑁‘𝐾)) = (𝑖 mod (𝑁‘𝐾))) |
38 | | nnre 11910 |
. . . . . . . . 9
⊢ (𝑗 ∈ ℕ → 𝑗 ∈
ℝ) |
39 | 38 | ad2antll 725 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → 𝑗 ∈
ℝ) |
40 | | modabs2 13553 |
. . . . . . . 8
⊢ ((𝑗 ∈ ℝ ∧ (𝑁‘𝐾) ∈ ℝ+) → ((𝑗 mod (𝑁‘𝐾)) mod (𝑁‘𝐾)) = (𝑗 mod (𝑁‘𝐾))) |
41 | 39, 33, 40 | syl2anc 583 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑗 mod (𝑁‘𝐾)) mod (𝑁‘𝐾)) = (𝑗 mod (𝑁‘𝐾))) |
42 | 28, 23, 32, 30, 33, 37, 41 | modmul12d 13573 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) →
(((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾)) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
43 | | oveq1 7262 |
. . . . . . . . . 10
⊢ (𝑘 = 𝑖 → (𝑘 mod (𝑁‘𝐾)) = (𝑖 mod (𝑁‘𝐾))) |
44 | | eqid 2738 |
. . . . . . . . . 10
⊢ (𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾))) = (𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾))) |
45 | | ovex 7288 |
. . . . . . . . . 10
⊢ (𝑖 mod (𝑁‘𝐾)) ∈ V |
46 | 43, 44, 45 | fvmpt 6857 |
. . . . . . . . 9
⊢ (𝑖 ∈ ℕ → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑖) = (𝑖 mod (𝑁‘𝐾))) |
47 | 46 | ad2antrl 724 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑖) = (𝑖 mod (𝑁‘𝐾))) |
48 | | oveq1 7262 |
. . . . . . . . . 10
⊢ (𝑘 = 𝑗 → (𝑘 mod (𝑁‘𝐾)) = (𝑗 mod (𝑁‘𝐾))) |
49 | | ovex 7288 |
. . . . . . . . . 10
⊢ (𝑗 mod (𝑁‘𝐾)) ∈ V |
50 | 48, 44, 49 | fvmpt 6857 |
. . . . . . . . 9
⊢ (𝑗 ∈ ℕ → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑗) = (𝑗 mod (𝑁‘𝐾))) |
51 | 50 | ad2antll 725 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑗) = (𝑗 mod (𝑁‘𝐾))) |
52 | 47, 51 | oveq12d 7273 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) →
(((𝑘 ∈ ℕ ↦
(𝑘 mod (𝑁‘𝐾)))‘𝑖)𝑃((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑗)) = ((𝑖 mod (𝑁‘𝐾))𝑃(𝑗 mod (𝑁‘𝐾)))) |
53 | | oveq12 7264 |
. . . . . . . . . 10
⊢ ((𝑥 = (𝑖 mod (𝑁‘𝐾)) ∧ 𝑦 = (𝑗 mod (𝑁‘𝐾))) → (𝑥 · 𝑦) = ((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾)))) |
54 | 53 | oveq1d 7270 |
. . . . . . . . 9
⊢ ((𝑥 = (𝑖 mod (𝑁‘𝐾)) ∧ 𝑦 = (𝑗 mod (𝑁‘𝐾))) → ((𝑥 · 𝑦) mod (𝑁‘𝐾)) = (((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾))) |
55 | | elqaa.7 |
. . . . . . . . 9
⊢ 𝑃 = (𝑥 ∈ V, 𝑦 ∈ V ↦ ((𝑥 · 𝑦) mod (𝑁‘𝐾))) |
56 | | ovex 7288 |
. . . . . . . . 9
⊢ (((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾)) ∈ V |
57 | 54, 55, 56 | ovmpoa 7406 |
. . . . . . . 8
⊢ (((𝑖 mod (𝑁‘𝐾)) ∈ V ∧ (𝑗 mod (𝑁‘𝐾)) ∈ V) → ((𝑖 mod (𝑁‘𝐾))𝑃(𝑗 mod (𝑁‘𝐾))) = (((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾))) |
58 | 45, 49, 57 | mp2an 688 |
. . . . . . 7
⊢ ((𝑖 mod (𝑁‘𝐾))𝑃(𝑗 mod (𝑁‘𝐾))) = (((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾)) |
59 | 52, 58 | eqtrdi 2795 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) →
(((𝑘 ∈ ℕ ↦
(𝑘 mod (𝑁‘𝐾)))‘𝑖)𝑃((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑗)) = (((𝑖 mod (𝑁‘𝐾)) · (𝑗 mod (𝑁‘𝐾))) mod (𝑁‘𝐾))) |
60 | | oveq1 7262 |
. . . . . . . 8
⊢ (𝑘 = (𝑖 · 𝑗) → (𝑘 mod (𝑁‘𝐾)) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
61 | | ovex 7288 |
. . . . . . . 8
⊢ ((𝑖 · 𝑗) mod (𝑁‘𝐾)) ∈ V |
62 | 60, 44, 61 | fvmpt 6857 |
. . . . . . 7
⊢ ((𝑖 · 𝑗) ∈ ℕ → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑖 · 𝑗)) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
63 | 5, 62 | syl 17 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑖 · 𝑗)) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
64 | 42, 59, 63 | 3eqtr4rd 2789 |
. . . . 5
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑖 · 𝑗)) = (((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑖)𝑃((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑗))) |
65 | | oveq1 7262 |
. . . . . . . . 9
⊢ (𝑘 = (𝑁‘𝑖) → (𝑘 mod (𝑁‘𝐾)) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
66 | | ovex 7288 |
. . . . . . . . 9
⊢ ((𝑁‘𝑖) mod (𝑁‘𝐾)) ∈ V |
67 | 65, 44, 66 | fvmpt 6857 |
. . . . . . . 8
⊢ ((𝑁‘𝑖) ∈ ℕ → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑁‘𝑖)) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
68 | 14, 67 | syl 17 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ ℕ0)
→ ((𝑘 ∈ ℕ
↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑁‘𝑖)) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
69 | | fveq2 6756 |
. . . . . . . . . 10
⊢ (𝑘 = 𝑖 → (𝑁‘𝑘) = (𝑁‘𝑖)) |
70 | 69 | oveq1d 7270 |
. . . . . . . . 9
⊢ (𝑘 = 𝑖 → ((𝑁‘𝑘) mod (𝑁‘𝐾)) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
71 | | eqid 2738 |
. . . . . . . . 9
⊢ (𝑘 ∈ ℕ0
↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))) = (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))) |
72 | 70, 71, 66 | fvmpt 6857 |
. . . . . . . 8
⊢ (𝑖 ∈ ℕ0
→ ((𝑘 ∈
ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
73 | 72 | adantl 481 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ ℕ0)
→ ((𝑘 ∈
ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖) = ((𝑁‘𝑖) mod (𝑁‘𝐾))) |
74 | 68, 73 | eqtr4d 2781 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ ℕ0)
→ ((𝑘 ∈ ℕ
↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑁‘𝑖)) = ((𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖)) |
75 | 6, 74 | sylan2 592 |
. . . . 5
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑖 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(𝑁‘𝑖)) = ((𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖)) |
76 | 5, 15, 21, 64, 75 | seqhomo 13698 |
. . . 4
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘(seq0( · , 𝑁)‘(deg‘𝐹))) = (seq0(𝑃, (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))))‘(deg‘𝐹))) |
77 | 3, 76 | syl5eq 2791 |
. . 3
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = (seq0(𝑃, (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))))‘(deg‘𝐹))) |
78 | 1, 77 | sylan2 592 |
. 2
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = (seq0(𝑃, (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))))‘(deg‘𝐹))) |
79 | | 0zd 12261 |
. . . . . . . 8
⊢ (𝜑 → 0 ∈
ℤ) |
80 | 4 | adantl 481 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑖 ∈ ℕ ∧ 𝑗 ∈ ℕ)) → (𝑖 · 𝑗) ∈ ℕ) |
81 | 19, 79, 13, 80 | seqf 13672 |
. . . . . . 7
⊢ (𝜑 → seq0( · , 𝑁):ℕ0⟶ℕ) |
82 | 81, 18 | ffvelrnd 6944 |
. . . . . 6
⊢ (𝜑 → (seq0( · , 𝑁)‘(deg‘𝐹)) ∈
ℕ) |
83 | 2, 82 | eqeltrid 2843 |
. . . . 5
⊢ (𝜑 → 𝑅 ∈ ℕ) |
84 | 83 | adantr 480 |
. . . 4
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → 𝑅 ∈
ℕ) |
85 | | oveq1 7262 |
. . . . 5
⊢ (𝑘 = 𝑅 → (𝑘 mod (𝑁‘𝐾)) = (𝑅 mod (𝑁‘𝐾))) |
86 | | ovex 7288 |
. . . . 5
⊢ (𝑅 mod (𝑁‘𝐾)) ∈ V |
87 | 85, 44, 86 | fvmpt 6857 |
. . . 4
⊢ (𝑅 ∈ ℕ → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = (𝑅 mod (𝑁‘𝐾))) |
88 | 84, 87 | syl 17 |
. . 3
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = (𝑅 mod (𝑁‘𝐾))) |
89 | 1, 88 | sylan2 592 |
. 2
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ ↦ (𝑘 mod (𝑁‘𝐾)))‘𝑅) = (𝑅 mod (𝑁‘𝐾))) |
90 | | oveq12 7264 |
. . . . . . 7
⊢ ((𝑥 = 𝑖 ∧ 𝑦 = 𝑗) → (𝑥 · 𝑦) = (𝑖 · 𝑗)) |
91 | 90 | oveq1d 7270 |
. . . . . 6
⊢ ((𝑥 = 𝑖 ∧ 𝑦 = 𝑗) → ((𝑥 · 𝑦) mod (𝑁‘𝐾)) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
92 | 91, 55, 61 | ovmpoa 7406 |
. . . . 5
⊢ ((𝑖 ∈ V ∧ 𝑗 ∈ V) → (𝑖𝑃𝑗) = ((𝑖 · 𝑗) mod (𝑁‘𝐾))) |
93 | 92 | el2v 3430 |
. . . 4
⊢ (𝑖𝑃𝑗) = ((𝑖 · 𝑗) mod (𝑁‘𝐾)) |
94 | | nn0mulcl 12199 |
. . . . . 6
⊢ ((𝑖 ∈ ℕ0
∧ 𝑗 ∈
ℕ0) → (𝑖 · 𝑗) ∈
ℕ0) |
95 | 94 | nn0zd 12353 |
. . . . 5
⊢ ((𝑖 ∈ ℕ0
∧ 𝑗 ∈
ℕ0) → (𝑖 · 𝑗) ∈ ℤ) |
96 | 1, 25 | sylan2 592 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑁‘𝐾) ∈ ℕ) |
97 | | zmodcl 13539 |
. . . . 5
⊢ (((𝑖 · 𝑗) ∈ ℤ ∧ (𝑁‘𝐾) ∈ ℕ) → ((𝑖 · 𝑗) mod (𝑁‘𝐾)) ∈
ℕ0) |
98 | 95, 96, 97 | syl2anr 596 |
. . . 4
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ (𝑖 ∈ ℕ0 ∧ 𝑗 ∈ ℕ0))
→ ((𝑖 · 𝑗) mod (𝑁‘𝐾)) ∈
ℕ0) |
99 | 93, 98 | eqeltrid 2843 |
. . 3
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ (𝑖 ∈ ℕ0 ∧ 𝑗 ∈ ℕ0))
→ (𝑖𝑃𝑗) ∈
ℕ0) |
100 | | fveq2 6756 |
. . . . . . . . . . . . . . . . 17
⊢ (𝑘 = 𝑚 → (𝐵‘𝑘) = (𝐵‘𝑚)) |
101 | 100 | oveq1d 7270 |
. . . . . . . . . . . . . . . 16
⊢ (𝑘 = 𝑚 → ((𝐵‘𝑘) · 𝑛) = ((𝐵‘𝑚) · 𝑛)) |
102 | 101 | eleq1d 2823 |
. . . . . . . . . . . . . . 15
⊢ (𝑘 = 𝑚 → (((𝐵‘𝑘) · 𝑛) ∈ ℤ ↔ ((𝐵‘𝑚) · 𝑛) ∈ ℤ)) |
103 | 102 | rabbidv 3404 |
. . . . . . . . . . . . . 14
⊢ (𝑘 = 𝑚 → {𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ} = {𝑛 ∈ ℕ ∣ ((𝐵‘𝑚) · 𝑛) ∈ ℤ}) |
104 | 103 | infeq1d 9166 |
. . . . . . . . . . . . 13
⊢ (𝑘 = 𝑚 → inf({𝑛 ∈ ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < ) =
inf({𝑛 ∈ ℕ
∣ ((𝐵‘𝑚) · 𝑛) ∈ ℤ}, ℝ, <
)) |
105 | 104 | cbvmptv 5183 |
. . . . . . . . . . . 12
⊢ (𝑘 ∈ ℕ0
↦ inf({𝑛 ∈
ℕ ∣ ((𝐵‘𝑘) · 𝑛) ∈ ℤ}, ℝ, < )) = (𝑚 ∈ ℕ0
↦ inf({𝑛 ∈
ℕ ∣ ((𝐵‘𝑚) · 𝑛) ∈ ℤ}, ℝ, <
)) |
106 | 11, 105 | eqtri 2766 |
. . . . . . . . . . 11
⊢ 𝑁 = (𝑚 ∈ ℕ0 ↦
inf({𝑛 ∈ ℕ
∣ ((𝐵‘𝑚) · 𝑛) ∈ ℤ}, ℝ, <
)) |
107 | 7, 8, 9, 10, 106, 2 | elqaalem1 25384 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → ((𝑁‘𝑘) ∈ ℕ ∧ ((𝐵‘𝑘) · (𝑁‘𝑘)) ∈ ℤ)) |
108 | 107 | simpld 494 |
. . . . . . . . 9
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → (𝑁‘𝑘) ∈ ℕ) |
109 | 108 | adantlr 711 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑘 ∈ ℕ0)
→ (𝑁‘𝑘) ∈
ℕ) |
110 | 109 | nnzd 12354 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑘 ∈ ℕ0)
→ (𝑁‘𝑘) ∈
ℤ) |
111 | 25 | adantr 480 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑘 ∈ ℕ0)
→ (𝑁‘𝐾) ∈
ℕ) |
112 | 110, 111 | zmodcld 13540 |
. . . . . 6
⊢ (((𝜑 ∧ 𝐾 ∈ ℕ0) ∧ 𝑘 ∈ ℕ0)
→ ((𝑁‘𝑘) mod (𝑁‘𝐾)) ∈
ℕ0) |
113 | 112 | fmpttd 6971 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ ℕ0) → (𝑘 ∈ ℕ0
↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))):ℕ0⟶ℕ0) |
114 | 1, 113 | sylan2 592 |
. . . 4
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))):ℕ0⟶ℕ0) |
115 | | ffvelrn 6941 |
. . . 4
⊢ (((𝑘 ∈ ℕ0
↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))):ℕ0⟶ℕ0
∧ 𝑖 ∈
ℕ0) → ((𝑘
∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖) ∈ ℕ0) |
116 | 114, 6, 115 | syl2an 595 |
. . 3
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ 𝑖 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝑖) ∈
ℕ0) |
117 | | c0ex 10900 |
. . . . 5
⊢ 0 ∈
V |
118 | | vex 3426 |
. . . . 5
⊢ 𝑖 ∈ V |
119 | | oveq12 7264 |
. . . . . . 7
⊢ ((𝑥 = 0 ∧ 𝑦 = 𝑖) → (𝑥 · 𝑦) = (0 · 𝑖)) |
120 | 119 | oveq1d 7270 |
. . . . . 6
⊢ ((𝑥 = 0 ∧ 𝑦 = 𝑖) → ((𝑥 · 𝑦) mod (𝑁‘𝐾)) = ((0 · 𝑖) mod (𝑁‘𝐾))) |
121 | | ovex 7288 |
. . . . . 6
⊢ ((0
· 𝑖) mod (𝑁‘𝐾)) ∈ V |
122 | 120, 55, 121 | ovmpoa 7406 |
. . . . 5
⊢ ((0
∈ V ∧ 𝑖 ∈ V)
→ (0𝑃𝑖) = ((0 · 𝑖) mod (𝑁‘𝐾))) |
123 | 117, 118,
122 | mp2an 688 |
. . . 4
⊢ (0𝑃𝑖) = ((0 · 𝑖) mod (𝑁‘𝐾)) |
124 | | nn0cn 12173 |
. . . . . . 7
⊢ (𝑖 ∈ ℕ0
→ 𝑖 ∈
ℂ) |
125 | 124 | mul02d 11103 |
. . . . . 6
⊢ (𝑖 ∈ ℕ0
→ (0 · 𝑖) =
0) |
126 | 125 | oveq1d 7270 |
. . . . 5
⊢ (𝑖 ∈ ℕ0
→ ((0 · 𝑖) mod
(𝑁‘𝐾)) = (0 mod (𝑁‘𝐾))) |
127 | 96 | nnrpd 12699 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑁‘𝐾) ∈
ℝ+) |
128 | | 0mod 13550 |
. . . . . 6
⊢ ((𝑁‘𝐾) ∈ ℝ+ → (0 mod
(𝑁‘𝐾)) = 0) |
129 | 127, 128 | syl 17 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (0 mod (𝑁‘𝐾)) = 0) |
130 | 126, 129 | sylan9eqr 2801 |
. . . 4
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ 𝑖 ∈ ℕ0) → ((0
· 𝑖) mod (𝑁‘𝐾)) = 0) |
131 | 123, 130 | syl5eq 2791 |
. . 3
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ 𝑖 ∈ ℕ0) → (0𝑃𝑖) = 0) |
132 | | oveq12 7264 |
. . . . . . 7
⊢ ((𝑥 = 𝑖 ∧ 𝑦 = 0) → (𝑥 · 𝑦) = (𝑖 · 0)) |
133 | 132 | oveq1d 7270 |
. . . . . 6
⊢ ((𝑥 = 𝑖 ∧ 𝑦 = 0) → ((𝑥 · 𝑦) mod (𝑁‘𝐾)) = ((𝑖 · 0) mod (𝑁‘𝐾))) |
134 | | ovex 7288 |
. . . . . 6
⊢ ((𝑖 · 0) mod (𝑁‘𝐾)) ∈ V |
135 | 133, 55, 134 | ovmpoa 7406 |
. . . . 5
⊢ ((𝑖 ∈ V ∧ 0 ∈ V)
→ (𝑖𝑃0) = ((𝑖 · 0) mod (𝑁‘𝐾))) |
136 | 118, 117,
135 | mp2an 688 |
. . . 4
⊢ (𝑖𝑃0) = ((𝑖 · 0) mod (𝑁‘𝐾)) |
137 | 124 | mul01d 11104 |
. . . . . 6
⊢ (𝑖 ∈ ℕ0
→ (𝑖 · 0) =
0) |
138 | 137 | oveq1d 7270 |
. . . . 5
⊢ (𝑖 ∈ ℕ0
→ ((𝑖 · 0) mod
(𝑁‘𝐾)) = (0 mod (𝑁‘𝐾))) |
139 | 138, 129 | sylan9eqr 2801 |
. . . 4
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ 𝑖 ∈ ℕ0) → ((𝑖 · 0) mod (𝑁‘𝐾)) = 0) |
140 | 136, 139 | syl5eq 2791 |
. . 3
⊢ (((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) ∧ 𝑖 ∈ ℕ0) → (𝑖𝑃0) = 0) |
141 | | simpr 484 |
. . 3
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → 𝐾 ∈ (0...(deg‘𝐹))) |
142 | 18 | adantr 480 |
. . 3
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (deg‘𝐹) ∈
ℕ0) |
143 | 1 | adantl 481 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → 𝐾 ∈
ℕ0) |
144 | | fveq2 6756 |
. . . . . . 7
⊢ (𝑘 = 𝐾 → (𝑁‘𝑘) = (𝑁‘𝐾)) |
145 | 144 | oveq1d 7270 |
. . . . . 6
⊢ (𝑘 = 𝐾 → ((𝑁‘𝑘) mod (𝑁‘𝐾)) = ((𝑁‘𝐾) mod (𝑁‘𝐾))) |
146 | | ovex 7288 |
. . . . . 6
⊢ ((𝑁‘𝐾) mod (𝑁‘𝐾)) ∈ V |
147 | 145, 71, 146 | fvmpt 6857 |
. . . . 5
⊢ (𝐾 ∈ ℕ0
→ ((𝑘 ∈
ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝐾) = ((𝑁‘𝐾) mod (𝑁‘𝐾))) |
148 | 143, 147 | syl 17 |
. . . 4
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝐾) = ((𝑁‘𝐾) mod (𝑁‘𝐾))) |
149 | 96 | nncnd 11919 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑁‘𝐾) ∈ ℂ) |
150 | 96 | nnne0d 11953 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑁‘𝐾) ≠ 0) |
151 | 149, 150 | dividd 11679 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑁‘𝐾) / (𝑁‘𝐾)) = 1) |
152 | | 1z 12280 |
. . . . . 6
⊢ 1 ∈
ℤ |
153 | 151, 152 | eqeltrdi 2847 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑁‘𝐾) / (𝑁‘𝐾)) ∈ ℤ) |
154 | 96 | nnred 11918 |
. . . . . 6
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑁‘𝐾) ∈ ℝ) |
155 | | mod0 13524 |
. . . . . 6
⊢ (((𝑁‘𝐾) ∈ ℝ ∧ (𝑁‘𝐾) ∈ ℝ+) →
(((𝑁‘𝐾) mod (𝑁‘𝐾)) = 0 ↔ ((𝑁‘𝐾) / (𝑁‘𝐾)) ∈ ℤ)) |
156 | 154, 127,
155 | syl2anc 583 |
. . . . 5
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (((𝑁‘𝐾) mod (𝑁‘𝐾)) = 0 ↔ ((𝑁‘𝐾) / (𝑁‘𝐾)) ∈ ℤ)) |
157 | 153, 156 | mpbird 256 |
. . . 4
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑁‘𝐾) mod (𝑁‘𝐾)) = 0) |
158 | 148, 157 | eqtrd 2778 |
. . 3
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → ((𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾)))‘𝐾) = 0) |
159 | 99, 116, 131, 140, 141, 142, 158 | seqz 13699 |
. 2
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (seq0(𝑃, (𝑘 ∈ ℕ0 ↦ ((𝑁‘𝑘) mod (𝑁‘𝐾))))‘(deg‘𝐹)) = 0) |
160 | 78, 89, 159 | 3eqtr3d 2786 |
1
⊢ ((𝜑 ∧ 𝐾 ∈ (0...(deg‘𝐹))) → (𝑅 mod (𝑁‘𝐾)) = 0) |