Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax68.Stars

Stars

concepts/Lax68/Stars.lean · lax-68

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.

    Concept map

    Open claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Definition

    A star has a centre adjacent to every other vertex and has no edges between two non-central vertices.

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.UniversalVerts
    2
    3/-!
    4---
    5title: Stars
    6type: definition
    7---
    8A star has a centre adjacent to every other vertex and has no edges between
    9two non-central vertices.
    10-/
    11
    12set_option autoImplicit false
    13
    14namespace Lax68.Stars
    15
    16def HasStarShape {V : Type*} (G : SimpleGraph V) : Prop :=
    17 ∃ centre : V,
    18 centre ∈ G.universalVerts ∧
    19 ∀ ⦃u v⦄, G.Adj u v → u = centre ∨ v = centre
    20
    21def IsStar {V : Type*} (G : SimpleGraph V) : Prop :=
    22 HasStarShape G
    23
    24end Lax68.Stars
    25

    Community review

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.

    0 comments

    Loading discussion…