Step | Hyp | Ref
| Expression |
1 | | clwlkclwwlkf.c |
. . 3
⊢ 𝐶 = {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} |
2 | | clwlkclwwlkf.f |
. . 3
⊢ 𝐹 = (𝑐 ∈ 𝐶 ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
3 | 1, 2 | clwlkclwwlkf 28372 |
. 2
⊢ (𝐺 ∈ USPGraph → 𝐹:𝐶⟶(ClWWalks‘𝐺)) |
4 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑐 = 𝑥 → (2nd ‘𝑐) = (2nd ‘𝑥)) |
5 | | 2fveq3 6779 |
. . . . . . . . 9
⊢ (𝑐 = 𝑥 → (♯‘(2nd
‘𝑐)) =
(♯‘(2nd ‘𝑥))) |
6 | 5 | oveq1d 7290 |
. . . . . . . 8
⊢ (𝑐 = 𝑥 → ((♯‘(2nd
‘𝑐)) − 1) =
((♯‘(2nd ‘𝑥)) − 1)) |
7 | 4, 6 | oveq12d 7293 |
. . . . . . 7
⊢ (𝑐 = 𝑥 → ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) = ((2nd
‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1))) |
8 | | id 22 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐶) |
9 | | ovexd 7310 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) ∈ V) |
10 | 2, 7, 8, 9 | fvmptd3 6898 |
. . . . . 6
⊢ (𝑥 ∈ 𝐶 → (𝐹‘𝑥) = ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1))) |
11 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑐 = 𝑦 → (2nd ‘𝑐) = (2nd ‘𝑦)) |
12 | | 2fveq3 6779 |
. . . . . . . . 9
⊢ (𝑐 = 𝑦 → (♯‘(2nd
‘𝑐)) =
(♯‘(2nd ‘𝑦))) |
13 | 12 | oveq1d 7290 |
. . . . . . . 8
⊢ (𝑐 = 𝑦 → ((♯‘(2nd
‘𝑐)) − 1) =
((♯‘(2nd ‘𝑦)) − 1)) |
14 | 11, 13 | oveq12d 7293 |
. . . . . . 7
⊢ (𝑐 = 𝑦 → ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) |
15 | | id 22 |
. . . . . . 7
⊢ (𝑦 ∈ 𝐶 → 𝑦 ∈ 𝐶) |
16 | | ovexd 7310 |
. . . . . . 7
⊢ (𝑦 ∈ 𝐶 → ((2nd ‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) ∈ V) |
17 | 2, 14, 15, 16 | fvmptd3 6898 |
. . . . . 6
⊢ (𝑦 ∈ 𝐶 → (𝐹‘𝑦) = ((2nd ‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) |
18 | 10, 17 | eqeqan12d 2752 |
. . . . 5
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)))) |
19 | 18 | adantl 482 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)))) |
20 | | simplrl 774 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → 𝑥 ∈ 𝐶) |
21 | | simplrr 775 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → 𝑦 ∈ 𝐶) |
22 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(1st ‘𝑥) = (1st ‘𝑥) |
23 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(2nd ‘𝑥) = (2nd ‘𝑥) |
24 | 1, 22, 23 | clwlkclwwlkflem 28368 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ 𝐶 → ((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ)) |
25 | | wlklenvm1 27989 |
. . . . . . . . . . . . . . . 16
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → (♯‘(1st
‘𝑥)) =
((♯‘(2nd ‘𝑥)) − 1)) |
26 | 25 | eqcomd 2744 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
27 | 26 | 3ad2ant1 1132 |
. . . . . . . . . . . . . 14
⊢
(((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ) →
((♯‘(2nd ‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
28 | 24, 27 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ 𝐶 → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
29 | 28 | adantr 481 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
30 | 29 | oveq2d 7291 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥)))) |
31 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(1st ‘𝑦) = (1st ‘𝑦) |
32 | | eqid 2738 |
. . . . . . . . . . . . . . 15
⊢
(2nd ‘𝑦) = (2nd ‘𝑦) |
33 | 1, 31, 32 | clwlkclwwlkflem 28368 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ 𝐶 → ((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ)) |
34 | | wlklenvm1 27989 |
. . . . . . . . . . . . . . . 16
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → (♯‘(1st
‘𝑦)) =
((♯‘(2nd ‘𝑦)) − 1)) |
35 | 34 | eqcomd 2744 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
36 | 35 | 3ad2ant1 1132 |
. . . . . . . . . . . . . 14
⊢
(((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ) →
((♯‘(2nd ‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
37 | 33, 36 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑦 ∈ 𝐶 → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
38 | 37 | adantl 482 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
39 | 38 | oveq2d 7291 |
. . . . . . . . . . 11
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((2nd ‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) = ((2nd
‘𝑦) prefix
(♯‘(1st ‘𝑦)))) |
40 | 30, 39 | eqeq12d 2754 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → (((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) ↔ ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦))))) |
41 | 40 | adantl 482 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) ↔ ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦))))) |
42 | 41 | biimpa 477 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦)))) |
43 | 20, 21, 42 | 3jca 1127 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶 ∧ ((2nd ‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦))))) |
44 | 1, 22, 23, 31, 32 | clwlkclwwlkf1lem2 28369 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶 ∧ ((2nd ‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦)))) → ((♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑦)) ∧ ∀𝑖 ∈ (0..^(♯‘(1st
‘𝑥)))((2nd
‘𝑥)‘𝑖) = ((2nd
‘𝑦)‘𝑖))) |
45 | | simpl 483 |
. . . . . . 7
⊢
(((♯‘(1st ‘𝑥)) = (♯‘(1st
‘𝑦)) ∧
∀𝑖 ∈
(0..^(♯‘(1st ‘𝑥)))((2nd ‘𝑥)‘𝑖) = ((2nd ‘𝑦)‘𝑖)) → (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑦))) |
46 | 43, 44, 45 | 3syl 18 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) →
(♯‘(1st ‘𝑥)) = (♯‘(1st
‘𝑦))) |
47 | 1, 22, 23, 31, 32 | clwlkclwwlkf1lem3 28370 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶 ∧ ((2nd ‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦)))) → ∀𝑖 ∈ (0...(♯‘(1st
‘𝑥)))((2nd
‘𝑥)‘𝑖) = ((2nd
‘𝑦)‘𝑖)) |
48 | 43, 47 | syl 17 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → ∀𝑖 ∈
(0...(♯‘(1st ‘𝑥)))((2nd ‘𝑥)‘𝑖) = ((2nd ‘𝑦)‘𝑖)) |
49 | | simpl 483 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → 𝐺 ∈ USPGraph) |
50 | | wlkcpr 27996 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (Walks‘𝐺) ↔ (1st
‘𝑥)(Walks‘𝐺)(2nd ‘𝑥)) |
51 | 50 | biimpri 227 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → 𝑥 ∈ (Walks‘𝐺)) |
52 | 51 | 3ad2ant1 1132 |
. . . . . . . . . . . 12
⊢
(((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ) → 𝑥 ∈ (Walks‘𝐺)) |
53 | 24, 52 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ (Walks‘𝐺)) |
54 | | wlkcpr 27996 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ (Walks‘𝐺) ↔ (1st
‘𝑦)(Walks‘𝐺)(2nd ‘𝑦)) |
55 | 54 | biimpri 227 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → 𝑦 ∈ (Walks‘𝐺)) |
56 | 55 | 3ad2ant1 1132 |
. . . . . . . . . . . 12
⊢
(((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ) → 𝑦 ∈ (Walks‘𝐺)) |
57 | 33, 56 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑦 ∈ 𝐶 → 𝑦 ∈ (Walks‘𝐺)) |
58 | 53, 57 | anim12i 613 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺))) |
59 | 58 | adantl 482 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺))) |
60 | | eqidd 2739 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥))) |
61 | 49, 59, 60 | 3jca 1127 |
. . . . . . . 8
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (𝐺 ∈ USPGraph ∧ (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺)) ∧ (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥)))) |
62 | 61 | adantr 481 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → (𝐺 ∈ USPGraph ∧ (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺)) ∧ (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥)))) |
63 | | uspgr2wlkeq 28013 |
. . . . . . 7
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺)) ∧ (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥))) → (𝑥 = 𝑦 ↔ ((♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑦)) ∧ ∀𝑖 ∈ (0...(♯‘(1st
‘𝑥)))((2nd
‘𝑥)‘𝑖) = ((2nd
‘𝑦)‘𝑖)))) |
64 | 62, 63 | syl 17 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → (𝑥 = 𝑦 ↔ ((♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑦)) ∧ ∀𝑖 ∈ (0...(♯‘(1st
‘𝑥)))((2nd
‘𝑥)‘𝑖) = ((2nd
‘𝑦)‘𝑖)))) |
65 | 46, 48, 64 | mpbir2and 710 |
. . . . 5
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → 𝑥 = 𝑦) |
66 | 65 | ex 413 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) → 𝑥 = 𝑦)) |
67 | 19, 66 | sylbid 239 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)) |
68 | 67 | ralrimivva 3123 |
. 2
⊢ (𝐺 ∈ USPGraph →
∀𝑥 ∈ 𝐶 ∀𝑦 ∈ 𝐶 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)) |
69 | | dff13 7128 |
. 2
⊢ (𝐹:𝐶–1-1→(ClWWalks‘𝐺) ↔ (𝐹:𝐶⟶(ClWWalks‘𝐺) ∧ ∀𝑥 ∈ 𝐶 ∀𝑦 ∈ 𝐶 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))) |
70 | 3, 68, 69 | sylanbrc 583 |
1
⊢ (𝐺 ∈ USPGraph → 𝐹:𝐶–1-1→(ClWWalks‘𝐺)) |