Step | Hyp | Ref
| Expression |
1 | | fveq2 5486 |
. . . . 5
⊢ (𝑥 = 𝐾 → (!‘𝑥) = (!‘𝐾)) |
2 | 1 | breq2d 3994 |
. . . 4
⊢ (𝑥 = 𝐾 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝐾))) |
3 | 2 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝐾 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾)))) |
4 | | fveq2 5486 |
. . . . 5
⊢ (𝑥 = 𝑦 → (!‘𝑥) = (!‘𝑦)) |
5 | 4 | breq2d 3994 |
. . . 4
⊢ (𝑥 = 𝑦 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝑦))) |
6 | 5 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝑦 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑦)))) |
7 | | fveq2 5486 |
. . . . 5
⊢ (𝑥 = (𝑦 + 1) → (!‘𝑥) = (!‘(𝑦 + 1))) |
8 | 7 | breq2d 3994 |
. . . 4
⊢ (𝑥 = (𝑦 + 1) → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘(𝑦 + 1)))) |
9 | 8 | imbi2d 229 |
. . 3
⊢ (𝑥 = (𝑦 + 1) → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘(𝑦 + 1))))) |
10 | | fveq2 5486 |
. . . . 5
⊢ (𝑥 = 𝑁 → (!‘𝑥) = (!‘𝑁)) |
11 | 10 | breq2d 3994 |
. . . 4
⊢ (𝑥 = 𝑁 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝑁))) |
12 | 11 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝑁 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑁)))) |
13 | | nnm1nn0 9155 |
. . . . . . . 8
⊢ (𝐾 ∈ ℕ → (𝐾 − 1) ∈
ℕ0) |
14 | | faccl 10648 |
. . . . . . . 8
⊢ ((𝐾 − 1) ∈
ℕ0 → (!‘(𝐾 − 1)) ∈
ℕ) |
15 | 13, 14 | syl 14 |
. . . . . . 7
⊢ (𝐾 ∈ ℕ →
(!‘(𝐾 − 1))
∈ ℕ) |
16 | 15 | nnzd 9312 |
. . . . . 6
⊢ (𝐾 ∈ ℕ →
(!‘(𝐾 − 1))
∈ ℤ) |
17 | | nnz 9210 |
. . . . . 6
⊢ (𝐾 ∈ ℕ → 𝐾 ∈
ℤ) |
18 | | dvdsmul2 11754 |
. . . . . 6
⊢
(((!‘(𝐾
− 1)) ∈ ℤ ∧ 𝐾 ∈ ℤ) → 𝐾 ∥ ((!‘(𝐾 − 1)) · 𝐾)) |
19 | 16, 17, 18 | syl2anc 409 |
. . . . 5
⊢ (𝐾 ∈ ℕ → 𝐾 ∥ ((!‘(𝐾 − 1)) · 𝐾)) |
20 | | facnn2 10647 |
. . . . 5
⊢ (𝐾 ∈ ℕ →
(!‘𝐾) =
((!‘(𝐾 − 1))
· 𝐾)) |
21 | 19, 20 | breqtrrd 4010 |
. . . 4
⊢ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾)) |
22 | 21 | a1i 9 |
. . 3
⊢ (𝐾 ∈ ℤ → (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾))) |
23 | 17 | adantl 275 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝐾 ∈ ℤ) |
24 | | elnnuz 9502 |
. . . . . . . . . . . 12
⊢ (𝐾 ∈ ℕ ↔ 𝐾 ∈
(ℤ≥‘1)) |
25 | | uztrn 9482 |
. . . . . . . . . . . 12
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ (ℤ≥‘1))
→ 𝑦 ∈
(ℤ≥‘1)) |
26 | 24, 25 | sylan2b 285 |
. . . . . . . . . . 11
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈
(ℤ≥‘1)) |
27 | | elnnuz 9502 |
. . . . . . . . . . 11
⊢ (𝑦 ∈ ℕ ↔ 𝑦 ∈
(ℤ≥‘1)) |
28 | 26, 27 | sylibr 133 |
. . . . . . . . . 10
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℕ) |
29 | 28 | nnnn0d 9167 |
. . . . . . . . 9
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℕ0) |
30 | | faccl 10648 |
. . . . . . . . 9
⊢ (𝑦 ∈ ℕ0
→ (!‘𝑦) ∈
ℕ) |
31 | 29, 30 | syl 14 |
. . . . . . . 8
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘𝑦) ∈
ℕ) |
32 | 31 | nnzd 9312 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘𝑦) ∈
ℤ) |
33 | 28 | nnzd 9312 |
. . . . . . . 8
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℤ) |
34 | 33 | peano2zd 9316 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝑦 + 1) ∈ ℤ) |
35 | | dvdsmultr1 11771 |
. . . . . . 7
⊢ ((𝐾 ∈ ℤ ∧
(!‘𝑦) ∈ ℤ
∧ (𝑦 + 1) ∈
ℤ) → (𝐾 ∥
(!‘𝑦) → 𝐾 ∥ ((!‘𝑦) · (𝑦 + 1)))) |
36 | 23, 32, 34, 35 | syl3anc 1228 |
. . . . . 6
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝐾 ∥ (!‘𝑦) → 𝐾 ∥ ((!‘𝑦) · (𝑦 + 1)))) |
37 | | facp1 10643 |
. . . . . . . 8
⊢ (𝑦 ∈ ℕ0
→ (!‘(𝑦 + 1)) =
((!‘𝑦) ·
(𝑦 + 1))) |
38 | 29, 37 | syl 14 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘(𝑦 + 1)) = ((!‘𝑦) · (𝑦 + 1))) |
39 | 38 | breq2d 3994 |
. . . . . 6
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝐾 ∥ (!‘(𝑦 + 1)) ↔ 𝐾 ∥ ((!‘𝑦) · (𝑦 + 1)))) |
40 | 36, 39 | sylibrd 168 |
. . . . 5
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝐾 ∥ (!‘𝑦) → 𝐾 ∥ (!‘(𝑦 + 1)))) |
41 | 40 | ex 114 |
. . . 4
⊢ (𝑦 ∈
(ℤ≥‘𝐾) → (𝐾 ∈ ℕ → (𝐾 ∥ (!‘𝑦) → 𝐾 ∥ (!‘(𝑦 + 1))))) |
42 | 41 | a2d 26 |
. . 3
⊢ (𝑦 ∈
(ℤ≥‘𝐾) → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑦)) → (𝐾 ∈ ℕ → 𝐾 ∥ (!‘(𝑦 + 1))))) |
43 | 3, 6, 9, 12, 22, 42 | uzind4 9526 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘𝐾) → (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑁))) |
44 | 43 | impcom 124 |
1
⊢ ((𝐾 ∈ ℕ ∧ 𝑁 ∈
(ℤ≥‘𝐾)) → 𝐾 ∥ (!‘𝑁)) |