Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  0uhgrsubgr Structured version   Visualization version   GIF version

Theorem 0uhgrsubgr 27067
 Description: The null graph (as hypergraph) is a subgraph of all graphs. (Contributed by AV, 17-Nov-2020.) (Proof shortened by AV, 28-Nov-2020.)
Assertion
Ref Expression
0uhgrsubgr ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → 𝑆 SubGraph 𝐺)

Proof of Theorem 0uhgrsubgr
StepHypRef Expression
1 3simpa 1145 . 2 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → (𝐺𝑊𝑆 ∈ UHGraph))
2 0ss 4322 . . . 4 ∅ ⊆ (Vtx‘𝐺)
3 sseq1 3967 . . . 4 ((Vtx‘𝑆) = ∅ → ((Vtx‘𝑆) ⊆ (Vtx‘𝐺) ↔ ∅ ⊆ (Vtx‘𝐺)))
42, 3mpbiri 261 . . 3 ((Vtx‘𝑆) = ∅ → (Vtx‘𝑆) ⊆ (Vtx‘𝐺))
543ad2ant3 1132 . 2 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → (Vtx‘𝑆) ⊆ (Vtx‘𝐺))
6 eqid 2822 . . . 4 (iEdg‘𝑆) = (iEdg‘𝑆)
76uhgrfun 26857 . . 3 (𝑆 ∈ UHGraph → Fun (iEdg‘𝑆))
873ad2ant2 1131 . 2 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → Fun (iEdg‘𝑆))
9 edgval 26840 . . 3 (Edg‘𝑆) = ran (iEdg‘𝑆)
10 uhgr0vb 26863 . . . . . . . 8 ((𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → (𝑆 ∈ UHGraph ↔ (iEdg‘𝑆) = ∅))
11 rneq 5783 . . . . . . . . 9 ((iEdg‘𝑆) = ∅ → ran (iEdg‘𝑆) = ran ∅)
12 rn0 5773 . . . . . . . . 9 ran ∅ = ∅
1311, 12syl6eq 2873 . . . . . . . 8 ((iEdg‘𝑆) = ∅ → ran (iEdg‘𝑆) = ∅)
1410, 13syl6bi 256 . . . . . . 7 ((𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → (𝑆 ∈ UHGraph → ran (iEdg‘𝑆) = ∅))
1514ex 416 . . . . . 6 (𝑆 ∈ UHGraph → ((Vtx‘𝑆) = ∅ → (𝑆 ∈ UHGraph → ran (iEdg‘𝑆) = ∅)))
1615pm2.43a 54 . . . . 5 (𝑆 ∈ UHGraph → ((Vtx‘𝑆) = ∅ → ran (iEdg‘𝑆) = ∅))
1716a1i 11 . . . 4 (𝐺𝑊 → (𝑆 ∈ UHGraph → ((Vtx‘𝑆) = ∅ → ran (iEdg‘𝑆) = ∅)))
18173imp 1108 . . 3 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → ran (iEdg‘𝑆) = ∅)
199, 18syl5eq 2869 . 2 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → (Edg‘𝑆) = ∅)
20 egrsubgr 27065 . 2 (((𝐺𝑊𝑆 ∈ UHGraph) ∧ (Vtx‘𝑆) ⊆ (Vtx‘𝐺) ∧ (Fun (iEdg‘𝑆) ∧ (Edg‘𝑆) = ∅)) → 𝑆 SubGraph 𝐺)
211, 5, 8, 19, 20syl112anc 1371 1 ((𝐺𝑊𝑆 ∈ UHGraph ∧ (Vtx‘𝑆) = ∅) → 𝑆 SubGraph 𝐺)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   ∧ w3a 1084   = wceq 1538   ∈ wcel 2114   ⊆ wss 3908  ∅c0 4265   class class class wbr 5042  ran crn 5533  Fun wfun 6328  ‘cfv 6334  Vtxcvtx 26787  iEdgciedg 26788  Edgcedg 26838  UHGraphcuhgr 26847   SubGraph csubgr 27055 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2178  ax-ext 2794  ax-sep 5179  ax-nul 5186  ax-pow 5243  ax-pr 5307  ax-un 7446 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2622  df-eu 2653  df-clab 2801  df-cleq 2815  df-clel 2894  df-nfc 2962  df-ral 3135  df-rex 3136  df-rab 3139  df-v 3471  df-sbc 3748  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4266  df-if 4440  df-pw 4513  df-sn 4540  df-pr 4542  df-op 4546  df-uni 4814  df-br 5043  df-opab 5105  df-mpt 5123  df-id 5437  df-xp 5538  df-rel 5539  df-cnv 5540  df-co 5541  df-dm 5542  df-rn 5543  df-res 5544  df-iota 6293  df-fun 6336  df-fn 6337  df-f 6338  df-fv 6342  df-edg 26839  df-uhgr 26849  df-subgr 27056 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator