Integer coefficients of recursive separating cuts

Lax263307.ComponentCutEncoding · concepts/Lax263307/ComponentCutEncoding.lean · lax-263307

proven

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

    Lemma

    The cut for a part CC and bound uu is

    ∑v∈CzA∪{v}−uzA≤0.\sum_{v\in C}z_{A\cup\{v\}}-u z_A\le0.

    Collect repeated coordinates into an integer coefficient vector. Evaluating that vector gives exactly the left-hand side of the component inequality.

    Concept map
    3 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on ADescendants are omitted for concepts with more than 10 descendants.
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax263307.ComponentCuts
    2import Mathlib.Data.Fintype.Powerset
    3
    4/-!
    5---
    6title: Integer coefficients of recursive separating cuts
    7type: lemma
    8---
    9The cut for a part CC and bound uu is
    10∑v∈CzA∪{v}−uzA≤0.\sum_{v\in C}z_{A\cup\{v\}}-u z_A\le0.
    11Collect repeated coordinates into an integer coefficient vector. Evaluating
    12that vector gives exactly the left-hand side of the component inequality.
    13-/
    14
    15namespace Lax263307.ComponentCutEncoding
    16
    17open LinearRelaxation
    18
    19/-- The coefficient at one coordinate, after collecting all repeated terms. -/
    20def coefficient {n r : ℕ} (A C : Finset (Fin n)) (u : ℕ)
    21 (B : Coordinate n r) : ℤ :=
    22 (∑ v ∈ C, if insert v A = B.val then 1 else 0) -
    23 if A = B.val then (u : ℤ) else 0
    24
    25/-- Evaluate the coefficient vector in the real coordinate space. -/
    26noncomputable def evaluate {n r : ℕ} (a : Coordinate n r → ℤ)
    27 (z : MomentVector n r) : ℝ := ∑ B, (a B : ℝ) * z B
    28
    29/-- The collected coefficient vector represents exactly the intended cut. -/
    30axiom evaluation_identity {n r : ℕ} (A C : Finset (Fin n)) (u : ℕ)
    31 (size : A.card ≤ r) (z : MomentVector n r) :
    32 evaluate (coefficient A C u) z =
    33 (∑ v ∈ C, value z (insert v A)) - (u : ℝ) * value z A
    34
    35end Lax263307.ComponentCutEncoding
    36
    Show Proof

    Discussion

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

    Loading discussion…