Step | Hyp | Ref
| Expression |
1 | | clwlkclwwlkf.c |
. . 3
⊢ 𝐶 = {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤
(♯‘(1st ‘𝑤))} |
2 | | clwlkclwwlkf.f |
. . 3
⊢ 𝐹 = (𝑐 ∈ 𝐶 ↦ ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1))) |
3 | 1, 2 | clwlkclwwlkf 28273 |
. 2
⊢ (𝐺 ∈ USPGraph → 𝐹:𝐶⟶(ClWWalks‘𝐺)) |
4 | | fveq2 6756 |
. . . . . . . 8
⊢ (𝑐 = 𝑥 → (2nd ‘𝑐) = (2nd ‘𝑥)) |
5 | | 2fveq3 6761 |
. . . . . . . . 9
⊢ (𝑐 = 𝑥 → (♯‘(2nd
‘𝑐)) =
(♯‘(2nd ‘𝑥))) |
6 | 5 | oveq1d 7270 |
. . . . . . . 8
⊢ (𝑐 = 𝑥 → ((♯‘(2nd
‘𝑐)) − 1) =
((♯‘(2nd ‘𝑥)) − 1)) |
7 | 4, 6 | oveq12d 7273 |
. . . . . . 7
⊢ (𝑐 = 𝑥 → ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) = ((2nd
‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1))) |
8 | | id 22 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ 𝐶) |
9 | | ovexd 7290 |
. . . . . . 7
⊢ (𝑥 ∈ 𝐶 → ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) ∈ V) |
10 | 2, 7, 8, 9 | fvmptd3 6880 |
. . . . . 6
⊢ (𝑥 ∈ 𝐶 → (𝐹‘𝑥) = ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1))) |
11 | | fveq2 6756 |
. . . . . . . 8
⊢ (𝑐 = 𝑦 → (2nd ‘𝑐) = (2nd ‘𝑦)) |
12 | | 2fveq3 6761 |
. . . . . . . . 9
⊢ (𝑐 = 𝑦 → (♯‘(2nd
‘𝑐)) =
(♯‘(2nd ‘𝑦))) |
13 | 12 | oveq1d 7270 |
. . . . . . . 8
⊢ (𝑐 = 𝑦 → ((♯‘(2nd
‘𝑐)) − 1) =
((♯‘(2nd ‘𝑦)) − 1)) |
14 | 11, 13 | oveq12d 7273 |
. . . . . . 7
⊢ (𝑐 = 𝑦 → ((2nd ‘𝑐) prefix
((♯‘(2nd ‘𝑐)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) |
15 | | id 22 |
. . . . . . 7
⊢ (𝑦 ∈ 𝐶 → 𝑦 ∈ 𝐶) |
16 | | ovexd 7290 |
. . . . . . 7
⊢ (𝑦 ∈ 𝐶 → ((2nd ‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) ∈ V) |
17 | 2, 14, 15, 16 | fvmptd3 6880 |
. . . . . 6
⊢ (𝑦 ∈ 𝐶 → (𝐹‘𝑦) = ((2nd ‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) |
18 | 10, 17 | eqeqan12d 2752 |
. . . . 5
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)))) |
19 | 18 | adantl 481 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) ↔ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)))) |
20 | | simplrl 773 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → 𝑥 ∈ 𝐶) |
21 | | simplrr 774 |
. . . . . . . 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 28269 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ 𝐶 → ((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ)) |
25 | | wlklenvm1 27891 |
. . . . . . . . . . . . . . . 16
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → (♯‘(1st
‘𝑥)) =
((♯‘(2nd ‘𝑥)) − 1)) |
26 | 25 | eqcomd 2744 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
27 | 26 | 3ad2ant1 1131 |
. . . . . . . . . . . . . 14
⊢
(((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ) →
((♯‘(2nd ‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
28 | 24, 27 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑥 ∈ 𝐶 → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
29 | 28 | adantr 480 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((♯‘(2nd
‘𝑥)) − 1) =
(♯‘(1st ‘𝑥))) |
30 | 29 | oveq2d 7271 |
. . . . . . . . . . 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 28269 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ 𝐶 → ((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ)) |
34 | | wlklenvm1 27891 |
. . . . . . . . . . . . . . . 16
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → (♯‘(1st
‘𝑦)) =
((♯‘(2nd ‘𝑦)) − 1)) |
35 | 34 | eqcomd 2744 |
. . . . . . . . . . . . . . 15
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
36 | 35 | 3ad2ant1 1131 |
. . . . . . . . . . . . . 14
⊢
(((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ) →
((♯‘(2nd ‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
37 | 33, 36 | syl 17 |
. . . . . . . . . . . . 13
⊢ (𝑦 ∈ 𝐶 → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
38 | 37 | adantl 481 |
. . . . . . . . . . . 12
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((♯‘(2nd
‘𝑦)) − 1) =
(♯‘(1st ‘𝑦))) |
39 | 38 | oveq2d 7271 |
. . . . . . . . . . 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 481 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) ↔ ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦))))) |
42 | 41 | biimpa 476 |
. . . . . . . 8
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → ((2nd
‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦)))) |
43 | 20, 21, 42 | 3jca 1126 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶 ∧ ((2nd ‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦))))) |
44 | 1, 22, 23, 31, 32 | clwlkclwwlkf1lem2 28270 |
. . . . . . 7
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶 ∧ ((2nd ‘𝑥) prefix
(♯‘(1st ‘𝑥))) = ((2nd ‘𝑦) prefix
(♯‘(1st ‘𝑦)))) → ((♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑦)) ∧ ∀𝑖 ∈ (0..^(♯‘(1st
‘𝑥)))((2nd
‘𝑥)‘𝑖) = ((2nd
‘𝑦)‘𝑖))) |
45 | | simpl 482 |
. . . . . . 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 28271 |
. . . . . . 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 482 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → 𝐺 ∈ USPGraph) |
50 | | wlkcpr 27898 |
. . . . . . . . . . . . . 14
⊢ (𝑥 ∈ (Walks‘𝐺) ↔ (1st
‘𝑥)(Walks‘𝐺)(2nd ‘𝑥)) |
51 | 50 | biimpri 227 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) → 𝑥 ∈ (Walks‘𝐺)) |
52 | 51 | 3ad2ant1 1131 |
. . . . . . . . . . . 12
⊢
(((1st ‘𝑥)(Walks‘𝐺)(2nd ‘𝑥) ∧ ((2nd ‘𝑥)‘0) = ((2nd
‘𝑥)‘(♯‘(1st
‘𝑥))) ∧
(♯‘(1st ‘𝑥)) ∈ ℕ) → 𝑥 ∈ (Walks‘𝐺)) |
53 | 24, 52 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑥 ∈ 𝐶 → 𝑥 ∈ (Walks‘𝐺)) |
54 | | wlkcpr 27898 |
. . . . . . . . . . . . . 14
⊢ (𝑦 ∈ (Walks‘𝐺) ↔ (1st
‘𝑦)(Walks‘𝐺)(2nd ‘𝑦)) |
55 | 54 | biimpri 227 |
. . . . . . . . . . . . 13
⊢
((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) → 𝑦 ∈ (Walks‘𝐺)) |
56 | 55 | 3ad2ant1 1131 |
. . . . . . . . . . . 12
⊢
(((1st ‘𝑦)(Walks‘𝐺)(2nd ‘𝑦) ∧ ((2nd ‘𝑦)‘0) = ((2nd
‘𝑦)‘(♯‘(1st
‘𝑦))) ∧
(♯‘(1st ‘𝑦)) ∈ ℕ) → 𝑦 ∈ (Walks‘𝐺)) |
57 | 33, 56 | syl 17 |
. . . . . . . . . . 11
⊢ (𝑦 ∈ 𝐶 → 𝑦 ∈ (Walks‘𝐺)) |
58 | 53, 57 | anim12i 612 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺))) |
59 | 58 | adantl 481 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺))) |
60 | | eqidd 2739 |
. . . . . . . . 9
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥))) |
61 | 49, 59, 60 | 3jca 1126 |
. . . . . . . 8
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (𝐺 ∈ USPGraph ∧ (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺)) ∧ (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥)))) |
62 | 61 | adantr 480 |
. . . . . . 7
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → (𝐺 ∈ USPGraph ∧ (𝑥 ∈ (Walks‘𝐺) ∧ 𝑦 ∈ (Walks‘𝐺)) ∧ (♯‘(1st
‘𝑥)) =
(♯‘(1st ‘𝑥)))) |
63 | | uspgr2wlkeq 27915 |
. . . . . . 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 709 |
. . . . 5
⊢ (((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) ∧ ((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1))) → 𝑥 = 𝑦) |
66 | 65 | ex 412 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → (((2nd ‘𝑥) prefix
((♯‘(2nd ‘𝑥)) − 1)) = ((2nd
‘𝑦) prefix
((♯‘(2nd ‘𝑦)) − 1)) → 𝑥 = 𝑦)) |
67 | 19, 66 | sylbid 239 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)) |
68 | 67 | ralrimivva 3114 |
. 2
⊢ (𝐺 ∈ USPGraph →
∀𝑥 ∈ 𝐶 ∀𝑦 ∈ 𝐶 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)) |
69 | | dff13 7109 |
. 2
⊢ (𝐹:𝐶–1-1→(ClWWalks‘𝐺) ↔ (𝐹:𝐶⟶(ClWWalks‘𝐺) ∧ ∀𝑥 ∈ 𝐶 ∀𝑦 ∈ 𝐶 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))) |
70 | 3, 68, 69 | sylanbrc 582 |
1
⊢ (𝐺 ∈ USPGraph → 𝐹:𝐶–1-1→(ClWWalks‘𝐺)) |