| 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 2734 | . . . 4 ⊢ (Vtx‘𝐺) = (Vtx‘𝐺) | |
| 2 | eqid 2734 | . . . 4 ⊢ (iEdg‘𝐺) = (iEdg‘𝐺) | |
| 3 | 1, 2 | uhgrf 28973 | . . 3 ⊢ (𝐺 ∈ UHGraph → (iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅})) |
| 4 | pweq 4587 | . . . . . . . 8 ⊢ ((Vtx‘𝐺) = ∅ → 𝒫 (Vtx‘𝐺) = 𝒫 ∅) | |
| 5 | 4 | difeq1d 4098 | . . . . . . 7 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = (𝒫 ∅ ∖ {∅})) |
| 6 | pw0 4785 | . . . . . . . . 9 ⊢ 𝒫 ∅ = {∅} | |
| 7 | 6 | difeq1i 4095 | . . . . . . . 8 ⊢ (𝒫 ∅ ∖ {∅}) = ({∅} ∖ {∅}) |
| 8 | difid 4349 | . . . . . . . 8 ⊢ ({∅} ∖ {∅}) = ∅ | |
| 9 | 7, 8 | eqtri 2757 | . . . . . . 7 ⊢ (𝒫 ∅ ∖ {∅}) = ∅ |
| 10 | 5, 9 | eqtrdi 2785 | . . . . . 6 ⊢ ((Vtx‘𝐺) = ∅ → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 11 | 10 | adantl 481 | . . . . 5 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → (𝒫 (Vtx‘𝐺) ∖ {∅}) = ∅) |
| 12 | 11 | feq3d 6689 | . . . 4 ⊢ ((𝐺 ∈ 𝑊 ∧ (Vtx‘𝐺) = ∅) → ((iEdg‘𝐺):dom (iEdg‘𝐺)⟶(𝒫 (Vtx‘𝐺) ∖ {∅}) ↔ (iEdg‘𝐺):dom (iEdg‘𝐺)⟶∅)) |
| 13 | f00 6756 | . . . . 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 28982 | . . . 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 1539 ∈ wcel 2107 ∖ cdif 3921 ∅c0 4306 𝒫 cpw 4573 {csn 4599 dom cdm 5651 ⟶wf 6523 ‘cfv 6527 Vtxcvtx 28907 iEdgciedg 28908 UHGraphcuhgr 28967 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1794 ax-4 1808 ax-5 1909 ax-6 1966 ax-7 2006 ax-8 2109 ax-9 2117 ax-10 2140 ax-11 2156 ax-12 2176 ax-ext 2706 ax-sep 5263 ax-nul 5273 ax-pr 5399 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1779 df-nf 1783 df-sb 2064 df-mo 2538 df-clab 2713 df-cleq 2726 df-clel 2808 df-ne 2932 df-ral 3051 df-rex 3060 df-rab 3414 df-v 3459 df-sbc 3764 df-dif 3927 df-un 3929 df-ss 3941 df-nul 4307 df-if 4499 df-pw 4575 df-sn 4600 df-pr 4602 df-op 4606 df-uni 4881 df-br 5117 df-opab 5179 df-id 5545 df-xp 5657 df-rel 5658 df-cnv 5659 df-co 5660 df-dm 5661 df-rn 5662 df-iota 6480 df-fun 6529 df-fn 6530 df-f 6531 df-fv 6535 df-uhgr 28969 |
| This theorem is referenced by: usgr0vb 29148 uhgr0v0e 29149 0uhgrsubgr 29190 finsumvtxdg2size 29462 0uhgrrusgr 29490 frgr0v 30175 frgruhgr0v 30177 |
| Copyright terms: Public domain | W3C validator |