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

Theorem predgclnbgrel 47701
Description: If a (not necessarily proper) unordered pair containing a vertex is an edge, the other vertex is in the closed neighborhood of the first vertex. (Contributed by AV, 23-Aug-2025.)
Hypotheses
Ref Expression
predgclnbgrel.v 𝑉 = (Vtx‘𝐺)
predgclnbgrel.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
predgclnbgrel ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → 𝑁 ∈ (𝐺 ClNeighbVtx 𝑋))

Proof of Theorem predgclnbgrel
Dummy variable 𝑒 is distinct from all other variables.
StepHypRef Expression
1 3simpa 1148 . 2 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → (𝑁𝑉𝑋𝑉))
2 simp3 1138 . . . 4 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → {𝑋, 𝑁} ∈ 𝐸)
3 sseq2 4035 . . . . 5 (𝑒 = {𝑋, 𝑁} → ({𝑋, 𝑁} ⊆ 𝑒 ↔ {𝑋, 𝑁} ⊆ {𝑋, 𝑁}))
43adantl 481 . . . 4 (((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) ∧ 𝑒 = {𝑋, 𝑁}) → ({𝑋, 𝑁} ⊆ 𝑒 ↔ {𝑋, 𝑁} ⊆ {𝑋, 𝑁}))
5 ssidd 4032 . . . 4 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → {𝑋, 𝑁} ⊆ {𝑋, 𝑁})
62, 4, 5rspcedvd 3637 . . 3 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → ∃𝑒𝐸 {𝑋, 𝑁} ⊆ 𝑒)
76olcd 873 . 2 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → (𝑁 = 𝑋 ∨ ∃𝑒𝐸 {𝑋, 𝑁} ⊆ 𝑒))
8 predgclnbgrel.v . . 3 𝑉 = (Vtx‘𝐺)
9 predgclnbgrel.e . . 3 𝐸 = (Edg‘𝐺)
108, 9clnbgrel 47691 . 2 (𝑁 ∈ (𝐺 ClNeighbVtx 𝑋) ↔ ((𝑁𝑉𝑋𝑉) ∧ (𝑁 = 𝑋 ∨ ∃𝑒𝐸 {𝑋, 𝑁} ⊆ 𝑒)))
111, 7, 10sylanbrc 582 1 ((𝑁𝑉𝑋𝑉 ∧ {𝑋, 𝑁} ∈ 𝐸) → 𝑁 ∈ (𝐺 ClNeighbVtx 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  wo 846  w3a 1087   = wceq 1537  wcel 2108  wrex 3076  wss 3976  {cpr 4650  cfv 6568  (class class class)co 7443  Vtxcvtx 29023  Edgcedg 29074   ClNeighbVtx cclnbgr 47682
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447  ax-un 7764
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-csb 3922  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-iun 5017  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5701  df-rel 5702  df-cnv 5703  df-co 5704  df-dm 5705  df-rn 5706  df-res 5707  df-ima 5708  df-iota 6520  df-fun 6570  df-fv 6576  df-ov 7446  df-oprab 7447  df-mpo 7448  df-1st 8024  df-2nd 8025  df-clnbgr 47683
This theorem is referenced by:  grlimgrtri  47810
  Copyright terms: Public domain W3C validator