Lemma 18 companion, p. 22 — NonMarginals after ShiftProjectUnshift keeps partial allocations non-negative
ProvedProductMixAuction.Allocate.lemma_18_nonMarginals_nonnegLet be an allocation problem in the sense of Definition 4 (p. 15) with integral bids and an integral price , in which every bid is marginal at . This is the state in which Allocate calls ShiftProjectUnshift, right after NonMarginals. Let be a cycle-link good with an incident cycle edge labelled , and let the SFM oracle return a minimiser of every submodular set function. Let
be the output of Algorithm 5 (p. 22), and let be the output of the NonMarginals call that follows it in the same loop iteration of Algorithm 1 (p. 14). Then the partial allocations of are non-negative:
Algorithm 1 tacitly needs this so that the problem obtained after each loop iteration is again an allocation problem: Definition 4 requires . Lemma 11 alone does not guarantee it (see ProductMixAuction.Allocate.lemma_11_nonneg). The statement says that the bids which ShiftProjectUnshift turns non-marginal at , and which NonMarginals then accepts, contribute a non-negative bundle to each bidder. This parallels the second claim of Lemma 13 (p. 21), that after the shift each bidder demands only bundles it already demanded at .
Formalization Note The hypotheses are those of the milestone ProductMixAuction.Allocate.lemma_18, together with the marginality of all bids, which holds whenever Allocate calls ShiftProjectUnshift.
import Mathlib import Definitions.Def_ProductMixAuction_Allocate_Algorithm
namespace ProductMixAuction.Allocate
theorem lemma_18_nonMarginals_nonneg {n : ℕ} {J : Type*} [Fintype J] [DecidableEq J]
(A : AllocProblem n J) (hA : IsAllocProblem A)
(hmarg : ∀ j, ∀ b ∈ A.B j, IsMarginalBid b A.p)
(hbint : ∀ j, ∀ b ∈ A.B j, ∀ k, ∃ z : ℤ, b.v k = z)
(hpint : ∀ i, ∃ z : ℤ, A.p i = z)
(istar : Fin (n + 1)) (jstar : J) (hcyc : IsCycleLink A istar jstar)
(sfm : SFMOracle n) (hsfm : SfmAdmissible sfm) :
∀ j k, 0 ≤ (nonMarginals (shiftProjectUnshift sfm A istar jstar)).m j k := by sorry
end ProductMixAuction.Allocate