Vertex integrity
Lax560391.VertexIntegrity · concepts/Lax560391/VertexIntegrity.lean · lax-560391
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
The vertex integrity of a finite graph is the minimum, over vertex sets , of the size of plus the order of the largest connected component of the graph induced by the remaining vertices. The maximum component order is zero when no vertices remain.
Concept map
Lean source view on GitHub
| 1 | import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected |
| 2 | import Mathlib.Data.Set.Card |
| 3 | import Mathlib.Order.Lattice.Nat |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Vertex integrity |
| 8 | type: definition |
| 9 | --- |
| 10 | The vertex integrity of a finite graph is the minimum, over vertex sets `S`, |
| 11 | of the size of `S` plus the order of the largest connected component of the |
| 12 | graph induced by the remaining vertices. The maximum component order is zero |
| 13 | when no vertices remain. |
| 14 | -/ |
| 15 | |
| 16 | namespace Lax560391.VertexIntegrity |
| 17 | |
| 18 | /-- Deleting `S` leaves no component larger than `k - |S|`. -/ |
| 19 | def HasVertexIntegrityAtMost {V : Type} [Fintype V] [DecidableEq V] |
| 20 | (G : SimpleGraph V) (k : ℕ) : Prop := |
| 21 | ∃ S : Set V, S.ncard ≤ k ∧ |
| 22 | ∀ C : (G.induce Sᶜ).ConnectedComponent, |
| 23 | S.ncard + C.supp.ncard ≤ k |
| 24 | |
| 25 | /-- The minimum of deletion-set size plus largest remaining component size. -/ |
| 26 | noncomputable def vertexIntegrity {V : Type} [Fintype V] [DecidableEq V] |
| 27 | (G : SimpleGraph V) : ℕ := |
| 28 | sInf {k | HasVertexIntegrityAtMost G k} |
| 29 | |
| 30 | end Lax560391.VertexIntegrity |
| 31 |
Builds on
none
Used by
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments