Vertex-cover number

Lax825442.VertexCover · concepts/Lax825442/VertexCover.lean · lax-825442

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

    A vertex cover is a set of vertices that meets every edge. The vertex-cover number is the minimum size of a vertex cover.

    Concept map
    1 concept
    100%
    DefinitionThis concept

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.VertexCover
    2
    3/-!
    4---
    5title: Vertex-cover number
    6type: definition
    7---
    8A vertex cover is a set of vertices that meets every edge. The vertex-cover
    9number is the minimum size of a vertex cover.
    10-/
    11
    12namespace Lax825442.VertexCover
    13
    14/-- The natural-valued vertex-cover number of a finite graph. -/
    15noncomputable def vertexCover {V : Type} [Fintype V] [DecidableEq V]
    16 (G : SimpleGraph V) : ℕ :=
    17 G.vertexCoverNum.toNat
    18
    19end Lax825442.VertexCover
    20
    21
    Builds on

    none

    Used by

    none

    From Mathlib

    Discussion

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

    Loading discussion…