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

c-closed graphs

Lax560391.CClosedGraphs · concepts/Lax560391/CClosedGraphs.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

    A graph is c-closed if every pair of distinct nonadjacent vertices has fewer than c common neighbors. The value c may be zero; exactly the complete graphs are 0-closed.

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

    Lean source view on GitHub

    1import Mathlib.Combinatorics.SimpleGraph.Finite
    2import Mathlib.Data.Set.Card
    3
    4/-!
    5---
    6title: c-closed graphs
    7type: definition
    8---
    9A graph is c-closed if every pair of distinct nonadjacent vertices has
    10fewer than c common neighbors. The value c may be zero; exactly the
    11complete graphs are 0-closed.
    12-/
    13
    14namespace Lax560391.CClosedGraphs
    15
    16def IsCClosed {V : Type} [Fintype V] [DecidableEq V]
    17 (G : SimpleGraph V) (c : ℕ) : Prop :=
    18 ∀ u v : V, u ≠ v → ¬G.Adj u v →
    19 {w : V | G.Adj u w ∧ G.Adj v w}.ncard < c
    20
    21end Lax560391.CClosedGraphs
    22

    Discussion

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

    Loading discussion…