Proof of Theorem clwlksf1clwwlklem
Step | Hyp | Ref
| Expression |
1 | | clwlksfclwwlk.1 |
. . . . . . . . . . . 12
⊢ 𝐴 = (1st ‘𝑐) |
2 | | clwlksfclwwlk.2 |
. . . . . . . . . . . 12
⊢ 𝐵 = (2nd ‘𝑐) |
3 | | clwlksfclwwlk.c |
. . . . . . . . . . . 12
⊢ 𝐶 = {𝑐 ∈ (ClWalkS‘𝐺) ∣ (#‘𝐴) = 𝑁} |
4 | | clwlksfclwwlk.f |
. . . . . . . . . . . 12
⊢ 𝐹 = (𝑐 ∈ 𝐶 ↦ (𝐵 substr 〈0, (#‘𝐴)〉)) |
5 | 1, 2, 3, 4 | clwlksf1clwwlklem3 41274 |
. . . . . . . . . . 11
⊢ (𝑊 ∈ 𝐶 → (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) |
6 | 1, 2, 3, 4 | clwlksf1clwwlklem3 41274 |
. . . . . . . . . . 11
⊢ (𝑈 ∈ 𝐶 → (2nd ‘𝑈) ∈ Word (Vtx‘𝐺)) |
7 | 5, 6 | anim12ci 589 |
. . . . . . . . . 10
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → ((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd
‘𝑊) ∈ Word
(Vtx‘𝐺))) |
8 | 7 | adantr 480 |
. . . . . . . . 9
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → ((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))) |
9 | | nnnn0 11176 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℕ0) |
10 | 9 | adantl 481 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℕ0) |
11 | 1, 2, 3, 4 | clwlksf1clwwlklem1 41272 |
. . . . . . . . . . . 12
⊢ (𝑈 ∈ 𝐶 → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
12 | 11 | adantl 481 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
13 | 12 | adantr 480 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
14 | 1, 2, 3, 4 | clwlksf1clwwlklem1 41272 |
. . . . . . . . . . . 12
⊢ (𝑊 ∈ 𝐶 → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
15 | 14 | adantr 480 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
16 | 15 | adantr 480 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
17 | 10, 13, 16 | 3jca 1235 |
. . . . . . . . 9
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) |
18 | 8, 17 | jca 553 |
. . . . . . . 8
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
19 | 18 | exp31 628 |
. . . . . . 7
⊢ (𝑊 ∈ 𝐶 → (𝑈 ∈ 𝐶 → (𝑁 ∈ ℕ → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))))) |
20 | 19 | 3imp31 1250 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd
‘𝑊) ∈ Word
(Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
21 | 20 | adantr 480 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
22 | 1, 2, 3, 4 | clwlksfclwwlk1hashn 41266 |
. . . . . . . . . 10
⊢ (𝑈 ∈ 𝐶 → (#‘(1st
‘𝑈)) = 𝑁) |
23 | 22 | 3ad2ant2 1076 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (#‘(1st
‘𝑈)) = 𝑁) |
24 | 23 | opeq2d 4347 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 〈0, (#‘(1st
‘𝑈))〉 = 〈0,
𝑁〉) |
25 | 24 | oveq2d 6565 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑈) substr 〈0, 𝑁〉)) |
26 | 1, 2, 3, 4 | clwlksfclwwlk1hashn 41266 |
. . . . . . . . . 10
⊢ (𝑊 ∈ 𝐶 → (#‘(1st
‘𝑊)) = 𝑁) |
27 | 26 | 3ad2ant3 1077 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (#‘(1st
‘𝑊)) = 𝑁) |
28 | 27 | opeq2d 4347 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 〈0, (#‘(1st
‘𝑊))〉 = 〈0,
𝑁〉) |
29 | 28 | oveq2d 6565 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) = ((2nd ‘𝑊) substr 〈0, 𝑁〉)) |
30 | 25, 29 | eqeq12d 2625 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) ↔ ((2nd
‘𝑈) substr 〈0,
𝑁〉) = ((2nd
‘𝑊) substr 〈0,
𝑁〉))) |
31 | 30 | biimpa 500 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑈) substr 〈0,
𝑁〉) = ((2nd
‘𝑊) substr 〈0,
𝑁〉)) |
32 | | simpl 472 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) →
((2nd ‘𝑈)
∈ Word (Vtx‘𝐺)
∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺))) |
33 | | id 22 |
. . . . . . . . . 10
⊢ (𝑁 ∈ ℕ0
→ 𝑁 ∈
ℕ0) |
34 | 33, 33 | jca 553 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑁 ∈
ℕ0 ∧ 𝑁
∈ ℕ0)) |
35 | 34 | 3ad2ant1 1075 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))) → (𝑁 ∈ ℕ0 ∧ 𝑁 ∈
ℕ0)) |
36 | 35 | adantl 481 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) → (𝑁 ∈ ℕ0
∧ 𝑁 ∈
ℕ0)) |
37 | | 3simpc 1053 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))) → (𝑁 ≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊)))) |
38 | 37 | adantl 481 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) → (𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) |
39 | | swrdeq 13296 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ∈ ℕ0)
∧ (𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊)))) → (((2nd
‘𝑈) substr 〈0,
𝑁〉) = ((2nd
‘𝑊) substr 〈0,
𝑁〉) ↔ (𝑁 = 𝑁 ∧ ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)))) |
40 | 32, 36, 38, 39 | syl3anc 1318 |
. . . . . 6
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) →
(((2nd ‘𝑈)
substr 〈0, 𝑁〉) =
((2nd ‘𝑊)
substr 〈0, 𝑁〉)
↔ (𝑁 = 𝑁 ∧ ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)))) |
41 | | simpr 476 |
. . . . . 6
⊢ ((𝑁 = 𝑁 ∧ ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) → ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
42 | 40, 41 | syl6bi 242 |
. . . . 5
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) →
(((2nd ‘𝑈)
substr 〈0, 𝑁〉) =
((2nd ‘𝑊)
substr 〈0, 𝑁〉)
→ ∀𝑦 ∈
(0..^𝑁)((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑊)‘𝑦))) |
43 | 21, 31, 42 | sylc 63 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
44 | | lbfzo0 12375 |
. . . . . . . . 9
⊢ (0 ∈
(0..^𝑁) ↔ 𝑁 ∈
ℕ) |
45 | 44 | biimpri 217 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ → 0 ∈
(0..^𝑁)) |
46 | 45 | 3ad2ant1 1075 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 0 ∈ (0..^𝑁)) |
47 | 46 | adantr 480 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 0 ∈ (0..^𝑁)) |
48 | | fveq2 6103 |
. . . . . . . 8
⊢ (𝑦 = 0 → ((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑈)‘0)) |
49 | | fveq2 6103 |
. . . . . . . 8
⊢ (𝑦 = 0 → ((2nd
‘𝑊)‘𝑦) = ((2nd
‘𝑊)‘0)) |
50 | 48, 49 | eqeq12d 2625 |
. . . . . . 7
⊢ (𝑦 = 0 → (((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑊)‘𝑦) ↔ ((2nd
‘𝑈)‘0) =
((2nd ‘𝑊)‘0))) |
51 | 50 | rspcv 3278 |
. . . . . 6
⊢ (0 ∈
(0..^𝑁) →
(∀𝑦 ∈
(0..^𝑁)((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑊)‘𝑦) → ((2nd
‘𝑈)‘0) =
((2nd ‘𝑊)‘0))) |
52 | 47, 51 | syl 17 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) → ((2nd ‘𝑈)‘0) = ((2nd
‘𝑊)‘0))) |
53 | 1, 2, 3, 4 | clwlksf1clwwlklem2 41273 |
. . . . . . . 8
⊢ (𝑈 ∈ 𝐶 → ((2nd ‘𝑈)‘0) = ((2nd
‘𝑈)‘𝑁)) |
54 | 53 | 3ad2ant2 1076 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑈)‘0) = ((2nd
‘𝑈)‘𝑁)) |
55 | 54 | adantr 480 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑈)‘0) =
((2nd ‘𝑈)‘𝑁)) |
56 | 1, 2, 3, 4 | clwlksf1clwwlklem2 41273 |
. . . . . . . 8
⊢ (𝑊 ∈ 𝐶 → ((2nd ‘𝑊)‘0) = ((2nd
‘𝑊)‘𝑁)) |
57 | 56 | 3ad2ant3 1077 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑊)‘0) = ((2nd
‘𝑊)‘𝑁)) |
58 | 57 | adantr 480 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑊)‘0) =
((2nd ‘𝑊)‘𝑁)) |
59 | 55, 58 | eqeq12d 2625 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (((2nd
‘𝑈)‘0) =
((2nd ‘𝑊)‘0) ↔ ((2nd
‘𝑈)‘𝑁) = ((2nd
‘𝑊)‘𝑁))) |
60 | 52, 59 | sylibd 228 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) → ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
61 | 43, 60 | jcai 557 |
. . 3
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
62 | | elnn0uz 11601 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
↔ 𝑁 ∈
(ℤ≥‘0)) |
63 | 9, 62 | sylib 207 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
(ℤ≥‘0)) |
64 | 63 | 3ad2ant1 1075 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 𝑁 ∈
(ℤ≥‘0)) |
65 | 64 | adantr 480 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 𝑁 ∈
(ℤ≥‘0)) |
66 | | fzisfzounsn 12445 |
. . . . . 6
⊢ (𝑁 ∈
(ℤ≥‘0) → (0...𝑁) = ((0..^𝑁) ∪ {𝑁})) |
67 | 65, 66 | syl 17 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (0...𝑁) = ((0..^𝑁) ∪ {𝑁})) |
68 | 67 | raleqdv 3121 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ ∀𝑦 ∈ ((0..^𝑁) ∪ {𝑁})((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦))) |
69 | | simpl1 1057 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 𝑁 ∈ ℕ) |
70 | | fveq2 6103 |
. . . . . . 7
⊢ (𝑦 = 𝑁 → ((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑈)‘𝑁)) |
71 | | fveq2 6103 |
. . . . . . 7
⊢ (𝑦 = 𝑁 → ((2nd ‘𝑊)‘𝑦) = ((2nd ‘𝑊)‘𝑁)) |
72 | 70, 71 | eqeq12d 2625 |
. . . . . 6
⊢ (𝑦 = 𝑁 → (((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
73 | 72 | ralunsn 4360 |
. . . . 5
⊢ (𝑁 ∈ ℕ →
(∀𝑦 ∈
((0..^𝑁) ∪ {𝑁})((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁)))) |
74 | 69, 73 | syl 17 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ ((0..^𝑁) ∪ {𝑁})((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁)))) |
75 | 68, 74 | bitrd 267 |
. . 3
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁)))) |
76 | 61, 75 | mpbird 246 |
. 2
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
77 | 76 | ex 449 |
1
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) → ∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦))) |