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

Theorem edg0iedg0 26852
Description: There is no edge in a graph iff its edge function is empty. (Contributed by AV, 15-Dec-2020.) (Revised by AV, 8-Dec-2021.)
Hypotheses
Ref Expression
edg0iedg0.i 𝐼 = (iEdg‘𝐺)
edg0iedg0.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
edg0iedg0 (Fun 𝐼 → (𝐸 = ∅ ↔ 𝐼 = ∅))

Proof of Theorem edg0iedg0
StepHypRef Expression
1 edg0iedg0.e . . . . 5 𝐸 = (Edg‘𝐺)
2 edgval 26846 . . . . 5 (Edg‘𝐺) = ran (iEdg‘𝐺)
31, 2eqtri 2824 . . . 4 𝐸 = ran (iEdg‘𝐺)
43eqeq1i 2806 . . 3 (𝐸 = ∅ ↔ ran (iEdg‘𝐺) = ∅)
54a1i 11 . 2 (Fun 𝐼 → (𝐸 = ∅ ↔ ran (iEdg‘𝐺) = ∅))
6 edg0iedg0.i . . . . . 6 𝐼 = (iEdg‘𝐺)
76eqcomi 2810 . . . . 5 (iEdg‘𝐺) = 𝐼
87rneqi 5775 . . . 4 ran (iEdg‘𝐺) = ran 𝐼
98eqeq1i 2806 . . 3 (ran (iEdg‘𝐺) = ∅ ↔ ran 𝐼 = ∅)
109a1i 11 . 2 (Fun 𝐼 → (ran (iEdg‘𝐺) = ∅ ↔ ran 𝐼 = ∅))
11 funrel 6345 . . 3 (Fun 𝐼 → Rel 𝐼)
12 relrn0 5809 . . . 4 (Rel 𝐼 → (𝐼 = ∅ ↔ ran 𝐼 = ∅))
1312bicomd 226 . . 3 (Rel 𝐼 → (ran 𝐼 = ∅ ↔ 𝐼 = ∅))
1411, 13syl 17 . 2 (Fun 𝐼 → (ran 𝐼 = ∅ ↔ 𝐼 = ∅))
155, 10, 143bitrd 308 1 (Fun 𝐼 → (𝐸 = ∅ ↔ 𝐼 = ∅))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209   = wceq 1538  c0 4246  ran crn 5524  Rel wrel 5528  Fun wfun 6322  cfv 6328  iEdgciedg 26794  Edgcedg 26844
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 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2773  ax-sep 5170  ax-nul 5177  ax-pow 5234  ax-pr 5298  ax-un 7445
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 2601  df-eu 2632  df-clab 2780  df-cleq 2794  df-clel 2873  df-nfc 2941  df-ral 3114  df-rex 3115  df-rab 3118  df-v 3446  df-sbc 3724  df-dif 3887  df-un 3889  df-in 3891  df-ss 3901  df-nul 4247  df-if 4429  df-sn 4529  df-pr 4531  df-op 4535  df-uni 4804  df-br 5034  df-opab 5096  df-mpt 5114  df-id 5428  df-xp 5529  df-rel 5530  df-cnv 5531  df-co 5532  df-dm 5533  df-rn 5534  df-iota 6287  df-fun 6330  df-fv 6336  df-edg 26845
This theorem is referenced by:  uhgriedg0edg0  26924  egrsubgr  27071  vtxduhgr0e  27272
  Copyright terms: Public domain W3C validator