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

Feedback edge number

Lax379983.FeedbackEdgeNumber · concepts/Lax379983/FeedbackEdgeNumber.lean · lax-379983

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

    Let G=(V,E)G=(V,E) be a finite undirected simple graph. A feedback edge set is a set FEF\subseteq E for which the graph GFG-F, obtained by deleting the edges in FF and retaining all vertices, is acyclic. The feedback edge number is

    FEN(G)=min{F:FE,  GF is acyclic}.\operatorname{FEN}(G)=\min\{\lvert F\rvert : F\subseteq E,\; G-F\text{ is acyclic}\}.

    The minimum exists because deleting all edges leaves an acyclic graph.

    Concept map
    1 concept; 1 descendant hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.Acyclic
    2import Mathlib.Data.Nat.Lattice
    3import Mathlib.Data.Set.Card
    4
    5/-!
    6---
    7title: Feedback edge number
    8type: definition
    9---
    10Let G=(V,E)G=(V,E) be a finite undirected simple graph. A feedback edge set is a
    11set FEF\subseteq E for which the graph GFG-F, obtained by deleting the edges
    12in FF and retaining all vertices, is acyclic. The feedback edge number is
    13
    14FEN(G)=min{F:FE,  GF is acyclic}.\operatorname{FEN}(G)=\min\{\lvert F\rvert : F\subseteq E,\; G-F\text{ is acyclic}\}.
    15
    16
    17The minimum exists because deleting all edges leaves an acyclic graph.
    18-/
    19
    20namespace Lax379983.FeedbackEdgeNumber
    21
    22/-- The minimum number of edges whose deletion makes the graph acyclic. -/
    23noncomputable def feedbackEdgeNumber {V : Type*} [Finite V] (G : SimpleGraph V) : ℕ :=
    24 sInf {n : ℕ | ∃ F : Set (Sym2 V),
    25 F ⊆ G.edgeSet ∧ F.ncard = n ∧ (G.deleteEdges F).IsAcyclic}
    26
    27end Lax379983.FeedbackEdgeNumber
    28

    Discussion

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

    Loading discussion…