Lemma 1

Lax496464.Lemma1 · concepts/Lax496464/Lemma1.lean · lax-496464

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

    Theorem

    Recursion (1) is correct. Let XX be a set of thresholds whose smallest member is jj. A set of weight W′W' compatible with XX can be preprocessed from P′P' exactly when one of the following holds:

    • a set of weight W′W' compatible with X1X_1 can be preprocessed from P′P' — job jj is not selected; or
    • wj≤W′w_j \le W', the first-stage machine can finish job jj by sjs_j when it starts at P′P', and a set of weight W′−wjW' - w_j compatible with X2X_2 can be preprocessed from P′+pjP' + p_j — job jj is selected, and is preprocessed first.
    Concept map
    4 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 3 of this submission's paper

    Lean source view on GitHub

    1import Lax496464.DynamicProgram
    2
    3/-!
    4---
    5title: Lemma 1
    6type: theorem
    7---
    8Recursion (1) is correct. Let XX be a set of thresholds whose smallest member is jj.
    9A set of weight W′W' compatible with XX can be preprocessed from P′P' exactly when one
    10of the following holds:
    11
    12* a set of weight W′W' compatible with X1X_1 can be preprocessed from P′P' — job jj is
    13 not selected; or
    14* wj≤W′w_j \le W', the first-stage machine can finish job jj by sjs_j when it starts at
    15 P′P', and a set of weight W′−wjW' - w_j compatible with X2X_2 can be preprocessed from
    16 P′+pjP' + p_j — job jj is selected, and is preprocessed first.
    17
    18# Formalization Notes
    19
    20The lemma is an equivalence, and both directions are needed: one says the recursion never
    21returns an entry no solution realizes, the other that it misses none.
    22
    23The harder direction is the one that takes a solution compatible with XX, in which jj
    24is not selected, and re-assigns its jobs to the thresholds of X1X_1. The paper does this
    25by sliding the machines' assignments up by one, which is an application of Hall's marriage
    26theorem: the jobs that were on jj must move, and a threshold above them is free exactly
    27because the jobs alive at any instant are few enough.
    28
    29The hypothesis that the processing times are positive is used, and only in this
    30direction. A job with qj=0q_j = 0 has an empty interval, conflicts with nothing, and may sit
    31on the threshold jj below the cutoff djd_j — which is exactly the configuration the
    32slide rules out. Soundness does not need it. The paper assumes positive processing times
    33throughout.
    34
    35The two branches are stated with the paper's own X1X_1 and X2X_2, including the cases in
    36which j1j_1 or j2j_2 does not exist, where the threshold is dropped without replacement.
    37-/
    38
    39namespace Lax496464.Lemma1
    40
    41open Lax496464.FlowShop Lax496464.FlowShop.Instance
    42open Lax496464.EstOrder Lax496464.DynamicProgram
    43
    44/-- **Lemma 1.** Recursion (1) computes the table. -/
    45axiom achievable_recursion (I : Instance) (hest : EstOrdered I) (hq : ∀ j : I.Job, 0 < I.q j)
    46 {X : Finset I.Job} {j : I.Job} (hjX : j ∈ X) (hjmin : ∀ x ∈ X, j ≤ x)
    47 (W' : ℕ) (P' : ℤ) :
    48 Achievable I X W' P' ↔
    49 Achievable I (X1 I X j) W' P' ∨
    50 (I.w j ≤ W' ∧ P' + I.p j ≤ s j ∧
    51 Achievable I (X2 I X j) (W' - I.w j) (P' + I.p j))
    52
    53end Lax496464.Lemma1
    54
    Show Proof
    Formalization Notes

    The lemma is an equivalence, and both directions are needed: one says the recursion never returns an entry no solution realizes, the other that it misses none.

    The harder direction is the one that takes a solution compatible with XX, in which jj is not selected, and re-assigns its jobs to the thresholds of X1X_1. The paper does this by sliding the machines' assignments up by one, which is an application of Hall's marriage theorem: the jobs that were on jj must move, and a threshold above them is free exactly because the jobs alive at any instant are few enough.

    The hypothesis that the processing times are positive is used, and only in this direction. A job with qj=0q_j = 0 has an empty interval, conflicts with nothing, and may sit on the threshold jj below the cutoff djd_j — which is exactly the configuration the slide rules out. Soundness does not need it. The paper assumes positive processing times throughout.

    The two branches are stated with the paper's own X1X_1 and X2X_2, including the cases in which j1j_1 or j2j_2 does not exist, where the threshold is dropped without replacement.

    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

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

    Loading discussion…