| 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 2730 | . . . 4 ⊢ (Vtx‘𝐺) = (Vtx‘𝐺) | |
| 2 | eqid 2730 | . . . 4 ⊢ (iEdg‘𝐺) = (iEdg‘𝐺) | |
| 3 | 1, 2 | uhgrf 28996 | . . 3 ⊢ (𝐺 ∈ UHGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅})) |
| 4 | pweq 4580 | . . . . . . . 8 ⊢ ((Vtx‘𝐺) = ∅ → 𝒫 (Vtx‘𝐺) = 𝒫 ∅) | |
| 5 | 4 | difeq1d 4091 | . . . . . . 7 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = (𝒫 ∅ ∖ {∅})) |
| 6 | pw0 4779 | . . . . . . . . 9 ⊢ 𝒫 ∅ = {∅} | |
| 7 | 6 | difeq1i 4088 | . . . . . . . 8 ⊢ (𝒫 ∅ ∖ {∅}) = ({∅} ∖ {∅}) |
| 8 | difid 4342 | . . . . . . . 8 ⊢ ({∅} ∖ {∅}) = ∅ | |
| 9 | 7, 8 | eqtri 2753 | . . . . . . 7 ⊢ (𝒫 ∅ ∖ {∅}) = ∅ |
| 10 | 5, 9 | eqtrdi 2781 | . . . . . 6 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 11 | 10 | adantl 481 | . . . . 5 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 12 | 11 | feq3d 6676 | . . . 4 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅}) ↔ (iEdg‘𝐺):dom (iEdg‘𝐺)⟶∅)) |
| 13 | f00 6745 | . . . . 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 29005 | . . . 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 2109 ∖ cdif 3914 ∅c0 4299 𝒫 cpw 4566 {csn 4592 dom cdm 5641 ⟶wf 6510 ‘cfv 6514 Vtxcvtx 28930 iEdgciedg 28931 UHGraphcuhgr 28990 |
| 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 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| 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 2066 df-mo 2534 df-clab 2709 df-cleq 2722 df-clel 2804 df-ne 2927 df-ral 3046 df-rex 3055 df-rab 3409 df-v 3452 df-sbc 3757 df-dif 3920 df-un 3922 df-ss 3934 df-nul 4300 df-if 4492 df-pw 4568 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-br 5111 df-opab 5173 df-id 5536 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-iota 6467 df-fun 6516 df-fn 6517 df-f 6518 df-fv 6522 df-uhgr 28992 |
| This theorem is referenced by: usgr0vb 29171 uhgr0v0e 29172 0uhgrsubgr 29213 finsumvtxdg2size 29485 0uhgrrusgr 29513 frgr0v 30198 frgruhgr0v 30200 |
| Copyright terms: Public domain | W3C validator |