| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > eucrct2eupth1 | Structured version Visualization version GIF version | ||
| Description: Removing one edge (𝐼‘(𝐹‘𝑁)) from a nonempty graph 𝐺 with an Eulerian circuit 〈𝐹, 𝑃〉 results in a graph 𝑆 with an Eulerian path 〈𝐻, 𝑄〉. This is the special case of eucrct2eupth 30448 (with 𝐽 = (𝑁 − 1)) where the last segment/edge of the circuit is removed. (Contributed by AV, 11-Mar-2021.) Hypothesis revised using the prefix operation. (Revised by AV, 30-Nov-2022.) |
| Ref | Expression |
|---|---|
| eucrct2eupth1.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| eucrct2eupth1.i | ⊢ 𝐼 = (iEdg‘𝐺) |
| eucrct2eupth1.d | ⊢ (𝜑 → 𝐹(EulerPaths‘𝐺)𝑃) |
| eucrct2eupth1.c | ⊢ (𝜑 → 𝐹(Circuits‘𝐺)𝑃) |
| eucrct2eupth1.s | ⊢ (Vtx‘𝑆) = 𝑉 |
| eucrct2eupth1.g | ⊢ (𝜑 → 0 < (♯‘𝐹)) |
| eucrct2eupth1.n | ⊢ (𝜑 → 𝑁 = ((♯‘𝐹) − 1)) |
| eucrct2eupth1.e | ⊢ (𝜑 → (iEdg‘𝑆) = (𝐼 ↾ (𝐹 “ (0..^𝑁)))) |
| eucrct2eupth1.h | ⊢ 𝐻 = (𝐹 prefix 𝑁) |
| eucrct2eupth1.q | ⊢ 𝑄 = (𝑃 ↾ (0...𝑁)) |
| Ref | Expression |
|---|---|
| eucrct2eupth1 | ⊢ (𝜑 → 𝐻(EulerPaths‘𝑆)𝑄) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eucrct2eupth1.v | . 2 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 2 | eucrct2eupth1.i | . 2 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 3 | eucrct2eupth1.d | . 2 ⊢ (𝜑 → 𝐹(EulerPaths‘𝐺)𝑃) | |
| 4 | eucrct2eupth1.n | . . 3 ⊢ (𝜑 → 𝑁 = ((♯‘𝐹) − 1)) | |
| 5 | eucrct2eupth1.g | . . . . 5 ⊢ (𝜑 → 0 < (♯‘𝐹)) | |
| 6 | eupthiswlk 30415 | . . . . . 6 ⊢ (𝐹(EulerPaths‘𝐺)𝑃 → 𝐹(Walks‘𝐺)𝑃) | |
| 7 | wlkcl 29817 | . . . . . 6 ⊢ (𝐹(Walks‘𝐺)𝑃 → (♯‘𝐹) ∈ ℕ0) | |
| 8 | nn0z 12593 | . . . . . . . . 9 ⊢ ((♯‘𝐹) ∈ ℕ0 → (♯‘𝐹) ∈ ℤ) | |
| 9 | 8 | anim1i 624 | . . . . . . . 8 ⊢ (((♯‘𝐹) ∈ ℕ0 ∧ 0 < (♯‘𝐹)) → ((♯‘𝐹) ∈ ℤ ∧ 0 < (♯‘𝐹))) |
| 10 | elnnz 12579 | . . . . . . . 8 ⊢ ((♯‘𝐹) ∈ ℕ ↔ ((♯‘𝐹) ∈ ℤ ∧ 0 < (♯‘𝐹))) | |
| 11 | 9, 10 | sylibr 236 | . . . . . . 7 ⊢ (((♯‘𝐹) ∈ ℕ0 ∧ 0 < (♯‘𝐹)) → (♯‘𝐹) ∈ ℕ) |
| 12 | 11 | ex 416 | . . . . . 6 ⊢ ((♯‘𝐹) ∈ ℕ0 → (0 < (♯‘𝐹) → (♯‘𝐹) ∈ ℕ)) |
| 13 | 3, 6, 7, 12 | 4syl 19 | . . . . 5 ⊢ (𝜑 → (0 < (♯‘𝐹) → (♯‘𝐹) ∈ ℕ)) |
| 14 | 5, 13 | mpd 15 | . . . 4 ⊢ (𝜑 → (♯‘𝐹) ∈ ℕ) |
| 15 | fzo0end 13765 | . . . 4 ⊢ ((♯‘𝐹) ∈ ℕ → ((♯‘𝐹) − 1) ∈ (0..^(♯‘𝐹))) | |
| 16 | 14, 15 | syl 17 | . . 3 ⊢ (𝜑 → ((♯‘𝐹) − 1) ∈ (0..^(♯‘𝐹))) |
| 17 | 4, 16 | eqeltrd 2863 | . 2 ⊢ (𝜑 → 𝑁 ∈ (0..^(♯‘𝐹))) |
| 18 | eucrct2eupth1.e | . 2 ⊢ (𝜑 → (iEdg‘𝑆) = (𝐼 ↾ (𝐹 “ (0..^𝑁)))) | |
| 19 | eucrct2eupth1.h | . 2 ⊢ 𝐻 = (𝐹 prefix 𝑁) | |
| 20 | eucrct2eupth1.q | . 2 ⊢ 𝑄 = (𝑃 ↾ (0...𝑁)) | |
| 21 | eucrct2eupth1.s | . 2 ⊢ (Vtx‘𝑆) = 𝑉 | |
| 22 | 1, 2, 3, 17, 18, 19, 20, 21 | eupthres 30418 | 1 ⊢ (𝜑 → 𝐻(EulerPaths‘𝑆)𝑄) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 399 = wceq 1561 ∈ wcel 2143 class class class wbr 5101 ↾ cres 5650 “ cima 5651 ‘cfv 6522 (class class class)co 7397 0cc0 11074 1c1 11075 < clt 11217 − cmin 11415 ℕcn 12211 ℕ0cn0 12482 ℤcz 12569 ...cfz 13513 ..^cfzo 13660 ♯chash 14344 prefix cpfx 14685 Vtxcvtx 29198 iEdgciedg 29199 Walkscwlks 29798 Circuitsccrcts 29985 EulerPathsceupth 30400 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1816 ax-4 1830 ax-5 1931 ax-6 1988 ax-7 2029 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-rep 5228 ax-sep 5247 ax-nul 5257 ax-pow 5323 ax-pr 5391 ax-un 7719 ax-cnex 11130 ax-resscn 11131 ax-1cn 11132 ax-icn 11133 ax-addcl 11134 ax-addrcl 11135 ax-mulcl 11136 ax-mulrcl 11137 ax-mulcom 11138 ax-addass 11139 ax-mulass 11140 ax-distr 11141 ax-i2m1 11142 ax-1ne0 11143 ax-1rid 11144 ax-rnegex 11145 ax-rrecex 11146 ax-cnre 11147 ax-pre-lttri 11148 ax-pre-lttrn 11149 ax-pre-ltadd 11150 ax-pre-mulgt0 11151 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-ifp 1075 df-3or 1100 df-3an 1101 df-tru 1564 df-fal 1574 df-ex 1801 df-nf 1805 df-sb 2092 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3063 df-ral 3078 df-rex 3088 df-reu 3369 df-rab 3416 df-v 3457 df-sbc 3746 df-csb 3854 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-pss 3925 df-nul 4287 df-if 4482 df-pw 4558 df-sn 4584 df-pr 4586 df-op 4590 df-uni 4867 df-int 4907 df-iun 4952 df-br 5102 df-opab 5164 df-mpt 5183 df-tr 5209 df-id 5543 df-eprel 5548 df-po 5556 df-so 5557 df-fr 5601 df-we 5603 df-xp 5654 df-rel 5655 df-cnv 5656 df-co 5657 df-dm 5658 df-rn 5659 df-res 5660 df-ima 5661 df-pred 6289 df-ord 6350 df-on 6351 df-lim 6352 df-suc 6353 df-iota 6478 df-fun 6524 df-fn 6525 df-f 6526 df-f1 6527 df-fo 6528 df-f1o 6529 df-fv 6530 df-riota 7354 df-ov 7400 df-oprab 7401 df-mpo 7402 df-om 7848 df-1st 7971 df-2nd 7972 df-frecs 8263 df-wrecs 8294 df-recs 8343 df-rdg 8382 df-1o 8438 df-er 8679 df-map 8811 df-pm 8812 df-en 8929 df-dom 8930 df-sdom 8931 df-fin 8932 df-card 9898 df-pnf 11219 df-mnf 11220 df-xr 11221 df-ltxr 11222 df-le 11223 df-sub 11417 df-neg 11418 df-nn 12212 df-n0 12483 df-z 12570 df-uz 12841 df-fz 13514 df-fzo 13661 df-hash 14345 df-word 14528 df-substr 14656 df-pfx 14686 df-wlks 29801 df-trls 29892 df-eupth 30401 |
| This theorem is referenced by: eucrct2eupth 30448 |
| Copyright terms: Public domain | W3C validator |