Proof of Theorem wlkeq
Step | Hyp | Ref
| Expression |
1 | | eqid 2738 |
. . . . . . 7
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
2 | | eqid 2738 |
. . . . . . 7
⊢
(iEdg‘𝐺) =
(iEdg‘𝐺) |
3 | | eqid 2738 |
. . . . . . 7
⊢
(1st ‘𝐴) = (1st ‘𝐴) |
4 | | eqid 2738 |
. . . . . . 7
⊢
(2nd ‘𝐴) = (2nd ‘𝐴) |
5 | 1, 2, 3, 4 | wlkelwrd 27902 |
. . . . . 6
⊢ (𝐴 ∈ (Walks‘𝐺) → ((1st
‘𝐴) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺))) |
6 | | eqid 2738 |
. . . . . . 7
⊢
(1st ‘𝐵) = (1st ‘𝐵) |
7 | | eqid 2738 |
. . . . . . 7
⊢
(2nd ‘𝐵) = (2nd ‘𝐵) |
8 | 1, 2, 6, 7 | wlkelwrd 27902 |
. . . . . 6
⊢ (𝐵 ∈ (Walks‘𝐺) → ((1st
‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) |
9 | 5, 8 | anim12i 612 |
. . . . 5
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → (((1st ‘𝐴) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺)))) |
10 | | wlkop 27897 |
. . . . . . 7
⊢ (𝐴 ∈ (Walks‘𝐺) → 𝐴 = 〈(1st ‘𝐴), (2nd ‘𝐴)〉) |
11 | | eleq1 2826 |
. . . . . . . 8
⊢ (𝐴 = 〈(1st
‘𝐴), (2nd
‘𝐴)〉 →
(𝐴 ∈
(Walks‘𝐺) ↔
〈(1st ‘𝐴), (2nd ‘𝐴)〉 ∈ (Walks‘𝐺))) |
12 | | df-br 5071 |
. . . . . . . . 9
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ↔ 〈(1st ‘𝐴), (2nd ‘𝐴)〉 ∈
(Walks‘𝐺)) |
13 | | wlklenvm1 27891 |
. . . . . . . . 9
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → (♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1)) |
14 | 12, 13 | sylbir 234 |
. . . . . . . 8
⊢
(〈(1st ‘𝐴), (2nd ‘𝐴)〉 ∈ (Walks‘𝐺) →
(♯‘(1st ‘𝐴)) = ((♯‘(2nd
‘𝐴)) −
1)) |
15 | 11, 14 | syl6bi 252 |
. . . . . . 7
⊢ (𝐴 = 〈(1st
‘𝐴), (2nd
‘𝐴)〉 →
(𝐴 ∈
(Walks‘𝐺) →
(♯‘(1st ‘𝐴)) = ((♯‘(2nd
‘𝐴)) −
1))) |
16 | 10, 15 | mpcom 38 |
. . . . . 6
⊢ (𝐴 ∈ (Walks‘𝐺) →
(♯‘(1st ‘𝐴)) = ((♯‘(2nd
‘𝐴)) −
1)) |
17 | | wlkop 27897 |
. . . . . . 7
⊢ (𝐵 ∈ (Walks‘𝐺) → 𝐵 = 〈(1st ‘𝐵), (2nd ‘𝐵)〉) |
18 | | eleq1 2826 |
. . . . . . . 8
⊢ (𝐵 = 〈(1st
‘𝐵), (2nd
‘𝐵)〉 →
(𝐵 ∈
(Walks‘𝐺) ↔
〈(1st ‘𝐵), (2nd ‘𝐵)〉 ∈ (Walks‘𝐺))) |
19 | | df-br 5071 |
. . . . . . . . 9
⊢
((1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵) ↔ 〈(1st ‘𝐵), (2nd ‘𝐵)〉 ∈
(Walks‘𝐺)) |
20 | | wlklenvm1 27891 |
. . . . . . . . 9
⊢
((1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵) → (♯‘(1st
‘𝐵)) =
((♯‘(2nd ‘𝐵)) − 1)) |
21 | 19, 20 | sylbir 234 |
. . . . . . . 8
⊢
(〈(1st ‘𝐵), (2nd ‘𝐵)〉 ∈ (Walks‘𝐺) →
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) −
1)) |
22 | 18, 21 | syl6bi 252 |
. . . . . . 7
⊢ (𝐵 = 〈(1st
‘𝐵), (2nd
‘𝐵)〉 →
(𝐵 ∈
(Walks‘𝐺) →
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) −
1))) |
23 | 17, 22 | mpcom 38 |
. . . . . 6
⊢ (𝐵 ∈ (Walks‘𝐺) →
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) −
1)) |
24 | 16, 23 | anim12i 612 |
. . . . 5
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → ((♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1) ∧
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) −
1))) |
25 | | eqwrd 14188 |
. . . . . . . 8
⊢
(((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (1st
‘𝐵) ∈ Word dom
(iEdg‘𝐺)) →
((1st ‘𝐴)
= (1st ‘𝐵)
↔ ((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)))) |
26 | 25 | ad2ant2r 743 |
. . . . . . 7
⊢
((((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) → ((1st ‘𝐴) = (1st ‘𝐵) ↔
((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)))) |
27 | 26 | adantr 480 |
. . . . . 6
⊢
(((((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1) ∧
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) − 1)))
→ ((1st ‘𝐴) = (1st ‘𝐵) ↔ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^(♯‘(1st
‘𝐴)))((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥)))) |
28 | | lencl 14164 |
. . . . . . . . 9
⊢
((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) →
(♯‘(1st ‘𝐴)) ∈
ℕ0) |
29 | 28 | adantr 480 |
. . . . . . . 8
⊢
(((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) → (♯‘(1st
‘𝐴)) ∈
ℕ0) |
30 | | simpr 484 |
. . . . . . . 8
⊢
(((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) → (2nd ‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) |
31 | | simpr 484 |
. . . . . . . 8
⊢
(((1st ‘𝐵) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺)) → (2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺)) |
32 | | 2ffzeq 13306 |
. . . . . . . 8
⊢
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(2nd ‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺) ∧ (2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺)) → ((2nd ‘𝐴) = (2nd ‘𝐵) ↔
((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0...(♯‘(1st ‘𝐴)))((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |
33 | 29, 30, 31, 32 | syl2an3an 1420 |
. . . . . . 7
⊢
((((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) → ((2nd ‘𝐴) = (2nd ‘𝐵) ↔
((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0...(♯‘(1st ‘𝐴)))((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |
34 | 33 | adantr 480 |
. . . . . 6
⊢
(((((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1) ∧
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) − 1)))
→ ((2nd ‘𝐴) = (2nd ‘𝐵) ↔ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥)))) |
35 | 27, 34 | anbi12d 630 |
. . . . 5
⊢
(((((1st ‘𝐴) ∈ Word dom (iEdg‘𝐺) ∧ (2nd
‘𝐴):(0...(♯‘(1st
‘𝐴)))⟶(Vtx‘𝐺)) ∧ ((1st ‘𝐵) ∈ Word dom
(iEdg‘𝐺) ∧
(2nd ‘𝐵):(0...(♯‘(1st
‘𝐵)))⟶(Vtx‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1) ∧
(♯‘(1st ‘𝐵)) = ((♯‘(2nd
‘𝐵)) − 1)))
→ (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔
(((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥))))) |
36 | 9, 24, 35 | syl2anc 583 |
. . . 4
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd
‘𝐴) = (2nd
‘𝐵)) ↔
(((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥))))) |
37 | 36 | 3adant3 1130 |
. . 3
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) →
(((1st ‘𝐴)
= (1st ‘𝐵)
∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔ (((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^(♯‘(1st
‘𝐴)))((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥)) ∧
((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0...(♯‘(1st ‘𝐴)))((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))))) |
38 | | eqeq1 2742 |
. . . . . . 7
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (𝑁 = (♯‘(1st
‘𝐵)) ↔
(♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)))) |
39 | | oveq2 7263 |
. . . . . . . 8
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (0..^𝑁) = (0..^(♯‘(1st
‘𝐴)))) |
40 | 39 | raleqdv 3339 |
. . . . . . 7
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ↔ ∀𝑥 ∈ (0..^(♯‘(1st
‘𝐴)))((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥))) |
41 | 38, 40 | anbi12d 630 |
. . . . . 6
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → ((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ↔ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^(♯‘(1st
‘𝐴)))((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥)))) |
42 | | oveq2 7263 |
. . . . . . . 8
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (0...𝑁) = (0...(♯‘(1st
‘𝐴)))) |
43 | 42 | raleqdv 3339 |
. . . . . . 7
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥) ↔ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥))) |
44 | 38, 43 | anbi12d 630 |
. . . . . 6
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → ((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)) ↔ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥)))) |
45 | 41, 44 | anbi12d 630 |
. . . . 5
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → (((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))) ↔ (((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^(♯‘(1st
‘𝐴)))((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥)) ∧
((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0...(♯‘(1st ‘𝐴)))((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))))) |
46 | 45 | bibi2d 342 |
. . . 4
⊢ (𝑁 =
(♯‘(1st ‘𝐴)) → ((((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd
‘𝐴) = (2nd
‘𝐵)) ↔ ((𝑁 =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) ↔ (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd
‘𝐴) = (2nd
‘𝐵)) ↔
(((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥)))))) |
47 | 46 | 3ad2ant3 1133 |
. . 3
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) →
((((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔ ((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) ↔ (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd
‘𝐴) = (2nd
‘𝐵)) ↔
(((♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈
(0..^(♯‘(1st ‘𝐴)))((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ ((♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0...(♯‘(1st
‘𝐴)))((2nd
‘𝐴)‘𝑥) = ((2nd
‘𝐵)‘𝑥)))))) |
48 | 37, 47 | mpbird 256 |
. 2
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) →
(((1st ‘𝐴)
= (1st ‘𝐵)
∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔ ((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))))) |
49 | | 1st2ndb 7844 |
. . . . 5
⊢ (𝐴 ∈ (V × V) ↔
𝐴 = 〈(1st
‘𝐴), (2nd
‘𝐴)〉) |
50 | 10, 49 | sylibr 233 |
. . . 4
⊢ (𝐴 ∈ (Walks‘𝐺) → 𝐴 ∈ (V × V)) |
51 | | 1st2ndb 7844 |
. . . . 5
⊢ (𝐵 ∈ (V × V) ↔
𝐵 = 〈(1st
‘𝐵), (2nd
‘𝐵)〉) |
52 | 17, 51 | sylibr 233 |
. . . 4
⊢ (𝐵 ∈ (Walks‘𝐺) → 𝐵 ∈ (V × V)) |
53 | | xpopth 7845 |
. . . 4
⊢ ((𝐴 ∈ (V × V) ∧
𝐵 ∈ (V × V))
→ (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔ 𝐴 = 𝐵)) |
54 | 50, 52, 53 | syl2an 595 |
. . 3
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → (((1st ‘𝐴) = (1st ‘𝐵) ∧ (2nd
‘𝐴) = (2nd
‘𝐵)) ↔ 𝐴 = 𝐵)) |
55 | 54 | 3adant3 1130 |
. 2
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) →
(((1st ‘𝐴)
= (1st ‘𝐵)
∧ (2nd ‘𝐴) = (2nd ‘𝐵)) ↔ 𝐴 = 𝐵)) |
56 | | 3anass 1093 |
. . . 4
⊢ ((𝑁 =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)) ↔ (𝑁 = (♯‘(1st
‘𝐵)) ∧
(∀𝑥 ∈
(0..^𝑁)((1st
‘𝐴)‘𝑥) = ((1st
‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |
57 | | anandi 672 |
. . . 4
⊢ ((𝑁 =
(♯‘(1st ‘𝐵)) ∧ (∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))) ↔ ((𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |
58 | 56, 57 | bitr2i 275 |
. . 3
⊢ (((𝑁 =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))) ↔ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))) |
59 | 58 | a1i 11 |
. 2
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) → (((𝑁 =
(♯‘(1st ‘𝐵)) ∧ ∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥)) ∧ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥))) ↔ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |
60 | 48, 55, 59 | 3bitr3d 308 |
1
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺) ∧ 𝑁 = (♯‘(1st
‘𝐴))) → (𝐴 = 𝐵 ↔ (𝑁 = (♯‘(1st
‘𝐵)) ∧
∀𝑥 ∈ (0..^𝑁)((1st ‘𝐴)‘𝑥) = ((1st ‘𝐵)‘𝑥) ∧ ∀𝑥 ∈ (0...𝑁)((2nd ‘𝐴)‘𝑥) = ((2nd ‘𝐵)‘𝑥)))) |