Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

App. A.2, p. 34 — the DA demand D_j(z) is weakly decreasing in z_j and weakly increasing in z_k, k ≠ j

Proved
PriorityAlloc.DAFlex.demand_monotone

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

deferred-acceptancelarge-marketmonotonicityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be a market satisfying the standing assumptions and let GtG_tGt​ be probability distributions of priorities. For the DA demand Dj(z)D_j(z)Dj​(z) of (A.2):

  1. raising the cutoff of item jjj weakly lowers its demand: if w≤w′w \le w'w≤w′, then Dj(zj←w′)≤Dj(zj←w)D_j(z^{j \leftarrow w'}) \le D_j(z^{j \leftarrow w})Dj​(zj←w′)≤Dj​(zj←w);
  2. raising the cutoff of another item k≠jk \ne jk=j weakly raises the demand for jjj: if w≤w′w \le w'w≤w′, then Dj(zk←w)≤Dj(zk←w′)D_j(z^{k \leftarrow w}) \le D_j(z^{k \leftarrow w'})Dj​(zk←w)≤Dj​(zk←w′).

Here zk←wz^{k \leftarrow w}zk←w is zzz with its kkk-th component replaced by www.

This monotonicity is what makes the DA operator of Algorithm 2 monotone, and hence what gives the DA cutoff its existence via Knaster–Tarski.

Preamble
import Mathlib
import Definitions.Def_PriorityAlloc_DAFlex_Model
Formal statement
namespace PriorityAlloc.DAFlex

open MeasureTheory Classical

variable {m n : ℕ}

/-- App. A.2, p. 34: `D_j(z)` is weakly decreasing in `z_j` and weakly increasing in every other
component `z_k`, `k ≠ j`. -/
theorem demand_monotone (M : Market m n) (hM : M.Standing) (G : Fin m → Measure (Fin n → ℝ))
    (hG : ∀ t, IsProbabilityMeasure (G t)) :
    (∀ (z : Fin n → ℝ) (j : Fin n) (w w' : ℝ), w ≤ w' →
        demand M G (Function.update z j w') j ≤ demand M G (Function.update z j w) j) ∧
      (∀ (z : Fin n → ℝ) (j k : Fin n) (w w' : ℝ), k ≠ j → w ≤ w' →
        demand M G (Function.update z k w) j ≤ demand M G (Function.update z k w') j) := by sorry

end PriorityAlloc.DAFlex
Source
Shi, Optimal Priority-Based Allocation Mechanisms, SSRN manuscript 3425348 (June 2020; published Management Science 2022, doi:10.1287/mnsc.2020.3925), p. 34, App. A.2, 'Note that D_j(z) is weakly decreasing in z_j and weakly increasing in all other components'
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