Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2, p. 16 — the matrix B of ConstrDist C1(ii) is a framing matrix; integral framing matrices give unique feasible assignments

Proved
FramingFulfillment.RFF.lemma_2

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

fluid-approximationmultinomial-logitorder-fulfillmentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1product-framingrevenue-management

Fix one region and one period, and let x=(xir)∈[0,1]I×Rx=(x_{ir})\in[0,1]^{I\times R}x=(xir​)∈[0,1]I×R satisfy the DET' constraints (10a) ∑ixir≤Qr\sum_i x_{ir}\le Q_r∑i​xir​≤Qr​ and (10b) ∑rxir=1\sum_r x_{ir}=1∑r​xir​=1. Let qr=∑ixirq_r=\sum_i x_{ir}qr​=∑i​xir​, Q~r=⌈qr⌉\tilde Q_r=\lceil q_r\rceilQ~​r​=⌈qr​⌉ and I~=∑r⌈qr⌉−I\tilde I=\sum_r\lceil q_r\rceil-II~=∑r​⌈qr​⌉−I. Let BBB be the (I+I~)×R(I+\tilde I)\times R(I+I~)×R matrix of ConstrDist C1(ii): its first III rows are xxx, and each of its I~\tilde II~ fictitious rows is ((⌈qr⌉−qr)/I~)r\big((\lceil q_r\rceil-q_r)/\tilde I\big)_r((⌈qr​⌉−qr​)/I~)r​. Then:

  1. BBB is a framing matrix with respect to Q~\tilde QQ~​, that is,
∑rBnr=1  ∀n,∑nBnr=Q~r  ∀r;\sum_{r}B_{nr}=1\ \ \forall n,\qquad \sum_{n}B_{nr}=\tilde Q_r\ \ \forall r;r∑​Bnr​=1  ∀n,n∑​Bnr​=Q~​r​  ∀r;
  1. for every integral framing matrix B(ℓ)B^{(\ell)}B(ℓ) with respect to Q~\tilde QQ~​, there is exactly one assignment ϕ:[I]→[R]\phi:[I]\to[R]ϕ:[I]→[R] with 1{ϕ(i)=r}=Bir(ℓ)\mathbf 1\{\phi(i)=r\}=B^{(\ell)}_{ir}1{ϕ(i)=r}=Bir(ℓ)​ for all real products i≤Ii\le Ii≤I and all rrr, and this ϕ\phiϕ lies in Ω(Q)\Omega(Q)Ω(Q).

This is what makes the auxiliary distribution ρ~\tilde\rhoρ~​ of ConstrDist a distribution over feasible framing assignments.

Formalization Note The page states Lemma 2 for the base model; §5 applies it to each region's xjt,Dx^{t,D}_jxjt,D​, which is how it is stated here. "1{ϕ(i)=r}=Bir(ℓ)\mathbf 1\{\phi(i)=r\}=B^{(\ell)}_{ir}1{ϕ(i)=r}=Bir(ℓ)​" is encoded as ϕ(i)=r  ⟺  Bir(ℓ)=1\phi(i)=r\iff B^{(\ell)}_{ir}=1ϕ(i)=r⟺Bir(ℓ)​=1, which is equivalent for a 0/1 matrix.

Preamble
import Mathlib
import Definitions.Def_FramingFulfillment_RFF_Model
Formal statement
namespace FramingFulfillment.RFF

open Finset

/-- Lemma 2 (p. 16), for the framing `x` of one region and period: the matrix `B(x)` of
ConstrDist C1(ii) is a framing matrix w.r.t. `Q̃`, and every integral framing matrix w.r.t. `Q̃`
determines a unique framing assignment `φ` via `1{φ(i) = r} = B_ir`, which is feasible. -/
theorem lemma_2 (P : Inst) (hP : P.Standing) (x : Fin P.I → Fin P.R → ℝ)
    (h10a : ∀ r, ∑ i, x i r ≤ (P.Q r : ℝ)) (h10b : ∀ i, ∑ r, x i r = 1)
    (h10e : ∀ i r, 0 ≤ x i r ∧ x i r ≤ 1) :
    IsFramingMatrix (Bmat x) (Qtil x) ∧
    ∀ A : Fin (P.I + Itil x) → Fin P.R → ℝ, IsIntegralMatrix A → IsFramingMatrix A (Qtil x) →
      (∃! φ : Fin P.I → Fin P.R, ∀ i r, φ i = r ↔ A (Fin.castAdd (Itil x) i) r = 1) ∧
      ∀ φ : Fin P.I → Fin P.R, (∀ i r, φ i = r ↔ A (Fin.castAdd (Itil x) i) r = 1) →
        φ ∈ P.Omega := by sorry

end FramingFulfillment.RFF
Source
Lei, Jasin, Uichanco & Vakhutinsky, Joint Product Framing and Order Fulfillment under the MNL Model, SSRN 3282019 (PDF sha256 7d6bd797…), p. 16, Lemma 2 (ConstrDist C1, p. 15)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me