Proof of Theorem uspgr2wlkeqi
Step | Hyp | Ref
| Expression |
1 | | wlkcpr 27996 |
. . . . 5
⊢ (𝐴 ∈ (Walks‘𝐺) ↔ (1st
‘𝐴)(Walks‘𝐺)(2nd ‘𝐴)) |
2 | | wlkcpr 27996 |
. . . . . 6
⊢ (𝐵 ∈ (Walks‘𝐺) ↔ (1st
‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) |
3 | | wlkcl 27982 |
. . . . . . 7
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → (♯‘(1st
‘𝐴)) ∈
ℕ0) |
4 | | fveq2 6774 |
. . . . . . . . . . . . 13
⊢
((2nd ‘𝐴) = (2nd ‘𝐵) → (♯‘(2nd
‘𝐴)) =
(♯‘(2nd ‘𝐵))) |
5 | 4 | oveq1d 7290 |
. . . . . . . . . . . 12
⊢
((2nd ‘𝐴) = (2nd ‘𝐵) → ((♯‘(2nd
‘𝐴)) − 1) =
((♯‘(2nd ‘𝐵)) − 1)) |
6 | 5 | eqcomd 2744 |
. . . . . . . . . . 11
⊢
((2nd ‘𝐴) = (2nd ‘𝐵) → ((♯‘(2nd
‘𝐵)) − 1) =
((♯‘(2nd ‘𝐴)) − 1)) |
7 | 6 | adantl 482 |
. . . . . . . . . 10
⊢
((((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ∧ (1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
((♯‘(2nd ‘𝐵)) − 1) =
((♯‘(2nd ‘𝐴)) − 1)) |
8 | | wlklenvm1 27989 |
. . . . . . . . . . . 12
⊢
((1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵) → (♯‘(1st
‘𝐵)) =
((♯‘(2nd ‘𝐵)) − 1)) |
9 | | wlklenvm1 27989 |
. . . . . . . . . . . 12
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → (♯‘(1st
‘𝐴)) =
((♯‘(2nd ‘𝐴)) − 1)) |
10 | 8, 9 | eqeqan12rd 2753 |
. . . . . . . . . . 11
⊢
(((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ∧ (1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) → ((♯‘(1st
‘𝐵)) =
(♯‘(1st ‘𝐴)) ↔ ((♯‘(2nd
‘𝐵)) − 1) =
((♯‘(2nd ‘𝐴)) − 1))) |
11 | 10 | adantr 481 |
. . . . . . . . . 10
⊢
((((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ∧ (1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
((♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)) ↔
((♯‘(2nd ‘𝐵)) − 1) =
((♯‘(2nd ‘𝐴)) − 1))) |
12 | 7, 11 | mpbird 256 |
. . . . . . . . 9
⊢
((((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ∧ (1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) |
13 | 12 | anim2i 617 |
. . . . . . . 8
⊢
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) ∧ (1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵))) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))) |
14 | 13 | exp44 438 |
. . . . . . 7
⊢
((♯‘(1st ‘𝐴)) ∈ ℕ0 →
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → ((1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵) → ((2nd ‘𝐴) = (2nd ‘𝐵) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))))))) |
15 | 3, 14 | mpcom 38 |
. . . . . 6
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → ((1st ‘𝐵)(Walks‘𝐺)(2nd ‘𝐵) → ((2nd ‘𝐴) = (2nd ‘𝐵) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))))) |
16 | 2, 15 | syl5bi 241 |
. . . . 5
⊢
((1st ‘𝐴)(Walks‘𝐺)(2nd ‘𝐴) → (𝐵 ∈ (Walks‘𝐺) → ((2nd ‘𝐴) = (2nd ‘𝐵) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))))) |
17 | 1, 16 | sylbi 216 |
. . . 4
⊢ (𝐴 ∈ (Walks‘𝐺) → (𝐵 ∈ (Walks‘𝐺) → ((2nd ‘𝐴) = (2nd ‘𝐵) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))))) |
18 | 17 | imp31 418 |
. . 3
⊢ (((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))) |
19 | 18 | 3adant1 1129 |
. 2
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))) |
20 | | simpl 483 |
. . . . . . 7
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) → 𝐺 ∈ USPGraph) |
21 | | simpl 483 |
. . . . . . 7
⊢
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) →
(♯‘(1st ‘𝐴)) ∈
ℕ0) |
22 | 20, 21 | anim12i 613 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) ∈
ℕ0 ∧ (♯‘(1st ‘𝐵)) =
(♯‘(1st ‘𝐴)))) → (𝐺 ∈ USPGraph ∧
(♯‘(1st ‘𝐴)) ∈
ℕ0)) |
23 | | simpl 483 |
. . . . . . . 8
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → 𝐴 ∈ (Walks‘𝐺)) |
24 | 23 | adantl 482 |
. . . . . . 7
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) → 𝐴 ∈ (Walks‘𝐺)) |
25 | | eqidd 2739 |
. . . . . . 7
⊢
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) →
(♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐴))) |
26 | 24, 25 | anim12i 613 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) ∈
ℕ0 ∧ (♯‘(1st ‘𝐵)) =
(♯‘(1st ‘𝐴)))) → (𝐴 ∈ (Walks‘𝐺) ∧ (♯‘(1st
‘𝐴)) =
(♯‘(1st ‘𝐴)))) |
27 | | simpr 485 |
. . . . . . . 8
⊢ ((𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) → 𝐵 ∈ (Walks‘𝐺)) |
28 | 27 | adantl 482 |
. . . . . . 7
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) → 𝐵 ∈ (Walks‘𝐺)) |
29 | | simpr 485 |
. . . . . . 7
⊢
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) →
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) |
30 | 28, 29 | anim12i 613 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) ∈
ℕ0 ∧ (♯‘(1st ‘𝐵)) =
(♯‘(1st ‘𝐴)))) → (𝐵 ∈ (Walks‘𝐺) ∧ (♯‘(1st
‘𝐵)) =
(♯‘(1st ‘𝐴)))) |
31 | | uspgr2wlkeq2 28014 |
. . . . . 6
⊢ (((𝐺 ∈ USPGraph ∧
(♯‘(1st ‘𝐴)) ∈ ℕ0) ∧ (𝐴 ∈ (Walks‘𝐺) ∧
(♯‘(1st ‘𝐴)) = (♯‘(1st
‘𝐴))) ∧ (𝐵 ∈ (Walks‘𝐺) ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴)))) →
((2nd ‘𝐴)
= (2nd ‘𝐵)
→ 𝐴 = 𝐵)) |
32 | 22, 26, 30, 31 | syl3anc 1370 |
. . . . 5
⊢ (((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) ∧ ((♯‘(1st
‘𝐴)) ∈
ℕ0 ∧ (♯‘(1st ‘𝐵)) =
(♯‘(1st ‘𝐴)))) → ((2nd ‘𝐴) = (2nd ‘𝐵) → 𝐴 = 𝐵)) |
33 | 32 | ex 413 |
. . . 4
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) → (((♯‘(1st
‘𝐴)) ∈
ℕ0 ∧ (♯‘(1st ‘𝐵)) =
(♯‘(1st ‘𝐴))) → ((2nd ‘𝐴) = (2nd ‘𝐵) → 𝐴 = 𝐵))) |
34 | 33 | com23 86 |
. . 3
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺))) → ((2nd ‘𝐴) = (2nd ‘𝐵) →
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) → 𝐴 = 𝐵))) |
35 | 34 | 3impia 1116 |
. 2
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) →
(((♯‘(1st ‘𝐴)) ∈ ℕ0 ∧
(♯‘(1st ‘𝐵)) = (♯‘(1st
‘𝐴))) → 𝐴 = 𝐵)) |
36 | 19, 35 | mpd 15 |
1
⊢ ((𝐺 ∈ USPGraph ∧ (𝐴 ∈ (Walks‘𝐺) ∧ 𝐵 ∈ (Walks‘𝐺)) ∧ (2nd ‘𝐴) = (2nd ‘𝐵)) → 𝐴 = 𝐵) |