Distance to block graphs
Lax560391.DistanceToBlock · concepts/Lax560391/DistanceToBlock.lean · lax-560391
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Definition
The minimum number of vertices whose deletion leaves a block graph, expressed as a chordal graph with no induced diamond.
Concept map
Lean source view on GitHub
| 1 | import Lax560391.BlockGraphs |
| 2 | import Mathlib.Combinatorics.SimpleGraph.Finite |
| 3 | import Mathlib.Order.Lattice.Nat |
| 4 | |
| 5 | /-! |
| 6 | --- |
| 7 | title: Distance to block graphs |
| 8 | type: definition |
| 9 | --- |
| 10 | The minimum number of vertices whose deletion leaves a block graph, expressed |
| 11 | as a chordal graph with no induced diamond. |
| 12 | -/ |
| 13 | |
| 14 | namespace Lax560391.DistanceToBlock |
| 15 | |
| 16 | open Lax560391.BlockGraphs |
| 17 | |
| 18 | noncomputable def distanceToBlock {V : Type} [Fintype V] [DecidableEq V] |
| 19 | (G : SimpleGraph V) : ℕ := |
| 20 | sInf {k : ℕ | ∃ S : Finset V, (S.card = k) ∧ |
| 21 | (IsBlock (G.induce {v | v ∉ S}))} |
| 22 | |
| 23 | end Lax560391.DistanceToBlock |
| 24 |
Builds on
Used by
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments