Step | Hyp | Ref
| Expression |
1 | | df-wlks 27869 |
. 2
⊢ Walks =
(𝑔 ∈ V ↦
{〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom
(iEdg‘𝑔) ∧ 𝑝:(0...(♯‘𝑓))⟶(Vtx‘𝑔) ∧ ∀𝑘 ∈
(0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘))))}) |
2 | | fveq2 6756 |
. . . . . . . 8
⊢ (𝑔 = 𝐺 → (iEdg‘𝑔) = (iEdg‘𝐺)) |
3 | | wksfval.i |
. . . . . . . 8
⊢ 𝐼 = (iEdg‘𝐺) |
4 | 2, 3 | eqtr4di 2797 |
. . . . . . 7
⊢ (𝑔 = 𝐺 → (iEdg‘𝑔) = 𝐼) |
5 | 4 | dmeqd 5803 |
. . . . . 6
⊢ (𝑔 = 𝐺 → dom (iEdg‘𝑔) = dom 𝐼) |
6 | | wrdeq 14167 |
. . . . . 6
⊢ (dom
(iEdg‘𝑔) = dom 𝐼 → Word dom
(iEdg‘𝑔) = Word dom
𝐼) |
7 | 5, 6 | syl 17 |
. . . . 5
⊢ (𝑔 = 𝐺 → Word dom (iEdg‘𝑔) = Word dom 𝐼) |
8 | 7 | eleq2d 2824 |
. . . 4
⊢ (𝑔 = 𝐺 → (𝑓 ∈ Word dom (iEdg‘𝑔) ↔ 𝑓 ∈ Word dom 𝐼)) |
9 | | fveq2 6756 |
. . . . . 6
⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺)) |
10 | | wksfval.v |
. . . . . 6
⊢ 𝑉 = (Vtx‘𝐺) |
11 | 9, 10 | eqtr4di 2797 |
. . . . 5
⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉) |
12 | 11 | feq3d 6571 |
. . . 4
⊢ (𝑔 = 𝐺 → (𝑝:(0...(♯‘𝑓))⟶(Vtx‘𝑔) ↔ 𝑝:(0...(♯‘𝑓))⟶𝑉)) |
13 | 4 | fveq1d 6758 |
. . . . . . 7
⊢ (𝑔 = 𝐺 → ((iEdg‘𝑔)‘(𝑓‘𝑘)) = (𝐼‘(𝑓‘𝑘))) |
14 | 13 | eqeq1d 2740 |
. . . . . 6
⊢ (𝑔 = 𝐺 → (((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)} ↔ (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)})) |
15 | 13 | sseq2d 3949 |
. . . . . 6
⊢ (𝑔 = 𝐺 → ({(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘)) ↔ {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))) |
16 | 14, 15 | ifpbi23d 1078 |
. . . . 5
⊢ (𝑔 = 𝐺 → (if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘))) ↔ if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))) |
17 | 16 | ralbidv 3120 |
. . . 4
⊢ (𝑔 = 𝐺 → (∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘))) ↔ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))) |
18 | 8, 12, 17 | 3anbi123d 1434 |
. . 3
⊢ (𝑔 = 𝐺 → ((𝑓 ∈ Word dom (iEdg‘𝑔) ∧ 𝑝:(0...(♯‘𝑓))⟶(Vtx‘𝑔) ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘)))) ↔ (𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))))) |
19 | 18 | opabbidv 5136 |
. 2
⊢ (𝑔 = 𝐺 → {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom (iEdg‘𝑔) ∧ 𝑝:(0...(♯‘𝑓))⟶(Vtx‘𝑔) ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), ((iEdg‘𝑔)‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ ((iEdg‘𝑔)‘(𝑓‘𝑘))))} = {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))}) |
20 | | elex 3440 |
. 2
⊢ (𝐺 ∈ 𝑊 → 𝐺 ∈ V) |
21 | | 3anass 1093 |
. . . 4
⊢ ((𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))) ↔ (𝑓 ∈ Word dom 𝐼 ∧ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))))) |
22 | 21 | opabbii 5137 |
. . 3
⊢
{〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))} = {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))))} |
23 | 3 | fvexi 6770 |
. . . . . 6
⊢ 𝐼 ∈ V |
24 | 23 | dmex 7732 |
. . . . 5
⊢ dom 𝐼 ∈ V |
25 | | wrdexg 14155 |
. . . . 5
⊢ (dom
𝐼 ∈ V → Word dom
𝐼 ∈
V) |
26 | 24, 25 | mp1i 13 |
. . . 4
⊢ (𝐺 ∈ 𝑊 → Word dom 𝐼 ∈ V) |
27 | | ovex 7288 |
. . . . . 6
⊢
(0...(♯‘𝑓)) ∈ V |
28 | 10 | fvexi 6770 |
. . . . . . 7
⊢ 𝑉 ∈ V |
29 | 28 | a1i 11 |
. . . . . 6
⊢ ((𝐺 ∈ 𝑊 ∧ 𝑓 ∈ Word dom 𝐼) → 𝑉 ∈ V) |
30 | | mapex 8579 |
. . . . . 6
⊢
(((0...(♯‘𝑓)) ∈ V ∧ 𝑉 ∈ V) → {𝑝 ∣ 𝑝:(0...(♯‘𝑓))⟶𝑉} ∈ V) |
31 | 27, 29, 30 | sylancr 586 |
. . . . 5
⊢ ((𝐺 ∈ 𝑊 ∧ 𝑓 ∈ Word dom 𝐼) → {𝑝 ∣ 𝑝:(0...(♯‘𝑓))⟶𝑉} ∈ V) |
32 | | simpl 482 |
. . . . . . 7
⊢ ((𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))) → 𝑝:(0...(♯‘𝑓))⟶𝑉) |
33 | 32 | ss2abi 3996 |
. . . . . 6
⊢ {𝑝 ∣ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))} ⊆ {𝑝 ∣ 𝑝:(0...(♯‘𝑓))⟶𝑉} |
34 | 33 | a1i 11 |
. . . . 5
⊢ ((𝐺 ∈ 𝑊 ∧ 𝑓 ∈ Word dom 𝐼) → {𝑝 ∣ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))} ⊆ {𝑝 ∣ 𝑝:(0...(♯‘𝑓))⟶𝑉}) |
35 | 31, 34 | ssexd 5243 |
. . . 4
⊢ ((𝐺 ∈ 𝑊 ∧ 𝑓 ∈ Word dom 𝐼) → {𝑝 ∣ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))} ∈ V) |
36 | 26, 35 | opabex3d 7781 |
. . 3
⊢ (𝐺 ∈ 𝑊 → {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ (𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘)))))} ∈ V) |
37 | 22, 36 | eqeltrid 2843 |
. 2
⊢ (𝐺 ∈ 𝑊 → {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))} ∈ V) |
38 | 1, 19, 20, 37 | fvmptd3 6880 |
1
⊢ (𝐺 ∈ 𝑊 → (Walks‘𝐺) = {〈𝑓, 𝑝〉 ∣ (𝑓 ∈ Word dom 𝐼 ∧ 𝑝:(0...(♯‘𝑓))⟶𝑉 ∧ ∀𝑘 ∈ (0..^(♯‘𝑓))if-((𝑝‘𝑘) = (𝑝‘(𝑘 + 1)), (𝐼‘(𝑓‘𝑘)) = {(𝑝‘𝑘)}, {(𝑝‘𝑘), (𝑝‘(𝑘 + 1))} ⊆ (𝐼‘(𝑓‘𝑘))))}) |