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 47797
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 47796 . 2 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}))
4 prssg 4779 . . . . . . 7 ((𝑁𝑉𝑛 ∈ V) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
54elvd 3450 . . . . . 6 (𝑁𝑉 → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
65bicomd 223 . . . . 5 (𝑁𝑉 → ({𝑁, 𝑛} ⊆ 𝑒 ↔ (𝑁𝑒𝑛𝑒)))
76rexbidv 3157 . . . 4 (𝑁𝑉 → (∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)))
87rabbidv 3410 . . 3 (𝑁𝑉 → {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒} = {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)})
98uneq2d 4127 . 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 3402  Vcvv 3444  cun 3909  wss 3911  {csn 4585  {cpr 4587  cfv 6499  (class class class)co 7369  Vtxcvtx 28899  Edgcedg 28950   ClNeighbVtx cclnbgr 47792
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 5246  ax-nul 5256  ax-pr 5382  ax-un 7691
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 3403  df-v 3446  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-op 4592  df-uni 4868  df-br 5103  df-opab 5165  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-iota 6452  df-fun 6501  df-fv 6507  df-ov 7372  df-oprab 7373  df-mpo 7374  df-clnbgr 47793
This theorem is referenced by:  dfclnbgr4  47798  dfclnbgr5  47823  dfclnbgr6  47829
  Copyright terms: Public domain W3C validator