Neighborhood-set-system representation of simple graphs
Lax683916.NeighborhoodSetSystemRepresentation · concepts/Lax683916/NeighborhoodSetSystemRepresentation.lean · lax-683916
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Simple graphs on are equivalent to symmetric loopless neighborhood set systems indexed by . The set assigned to is exactly its open neighborhood.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Basic |
| 2 | import Lax683916.NeighborhoodSetSystems |
| 3 | |
| 4 | /-! |
| 5 | --- |
| 6 | title: Neighborhood-set-system representation of simple graphs |
| 7 | type: theorem |
| 8 | --- |
| 9 | Simple graphs on `V` are equivalent to symmetric loopless neighborhood set |
| 10 | systems indexed by `V`. The set assigned to `u` is exactly its open |
| 11 | neighborhood. |
| 12 | |
| 13 | # Formalization notes |
| 14 | |
| 15 | The equivalence retains the vertex type and adjacency relation exactly. An |
| 16 | unindexed family `Set (Set V)` would forget which vertex owns a neighborhood, |
| 17 | so the vertex indexing is essential for an equivalence with all simple |
| 18 | graphs. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax683916.NeighborhoodSetSystemRepresentation |
| 22 | |
| 23 | open Lax683916.NeighborhoodSetSystems |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | /-- An equivalence that sends every graph to its vertex-indexed open neighborhoods. -/ |
| 28 | structure RepresentationEquiv (V : Type u) where |
| 29 | /-- The equivalence between simple graphs and neighborhood set systems. -/ |
| 30 | toEquiv : SimpleGraph V ≃ NeighborhoodSetSystem V |
| 31 | /-- Membership in the image neighborhood is exactly adjacency. -/ |
| 32 | map_mem : ∀ (G : SimpleGraph V) (u v : V), |
| 33 | v ∈ (toEquiv G).neighborhood u ↔ G.Adj u v |
| 34 | |
| 35 | /-- Simple graphs and symmetric loopless neighborhood set systems are equivalent. -/ |
| 36 | axiom simpleGraphEquiv (V : Type u) : |
| 37 | Nonempty (RepresentationEquiv V) |
| 38 | |
| 39 | end Lax683916.NeighborhoodSetSystemRepresentation |
| 40 |
Formalization notes
The equivalence retains the vertex type and adjacency relation exactly. An unindexed family would forget which vertex owns a neighborhood, so the vertex indexing is essential for an equivalence with all simple graphs.
Builds on
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments