Step | Hyp | Ref
| Expression |
1 | | fveq2 5494 |
. . . . 5
⊢ (𝑥 = 𝐾 → (!‘𝑥) = (!‘𝐾)) |
2 | 1 | breq2d 3999 |
. . . 4
⊢ (𝑥 = 𝐾 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝐾))) |
3 | 2 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝐾 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾)))) |
4 | | fveq2 5494 |
. . . . 5
⊢ (𝑥 = 𝑦 → (!‘𝑥) = (!‘𝑦)) |
5 | 4 | breq2d 3999 |
. . . 4
⊢ (𝑥 = 𝑦 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝑦))) |
6 | 5 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝑦 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑦)))) |
7 | | fveq2 5494 |
. . . . 5
⊢ (𝑥 = (𝑦 + 1) → (!‘𝑥) = (!‘(𝑦 + 1))) |
8 | 7 | breq2d 3999 |
. . . 4
⊢ (𝑥 = (𝑦 + 1) → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘(𝑦 + 1)))) |
9 | 8 | imbi2d 229 |
. . 3
⊢ (𝑥 = (𝑦 + 1) → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘(𝑦 + 1))))) |
10 | | fveq2 5494 |
. . . . 5
⊢ (𝑥 = 𝑁 → (!‘𝑥) = (!‘𝑁)) |
11 | 10 | breq2d 3999 |
. . . 4
⊢ (𝑥 = 𝑁 → (𝐾 ∥ (!‘𝑥) ↔ 𝐾 ∥ (!‘𝑁))) |
12 | 11 | imbi2d 229 |
. . 3
⊢ (𝑥 = 𝑁 → ((𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑥)) ↔ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑁)))) |
13 | | nnm1nn0 9169 |
. . . . . . . 8
⊢ (𝐾 ∈ ℕ → (𝐾 − 1) ∈
ℕ0) |
14 | | faccl 10662 |
. . . . . . . 8
⊢ ((𝐾 − 1) ∈
ℕ0 → (!‘(𝐾 − 1)) ∈
ℕ) |
15 | 13, 14 | syl 14 |
. . . . . . 7
⊢ (𝐾 ∈ ℕ →
(!‘(𝐾 − 1))
∈ ℕ) |
16 | 15 | nnzd 9326 |
. . . . . 6
⊢ (𝐾 ∈ ℕ →
(!‘(𝐾 − 1))
∈ ℤ) |
17 | | nnz 9224 |
. . . . . 6
⊢ (𝐾 ∈ ℕ → 𝐾 ∈
ℤ) |
18 | | dvdsmul2 11769 |
. . . . . 6
⊢
(((!‘(𝐾
− 1)) ∈ ℤ ∧ 𝐾 ∈ ℤ) → 𝐾 ∥ ((!‘(𝐾 − 1)) · 𝐾)) |
19 | 16, 17, 18 | syl2anc 409 |
. . . . 5
⊢ (𝐾 ∈ ℕ → 𝐾 ∥ ((!‘(𝐾 − 1)) · 𝐾)) |
20 | | facnn2 10661 |
. . . . 5
⊢ (𝐾 ∈ ℕ →
(!‘𝐾) =
((!‘(𝐾 − 1))
· 𝐾)) |
21 | 19, 20 | breqtrrd 4015 |
. . . 4
⊢ (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾)) |
22 | 21 | a1i 9 |
. . 3
⊢ (𝐾 ∈ ℤ → (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝐾))) |
23 | 17 | adantl 275 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝐾 ∈ ℤ) |
24 | | elnnuz 9516 |
. . . . . . . . . . . 12
⊢ (𝐾 ∈ ℕ ↔ 𝐾 ∈
(ℤ≥‘1)) |
25 | | uztrn 9496 |
. . . . . . . . . . . 12
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ (ℤ≥‘1))
→ 𝑦 ∈
(ℤ≥‘1)) |
26 | 24, 25 | sylan2b 285 |
. . . . . . . . . . 11
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈
(ℤ≥‘1)) |
27 | | elnnuz 9516 |
. . . . . . . . . . 11
⊢ (𝑦 ∈ ℕ ↔ 𝑦 ∈
(ℤ≥‘1)) |
28 | 26, 27 | sylibr 133 |
. . . . . . . . . 10
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℕ) |
29 | 28 | nnnn0d 9181 |
. . . . . . . . 9
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℕ0) |
30 | | faccl 10662 |
. . . . . . . . 9
⊢ (𝑦 ∈ ℕ0
→ (!‘𝑦) ∈
ℕ) |
31 | 29, 30 | syl 14 |
. . . . . . . 8
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘𝑦) ∈
ℕ) |
32 | 31 | nnzd 9326 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘𝑦) ∈
ℤ) |
33 | 28 | nnzd 9326 |
. . . . . . . 8
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → 𝑦 ∈ ℤ) |
34 | 33 | peano2zd 9330 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝑦 + 1) ∈ ℤ) |
35 | | dvdsmultr1 11786 |
. . . . . . 7
⊢ ((𝐾 ∈ ℤ ∧
(!‘𝑦) ∈ ℤ
∧ (𝑦 + 1) ∈
ℤ) → (𝐾 ∥
(!‘𝑦) → 𝐾 ∥ ((!‘𝑦) · (𝑦 + 1)))) |
36 | 23, 32, 34, 35 | syl3anc 1233 |
. . . . . 6
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (𝐾 ∥ (!‘𝑦) → 𝐾 ∥ ((!‘𝑦) · (𝑦 + 1)))) |
37 | | facp1 10657 |
. . . . . . . 8
⊢ (𝑦 ∈ ℕ0
→ (!‘(𝑦 + 1)) =
((!‘𝑦) ·
(𝑦 + 1))) |
38 | 29, 37 | syl 14 |
. . . . . . 7
⊢ ((𝑦 ∈
(ℤ≥‘𝐾) ∧ 𝐾 ∈ ℕ) → (!‘(𝑦 + 1)) = ((!‘𝑦) · (𝑦 + 1))) |
39 | 38 | breq2d 3999 |
. . . . . 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 9540 |
. 2
⊢ (𝑁 ∈
(ℤ≥‘𝐾) → (𝐾 ∈ ℕ → 𝐾 ∥ (!‘𝑁))) |
44 | 43 | impcom 124 |
1
⊢ ((𝐾 ∈ ℕ ∧ 𝑁 ∈
(ℤ≥‘𝐾)) → 𝐾 ∥ (!‘𝑁)) |