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

Theorem nbusgredgeu0 27158
Description: For each neighbor of a vertex there is exactly one edge between the vertex and its neighbor in a simple graph. (Contributed by Alexander van der Vekens, 17-Dec-2017.) (Revised by AV, 27-Oct-2020.) (Proof shortened by AV, 13-Feb-2022.)
Hypotheses
Ref Expression
nbusgrf1o1.v 𝑉 = (Vtx‘𝐺)
nbusgrf1o1.e 𝐸 = (Edg‘𝐺)
nbusgrf1o1.n 𝑁 = (𝐺 NeighbVtx 𝑈)
nbusgrf1o1.i 𝐼 = {𝑒𝐸𝑈𝑒}
Assertion
Ref Expression
nbusgredgeu0 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖𝐼 𝑖 = {𝑈, 𝑀})
Distinct variable groups:   𝑖,𝐸,𝑒   𝑖,𝐺   𝑖,𝑀   𝑖,𝑁   𝑈,𝑖,𝑒   𝑖,𝑉
Allowed substitution hints:   𝐺(𝑒)   𝐼(𝑒,𝑖)   𝑀(𝑒)   𝑁(𝑒)   𝑉(𝑒)

Proof of Theorem nbusgredgeu0
StepHypRef Expression
1 simpll 766 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝐺 ∈ USGraph)
2 nbusgrf1o1.n . . . . . . . 8 𝑁 = (𝐺 NeighbVtx 𝑈)
32eleq2i 2881 . . . . . . 7 (𝑀𝑁𝑀 ∈ (𝐺 NeighbVtx 𝑈))
4 nbgrsym 27153 . . . . . . . . 9 (𝑀 ∈ (𝐺 NeighbVtx 𝑈) ↔ 𝑈 ∈ (𝐺 NeighbVtx 𝑀))
54a1i 11 . . . . . . . 8 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀 ∈ (𝐺 NeighbVtx 𝑈) ↔ 𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
65biimpd 232 . . . . . . 7 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀 ∈ (𝐺 NeighbVtx 𝑈) → 𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
73, 6syl5bi 245 . . . . . 6 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀𝑁𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
87imp 410 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝑈 ∈ (𝐺 NeighbVtx 𝑀))
9 nbusgrf1o1.e . . . . . 6 𝐸 = (Edg‘𝐺)
109nbusgredgeu 27156 . . . . 5 ((𝐺 ∈ USGraph ∧ 𝑈 ∈ (𝐺 NeighbVtx 𝑀)) → ∃!𝑖𝐸 𝑖 = {𝑈, 𝑀})
111, 8, 10syl2anc 587 . . . 4 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖𝐸 𝑖 = {𝑈, 𝑀})
12 df-reu 3113 . . . 4 (∃!𝑖𝐸 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀}))
1311, 12sylib 221 . . 3 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀}))
14 anass 472 . . . . 5 (((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ (𝑖𝐸 ∧ (𝑈𝑖𝑖 = {𝑈, 𝑀})))
15 prid1g 4656 . . . . . . . . . 10 (𝑈𝑉𝑈 ∈ {𝑈, 𝑀})
1615ad2antlr 726 . . . . . . . . 9 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝑈 ∈ {𝑈, 𝑀})
17 eleq2 2878 . . . . . . . . 9 (𝑖 = {𝑈, 𝑀} → (𝑈𝑖𝑈 ∈ {𝑈, 𝑀}))
1816, 17syl5ibrcom 250 . . . . . . . 8 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (𝑖 = {𝑈, 𝑀} → 𝑈𝑖))
1918pm4.71rd 566 . . . . . . 7 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (𝑖 = {𝑈, 𝑀} ↔ (𝑈𝑖𝑖 = {𝑈, 𝑀})))
2019bicomd 226 . . . . . 6 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ((𝑈𝑖𝑖 = {𝑈, 𝑀}) ↔ 𝑖 = {𝑈, 𝑀}))
2120anbi2d 631 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ((𝑖𝐸 ∧ (𝑈𝑖𝑖 = {𝑈, 𝑀})) ↔ (𝑖𝐸𝑖 = {𝑈, 𝑀})))
2214, 21syl5bb 286 . . . 4 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ (𝑖𝐸𝑖 = {𝑈, 𝑀})))
2322eubidv 2647 . . 3 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀})))
2413, 23mpbird 260 . 2 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
25 df-reu 3113 . . 3 (∃!𝑖𝐼 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖(𝑖𝐼𝑖 = {𝑈, 𝑀}))
26 eleq2 2878 . . . . . 6 (𝑒 = 𝑖 → (𝑈𝑒𝑈𝑖))
27 nbusgrf1o1.i . . . . . 6 𝐼 = {𝑒𝐸𝑈𝑒}
2826, 27elrab2 3631 . . . . 5 (𝑖𝐼 ↔ (𝑖𝐸𝑈𝑖))
2928anbi1i 626 . . . 4 ((𝑖𝐼𝑖 = {𝑈, 𝑀}) ↔ ((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3029eubii 2645 . . 3 (∃!𝑖(𝑖𝐼𝑖 = {𝑈, 𝑀}) ↔ ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3125, 30bitri 278 . 2 (∃!𝑖𝐼 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3224, 31sylibr 237 1 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖𝐼 𝑖 = {𝑈, 𝑀})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  ∃!weu 2628  ∃!wreu 3108  {crab 3110  {cpr 4527  cfv 6324  (class class class)co 7135  Vtxcvtx 26789  Edgcedg 26840  USGraphcusgr 26942   NeighbVtx cnbgr 27122
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 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-2o 8086  df-oadd 8089  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496  df-dju 9314  df-card 9352  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-2 11688  df-n0 11886  df-xnn0 11956  df-z 11970  df-uz 12232  df-fz 12886  df-hash 13687  df-edg 26841  df-upgr 26875  df-umgr 26876  df-usgr 26944  df-nbgr 27123
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator