Step |
Hyp |
Ref |
Expression |
1 |
|
upgrwlkcompim.v |
⊢ 𝑉 = ( Vtx ‘ 𝐺 ) |
2 |
|
upgrwlkcompim.i |
⊢ 𝐼 = ( iEdg ‘ 𝐺 ) |
3 |
|
upgrwlkcompim.1 |
⊢ 𝐹 = ( 1st ‘ 𝑊 ) |
4 |
|
upgrwlkcompim.2 |
⊢ 𝑃 = ( 2nd ‘ 𝑊 ) |
5 |
|
wlkcpr |
⊢ ( 𝑊 ∈ ( Walks ‘ 𝐺 ) ↔ ( 1st ‘ 𝑊 ) ( Walks ‘ 𝐺 ) ( 2nd ‘ 𝑊 ) ) |
6 |
3 4
|
breq12i |
⊢ ( 𝐹 ( Walks ‘ 𝐺 ) 𝑃 ↔ ( 1st ‘ 𝑊 ) ( Walks ‘ 𝐺 ) ( 2nd ‘ 𝑊 ) ) |
7 |
5 6
|
bitr4i |
⊢ ( 𝑊 ∈ ( Walks ‘ 𝐺 ) ↔ 𝐹 ( Walks ‘ 𝐺 ) 𝑃 ) |
8 |
1 2
|
upgriswlk |
⊢ ( 𝐺 ∈ UPGraph → ( 𝐹 ( Walks ‘ 𝐺 ) 𝑃 ↔ ( 𝐹 ∈ Word dom 𝐼 ∧ 𝑃 : ( 0 ... ( ♯ ‘ 𝐹 ) ) ⟶ 𝑉 ∧ ∀ 𝑘 ∈ ( 0 ..^ ( ♯ ‘ 𝐹 ) ) ( 𝐼 ‘ ( 𝐹 ‘ 𝑘 ) ) = { ( 𝑃 ‘ 𝑘 ) , ( 𝑃 ‘ ( 𝑘 + 1 ) ) } ) ) ) |
9 |
8
|
biimpd |
⊢ ( 𝐺 ∈ UPGraph → ( 𝐹 ( Walks ‘ 𝐺 ) 𝑃 → ( 𝐹 ∈ Word dom 𝐼 ∧ 𝑃 : ( 0 ... ( ♯ ‘ 𝐹 ) ) ⟶ 𝑉 ∧ ∀ 𝑘 ∈ ( 0 ..^ ( ♯ ‘ 𝐹 ) ) ( 𝐼 ‘ ( 𝐹 ‘ 𝑘 ) ) = { ( 𝑃 ‘ 𝑘 ) , ( 𝑃 ‘ ( 𝑘 + 1 ) ) } ) ) ) |
10 |
7 9
|
syl5bi |
⊢ ( 𝐺 ∈ UPGraph → ( 𝑊 ∈ ( Walks ‘ 𝐺 ) → ( 𝐹 ∈ Word dom 𝐼 ∧ 𝑃 : ( 0 ... ( ♯ ‘ 𝐹 ) ) ⟶ 𝑉 ∧ ∀ 𝑘 ∈ ( 0 ..^ ( ♯ ‘ 𝐹 ) ) ( 𝐼 ‘ ( 𝐹 ‘ 𝑘 ) ) = { ( 𝑃 ‘ 𝑘 ) , ( 𝑃 ‘ ( 𝑘 + 1 ) ) } ) ) ) |
11 |
10
|
imp |
⊢ ( ( 𝐺 ∈ UPGraph ∧ 𝑊 ∈ ( Walks ‘ 𝐺 ) ) → ( 𝐹 ∈ Word dom 𝐼 ∧ 𝑃 : ( 0 ... ( ♯ ‘ 𝐹 ) ) ⟶ 𝑉 ∧ ∀ 𝑘 ∈ ( 0 ..^ ( ♯ ‘ 𝐹 ) ) ( 𝐼 ‘ ( 𝐹 ‘ 𝑘 ) ) = { ( 𝑃 ‘ 𝑘 ) , ( 𝑃 ‘ ( 𝑘 + 1 ) ) } ) ) |