| 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 6898 | . . . . 5 ⊢ (Vtx‘𝑔) ∈ V | |
| 2 | 1, 1 | pm3.2i 476 | . . . 4 ⊢ ((Vtx‘𝑔) ∈ V ∧ (Vtx‘𝑔) ∈ V) |
| 3 | 2 | rgen2w 3082 | . . 3 ⊢ ∀𝑛 ∈ ℕ0 ∀𝑔 ∈ V ((Vtx‘𝑔) ∈ V ∧ (Vtx‘𝑔) ∈ V) |
| 4 | df-wwlksnon 30421 | . . . 4 ⊢ WWalksNOn = (𝑛 ∈ ℕ0, 𝑔 ∈ V ↦ (𝑎 ∈ (Vtx‘𝑔), 𝑏 ∈ (Vtx‘𝑔) ↦ {𝑤 ∈ (𝑛 WWalksN 𝑔) ∣ ((𝑤‘0) = 𝑎 ∧ (𝑤‘𝑛) = 𝑏)})) | |
| 5 | fveq2 6885 | . . . . . 6 ⊢ (𝑔 = 𝐺 → (Vtx‘𝑔) = (Vtx‘𝐺)) | |
| 6 | 5, 5 | jca 521 | . . . . 5 ⊢ (𝑔 = 𝐺 → ((Vtx‘𝑔) = (Vtx‘𝐺) ∧ (Vtx‘𝑔) = (Vtx‘𝐺))) |
| 7 | 6 | adantl 487 | . . . 4 ⊢ ((𝑛 = 𝑁 ∧ 𝑔 = 𝐺) → ((Vtx‘𝑔) = (Vtx‘𝐺) ∧ (Vtx‘𝑔) = (Vtx‘𝐺))) |
| 8 | 4, 7 | el2mpocl 8097 | . . 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 2853 | . . . 4 ⊢ (𝐴 ∈ 𝑉 ↔ 𝐴 ∈ (Vtx‘𝐺)) |
| 12 | 10 | eleq2i 2853 | . . . 4 ⊢ (𝐶 ∈ 𝑉 ↔ 𝐶 ∈ (Vtx‘𝐺)) |
| 13 | 11, 12 | anbi12i 640 | . . 3 ⊢ ((𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉) ↔ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺))) |
| 14 | 13 | biimpri 231 | . 2 ⊢ ((𝐴 ∈ (Vtx‘𝐺) ∧ 𝐶 ∈ (Vtx‘𝐺)) → (𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉)) |
| 15 | 9, 14 | simpl2im 513 | 1 ⊢ (𝑊 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐶) → (𝐴 ∈ 𝑉 ∧ 𝐶 ∈ 𝑉)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2145 ∀wral 3077 {crab 3413 Vcvv 3451 ‘cfv 6538 (class class class)co 7420 0cc0 11200 ℕ0cn0 12606 Vtxcvtx 29574 WWalksN cwwlksn 30415 WWalksNOn cwwlksnon 30416 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2733 ax-rep 5232 ax-sep 5249 ax-nul 5260 ax-pow 5327 ax-pr 5391 ax-un 7751 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-ral 3078 df-rex 3088 df-reu 3367 df-rab 3414 df-v 3453 df-sbc 3740 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-pw 4559 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-iun 4953 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5546 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-res 5663 df-ima 5664 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-ov 7423 df-oprab 7424 df-mpo 7425 df-1st 8001 df-2nd 8002 df-wwlksnon 30421 |
| This theorem is used by: iswspthsnon 30445 wwlks2onv 30542 elwwlks2ons3im 30543 |
| Copyright terms: Public domain | W3C validator |