Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > wspthsn | Structured version Visualization version GIF version |
Description: The set of simple paths of a fixed length as word. (Contributed by Alexander van der Vekens, 1-Mar-2018.) (Revised by AV, 11-May-2021.) |
Ref | Expression |
---|---|
wspthsn | ⊢ (𝑁 WSPathsN 𝐺) = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq12 6659 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (𝑛 WWalksN 𝑔) = (𝑁 WWalksN 𝐺)) | |
2 | fveq2 6191 | . . . . . . 7 ⊢ (𝑔 = 𝐺 → (SPaths‘𝑔) = (SPaths‘𝐺)) | |
3 | 2 | breqd 4664 | . . . . . 6 ⊢ (𝑔 = 𝐺 → (𝑓(SPaths‘𝑔)𝑤 ↔ 𝑓(SPaths‘𝐺)𝑤)) |
4 | 3 | exbidv 1850 | . . . . 5 ⊢ (𝑔 = 𝐺 → (∃𝑓 𝑓(SPaths‘𝑔)𝑤 ↔ ∃𝑓 𝑓(SPaths‘𝐺)𝑤)) |
5 | 4 | adantl 482 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → (∃𝑓 𝑓(SPaths‘𝑔)𝑤 ↔ ∃𝑓 𝑓(SPaths‘𝐺)𝑤)) |
6 | 1, 5 | rabeqbidv 3195 | . . 3 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ∃𝑓 𝑓(SPaths‘𝑔)𝑤} = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤}) |
7 | df-wspthsn 26725 | . . 3 ⊢ WSPathsN = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ∃𝑓 𝑓(SPaths‘𝑔)𝑤}) | |
8 | ovex 6678 | . . . 4 ⊢ (𝑁 WWalksN 𝐺) ∈ V | |
9 | 8 | rabex 4813 | . . 3 ⊢ {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} ∈ V |
10 | 6, 7, 9 | ovmpt2a 6791 | . 2 ⊢ ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → (𝑁 WSPathsN 𝐺) = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤}) |
11 | 7 | mpt2ndm0 6875 | . . 3 ⊢ (¬ (𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → (𝑁 WSPathsN 𝐺) = ∅) |
12 | df-wwlksn 26723 | . . . . . 6 ⊢ WWalksN = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ {𝑤 ∈ (WWalks‘𝑔) ∣ (#‘𝑤) = (𝑛 + 1)}) | |
13 | 12 | mpt2ndm0 6875 | . . . . 5 ⊢ (¬ (𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → (𝑁 WWalksN 𝐺) = ∅) |
14 | 13 | rabeqdv 3194 | . . . 4 ⊢ (¬ (𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} = {𝑤 ∈ ∅ ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤}) |
15 | rab0 3955 | . . . 4 ⊢ {𝑤 ∈ ∅ ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} = ∅ | |
16 | 14, 15 | syl6eq 2672 | . . 3 ⊢ (¬ (𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} = ∅) |
17 | 11, 16 | eqtr4d 2659 | . 2 ⊢ (¬ (𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) → (𝑁 WSPathsN 𝐺) = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤}) |
18 | 10, 17 | pm2.61i 176 | 1 ⊢ (𝑁 WSPathsN 𝐺) = {𝑤 ∈ (𝑁 WWalksN 𝐺) ∣ ∃𝑓 𝑓(SPaths‘𝐺)𝑤} |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ↔ wb 196 ∧ wa 384 = wceq 1483 ∃wex 1704 ∈ wcel 1990 {crab 2916 Vcvv 3200 ∅c0 3915 class class class wbr 4653 ‘cfv 5888 (class class class)co 6650 1c1 9937 + caddc 9939 ℕ0cn0 11292 #chash 13117 SPathscspths 26609 WWalkscwwlks 26717 WWalksN cwwlksn 26718 WSPathsN cwwspthsn 26720 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1722 ax-4 1737 ax-5 1839 ax-6 1888 ax-7 1935 ax-8 1992 ax-9 1999 ax-10 2019 ax-11 2034 ax-12 2047 ax-13 2246 ax-ext 2602 ax-sep 4781 ax-nul 4789 ax-pow 4843 ax-pr 4906 |
This theorem depends on definitions: df-bi 197 df-or 385 df-an 386 df-3an 1039 df-tru 1486 df-ex 1705 df-nf 1710 df-sb 1881 df-eu 2474 df-mo 2475 df-clab 2609 df-cleq 2615 df-clel 2618 df-nfc 2753 df-ral 2917 df-rex 2918 df-rab 2921 df-v 3202 df-sbc 3436 df-dif 3577 df-un 3579 df-in 3581 df-ss 3588 df-nul 3916 df-if 4087 df-sn 4178 df-pr 4180 df-op 4184 df-uni 4437 df-br 4654 df-opab 4713 df-id 5024 df-xp 5120 df-rel 5121 df-cnv 5122 df-co 5123 df-dm 5124 df-iota 5851 df-fun 5890 df-fv 5896 df-ov 6653 df-oprab 6654 df-mpt2 6655 df-wwlksn 26723 df-wspthsn 26725 |
This theorem is referenced by: iswspthn 26736 wspn0 26820 |
Copyright terms: Public domain | W3C validator |