| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > uhgr0vb | Structured version Visualization version GIF version | ||
| Description: The null graph, with no vertices, is a hypergraph if and only if the edge function is empty. (Contributed by Alexander van der Vekens, 27-Dec-2017.) (Revised by AV, 9-Oct-2020.) |
| Ref | Expression |
|---|---|
| uhgr0vb | ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ UHGraph ↔ (iEdg‘𝐺) = ∅)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eqid 2735 | . . . 4 ⊢ (Vtx‘𝐺) = (Vtx‘𝐺) | |
| 2 | eqid 2735 | . . . 4 ⊢ (iEdg‘𝐺) = (iEdg‘𝐺) | |
| 3 | 1, 2 | uhgrf 29041 | . . 3 ⊢ (𝐺 ∈ UHGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅})) |
| 4 | pweq 4589 | . . . . . . . 8 ⊢ ((Vtx‘𝐺) = ∅ → 𝒫 (Vtx‘𝐺) = 𝒫 ∅) | |
| 5 | 4 | difeq1d 4100 | . . . . . . 7 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = (𝒫 ∅ ∖ {∅})) |
| 6 | pw0 4788 | . . . . . . . . 9 ⊢ 𝒫 ∅ = {∅} | |
| 7 | 6 | difeq1i 4097 | . . . . . . . 8 ⊢ (𝒫 ∅ ∖ {∅}) = ({∅} ∖ {∅}) |
| 8 | difid 4351 | . . . . . . . 8 ⊢ ({∅} ∖ {∅}) = ∅ | |
| 9 | 7, 8 | eqtri 2758 | . . . . . . 7 ⊢ (𝒫 ∅ ∖ {∅}) = ∅ |
| 10 | 5, 9 | eqtrdi 2786 | . . . . . 6 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 11 | 10 | adantl 481 | . . . . 5 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 12 | 11 | feq3d 6693 | . . . 4 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅}) ↔ (iEdg‘𝐺):dom (iEdg‘𝐺)⟶∅)) |
| 13 | f00 6760 | . . . . 5 ⊢ ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶∅ ↔ ((iEdg‘𝐺) = ∅ ∧ dom (iEdg‘𝐺) = ∅)) | |
| 14 | 13 | simplbi 497 | . . . 4 ⊢ ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶∅ → (iEdg‘𝐺) = ∅) |
| 15 | 12, 14 | biimtrdi 253 | . . 3 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅}) → (iEdg‘𝐺) = ∅)) |
| 16 | 3, 15 | syl5 34 | . 2 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ UHGraph → (iEdg‘𝐺) = ∅)) |
| 17 | simpl 482 | . . . . 5 ⊢ ((𝐺 ∈ 𝑊 ∧ (iEdg‘𝐺) = ∅) → 𝐺 ∈ 𝑊) | |
| 18 | simpr 484 | . . . . 5 ⊢ ((𝐺 ∈ 𝑊 ∧ (iEdg‘𝐺) = ∅) → (iEdg‘𝐺) = ∅) | |
| 19 | 17, 18 | uhgr0e 29050 | . . . 4 ⊢ ((𝐺 ∈ 𝑊 ∧ (iEdg‘𝐺) = ∅) → 𝐺 ∈ UHGraph) |
| 20 | 19 | ex 412 | . . 3 ⊢ (𝐺 ∈ 𝑊 → ((iEdg‘𝐺) = ∅ → 𝐺 ∈ UHGraph)) |
| 21 | 20 | adantr 480 | . 2 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺) = ∅ → 𝐺 ∈ UHGraph)) |
| 22 | 16, 21 | impbid 212 | 1 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝐺 ∈ UHGraph ↔ (iEdg‘𝐺) = ∅)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 = wceq 1540 ∈ wcel 2108 ∖ cdif 3923 ∅c0 4308 𝒫 cpw 4575 {csn 4601 dom cdm 5654 ⟶wf 6527 ‘cfv 6531 Vtxcvtx 28975 iEdgciedg 28976 UHGraphcuhgr 29035 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2157 ax-12 2177 ax-ext 2707 ax-sep 5266 ax-nul 5276 ax-pr 5402 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2065 df-mo 2539 df-clab 2714 df-cleq 2727 df-clel 2809 df-ne 2933 df-ral 3052 df-rex 3061 df-rab 3416 df-v 3461 df-sbc 3766 df-dif 3929 df-un 3931 df-ss 3943 df-nul 4309 df-if 4501 df-pw 4577 df-sn 4602 df-pr 4604 df-op 4608 df-uni 4884 df-br 5120 df-opab 5182 df-id 5548 df-xp 5660 df-rel 5661 df-cnv 5662 df-co 5663 df-dm 5664 df-rn 5665 df-iota 6484 df-fun 6533 df-fn 6534 df-f 6535 df-fv 6539 df-uhgr 29037 |
| This theorem is referenced by: usgr0vb 29216 uhgr0v0e 29217 0uhgrsubgr 29258 finsumvtxdg2size 29530 0uhgrrusgr 29558 frgr0v 30243 frgruhgr0v 30245 |
| Copyright terms: Public domain | W3C validator |