Step | Hyp | Ref
| Expression |
1 | | smuval.a |
. . . . . . 7
⊢ (𝜑 → 𝐴 ⊆
ℕ0) |
2 | | smuval.b |
. . . . . . 7
⊢ (𝜑 → 𝐵 ⊆
ℕ0) |
3 | | smuval.p |
. . . . . . 7
⊢ 𝑃 = seq0((𝑝 ∈ 𝒫 ℕ0, 𝑚 ∈ ℕ0
↦ (𝑝 sadd {𝑛 ∈ ℕ0
∣ (𝑚 ∈ 𝐴 ∧ (𝑛 − 𝑚) ∈ 𝐵)})), (𝑛 ∈ ℕ0 ↦ if(𝑛 = 0, ∅, (𝑛 − 1)))) |
4 | 1, 2, 3 | smupf 16185 |
. . . . . 6
⊢ (𝜑 → 𝑃:ℕ0⟶𝒫
ℕ0) |
5 | | smuval.n |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈
ℕ0) |
6 | | smupvallem.m |
. . . . . . 7
⊢ (𝜑 → 𝑀 ∈ (ℤ≥‘𝑁)) |
7 | | eluznn0 12657 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ0
∧ 𝑀 ∈
(ℤ≥‘𝑁)) → 𝑀 ∈
ℕ0) |
8 | 5, 6, 7 | syl2anc 584 |
. . . . . 6
⊢ (𝜑 → 𝑀 ∈
ℕ0) |
9 | 4, 8 | ffvelrnd 6962 |
. . . . 5
⊢ (𝜑 → (𝑃‘𝑀) ∈ 𝒫
ℕ0) |
10 | 9 | elpwid 4544 |
. . . 4
⊢ (𝜑 → (𝑃‘𝑀) ⊆
ℕ0) |
11 | 10 | sseld 3920 |
. . 3
⊢ (𝜑 → (𝑘 ∈ (𝑃‘𝑀) → 𝑘 ∈
ℕ0)) |
12 | 1, 2, 3 | smufval 16184 |
. . . . 5
⊢ (𝜑 → (𝐴 smul 𝐵) = {𝑘 ∈ ℕ0 ∣ 𝑘 ∈ (𝑃‘(𝑘 + 1))}) |
13 | | ssrab2 4013 |
. . . . 5
⊢ {𝑘 ∈ ℕ0
∣ 𝑘 ∈ (𝑃‘(𝑘 + 1))} ⊆
ℕ0 |
14 | 12, 13 | eqsstrdi 3975 |
. . . 4
⊢ (𝜑 → (𝐴 smul 𝐵) ⊆
ℕ0) |
15 | 14 | sseld 3920 |
. . 3
⊢ (𝜑 → (𝑘 ∈ (𝐴 smul 𝐵) → 𝑘 ∈
ℕ0)) |
16 | 1 | ad2antrr 723 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → 𝐴 ⊆
ℕ0) |
17 | 2 | ad2antrr 723 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → 𝐵 ⊆
ℕ0) |
18 | | simplr 766 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → 𝑘 ∈ ℕ0) |
19 | 6 | adantr 481 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → 𝑀 ∈
(ℤ≥‘𝑁)) |
20 | | uztrn 12600 |
. . . . . . . 8
⊢ ((𝑀 ∈
(ℤ≥‘𝑁) ∧ 𝑁 ∈ (ℤ≥‘(𝑘 + 1))) → 𝑀 ∈ (ℤ≥‘(𝑘 + 1))) |
21 | 19, 20 | sylan 580 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → 𝑀 ∈ (ℤ≥‘(𝑘 + 1))) |
22 | 16, 17, 3, 18, 21 | smuval2 16189 |
. . . . . 6
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → (𝑘 ∈ (𝐴 smul 𝐵) ↔ 𝑘 ∈ (𝑃‘𝑀))) |
23 | 22 | bicomd 222 |
. . . . 5
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ 𝑁 ∈
(ℤ≥‘(𝑘 + 1))) → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝐴 smul 𝐵))) |
24 | 6 | ad2antrr 723 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → 𝑀 ∈ (ℤ≥‘𝑁)) |
25 | | simpll 764 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → 𝜑) |
26 | | fveqeq2 6783 |
. . . . . . . . . . 11
⊢ (𝑥 = 𝑁 → ((𝑃‘𝑥) = (𝑃‘𝑁) ↔ (𝑃‘𝑁) = (𝑃‘𝑁))) |
27 | 26 | imbi2d 341 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑁 → ((𝜑 → (𝑃‘𝑥) = (𝑃‘𝑁)) ↔ (𝜑 → (𝑃‘𝑁) = (𝑃‘𝑁)))) |
28 | | fveqeq2 6783 |
. . . . . . . . . . 11
⊢ (𝑥 = 𝑘 → ((𝑃‘𝑥) = (𝑃‘𝑁) ↔ (𝑃‘𝑘) = (𝑃‘𝑁))) |
29 | 28 | imbi2d 341 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑘 → ((𝜑 → (𝑃‘𝑥) = (𝑃‘𝑁)) ↔ (𝜑 → (𝑃‘𝑘) = (𝑃‘𝑁)))) |
30 | | fveqeq2 6783 |
. . . . . . . . . . 11
⊢ (𝑥 = (𝑘 + 1) → ((𝑃‘𝑥) = (𝑃‘𝑁) ↔ (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁))) |
31 | 30 | imbi2d 341 |
. . . . . . . . . 10
⊢ (𝑥 = (𝑘 + 1) → ((𝜑 → (𝑃‘𝑥) = (𝑃‘𝑁)) ↔ (𝜑 → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁)))) |
32 | | fveqeq2 6783 |
. . . . . . . . . . 11
⊢ (𝑥 = 𝑀 → ((𝑃‘𝑥) = (𝑃‘𝑁) ↔ (𝑃‘𝑀) = (𝑃‘𝑁))) |
33 | 32 | imbi2d 341 |
. . . . . . . . . 10
⊢ (𝑥 = 𝑀 → ((𝜑 → (𝑃‘𝑥) = (𝑃‘𝑁)) ↔ (𝜑 → (𝑃‘𝑀) = (𝑃‘𝑁)))) |
34 | | eqidd 2739 |
. . . . . . . . . 10
⊢ (𝜑 → (𝑃‘𝑁) = (𝑃‘𝑁)) |
35 | 1 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝐴 ⊆
ℕ0) |
36 | 2 | adantr 481 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝐵 ⊆
ℕ0) |
37 | | eluznn0 12657 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝑁 ∈ ℕ0
∧ 𝑘 ∈
(ℤ≥‘𝑁)) → 𝑘 ∈ ℕ0) |
38 | 5, 37 | sylan 580 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝑘 ∈ ℕ0) |
39 | 35, 36, 3, 38 | smupp1 16187 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑃‘(𝑘 + 1)) = ((𝑃‘𝑘) sadd {𝑛 ∈ ℕ0 ∣ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)})) |
40 | 5 | nn0red 12294 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝜑 → 𝑁 ∈ ℝ) |
41 | 40 | adantr 481 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝑁 ∈ ℝ) |
42 | 38 | nn0red 12294 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝑘 ∈ ℝ) |
43 | | eluzle 12595 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑘 ∈
(ℤ≥‘𝑁) → 𝑁 ≤ 𝑘) |
44 | 43 | adantl 482 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝑁 ≤ 𝑘) |
45 | 41, 42, 44 | lensymd 11126 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ¬ 𝑘 < 𝑁) |
46 | | smupvallem.a |
. . . . . . . . . . . . . . . . . . . . . . 23
⊢ (𝜑 → 𝐴 ⊆ (0..^𝑁)) |
47 | 46 | adantr 481 |
. . . . . . . . . . . . . . . . . . . . . 22
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝐴 ⊆ (0..^𝑁)) |
48 | 47 | sseld 3920 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑘 ∈ 𝐴 → 𝑘 ∈ (0..^𝑁))) |
49 | | elfzolt2 13396 |
. . . . . . . . . . . . . . . . . . . . 21
⊢ (𝑘 ∈ (0..^𝑁) → 𝑘 < 𝑁) |
50 | 48, 49 | syl6 35 |
. . . . . . . . . . . . . . . . . . . 20
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑘 ∈ 𝐴 → 𝑘 < 𝑁)) |
51 | 50 | adantrd 492 |
. . . . . . . . . . . . . . . . . . 19
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ((𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵) → 𝑘 < 𝑁)) |
52 | 45, 51 | mtod 197 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ¬ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)) |
53 | 52 | ralrimivw 3104 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ∀𝑛 ∈ ℕ0
¬ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)) |
54 | | rabeq0 4318 |
. . . . . . . . . . . . . . . . 17
⊢ ({𝑛 ∈ ℕ0
∣ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)} = ∅ ↔ ∀𝑛 ∈ ℕ0
¬ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)) |
55 | 53, 54 | sylibr 233 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → {𝑛 ∈ ℕ0 ∣ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)} = ∅) |
56 | 55 | oveq2d 7291 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ((𝑃‘𝑘) sadd {𝑛 ∈ ℕ0 ∣ (𝑘 ∈ 𝐴 ∧ (𝑛 − 𝑘) ∈ 𝐵)}) = ((𝑃‘𝑘) sadd ∅)) |
57 | 4 | adantr 481 |
. . . . . . . . . . . . . . . . . 18
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → 𝑃:ℕ0⟶𝒫
ℕ0) |
58 | 57, 38 | ffvelrnd 6962 |
. . . . . . . . . . . . . . . . 17
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑃‘𝑘) ∈ 𝒫
ℕ0) |
59 | 58 | elpwid 4544 |
. . . . . . . . . . . . . . . 16
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑃‘𝑘) ⊆
ℕ0) |
60 | | sadid1 16175 |
. . . . . . . . . . . . . . . 16
⊢ ((𝑃‘𝑘) ⊆ ℕ0 → ((𝑃‘𝑘) sadd ∅) = (𝑃‘𝑘)) |
61 | 59, 60 | syl 17 |
. . . . . . . . . . . . . . 15
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ((𝑃‘𝑘) sadd ∅) = (𝑃‘𝑘)) |
62 | 39, 56, 61 | 3eqtrd 2782 |
. . . . . . . . . . . . . 14
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑘)) |
63 | 62 | eqeq1d 2740 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ((𝑃‘(𝑘 + 1)) = (𝑃‘𝑁) ↔ (𝑃‘𝑘) = (𝑃‘𝑁))) |
64 | 63 | biimprd 247 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ 𝑘 ∈ (ℤ≥‘𝑁)) → ((𝑃‘𝑘) = (𝑃‘𝑁) → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁))) |
65 | 64 | expcom 414 |
. . . . . . . . . . 11
⊢ (𝑘 ∈
(ℤ≥‘𝑁) → (𝜑 → ((𝑃‘𝑘) = (𝑃‘𝑁) → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁)))) |
66 | 65 | a2d 29 |
. . . . . . . . . 10
⊢ (𝑘 ∈
(ℤ≥‘𝑁) → ((𝜑 → (𝑃‘𝑘) = (𝑃‘𝑁)) → (𝜑 → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁)))) |
67 | 27, 29, 31, 33, 34, 66 | uzind4i 12650 |
. . . . . . . . 9
⊢ (𝑀 ∈
(ℤ≥‘𝑁) → (𝜑 → (𝑃‘𝑀) = (𝑃‘𝑁))) |
68 | 24, 25, 67 | sylc 65 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑃‘𝑀) = (𝑃‘𝑁)) |
69 | | simpr 485 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑘 + 1) ∈
(ℤ≥‘𝑁)) |
70 | 27, 29, 31, 31, 34, 66 | uzind4i 12650 |
. . . . . . . . 9
⊢ ((𝑘 + 1) ∈
(ℤ≥‘𝑁) → (𝜑 → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁))) |
71 | 69, 25, 70 | sylc 65 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑃‘(𝑘 + 1)) = (𝑃‘𝑁)) |
72 | 68, 71 | eqtr4d 2781 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑃‘𝑀) = (𝑃‘(𝑘 + 1))) |
73 | 72 | eleq2d 2824 |
. . . . . 6
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝑃‘(𝑘 + 1)))) |
74 | 1 | ad2antrr 723 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → 𝐴 ⊆
ℕ0) |
75 | 2 | ad2antrr 723 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → 𝐵 ⊆
ℕ0) |
76 | | simplr 766 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → 𝑘 ∈ ℕ0) |
77 | 74, 75, 3, 76 | smuval 16188 |
. . . . . 6
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑘 ∈ (𝐴 smul 𝐵) ↔ 𝑘 ∈ (𝑃‘(𝑘 + 1)))) |
78 | 73, 77 | bitr4d 281 |
. . . . 5
⊢ (((𝜑 ∧ 𝑘 ∈ ℕ0) ∧ (𝑘 + 1) ∈
(ℤ≥‘𝑁)) → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝐴 smul 𝐵))) |
79 | | simpr 485 |
. . . . . . . 8
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈
ℕ0) |
80 | 79 | nn0zd 12424 |
. . . . . . 7
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → 𝑘 ∈
ℤ) |
81 | 80 | peano2zd 12429 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → (𝑘 + 1) ∈
ℤ) |
82 | 5 | nn0zd 12424 |
. . . . . . 7
⊢ (𝜑 → 𝑁 ∈ ℤ) |
83 | 82 | adantr 481 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → 𝑁 ∈
ℤ) |
84 | | uztric 12606 |
. . . . . 6
⊢ (((𝑘 + 1) ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑁 ∈
(ℤ≥‘(𝑘 + 1)) ∨ (𝑘 + 1) ∈
(ℤ≥‘𝑁))) |
85 | 81, 83, 84 | syl2anc 584 |
. . . . 5
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → (𝑁 ∈
(ℤ≥‘(𝑘 + 1)) ∨ (𝑘 + 1) ∈
(ℤ≥‘𝑁))) |
86 | 23, 78, 85 | mpjaodan 956 |
. . . 4
⊢ ((𝜑 ∧ 𝑘 ∈ ℕ0) → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝐴 smul 𝐵))) |
87 | 86 | ex 413 |
. . 3
⊢ (𝜑 → (𝑘 ∈ ℕ0 → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝐴 smul 𝐵)))) |
88 | 11, 15, 87 | pm5.21ndd 381 |
. 2
⊢ (𝜑 → (𝑘 ∈ (𝑃‘𝑀) ↔ 𝑘 ∈ (𝐴 smul 𝐵))) |
89 | 88 | eqrdv 2736 |
1
⊢ (𝜑 → (𝑃‘𝑀) = (𝐴 smul 𝐵)) |