| Mathbox for BTernaryTau |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > acycgr1v | Structured version Visualization version GIF version | ||
| Description: A multigraph with one vertex is an acyclic graph. (Contributed by BTernaryTau, 12-Oct-2023.) |
| Ref | Expression |
|---|---|
| acycgrv.1 | ⊢ 𝑉 = (Vtx‘𝐺) |
| Ref | Expression |
|---|---|
| acycgr1v | ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → 𝐺 ∈ AcyclicGraph) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | cyclispth 30176 | . . . . . . . . . . . 12 ⊢ (𝑓(Cycles‘𝐺)𝑝 → 𝑓(Paths‘𝐺)𝑝) | |
| 2 | acycgrv.1 | . . . . . . . . . . . . 13 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 3 | 2 | pthhashvtx 35633 | . . . . . . . . . . . 12 ⊢ (𝑓(Paths‘𝐺)𝑝 → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 4 | 1, 3 | syl 18 | . . . . . . . . . . 11 ⊢ (𝑓(Cycles‘𝐺)𝑝 → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 5 | 4 | adantr 486 | . . . . . . . . . 10 ⊢ ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 6 | breq2 5118 | . . . . . . . . . . 11 ⊢ ((♯‘𝑉) = 1 → ((♯‘𝑓) ≤ (♯‘𝑉) ↔ (♯‘𝑓) ≤ 1)) | |
| 7 | 6 | adantl 487 | . . . . . . . . . 10 ⊢ ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → ((♯‘𝑓) ≤ (♯‘𝑉) ↔ (♯‘𝑓) ≤ 1)) |
| 8 | 5, 7 | mpbid 235 | . . . . . . . . 9 ⊢ ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≤ 1) |
| 9 | 8 | 3adant1 1148 | . . . . . . . 8 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≤ 1) |
| 10 | umgrn1cycl 30186 | . . . . . . . . . 10 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝) → (♯‘𝑓) ≠ 1) | |
| 11 | 10 | 3adant3 1150 | . . . . . . . . 9 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≠ 1) |
| 12 | 11 | necomd 3016 | . . . . . . . 8 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → 1 ≠ (♯‘𝑓)) |
| 13 | cycliswlk 30177 | . . . . . . . . . 10 ⊢ (𝑓(Cycles‘𝐺)𝑝 → 𝑓(Walks‘𝐺)𝑝) | |
| 14 | wlkcl 29995 | . . . . . . . . . . . 12 ⊢ (𝑓(Walks‘𝐺)𝑝 → (♯‘𝑓) ∈ ℕ0) | |
| 15 | 14 | nn0red 12584 | . . . . . . . . . . 11 ⊢ (𝑓(Walks‘𝐺)𝑝 → (♯‘𝑓) ∈ ℝ) |
| 16 | 1red 11227 | . . . . . . . . . . 11 ⊢ (𝑓(Walks‘𝐺)𝑝 → 1 ∈ ℝ) | |
| 17 | 15, 16 | ltlend 11373 | . . . . . . . . . 10 ⊢ (𝑓(Walks‘𝐺)𝑝 → ((♯‘𝑓) < 1 ↔ ((♯‘𝑓) ≤ 1 ∧ 1 ≠ (♯‘𝑓)))) |
| 18 | 13, 17 | syl 18 | . . . . . . . . 9 ⊢ (𝑓(Cycles‘𝐺)𝑝 → ((♯‘𝑓) < 1 ↔ ((♯‘𝑓) ≤ 1 ∧ 1 ≠ (♯‘𝑓)))) |
| 19 | 18 | 3ad2ant2 1152 | . . . . . . . 8 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → ((♯‘𝑓) < 1 ↔ ((♯‘𝑓) ≤ 1 ∧ 1 ≠ (♯‘𝑓)))) |
| 20 | 9, 12, 19 | mpbir2and 726 | . . . . . . 7 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) < 1) |
| 21 | nn0lt10b 12676 | . . . . . . . . 9 ⊢ ((♯‘𝑓) ∈ ℕ0 → ((♯‘𝑓) < 1 ↔ (♯‘𝑓) = 0)) | |
| 22 | 13, 14, 21 | 3syl 19 | . . . . . . . 8 ⊢ (𝑓(Cycles‘𝐺)𝑝 → ((♯‘𝑓) < 1 ↔ (♯‘𝑓) = 0)) |
| 23 | 22 | 3ad2ant2 1152 | . . . . . . 7 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → ((♯‘𝑓) < 1 ↔ (♯‘𝑓) = 0)) |
| 24 | 20, 23 | mpbid 235 | . . . . . 6 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) = 0) |
| 25 | hasheq0 14419 | . . . . . . 7 ⊢ (𝑓 ∈ V → ((♯‘𝑓) = 0 ↔ 𝑓 = ∅)) | |
| 26 | 25 | elv 3463 | . . . . . 6 ⊢ ((♯‘𝑓) = 0 ↔ 𝑓 = ∅) |
| 27 | 24, 26 | sylib 221 | . . . . 5 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → 𝑓 = ∅) |
| 28 | 27 | 3com23 1144 | . . . 4 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1 ∧ 𝑓(Cycles‘𝐺)𝑝) → 𝑓 = ∅) |
| 29 | 28 | 3expia 1139 | . . 3 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → (𝑓(Cycles‘𝐺)𝑝 → 𝑓 = ∅)) |
| 30 | 29 | alrimivv 1961 | . 2 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → ∀𝑓∀𝑝(𝑓(Cycles‘𝐺)𝑝 → 𝑓 = ∅)) |
| 31 | isacycgr1 35651 | . . 3 ⊢ (𝐺 ∈ UMGraph → (𝐺 ∈ AcyclicGraph ↔ ∀𝑓∀𝑝(𝑓(Cycles‘𝐺)𝑝 → 𝑓 = ∅))) | |
| 32 | 31 | adantr 486 | . 2 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → (𝐺 ∈ AcyclicGraph ↔ ∀𝑓∀𝑝(𝑓(Cycles‘𝐺)𝑝 → 𝑓 = ∅))) |
| 33 | 30, 32 | mpbird 260 | 1 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → 𝐺 ∈ AcyclicGraph) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ↔ wb 209 ∧ wa 401 ∧ w3a 1103 ∀wal 1568 = wceq 1570 ∈ wcel 2146 ≠ wne 2961 Vcvv 3458 ∅c0 4289 class class class wbr 5114 ‘cfv 6543 0cc0 11118 1c1 11119 < clt 11261 ≤ cle 11262 ℕ0cn0 12522 ♯chash 14386 Vtxcvtx 29376 UMGraphcumgr 29461 Walkscwlks 29976 Pathscpths 30089 Cyclesccycls 30164 AcyclicGraphcacycgr 35647 |
| 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 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-rep 5243 ax-sep 5262 ax-nul 5274 ax-pow 5341 ax-pr 5409 ax-un 7745 ax-cnex 11174 ax-resscn 11175 ax-1cn 11176 ax-icn 11177 ax-addcl 11178 ax-addrcl 11179 ax-mulcl 11180 ax-mulrcl 11181 ax-mulcom 11182 ax-addass 11183 ax-mulass 11184 ax-distr 11185 ax-i2m1 11186 ax-1ne0 11187 ax-1rid 11188 ax-rnegex 11189 ax-rrecex 11190 ax-cnre 11191 ax-pre-lttri 11192 ax-pre-lttrn 11193 ax-pre-ltadd 11194 ax-pre-mulgt0 11195 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-ifp 1079 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-nel 3068 df-ral 3083 df-rex 3093 df-reu 3373 df-rab 3420 df-v 3460 df-sbc 3748 df-csb 3857 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-pss 3928 df-nul 4290 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-int 4918 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-tr 5224 df-id 5561 df-eprel 5566 df-po 5574 df-so 5575 df-fr 5619 df-we 5621 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-res 5678 df-ima 5679 df-pred 6309 df-ord 6370 df-on 6371 df-lim 6372 df-suc 6373 df-iota 6499 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-riota 7380 df-ov 7426 df-oprab 7427 df-mpo 7428 df-om 7872 df-1st 7995 df-2nd 7996 df-frecs 8287 df-wrecs 8318 df-recs 8367 df-rdg 8406 df-1o 8462 df-2o 8463 df-oadd 8466 df-er 8703 df-map 8835 df-pm 8836 df-en 8953 df-dom 8954 df-sdom 8955 df-fin 8956 df-dju 9906 df-card 9944 df-pnf 11263 df-mnf 11264 df-xr 11265 df-ltxr 11266 df-le 11267 df-sub 11461 df-neg 11462 df-nn 12252 df-2 12321 df-n0 12523 df-xnn0 12596 df-z 12610 df-uz 12881 df-fz 13554 df-fzo 13702 df-hash 14387 df-word 14571 df-upgr 29462 df-umgr 29463 df-wlks 29979 df-trls 30070 df-pths 30093 df-cycls 30166 df-acycgr 35648 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |