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

Theorem nbusgredgeu0 28485
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 765 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝐺 ∈ USGraph)
2 nbusgrf1o1.n . . . . . . . 8 𝑁 = (𝐺 NeighbVtx 𝑈)
32eleq2i 2824 . . . . . . 7 (𝑀𝑁𝑀 ∈ (𝐺 NeighbVtx 𝑈))
4 nbgrsym 28480 . . . . . . . . 9 (𝑀 ∈ (𝐺 NeighbVtx 𝑈) ↔ 𝑈 ∈ (𝐺 NeighbVtx 𝑀))
54a1i 11 . . . . . . . 8 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀 ∈ (𝐺 NeighbVtx 𝑈) ↔ 𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
65biimpd 228 . . . . . . 7 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀 ∈ (𝐺 NeighbVtx 𝑈) → 𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
73, 6biimtrid 241 . . . . . 6 ((𝐺 ∈ USGraph ∧ 𝑈𝑉) → (𝑀𝑁𝑈 ∈ (𝐺 NeighbVtx 𝑀)))
87imp 407 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝑈 ∈ (𝐺 NeighbVtx 𝑀))
9 nbusgrf1o1.e . . . . . 6 𝐸 = (Edg‘𝐺)
109nbusgredgeu 28483 . . . . 5 ((𝐺 ∈ USGraph ∧ 𝑈 ∈ (𝐺 NeighbVtx 𝑀)) → ∃!𝑖𝐸 𝑖 = {𝑈, 𝑀})
111, 8, 10syl2anc 584 . . . 4 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖𝐸 𝑖 = {𝑈, 𝑀})
12 df-reu 3376 . . . 4 (∃!𝑖𝐸 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀}))
1311, 12sylib 217 . . 3 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀}))
14 anass 469 . . . . 5 (((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ (𝑖𝐸 ∧ (𝑈𝑖𝑖 = {𝑈, 𝑀})))
15 prid1g 4754 . . . . . . . . . 10 (𝑈𝑉𝑈 ∈ {𝑈, 𝑀})
1615ad2antlr 725 . . . . . . . . 9 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → 𝑈 ∈ {𝑈, 𝑀})
17 eleq2 2821 . . . . . . . . 9 (𝑖 = {𝑈, 𝑀} → (𝑈𝑖𝑈 ∈ {𝑈, 𝑀}))
1816, 17syl5ibrcom 246 . . . . . . . 8 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (𝑖 = {𝑈, 𝑀} → 𝑈𝑖))
1918pm4.71rd 563 . . . . . . 7 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (𝑖 = {𝑈, 𝑀} ↔ (𝑈𝑖𝑖 = {𝑈, 𝑀})))
2019bicomd 222 . . . . . 6 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ((𝑈𝑖𝑖 = {𝑈, 𝑀}) ↔ 𝑖 = {𝑈, 𝑀}))
2120anbi2d 629 . . . . 5 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ((𝑖𝐸 ∧ (𝑈𝑖𝑖 = {𝑈, 𝑀})) ↔ (𝑖𝐸𝑖 = {𝑈, 𝑀})))
2214, 21bitrid 282 . . . 4 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ (𝑖𝐸𝑖 = {𝑈, 𝑀})))
2322eubidv 2579 . . 3 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → (∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}) ↔ ∃!𝑖(𝑖𝐸𝑖 = {𝑈, 𝑀})))
2413, 23mpbird 256 . 2 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
25 df-reu 3376 . . 3 (∃!𝑖𝐼 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖(𝑖𝐼𝑖 = {𝑈, 𝑀}))
26 eleq2 2821 . . . . . 6 (𝑒 = 𝑖 → (𝑈𝑒𝑈𝑖))
27 nbusgrf1o1.i . . . . . 6 𝐼 = {𝑒𝐸𝑈𝑒}
2826, 27elrab2 3679 . . . . 5 (𝑖𝐼 ↔ (𝑖𝐸𝑈𝑖))
2928anbi1i 624 . . . 4 ((𝑖𝐼𝑖 = {𝑈, 𝑀}) ↔ ((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3029eubii 2578 . . 3 (∃!𝑖(𝑖𝐼𝑖 = {𝑈, 𝑀}) ↔ ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3125, 30bitri 274 . 2 (∃!𝑖𝐼 𝑖 = {𝑈, 𝑀} ↔ ∃!𝑖((𝑖𝐸𝑈𝑖) ∧ 𝑖 = {𝑈, 𝑀}))
3224, 31sylibr 233 1 (((𝐺 ∈ USGraph ∧ 𝑈𝑉) ∧ 𝑀𝑁) → ∃!𝑖𝐼 𝑖 = {𝑈, 𝑀})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1541  wcel 2106  ∃!weu 2561  ∃!wreu 3373  {crab 3429  {cpr 4621  cfv 6529  (class class class)co 7390  Vtxcvtx 28116  Edgcedg 28167  USGraphcusgr 28269   NeighbVtx cnbgr 28449
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5289  ax-nul 5296  ax-pow 5353  ax-pr 5417  ax-un 7705  ax-cnex 11145  ax-resscn 11146  ax-1cn 11147  ax-icn 11148  ax-addcl 11149  ax-addrcl 11150  ax-mulcl 11151  ax-mulrcl 11152  ax-mulcom 11153  ax-addass 11154  ax-mulass 11155  ax-distr 11156  ax-i2m1 11157  ax-1ne0 11158  ax-1rid 11159  ax-rnegex 11160  ax-rrecex 11161  ax-cnre 11162  ax-pre-lttri 11163  ax-pre-lttrn 11164  ax-pre-ltadd 11165  ax-pre-mulgt0 11166
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-rmo 3375  df-reu 3376  df-rab 3430  df-v 3472  df-sbc 3771  df-csb 3887  df-dif 3944  df-un 3946  df-in 3948  df-ss 3958  df-pss 3960  df-nul 4316  df-if 4520  df-pw 4595  df-sn 4620  df-pr 4622  df-op 4626  df-uni 4899  df-int 4941  df-iun 4989  df-br 5139  df-opab 5201  df-mpt 5222  df-tr 5256  df-id 5564  df-eprel 5570  df-po 5578  df-so 5579  df-fr 5621  df-we 5623  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6286  df-ord 6353  df-on 6354  df-lim 6355  df-suc 6356  df-iota 6481  df-fun 6531  df-fn 6532  df-f 6533  df-f1 6534  df-fo 6535  df-f1o 6536  df-fv 6537  df-riota 7346  df-ov 7393  df-oprab 7394  df-mpo 7395  df-om 7836  df-1st 7954  df-2nd 7955  df-frecs 8245  df-wrecs 8276  df-recs 8350  df-rdg 8389  df-1o 8445  df-2o 8446  df-oadd 8449  df-er 8683  df-en 8920  df-dom 8921  df-sdom 8922  df-fin 8923  df-dju 9875  df-card 9913  df-pnf 11229  df-mnf 11230  df-xr 11231  df-ltxr 11232  df-le 11233  df-sub 11425  df-neg 11426  df-nn 12192  df-2 12254  df-n0 12452  df-xnn0 12524  df-z 12538  df-uz 12802  df-fz 13464  df-hash 14270  df-edg 28168  df-upgr 28202  df-umgr 28203  df-usgr 28271  df-nbgr 28450
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator