| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 3cycld | Structured version Visualization version GIF version | ||
| Description: Construction of a 3-cycle from three given edges in a graph. (Contributed by Alexander van der Vekens, 13-Nov-2017.) (Revised by AV, 10-Feb-2021.) (Revised by AV, 24-Mar-2021.) (Proof shortened by AV, 30-Oct-2021.) |
| Ref | Expression |
|---|---|
| 3wlkd.p | ⊢ 𝑃 = 〈“𝐴𝐵𝐶𝐷”〉 |
| 3wlkd.f | ⊢ 𝐹 = 〈“𝐽𝐾𝐿”〉 |
| 3wlkd.s | ⊢ (𝜑 → ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉))) |
| 3wlkd.n | ⊢ (𝜑 → ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) ∧ 𝐶 ≠ 𝐷)) |
| 3wlkd.e | ⊢ (𝜑 → ({𝐴, 𝐵} ⊆ (𝐼‘𝐽) ∧ {𝐵, 𝐶} ⊆ (𝐼‘𝐾) ∧ {𝐶, 𝐷} ⊆ (𝐼‘𝐿))) |
| 3wlkd.v | ⊢ 𝑉 = (Vtx‘𝐺) |
| 3wlkd.i | ⊢ 𝐼 = (iEdg‘𝐺) |
| 3trld.n | ⊢ (𝜑 → (𝐽 ≠ 𝐾 ∧ 𝐽 ≠ 𝐿 ∧ 𝐾 ≠ 𝐿)) |
| 3cycld.e | ⊢ (𝜑 → 𝐴 = 𝐷) |
| Ref | Expression |
|---|---|
| 3cycld | ⊢ (𝜑 → 𝐹(Cycles‘𝐺)𝑃) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 3wlkd.p | . . 3 ⊢ 𝑃 = 〈“𝐴𝐵𝐶𝐷”〉 | |
| 2 | 3wlkd.f | . . 3 ⊢ 𝐹 = 〈“𝐽𝐾𝐿”〉 | |
| 3 | 3wlkd.s | . . 3 ⊢ (𝜑 → ((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉))) | |
| 4 | 3wlkd.n | . . 3 ⊢ (𝜑 → ((𝐴 ≠ 𝐵 ∧ 𝐴 ≠ 𝐶) ∧ (𝐵 ≠ 𝐶 ∧ 𝐵 ≠ 𝐷) ∧ 𝐶 ≠ 𝐷)) | |
| 5 | 3wlkd.e | . . 3 ⊢ (𝜑 → ({𝐴, 𝐵} ⊆ (𝐼‘𝐽) ∧ {𝐵, 𝐶} ⊆ (𝐼‘𝐾) ∧ {𝐶, 𝐷} ⊆ (𝐼‘𝐿))) | |
| 6 | 3wlkd.v | . . 3 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 7 | 3wlkd.i | . . 3 ⊢ 𝐼 = (iEdg‘𝐺) | |
| 8 | 3trld.n | . . 3 ⊢ (𝜑 → (𝐽 ≠ 𝐾 ∧ 𝐽 ≠ 𝐿 ∧ 𝐾 ≠ 𝐿)) | |
| 9 | 1, 2, 3, 4, 5, 6, 7, 8 | 3pthd 30845 | . 2 ⊢ (𝜑 → 𝐹(Paths‘𝐺)𝑃) |
| 10 | 3cycld.e | . . 3 ⊢ (𝜑 → 𝐴 = 𝐷) | |
| 11 | 1 | fveq1i 6921 | . . . . . 6 ⊢ (𝑃‘0) = (〈“𝐴𝐵𝐶𝐷”〉‘0) |
| 12 | s4fv0 15093 | . . . . . 6 ⊢ (𝐴 ∈ 𝑉 → (〈“𝐴𝐵𝐶𝐷”〉‘0) = 𝐴) | |
| 13 | 11, 12 | eqtrid 2816 | . . . . 5 ⊢ (𝐴 ∈ 𝑉 → (𝑃‘0) = 𝐴) |
| 14 | 13 | ad3antrrr 743 | . . . 4 ⊢ ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉)) ∧ 𝐴 = 𝐷) → (𝑃‘0) = 𝐴) |
| 15 | simpr 490 | . . . 4 ⊢ ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉)) ∧ 𝐴 = 𝐷) → 𝐴 = 𝐷) | |
| 16 | 2 | fveq2i 6923 | . . . . . . . . 9 ⊢ (♯‘𝐹) = (♯‘〈“𝐽𝐾𝐿”〉) |
| 17 | s3len 15092 | . . . . . . . . 9 ⊢ (♯‘〈“𝐽𝐾𝐿”〉) = 3 | |
| 18 | 16, 17 | eqtri 2792 | . . . . . . . 8 ⊢ (♯‘𝐹) = 3 |
| 19 | 1, 18 | fveq12i 6926 | . . . . . . 7 ⊢ (𝑃‘(♯‘𝐹)) = (〈“𝐴𝐵𝐶𝐷”〉‘3) |
| 20 | s4fv3 15096 | . . . . . . 7 ⊢ (𝐷 ∈ 𝑉 → (〈“𝐴𝐵𝐶𝐷”〉‘3) = 𝐷) | |
| 21 | 19, 20 | eqtr2id 2817 | . . . . . 6 ⊢ (𝐷 ∈ 𝑉 → 𝐷 = (𝑃‘(♯‘𝐹))) |
| 22 | 21 | adantl 487 | . . . . 5 ⊢ ((𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉) → 𝐷 = (𝑃‘(♯‘𝐹))) |
| 23 | 22 | ad2antlr 740 | . . . 4 ⊢ ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉)) ∧ 𝐴 = 𝐷) → 𝐷 = (𝑃‘(♯‘𝐹))) |
| 24 | 14, 15, 23 | 3eqtrd 2808 | . . 3 ⊢ ((((𝐴 ∈ 𝑉 ∧ 𝐵 ∈ 𝑉) ∧ (𝐶 ∈ 𝑉 ∧ 𝐷 ∈ 𝑉)) ∧ 𝐴 = 𝐷) → (𝑃‘0) = (𝑃‘(♯‘𝐹))) |
| 25 | 3, 10, 24 | syl2anc 596 | . 2 ⊢ (𝜑 → (𝑃‘0) = (𝑃‘(♯‘𝐹))) |
| 26 | iscycl 30448 | . 2 ⊢ (𝐹(Cycles‘𝐺)𝑃 ↔ (𝐹(Paths‘𝐺)𝑃 ∧ (𝑃‘0) = (𝑃‘(♯‘𝐹)))) | |
| 27 | 9, 25, 26 | sylanbrc 595 | 1 ⊢ (𝜑 → 𝐹(Cycles‘𝐺)𝑃) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 ∧ w3a 1104 = wceq 1572 ∈ wcel 2151 ≠ wne 2965 ⊆ wss 3902 {cpr 4592 class class class wbr 5111 ‘cfv 6570 0cc0 11243 3c3 12442 ♯chash 14519 〈“cs3 15039 〈“cs4 15040 Vtxcvtx 29644 iEdgciedg 29645 Pathscpths 30365 Cyclesccycls 30442 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2153 ax-9 2161 ax-10 2184 ax-11 2201 ax-12 2220 ax-ext 2741 ax-rep 5241 ax-sep 5258 ax-nul 5269 ax-pow 5337 ax-pr 5401 ax-un 7787 ax-cnex 11299 ax-resscn 11300 ax-1cn 11301 ax-icn 11302 ax-addcl 11303 ax-addrcl 11304 ax-mulcl 11305 ax-mulrcl 11306 ax-mulcom 11307 ax-addass 11308 ax-mulass 11309 ax-distr 11310 ax-i2m1 11311 ax-1ne0 11312 ax-1rid 11313 ax-rnegex 11314 ax-rrecex 11315 ax-cnre 11316 ax-pre-lttri 11317 ax-pre-lttrn 11318 ax-pre-ltadd 11319 ax-pre-mulgt0 11320 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-ifp 1080 df-3or 1105 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2105 df-mo 2571 df-eu 2601 df-clab 2748 df-cleq 2761 df-clel 2845 df-nfc 2919 df-ne 2966 df-nel 3072 df-ral 3087 df-rex 3097 df-reu 3372 df-rab 3419 df-v 3458 df-sbc 3745 df-csb 3854 df-ss 3903 df-pss 4019 df-dif 4052 df-in 4096 df-un 4156 df-nul 4284 df-if 4488 df-pw 4564 df-sn 4591 df-pr 4593 df-tp 4595 df-op 4844 df-uni 4876 df-int 4916 df-iun 4961 df-br 5112 df-opab 5177 df-mpt 5196 df-tr 5222 df-id 5556 df-eprel 5561 df-po 5569 df-so 5570 df-fr 5614 df-we 5616 df-xp 5667 df-rel 5668 df-cnv 5669 df-co 5670 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 df-pred 6334 df-ord 6395 df-on 6396 df-lim 6397 df-suc 6398 df-iota 6524 df-fun 6572 df-fn 6573 df-f 6574 df-f1 6575 df-fo 6576 df-f1o 6577 df-fv 6578 df-riota 7412 df-ov 7458 df-oprab 7459 df-mpo 7460 df-om 7916 df-1st 8039 df-2nd 8040 df-frecs 8341 df-wrecs 8372 df-recs 8421 df-rdg 8460 df-1o 8518 df-er 8759 df-map 8891 df-en 9016 df-dom 9017 df-sdom 9018 df-fin 9019 df-card 10061 df-pnf 11388 df-mnf 11389 df-xr 11390 df-ltxr 11391 df-le 11392 df-sub 11586 df-neg 11587 df-nn 12380 df-2 12449 df-3 12450 df-4 12451 df-n0 12651 df-z 12738 df-uz 13010 df-fz 13684 df-fzo 13833 df-hash 14520 df-word 14704 df-concat 14761 df-s1 14788 df-s2 15045 df-s3 15046 df-s4 15047 df-wlks 30250 df-trls 30345 df-pths 30369 df-cycls 30444 |
| This theorem is used by: 3cyclpd 30850 |
| Copyright terms: Public domain | W3C validator |