Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > wwlksnon | Structured version Visualization version GIF version |
Description: The set of walks of a fixed length between two vertices as word. (Contributed by Alexander van der Vekens, 15-Feb-2018.) (Revised by AV, 11-May-2021.) |
Ref | Expression |
---|---|
wwlksnon.v | ⊢ 𝑉 = (Vtx‘𝐺) |
Ref | Expression |
---|---|
wwlksnon | ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → (𝑁 WWalksNOn 𝐺) = (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)})) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-wwlksnon 27730 | . . 3 ⊢ WWalksNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)})) | |
2 | 1 | a1i 11 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → WWalksNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)}))) |
3 | fveq2 6663 | . . . . . 6 ⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺)) | |
4 | wwlksnon.v | . . . . . 6 ⊢ 𝑉 = (Vtx‘𝐺) | |
5 | 3, 4 | eqtr4di 2811 | . . . . 5 ⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = 𝑉) |
6 | 5 | adantl 485 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (Vtx‘𝑔) = 𝑉) |
7 | oveq12 7165 | . . . . 5 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (𝑛 WWalksN 𝑔) = (𝑁 WWalksN 𝐺)) | |
8 | fveqeq2 6672 | . . . . . . 7 ⊢ (𝑛 = 𝑁 → ((𝑤‘𝑛) = 𝑏 ↔ (𝑤‘𝑁) = 𝑏)) | |
9 | 8 | anbi2d 631 | . . . . . 6 ⊢ (𝑛 = 𝑁 → (((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏) ↔ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏))) |
10 | 9 | adantr 484 | . . . . 5 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏) ↔ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏))) |
11 | 7, 10 | rabeqbidv 3398 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)} = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)}) |
12 | 6, 6, 11 | mpoeq123dv 7229 | . . 3 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)}) = (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)})) |
13 | 12 | adantl 485 | . 2 ⊢ (((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) ∧ (𝑛 = 𝑁 ∧ 𝑔 = 𝐺)) → (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)}) = (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)})) |
14 | simpl 486 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → 𝑁 ∈ ℕ0) | |
15 | elex 3428 | . . 3 ⊢ (𝐺 ∈ 𝑈 → 𝐺 ∈ V) | |
16 | 15 | adantl 485 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → 𝐺 ∈ V) |
17 | 4 | fvexi 6677 | . . . 4 ⊢ 𝑉 ∈ V |
18 | 17, 17 | mpoex 7788 | . . 3 ⊢ (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)}) ∈ V |
19 | 18 | a1i 11 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)}) ∈ V) |
20 | 2, 13, 14, 16, 19 | ovmpod 7303 | 1 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ 𝑈) → (𝑁 WWalksNOn 𝐺) = (𝑎 ∈ 𝑉, 𝑏 ∈ 𝑉 ↦ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑁) = 𝑏)})) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 = wceq 1538 ∈ wcel 2111 {crab 3074 Vcvv 3409 ‘cfv 6340 (class class class)co 7156 ∈ cmpo 7158 0cc0 10588 ℕ0cn0 11947 Vtxcvtx 26901 WWalksN cwwlksn 27724 WWalksNOn cwwlksnon 27725 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1911 ax-6 1970 ax-7 2015 ax-8 2113 ax-9 2121 ax-10 2142 ax-11 2158 ax-12 2175 ax-ext 2729 ax-rep 5160 ax-sep 5173 ax-nul 5180 ax-pow 5238 ax-pr 5302 ax-un 7465 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 845 df-3an 1086 df-tru 1541 df-fal 1551 df-ex 1782 df-nf 1786 df-sb 2070 df-mo 2557 df-eu 2588 df-clab 2736 df-cleq 2750 df-clel 2830 df-nfc 2901 df-ne 2952 df-ral 3075 df-rex 3076 df-reu 3077 df-rab 3079 df-v 3411 df-sbc 3699 df-csb 3808 df-dif 3863 df-un 3865 df-in 3867 df-ss 3877 df-nul 4228 df-if 4424 df-pw 4499 df-sn 4526 df-pr 4528 df-op 4532 df-uni 4802 df-iun 4888 df-br 5037 df-opab 5099 df-mpt 5117 df-id 5434 df-xp 5534 df-rel 5535 df-cnv 5536 df-co 5537 df-dm 5538 df-rn 5539 df-res 5540 df-ima 5541 df-iota 6299 df-fun 6342 df-fn 6343 df-f 6344 df-f1 6345 df-fo 6346 df-f1o 6347 df-fv 6348 df-ov 7159 df-oprab 7160 df-mpo 7161 df-1st 7699 df-2nd 7700 df-wwlksnon 27730 |
This theorem is referenced by: iswwlksnon 27751 wwlksnon0 27752 |
Copyright terms: Public domain | W3C validator |