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 26967 |
. . . . . . . . . . 11
⊢ (𝑊 ∈ 𝐶 → (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) |
| 6 | 1, 2, 3, 4 | clwlksf1clwwlklem3 26967 |
. . . . . . . . . . 11
⊢ (𝑈 ∈ 𝐶 → (2nd ‘𝑈) ∈ Word (Vtx‘𝐺)) |
| 7 | 5, 6 | anim12ci 591 |
. . . . . . . . . 10
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → ((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd
‘𝑊) ∈ Word
(Vtx‘𝐺))) |
| 8 | 7 | adantr 481 |
. . . . . . . . 9
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → ((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))) |
| 9 | | nnnn0 11299 |
. . . . . . . . . . 11
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
ℕ0) |
| 10 | 9 | adantl 482 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ∈
ℕ0) |
| 11 | 1, 2, 3, 4 | clwlksf1clwwlklem1 26965 |
. . . . . . . . . . . 12
⊢ (𝑈 ∈ 𝐶 → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
| 12 | 11 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
| 13 | 12 | adantr 481 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ≤ (#‘(2nd ‘𝑈))) |
| 14 | 1, 2, 3, 4 | clwlksf1clwwlklem1 26965 |
. . . . . . . . . . . 12
⊢ (𝑊 ∈ 𝐶 → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
| 15 | 14 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
| 16 | 15 | adantr 481 |
. . . . . . . . . 10
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → 𝑁 ≤ (#‘(2nd ‘𝑊))) |
| 17 | 10, 13, 16 | 3jca 1242 |
. . . . . . . . 9
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) |
| 18 | 8, 17 | jca 554 |
. . . . . . . 8
⊢ (((𝑊 ∈ 𝐶 ∧ 𝑈 ∈ 𝐶) ∧ 𝑁 ∈ ℕ) → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
| 19 | 18 | exp31 630 |
. . . . . . 7
⊢ (𝑊 ∈ 𝐶 → (𝑈 ∈ 𝐶 → (𝑁 ∈ ℕ → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))))) |
| 20 | 19 | 3imp31 1257 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd
‘𝑊) ∈ Word
(Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
| 21 | 20 | adantr 481 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (((2nd
‘𝑈) ∈ Word
(Vtx‘𝐺) ∧
(2nd ‘𝑊)
∈ Word (Vtx‘𝐺))
∧ (𝑁 ∈
ℕ0 ∧ 𝑁
≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))))) |
| 22 | 1, 2, 3, 4 | clwlksfclwwlk1hashn 26959 |
. . . . . . . . . 10
⊢ (𝑈 ∈ 𝐶 → (#‘(1st
‘𝑈)) = 𝑁) |
| 23 | 22 | 3ad2ant2 1083 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (#‘(1st
‘𝑈)) = 𝑁) |
| 24 | 23 | opeq2d 4409 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 〈0, (#‘(1st
‘𝑈))〉 = 〈0,
𝑁〉) |
| 25 | 24 | oveq2d 6666 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑈) substr 〈0, 𝑁〉)) |
| 26 | 1, 2, 3, 4 | clwlksfclwwlk1hashn 26959 |
. . . . . . . . . 10
⊢ (𝑊 ∈ 𝐶 → (#‘(1st
‘𝑊)) = 𝑁) |
| 27 | 26 | 3ad2ant3 1084 |
. . . . . . . . 9
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (#‘(1st
‘𝑊)) = 𝑁) |
| 28 | 27 | opeq2d 4409 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 〈0, (#‘(1st
‘𝑊))〉 = 〈0,
𝑁〉) |
| 29 | 28 | oveq2d 6666 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) = ((2nd ‘𝑊) substr 〈0, 𝑁〉)) |
| 30 | 25, 29 | eqeq12d 2637 |
. . . . . 6
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) ↔ ((2nd
‘𝑈) substr 〈0,
𝑁〉) = ((2nd
‘𝑊) substr 〈0,
𝑁〉))) |
| 31 | 30 | biimpa 501 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑈) substr 〈0,
𝑁〉) = ((2nd
‘𝑊) substr 〈0,
𝑁〉)) |
| 32 | | simpl 473 |
. . . . . . 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 554 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
→ (𝑁 ∈
ℕ0 ∧ 𝑁
∈ ℕ0)) |
| 35 | 34 | 3ad2ant1 1082 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))) → (𝑁 ∈ ℕ0 ∧ 𝑁 ∈
ℕ0)) |
| 36 | 35 | adantl 482 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) → (𝑁 ∈ ℕ0
∧ 𝑁 ∈
ℕ0)) |
| 37 | | 3simpc 1060 |
. . . . . . . 8
⊢ ((𝑁 ∈ ℕ0
∧ 𝑁 ≤
(#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊))) → (𝑁 ≤ (#‘(2nd ‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd ‘𝑊)))) |
| 38 | 37 | adantl 482 |
. . . . . . 7
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) → (𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) |
| 39 | | swrdeq 13444 |
. . . . . . 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 1326 |
. . . . . 6
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) →
(((2nd ‘𝑈)
substr 〈0, 𝑁〉) =
((2nd ‘𝑊)
substr 〈0, 𝑁〉)
↔ (𝑁 = 𝑁 ∧ ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)))) |
| 41 | | simpr 477 |
. . . . . 6
⊢ ((𝑁 = 𝑁 ∧ ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) → ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
| 42 | 40, 41 | syl6bi 243 |
. . . . 5
⊢
((((2nd ‘𝑈) ∈ Word (Vtx‘𝐺) ∧ (2nd ‘𝑊) ∈ Word (Vtx‘𝐺)) ∧ (𝑁 ∈ ℕ0 ∧ 𝑁 ≤ (#‘(2nd
‘𝑈)) ∧ 𝑁 ≤ (#‘(2nd
‘𝑊)))) →
(((2nd ‘𝑈)
substr 〈0, 𝑁〉) =
((2nd ‘𝑊)
substr 〈0, 𝑁〉)
→ ∀𝑦 ∈
(0..^𝑁)((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑊)‘𝑦))) |
| 43 | 21, 31, 42 | sylc 65 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
| 44 | | lbfzo0 12507 |
. . . . . . . . 9
⊢ (0 ∈
(0..^𝑁) ↔ 𝑁 ∈
ℕ) |
| 45 | 44 | biimpri 218 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ → 0 ∈
(0..^𝑁)) |
| 46 | 45 | 3ad2ant1 1082 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 0 ∈ (0..^𝑁)) |
| 47 | 46 | adantr 481 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 0 ∈ (0..^𝑁)) |
| 48 | | fveq2 6191 |
. . . . . . . 8
⊢ (𝑦 = 0 → ((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑈)‘0)) |
| 49 | | fveq2 6191 |
. . . . . . . 8
⊢ (𝑦 = 0 → ((2nd
‘𝑊)‘𝑦) = ((2nd
‘𝑊)‘0)) |
| 50 | 48, 49 | eqeq12d 2637 |
. . . . . . 7
⊢ (𝑦 = 0 → (((2nd
‘𝑈)‘𝑦) = ((2nd
‘𝑊)‘𝑦) ↔ ((2nd
‘𝑈)‘0) =
((2nd ‘𝑊)‘0))) |
| 51 | 50 | rspcv 3305 |
. . . . . 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 26966 |
. . . . . . . 8
⊢ (𝑈 ∈ 𝐶 → ((2nd ‘𝑈)‘0) = ((2nd
‘𝑈)‘𝑁)) |
| 54 | 53 | 3ad2ant2 1083 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑈)‘0) = ((2nd
‘𝑈)‘𝑁)) |
| 55 | 54 | adantr 481 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑈)‘0) =
((2nd ‘𝑈)‘𝑁)) |
| 56 | 1, 2, 3, 4 | clwlksf1clwwlklem2 26966 |
. . . . . . . 8
⊢ (𝑊 ∈ 𝐶 → ((2nd ‘𝑊)‘0) = ((2nd
‘𝑊)‘𝑁)) |
| 57 | 56 | 3ad2ant3 1084 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → ((2nd ‘𝑊)‘0) = ((2nd
‘𝑊)‘𝑁)) |
| 58 | 57 | adantr 481 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ((2nd
‘𝑊)‘0) =
((2nd ‘𝑊)‘𝑁)) |
| 59 | 55, 58 | eqeq12d 2637 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (((2nd
‘𝑈)‘0) =
((2nd ‘𝑊)‘0) ↔ ((2nd
‘𝑈)‘𝑁) = ((2nd
‘𝑊)‘𝑁))) |
| 60 | 52, 59 | sylibd 229 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) → ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
| 61 | 43, 60 | jcai 559 |
. . 3
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
| 62 | | elnn0uz 11725 |
. . . . . . . . 9
⊢ (𝑁 ∈ ℕ0
↔ 𝑁 ∈
(ℤ≥‘0)) |
| 63 | 9, 62 | sylib 208 |
. . . . . . . 8
⊢ (𝑁 ∈ ℕ → 𝑁 ∈
(ℤ≥‘0)) |
| 64 | 63 | 3ad2ant1 1082 |
. . . . . . 7
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → 𝑁 ∈
(ℤ≥‘0)) |
| 65 | 64 | adantr 481 |
. . . . . 6
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 𝑁 ∈
(ℤ≥‘0)) |
| 66 | | fzisfzounsn 12580 |
. . . . . 6
⊢ (𝑁 ∈
(ℤ≥‘0) → (0...𝑁) = ((0..^𝑁) ∪ {𝑁})) |
| 67 | 65, 66 | syl 17 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (0...𝑁) = ((0..^𝑁) ∪ {𝑁})) |
| 68 | 67 | raleqdv 3144 |
. . . 4
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ ∀𝑦 ∈ ((0..^𝑁) ∪ {𝑁})((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦))) |
| 69 | | simpl1 1064 |
. . . . 5
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → 𝑁 ∈ ℕ) |
| 70 | | fveq2 6191 |
. . . . . . 7
⊢ (𝑦 = 𝑁 → ((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑈)‘𝑁)) |
| 71 | | fveq2 6191 |
. . . . . . 7
⊢ (𝑦 = 𝑁 → ((2nd ‘𝑊)‘𝑦) = ((2nd ‘𝑊)‘𝑁)) |
| 72 | 70, 71 | eqeq12d 2637 |
. . . . . 6
⊢ (𝑦 = 𝑁 → (((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁))) |
| 73 | 72 | ralunsn 4422 |
. . . . 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 268 |
. . 3
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → (∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ↔ (∀𝑦 ∈ (0..^𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦) ∧ ((2nd ‘𝑈)‘𝑁) = ((2nd ‘𝑊)‘𝑁)))) |
| 76 | 61, 75 | mpbird 247 |
. 2
⊢ (((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) ∧ ((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉)) → ∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦)) |
| 77 | 76 | ex 450 |
1
⊢ ((𝑁 ∈ ℕ ∧ 𝑈 ∈ 𝐶 ∧ 𝑊 ∈ 𝐶) → (((2nd ‘𝑈) substr 〈0,
(#‘(1st ‘𝑈))〉) = ((2nd ‘𝑊) substr 〈0,
(#‘(1st ‘𝑊))〉) → ∀𝑦 ∈ (0...𝑁)((2nd ‘𝑈)‘𝑦) = ((2nd ‘𝑊)‘𝑦))) |