| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > wwlksonvtx | Structured version Visualization version GIF version | ||
| Description: If a word 𝑊 represents a walk of length 2 on two classes 𝐴 and 𝐶, these classes are vertices. (Contributed by AV, 14-Mar-2022.) |
| Ref | Expression |
|---|---|
| wwlksonvtx.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| wwlksonvtx | ⊢ (𝑊 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐶) → (𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fvex 6880 | . . . . 5 ⊢ (Vtx‘𝑔) ∈ V | |
| 2 | 1, 1 | pm3.2i 474 | . . . 4 ⊢ ((Vtx‘𝑔) ∈ V ∧ (Vtx‘𝑔) ∈ V) |
| 3 | 2 | rgen2w 3081 | . . 3 ⊢ ∀𝑛 ∈ ℕ0 ∀𝑔 ∈ V ((Vtx‘𝑔) ∈ V ∧ (Vtx‘𝑔) ∈ V) |
| 4 | df-wwlksnon 30032 | . . . 4 ⊢ WWalksNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)})) | |
| 5 | fveq2 6867 | . . . . . 6 ⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺)) | |
| 6 | 5, 5 | jca 519 | . . . . 5 ⊢ (𝑔 = 𝐺 → ((Vtx‘𝑔) = (Vtx‘𝐺) ∧ (Vtx‘𝑔) = (Vtx‘𝐺))) |
| 7 | 6 | adantl 485 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → ((Vtx‘𝑔) = (Vtx‘𝐺) ∧ (Vtx‘𝑔) = (Vtx‘𝐺))) |
| 8 | 4, 7 | el2mpocl 8065 | . . 3 ⊢ (∀𝑛 ∈ ℕ0 ∀𝑔 ∈ V ((Vtx‘𝑔) ∈ V ∧ (Vtx‘𝑔) ∈ V) → (𝑊 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐶) → ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺))))) |
| 9 | 3, 8 | ax-mp 5 | . 2 ⊢ (𝑊 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐶) → ((𝑁 ∈ ℕ0 ∧ 𝐺 ∈ V) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺)))) |
| 10 | wwlksonvtx.v | . . . . 5 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 11 | 10 | eleq2i 2854 | . . . 4 ⊢ (𝐴 ∈ 𝑉 ↔ 𝐴 ∈ (Vtx‘𝐺)) |
| 12 | 10 | eleq2i 2854 | . . . 4 ⊢ (𝐶 ∈ 𝑉 ↔ 𝐶 ∈ (Vtx‘𝐺)) |
| 13 | 11, 12 | anbi12i 637 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) ↔ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺))) |
| 14 | 13 | biimpri 230 | . 2 ⊢ ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺)) → (𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉)) |
| 15 | 9, 14 | simpl2im 511 | 1 ⊢ (𝑊 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐶) → (𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 399 = wceq 1560 ∈ wcel 2142 ∀wral 3076 {crab 3414 Vcvv 3454 ‘cfv 6521 (class class class)co 7396 0cc0 11073 ℕ0cn0 12481 Vtxcvtx 29197 WWalksN cwwlksn 30026 WWalksNOn cwwlksnon 30027 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-rep 5227 ax-sep 5246 ax-nul 5256 ax-pow 5322 ax-pr 5390 ax-un 7718 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3an 1100 df-tru 1563 df-fal 1573 df-ex 1800 df-nf 1804 df-sb 2091 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-ral 3077 df-rex 3087 df-reu 3368 df-rab 3415 df-v 3456 df-sbc 3745 df-csb 3853 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-nul 4286 df-if 4481 df-pw 4557 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-iun 4951 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5542 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-iota 6477 df-fun 6523 df-fn 6524 df-f 6525 df-f1 6526 df-fo 6527 df-f1o 6528 df-fv 6529 df-ov 7399 df-oprab 7400 df-mpo 7401 df-1st 7970 df-2nd 7971 df-wwlksnon 30032 |
| This theorem is referenced by: iswspthsnon 30056 wwlks2onv 30153 elwwlks2ons3im 30154 |
| Copyright terms: Public domain | W3C validator |