Lemma 1
Lax496464.Lemma1 · concepts/Lax496464/Lemma1.lean · lax-496464
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Recursion (1) is correct. Let be a set of thresholds whose smallest member is . A set of weight compatible with can be preprocessed from exactly when one of the following holds:
- a set of weight compatible with can be preprocessed from — job is not selected; or
- , the first-stage machine can finish job by when it starts at , and a set of weight compatible with can be preprocessed from — job is selected, and is preprocessed first.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
-
no assumptions
thm✓Lax496464.Lemma1
In the paper
- page 3 of this submission's paper
Lean source view on GitHub
| 1 | import Lax496464.DynamicProgram |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Lemma 1 |
| 6 | type: theorem |
| 7 | --- |
| 8 | Recursion (1) is correct. Let be a set of thresholds whose smallest member is . |
| 9 | A set of weight compatible with can be preprocessed from exactly when one |
| 10 | of the following holds: |
| 11 | |
| 12 | * a set of weight compatible with can be preprocessed from — job is |
| 13 | not selected; or |
| 14 | * , the first-stage machine can finish job by when it starts at |
| 15 | , and a set of weight compatible with can be preprocessed from |
| 16 | — job is selected, and is preprocessed first. |
| 17 | |
| 18 | # Formalization Notes |
| 19 | |
| 20 | The lemma is an equivalence, and both directions are needed: one says the recursion never |
| 21 | returns an entry no solution realizes, the other that it misses none. |
| 22 | |
| 23 | The harder direction is the one that takes a solution compatible with , in which |
| 24 | is not selected, and re-assigns its jobs to the thresholds of . The paper does this |
| 25 | by sliding the machines' assignments up by one, which is an application of Hall's marriage |
| 26 | theorem: the jobs that were on must move, and a threshold above them is free exactly |
| 27 | because the jobs alive at any instant are few enough. |
| 28 | |
| 29 | The hypothesis that the processing times are positive is used, and only in this |
| 30 | direction. A job with has an empty interval, conflicts with nothing, and may sit |
| 31 | on the threshold below the cutoff — which is exactly the configuration the |
| 32 | slide rules out. Soundness does not need it. The paper assumes positive processing times |
| 33 | throughout. |
| 34 | |
| 35 | The two branches are stated with the paper's own and , including the cases in |
| 36 | which or does not exist, where the threshold is dropped without replacement. |
| 37 | -/ |
| 38 | |
| 39 | namespace Lax496464.Lemma1 |
| 40 | |
| 41 | open Lax496464.FlowShop Lax496464.FlowShop.Instance |
| 42 | open Lax496464.EstOrder Lax496464.DynamicProgram |
| 43 | |
| 44 | /-- **Lemma 1.** Recursion (1) computes the table. -/ |
| 45 | axiom 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 | |
| 53 | end Lax496464.Lemma1 |
| 54 |
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 , in which is not selected, and re-assigns its jobs to the thresholds of . 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 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 has an empty interval, conflicts with nothing, and may sit on the threshold below the cutoff — 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 and , including the cases in which or does not exist, where the threshold is dropped without replacement.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments