Lemma 3(a): an odd balanced cyclic window
ProvedProcFlex.DMGI.lemma_3acombinatoricscyclic-windowlong-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
In a cyclic ordering of products with exactly high-margin products, take any integer satisfying . Some consecutive cyclic window of length has exactly high-margin and low-margin products:
This is the odd-window statement used in the comparison of long-chain arrangements.
Formalization Note A Boolean colouring abstracts the high/low product categories; true denotes high margin. The source's window is cyclic and may wrap past the last product.
Preamble
import Mathlib
Formal statement
namespace ProcFlex.DMGI
open Finset
/-- Lemma 3(a), p. 46: an odd cyclic window in a balanced high-low sequence. -/
theorem lemma_3a (k : ℕ) (hk : 1 ≤ k)
(c : Fin (2 * k) → Bool)
(hc : (univ.filter (fun i => c i = true)).card = k)
(l : ℕ) (hl : 1 ≤ l) (hlu : l ≤ k - 1) :
∃ s : Fin (2 * k),
((range (2 * l + 1)).filter
(fun q : ℕ => c ⟨(s.val + q) % (2 * k), Nat.mod_lt _ (by omega)⟩ = true)).card = l := by sorry
end ProcFlex.DMGI
Source
Wang, Wang & Zhang, Robust Optimization Approach to Process Flexibility Designs with Contribution Margin Differentials, SSRN 3233721 (version of 22 May 2020), p. 46, Lemma 3(a)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.