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

Box representations

Lax560391.BoxRepresentation · concepts/Lax560391/BoxRepresentation.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 box representation assigns a nonempty closed axis-parallel real box to each vertex, with adjacency exactly when the boxes intersect. The dimension may be zero, in which case the represented graph is complete.

    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.Basic
    2import Mathlib.Data.Real.Basic
    3
    4/-!
    5---
    6title: Box representations
    7type: definition
    8---
    9A box representation assigns a nonempty closed axis-parallel real box to
    10each vertex, with adjacency exactly when the boxes intersect. The dimension
    11may be zero, in which case the represented graph is complete.
    12-/
    13
    14namespace Lax560391.BoxRepresentation
    15
    16structure BoxRepresentation {V : Type} (G : SimpleGraph V) (k : ℕ) where
    17 lo : V → Fin k → ℝ
    18 hi : V → Fin k → ℝ
    19 nonempty : ∀ v i, lo v i ≤ hi v i
    20 represents : ∀ u v, u ≠ v →
    21 (G.Adj u v ↔ ∀ i, lo u i ≤ hi v i ∧ lo v i ≤ hi u i)
    22
    23end Lax560391.BoxRepresentation
    24

    Discussion

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

    Loading discussion…