| 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 30414 | . . . . . . . . . . . 12 ⊢ (𝑓(Cycles‘𝐺)𝑝 → 𝑓(Paths‘𝐺)𝑝) | |
| 2 | acycgrv.1 | . . . . . . . . . . . . 13 ⊢ 𝑉 = (Vtx‘𝐺) | |
| 3 | 2 | pthhashvtx 30345 | . . . . . . . . . . . 12 ⊢ (𝑓(Paths‘𝐺)𝑝 → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 4 | 1, 3 | syl 18 | . . . . . . . . . . 11 ⊢ (𝑓(Cycles‘𝐺)𝑝 → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 5 | 4 | adantr 486 | . . . . . . . . . 10 ⊢ ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≤ (♯‘𝑉)) |
| 6 | breq2 5110 | . . . . . . . . . . 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 30426 | . . . . . . . . . 10 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝) → (♯‘𝑓) ≠ 1) | |
| 11 | 10 | 3adant3 1150 | . . . . . . . . 9 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → (♯‘𝑓) ≠ 1) |
| 12 | 11 | necomd 3014 | . . . . . . . 8 ⊢ ((𝐺 ∈ UMGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑉) = 1) → 1 ≠ (♯‘𝑓)) |
| 13 | cycliswlk 30416 | . . . . . . . . . 10 ⊢ (𝑓(Cycles‘𝐺)𝑝 → 𝑓(Walks‘𝐺)𝑝) | |
| 14 | wlkcl 30226 | . . . . . . . . . . . 12 ⊢ (𝑓(Walks‘𝐺)𝑝 → (♯‘𝑓) ∈ ℕ0) | |
| 15 | 14 | nn0red 12695 | . . . . . . . . . . 11 ⊢ (𝑓(Walks‘𝐺)𝑝 → (♯‘𝑓) ∈ ℝ) |
| 16 | 1red 11336 | . . . . . . . . . . 11 ⊢ (𝑓(Walks‘𝐺)𝑝 → 1 ∈ ℝ) | |
| 17 | 15, 16 | ltlend 11482 | . . . . . . . . . 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 12788 | . . . . . . . . 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 14534 | . . . . . . 7 ⊢ (𝑓 ∈ V → ((♯‘𝑓) = 0 ↔ 𝑓 = ∅)) | |
| 26 | 25 | elv 3459 | . . . . . 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 1963 | . 2 ⊢ ((𝐺 ∈ UMGraph ∧ (♯‘𝑉) = 1) → ∀𝑓∀𝑝(𝑓(Cycles‘𝐺)𝑝 → 𝑓 = ∅)) |
| 31 | isacycgr1 30782 | . . 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 2147 ≠ wne 2959 Vcvv 3454 ∅c0 4281 class class class wbr 5106 ‘cfv 6558 0cc0 11227 1c1 11228 < clt 11370 ≤ cle 11371 ℕ0cn0 12633 ♯chash 14501 Vtxcvtx 29604 UMGraphcumgr 29689 Walkscwlks 30207 Pathscpths 30325 Cyclesccycls 30402 AcyclicGraphcacycgr 30778 |
| 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 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-rep 5235 ax-sep 5252 ax-nul 5263 ax-pow 5331 ax-pr 5395 ax-un 7775 ax-cnex 11283 ax-resscn 11284 ax-1cn 11285 ax-icn 11286 ax-addcl 11287 ax-addrcl 11288 ax-mulcl 11289 ax-mulrcl 11290 ax-mulcom 11291 ax-addass 11292 ax-mulass 11293 ax-distr 11294 ax-i2m1 11295 ax-1ne0 11296 ax-1rid 11297 ax-rnegex 11298 ax-rrecex 11299 ax-cnre 11300 ax-pre-lttri 11301 ax-pre-lttrn 11302 ax-pre-ltadd 11303 ax-pre-mulgt0 11304 |
| 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 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-nel 3066 df-ral 3081 df-rex 3091 df-reu 3370 df-rab 3417 df-v 3456 df-sbc 3743 df-csb 3852 df-ss 3901 df-pss 4017 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-pw 4562 df-sn 4589 df-pr 4591 df-op 4839 df-uni 4871 df-int 4911 df-iun 4956 df-br 5107 df-opab 5171 df-mpt 5190 df-tr 5216 df-id 5550 df-eprel 5555 df-po 5563 df-so 5564 df-fr 5608 df-we 5610 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-pred 6322 df-ord 6383 df-on 6384 df-lim 6385 df-suc 6386 df-iota 6512 df-fun 6560 df-fn 6561 df-f 6562 df-f1 6563 df-fo 6564 df-f1o 6565 df-fv 6566 df-riota 7400 df-ov 7446 df-oprab 7447 df-mpo 7448 df-om 7902 df-1st 8025 df-2nd 8026 df-frecs 8327 df-wrecs 8358 df-recs 8407 df-rdg 8446 df-1o 8504 df-2o 8505 df-oadd 8508 df-er 8745 df-map 8877 df-pm 8878 df-en 9002 df-dom 9003 df-sdom 9004 df-fin 9005 df-dju 10009 df-card 10047 df-pnf 11372 df-mnf 11373 df-xr 11374 df-ltxr 11375 df-le 11376 df-sub 11570 df-neg 11571 df-nn 12363 df-2 12432 df-n0 12634 df-xnn0 12707 df-z 12721 df-uz 12993 df-fz 13667 df-fzo 13816 df-hash 14502 df-word 14686 df-upgr 29690 df-umgr 29691 df-wlks 30210 df-trls 30305 df-pths 30329 df-cycls 30404 df-acycgr 30779 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |