Theorem 3.2.5 — every optimal matching is increasing
ProvedSupermodularity.Matching.isIncreasing_of_optimal_of_jointlyStrictlySupermodularSuppose is strictly supermodular in the joint variable on
(with ordered as a
chain). Then every optimal matching is increasing (IsIncreasingMatching).
Topkis, Theorem 3.2.5 (p. 101): "If is strictly supermodular in on , then each optimal matching is increasing." The proof first invokes Theorem 3.2.4 to get that any optimal matching is ordered, then swaps the assignments of any two firms out of order and derives a strict profit improvement from joint strict supermodularity, contradicting optimality. Combined with Theorem 3.2.3, when the labor market is also tight this shows a matching is optimal if and only if it is increasing.
Formalization Note. The hypothesis here — strict supermodularity of the joint function on the product lattice — is strictly stronger than, and not to be confused with, Theorem 3.2.4's pair of hypotheses (joint non-strict supermodularity together with strict supermodularity in alone for each fixed ); the two milestones keep their own hypotheses rather than one being stated as a special case of the other.
import Mathlib import Definitions.Def_Supermodularity_Matching_StrictlySupermodularOn import Definitions.Def_Supermodularity_Matching_IsOptimalMatching import Definitions.Def_Supermodularity_Matching_IsIncreasingMatching
namespace Supermodularity.Matching
theorem isIncreasing_of_optimal_of_jointlyStrictlySupermodular
{n m : ℕ} {X : Fin n → Type*} [∀ i, Lattice (X i)]
(f : (∀ i, X i) → Fin m → ℝ)
(hf : StrictlySupermodularOn (fun p : (∀ i, X i) × Fin m => f p.1 p.2) Set.univ) :
∀ x : Fin m → ∀ i, X i, IsOptimalMatching f x → IsIncreasingMatching x := by sorry
end Supermodularity.Matching
Read-back
What the Lean code literally says, in plain math · claude-opus-5
This statement concerns a family of types — formally — where the two natural numbers and and the family itself are implicit arguments, inferred rather than supplied. Each member is assumed to carry a lattice structure, and nothing more: no linearity, no distributivity, no completeness, no boundedness, no nonemptiness. Write
for the type of dependent tuples assigning to each index an element ; this product carries the coordinatewise lattice order induced by the assumed structures, and carries its usual linear order. The two combine, through the standard product instances, into the componentwise lattice order on : exactly when for every and .
The data is a function
a real-valued function of a tuple and an index. The single hypothesis asserts that the uncurried version of — the map on the product lattice — satisfies the predicate StrictlySupermodularOn relative to the set , i.e. the whole ambient type, so no region of the domain is excluded. Crucially, the supermodularity condition is imposed jointly, on the single lattice in which the tuple coordinates and the index coordinate are treated on the same footing; it is not a condition asserted separately in each argument, nor one asserted only in the coordinate.
The conclusion is a universally quantified implication over
that is, over all ways of assigning to each of the indices a tuple . Note the argument order here is the reverse of 's: consumes a tuple and then an index, whereas consumes an index and returns a tuple. For every such , the statement asserts: if IsOptimalMatching holds of the pair , then IsIncreasingMatching holds of . The direction is a one-way implication, not an equivalence: nothing is claimed about increasing assignments that fail to be optimal.
Three predicates in this statement — StrictlySupermodularOn, IsOptimalMatching, and IsIncreasingMatching — are supplied by imported files whose contents are not part of the declaration, so the statement itself fixes only how they are applied, not what they mean. All that the code exhibits is their arity and the types they are fed: StrictlySupermodularOn receives a real-valued function on together with a subset of that type (here the universal set); IsOptimalMatching receives and together, so its content may involve both the objective and the assignment; and IsIncreasingMatching receives alone, so whatever monotonicity it expresses is a property of the assignment in isolation, with no reference to . A reader wanting the substantive content of the claim must consult those three definitions; this statement asserts the implication between them and nothing further.
In the degenerate cases the hypotheses permit: if , then is the empty product, a one-element type, so every assignment is constant at its unique tuple and depends only on the index; if some is an empty type and , then is empty, is the empty function, and — provided — the type is empty as well, so the conclusion's universal quantifier ranges over nothing and holds vacuously. If , then is empty, so is empty and on it is the empty set, making the supermodularity hypothesis a condition on an empty domain; simultaneously has exactly one inhabitant, the empty function, so the conclusion reduces to the single claim that this empty assignment is an increasing matching whenever it is an optimal one — whatever those predicates say when handed an empty assignment. If and both hold, every object in sight is trivial and the statement reduces to one instance of the implication on the unique empty assignment. Since are arbitrary lattices with no nonemptiness assumption, the hypothesis may in these cases be satisfiable only vacuously, and the theorem correspondingly carries no content there.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.