Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dfclnbgr2 Structured version   Visualization version   GIF version

Theorem dfclnbgr2 47768
Description: Alternate definition of the closed neighborhood of a vertex breaking up the subset relationship of an unordered pair. (Contributed by AV, 7-May-2025.)
Hypotheses
Ref Expression
clnbgrval.v 𝑉 = (Vtx‘𝐺)
clnbgrval.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
dfclnbgr2 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
Distinct variable groups:   𝑒,𝐸   𝑒,𝐺,𝑛   𝑒,𝑁,𝑛   𝑒,𝑉,𝑛
Allowed substitution hint:   𝐸(𝑛)

Proof of Theorem dfclnbgr2
StepHypRef Expression
1 clnbgrval.v . . 3 𝑉 = (Vtx‘𝐺)
2 clnbgrval.e . . 3 𝐸 = (Edg‘𝐺)
31, 2clnbgrval 47767 . 2 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}))
4 prssg 4799 . . . . . . 7 ((𝑁𝑉𝑛 ∈ V) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
54elvd 3469 . . . . . 6 (𝑁𝑉 → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
65bicomd 223 . . . . 5 (𝑁𝑉 → ({𝑁, 𝑛} ⊆ 𝑒 ↔ (𝑁𝑒𝑛𝑒)))
76rexbidv 3166 . . . 4 (𝑁𝑉 → (∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)))
87rabbidv 3427 . . 3 (𝑁𝑉 → {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒} = {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)})
98uneq2d 4148 . 2 (𝑁𝑉 → ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
103, 9eqtrd 2769 1 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1539  wcel 2107  wrex 3059  {crab 3419  Vcvv 3463  cun 3929  wss 3931  {csn 4606  {cpr 4608  cfv 6541  (class class class)co 7413  Vtxcvtx 28941  Edgcedg 28992   ClNeighbVtx cclnbgr 47763
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-sep 5276  ax-nul 5286  ax-pr 5412  ax-un 7737
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-ral 3051  df-rex 3060  df-rab 3420  df-v 3465  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-nul 4314  df-if 4506  df-pw 4582  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4888  df-br 5124  df-opab 5186  df-id 5558  df-xp 5671  df-rel 5672  df-cnv 5673  df-co 5674  df-dm 5675  df-iota 6494  df-fun 6543  df-fv 6549  df-ov 7416  df-oprab 7417  df-mpo 7418  df-clnbgr 47764
This theorem is referenced by:  dfclnbgr4  47769  dfclnbgr5  47794  dfclnbgr6  47800
  Copyright terms: Public domain W3C validator