While this submission is a draft, it cannot be used by other submissions.

Distance to distance-hereditary graphs

Lax560391.DistanceToDistanceHereditary · concepts/Lax560391/DistanceToDistanceHereditary.lean · lax-560391

definition

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Definition

    The minimum number of vertices whose deletion leaves a graph in which every connected induced subgraph preserves distances.

    Concept map
    2 concepts
    100%
    DefinitionThis conceptRelated conceptA → B: B builds on A

    Lean source view on GitHub

    1import Lax560391.DistanceHereditaryGraphs
    2import Mathlib.Combinatorics.SimpleGraph.Finite
    3import Mathlib.Order.Lattice.Nat
    4
    5/-!
    6---
    7title: Distance to distance-hereditary graphs
    8type: definition
    9---
    10The minimum number of vertices whose deletion leaves a graph in which every
    11connected induced subgraph preserves distances.
    12-/
    13
    14namespace Lax560391.DistanceToDistanceHereditary
    15
    16open Lax560391.DistanceHereditaryGraphs
    17
    18noncomputable def distanceToDistanceHereditary
    19 {V : Type} [Fintype V] [DecidableEq V]
    20 (G : SimpleGraph V) : ℕ :=
    21 sInf {k : ℕ | ∃ S : Finset V, (S.card = k) ∧
    22 (IsDistanceHereditary (G.induce {v | v ∉ S}))}
    23
    24end Lax560391.DistanceToDistanceHereditary
    25

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…