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 47807
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 47806 . 2 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}))
4 prssg 4770 . . . . . . 7 ((𝑁𝑉𝑛 ∈ V) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
54elvd 3442 . . . . . 6 (𝑁𝑉 → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
65bicomd 223 . . . . 5 (𝑁𝑉 → ({𝑁, 𝑛} ⊆ 𝑒 ↔ (𝑁𝑒𝑛𝑒)))
76rexbidv 3153 . . . 4 (𝑁𝑉 → (∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)))
87rabbidv 3402 . . 3 (𝑁𝑉 → {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒} = {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)})
98uneq2d 4119 . 2 (𝑁𝑉 → ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
103, 9eqtrd 2764 1 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2109  wrex 3053  {crab 3394  Vcvv 3436  cun 3901  wss 3903  {csn 4577  {cpr 4579  cfv 6482  (class class class)co 7349  Vtxcvtx 28941  Edgcedg 28992   ClNeighbVtx cclnbgr 47802
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5235  ax-nul 5245  ax-pr 5371  ax-un 7671
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3395  df-v 3438  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4285  df-if 4477  df-pw 4553  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4859  df-br 5093  df-opab 5155  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-iota 6438  df-fun 6484  df-fv 6490  df-ov 7352  df-oprab 7353  df-mpo 7354  df-clnbgr 47803
This theorem is referenced by:  dfclnbgr4  47808  dfclnbgr5  47834  dfclnbgr6  47840
  Copyright terms: Public domain W3C validator