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 47776
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 47775 . 2 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}))
4 prssg 4827 . . . . . . 7 ((𝑁𝑉𝑛 ∈ V) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
54elvd 3487 . . . . . 6 (𝑁𝑉 → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
65bicomd 223 . . . . 5 (𝑁𝑉 → ({𝑁, 𝑛} ⊆ 𝑒 ↔ (𝑁𝑒𝑛𝑒)))
76rexbidv 3179 . . . 4 (𝑁𝑉 → (∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒 ↔ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)))
87rabbidv 3444 . . 3 (𝑁𝑉 → {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒} = {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)})
98uneq2d 4181 . 2 (𝑁𝑉 → ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 {𝑁, 𝑛} ⊆ 𝑒}) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
103, 9eqtrd 2777 1 (𝑁𝑉 → (𝐺 ClNeighbVtx 𝑁) = ({𝑁} ∪ {𝑛𝑉 ∣ ∃𝑒𝐸 (𝑁𝑒𝑛𝑒)}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1539  wcel 2108  wrex 3070  {crab 3436  Vcvv 3481  cun 3964  wss 3966  {csn 4634  {cpr 4636  cfv 6569  (class class class)co 7438  Vtxcvtx 29039  Edgcedg 29090   ClNeighbVtx cclnbgr 47771
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 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-sep 5305  ax-nul 5315  ax-pr 5441  ax-un 7761
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3437  df-v 3483  df-dif 3969  df-un 3971  df-in 3973  df-ss 3983  df-nul 4343  df-if 4535  df-pw 4610  df-sn 4635  df-pr 4637  df-op 4641  df-uni 4916  df-br 5152  df-opab 5214  df-id 5587  df-xp 5699  df-rel 5700  df-cnv 5701  df-co 5702  df-dm 5703  df-iota 6522  df-fun 6571  df-fv 6577  df-ov 7441  df-oprab 7442  df-mpo 7443  df-clnbgr 47772
This theorem is referenced by:  dfclnbgr4  47777  dfclnbgr5  47802  dfclnbgr6  47808
  Copyright terms: Public domain W3C validator