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

Theorem umgr2v2eedg 29671
Description: The set of edges in a multigraph with two edges connecting the same two vertices. (Contributed by AV, 17-Dec-2020.)
Hypothesis
Ref Expression
umgr2v2evtx.g 𝐺 = ⟨𝑉, {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩}⟩
Assertion
Ref Expression
umgr2v2eedg ((𝑉𝑊𝐴𝑉𝐵𝑉) → (Edg‘𝐺) = {{𝐴, 𝐵}})

Proof of Theorem umgr2v2eedg
StepHypRef Expression
1 edgval 29196 . . 3 (Edg‘𝐺) = ran (iEdg‘𝐺)
21a1i 11 . 2 ((𝑉𝑊𝐴𝑉𝐵𝑉) → (Edg‘𝐺) = ran (iEdg‘𝐺))
3 umgr2v2evtx.g . . . 4 𝐺 = ⟨𝑉, {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩}⟩
43umgr2v2eiedg 29670 . . 3 ((𝑉𝑊𝐴𝑉𝐵𝑉) → (iEdg‘𝐺) = {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩})
54rneqd 5912 . 2 ((𝑉𝑊𝐴𝑉𝐵𝑉) → ran (iEdg‘𝐺) = ran {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩})
6 c0ex 11170 . . . . 5 0 ∈ V
7 1ex 11173 . . . . 5 1 ∈ V
8 rnpropg 6205 . . . . 5 ((0 ∈ V ∧ 1 ∈ V) → ran {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩} = {{𝐴, 𝐵}, {𝐴, 𝐵}})
96, 7, 8mp2an 702 . . . 4 ran {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩} = {{𝐴, 𝐵}, {𝐴, 𝐵}}
109a1i 11 . . 3 ((𝑉𝑊𝐴𝑉𝐵𝑉) → ran {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩} = {{𝐴, 𝐵}, {𝐴, 𝐵}})
11 dfsn2 4594 . . 3 {{𝐴, 𝐵}} = {{𝐴, 𝐵}, {𝐴, 𝐵}}
1210, 11eqtr4di 2814 . 2 ((𝑉𝑊𝐴𝑉𝐵𝑉) → ran {⟨0, {𝐴, 𝐵}⟩, ⟨1, {𝐴, 𝐵}⟩} = {{𝐴, 𝐵}})
132, 5, 123eqtrd 2800 1 ((𝑉𝑊𝐴𝑉𝐵𝑉) → (Edg‘𝐺) = {{𝐴, 𝐵}})
Colors of variables: wff setvar class
Syntax hints:  wi 4  w3a 1097   = wceq 1559  wcel 2141  Vcvv 3453  {csn 4581  {cpr 4583  cop 4587  ran crn 5646  cfv 6517  0cc0 11070  1c1 11071  iEdgciedg 29144  Edgcedg 29194
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1814  ax-4 1828  ax-5 1929  ax-6 1986  ax-7 2027  ax-8 2143  ax-9 2151  ax-10 2174  ax-11 2190  ax-12 2211  ax-ext 2733  ax-sep 5245  ax-nul 5255  ax-pr 5389  ax-un 7714  ax-1cn 11128  ax-icn 11129  ax-addcl 11130  ax-mulcl 11132  ax-i2m1 11138
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3an 1099  df-tru 1562  df-fal 1572  df-ex 1799  df-nf 1803  df-sb 2090  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3076  df-rex 3086  df-rab 3414  df-v 3455  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4480  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-br 5100  df-opab 5162  df-mpt 5181  df-id 5540  df-xp 5651  df-rel 5652  df-cnv 5653  df-co 5654  df-dm 5655  df-rn 5656  df-iota 6473  df-fun 6519  df-fv 6525  df-2nd 7967  df-iedg 29146  df-edg 29195
This theorem is referenced by:  umgr2v2enb1  29673
  Copyright terms: Public domain W3C validator