is_graph_core
def
In a locally finite simple graph G, a nonempty finset of vertices S is a core if every vertex in S has at least as many neighbors in S as in V \ S.
Statement
def is_graph_core {V : Type*} [DecidableEq V] (G : SimpleGraph V) [∀ v : V, Fintype (G.neighborSet v)] (S : Finset V) : Prop
- Defined in
- arXiv:2611.18633 Definition 1.1
- Verified
- 22 Nov 2026
- Axioms
- none listed
- Used by 1
- standard_core_two_one_is_coreThe finset standard_core_two_one is a core in the graph lattice_graph_two_one, that is, is_graph_core lattice_graph_two_one…
Read back from the Lean
For a type V with decidable equality, a simple graph G on V such that every vertex has a finite neighborhood, and a finite subset S of V: is_graph_core G S holds if and only if S is nonempty and, for every vertex v ∈ S, the number of neighbors of v outside S is less than or equal to the number of neighbors of v inside S (that is, (G.neighborFinset v \ S).card ≤ (G.neighborFinset v ∩ S).card).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A core of a locally finite simple graph is a nonempty finset in which every member has at least as many neighbors inside as outside. -/ def is_graph_core {V : Type*} [DecidableEq V] (G : SimpleGraph V) [∀ v : V, Fintype (G.neighborSet v)] (S : Finset V) : Prop := S.Nonempty ∧ ∀ v ∈ S, (G.neighborFinset v \ S).card ≤ (G.neighborFinset v ∩ S).card