AFTD Auto-Formalizing Theoretical Domains

principal_payoff_ge_menu_score

theoremverifiedformalization

Let E be a finite set and F a nonempty downward-closed family of finite subsets of E. Let M be a deterministic delegation menu, x : E → ℝ nonnegative principal values and y : E → ℝ strictly positive agent values. The agent either abstains, giving both parties 0, or submits a report S in F; if M accepts S at x, the agent receives y(S) = Σ_{i∈S} y_i and the principal x(S) = Σ_{i∈S} x_i, otherwise both receive 0. Suppose the agent's choice is a best response: its agent utility is at least 0 (abstaining) and at least the agent utility of every report in F. Then the principal's payoff is at least the score of M at x, the infimum of x(S) over the reports S that are inclusion-maximal among the nonempty reports in F accepted by M at x (the infimum of the empty set being 0).

Statement

open Classical in
theorem principal_payoff_ge_menu_score {E : Type*} [Fintype E] [DecidableEq E]
    (F : Set (Finset E)) (hF : F.Nonempty)
    (hdown : ∀ S T : Finset E, S ∈ F → T ⊆ S → T ∈ F)
    (M : DelegationMenu E) (x y : E → ℝ) (hx : ∀ i, 0 ≤ x i) (hy : ∀ i, 0 < y i)
    (report : Option (Finset E)) (hfeas : ∀ S, report = some S → S ∈ F)
    (habstain : 0 ≤ report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, y i else 0))
    (hbest : ∀ T ∈ F,
      (if M.accepts T x then ∑ i ∈ T, y i else 0) ≤
        report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, y i else 0)) :
    menu_score M F x ≤
      report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, x i else 0)
Formalizes
arXiv:2611.33095 (Improved Downward-Closed Delegation Bounds), Lemma 2.1. The knowledge-base menu lets acceptance depend on the whole principal value vector, which includes the paper's menus depending on x_S; best responses are quantified over all of them, covering any tie-breaking.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
  • menu_scoreThe score of a delegation menu M at principal values x with feasible family F is the infimum in ℝ of the values ∑ i ∈ S, x i over all sets…
  • is_maximal_acceptedA finite set S is inclusion-maximal in the accepted reports of menu M at principal values x with feasible family F if S is in…
  • menu_acceptedFor a delegation menu M on type E, a family of feasible sets F : Set (Finset E), and principal values x : E → ℝ, the accepted reports are…
  • DelegationMenuA delegation menu on a type E consists of an acceptance predicate accepts : Finset E → (E → ℝ) → Prop indicating whether a finite subset S…

Read back from the Lean

Let E be a finite type with decidable equality. Let F be a non-empty set of finsets of E that is downward-closed (for all finsets S and T, if S ∈ F and T ⊆ S, then T ∈ F). Let M be a delegation menu on E, and let x, y : E → ℝ be vectors such that x i ≥ 0 and y i > 0 for all i : E. Let report : Option (Finset E) be an optional finset such that: 1. hfeas: if report = some S, then S ∈ F. 2. habstain: 0 is less than or equal to the agent's payoff from report under y (defined as 0 if report = none, and if report = some S, then ∑ i ∈ S, y i if M.accepts S x else 0). 3. hbest: for every T ∈ F, the agent's payoff from T under y (defined as ∑ i ∈ T, y i if M.accepts T x else 0) is less than or equal to the agent's payoff from report under y. Then the menu score menu_score M F x is less than or equal to the principal's payoff from report under x (defined as 0 if report = none, and if report = some S, then ∑ i ∈ S, x i if M.accepts S x else 0).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The proof splits into two cases based on whether the menu accepts any nonempty feasible report. If no such report is accepted, the set of maximal accepted reports is empty, giving a menu score of 0, which is at most the principal's nonnegative payoff. If at least one accepted nonempty feasible report exists, the agent's best-response payoff must be strictly positive, meaning the agent cannot abstain and must submit an accepted nonempty report R. Maximality of R among accepted reports follows because reporting any strict superset would strictly increase the agent's utility (since agent values are strictly positive), contradicting the optimality of R. Since R is maximal accepted, the menu score—the infimum of the principal's values across maximal accepted reports—is at most the principal's payoff from R.

  1. For any nonempty finite set T, the agent's sum of values ∑_{i∈T} y_i is strictly positive.

    Since every agent value y_i is strictly positive, the sum over any nonempty finite set is strictly positive by `Finset.sum_pos`.

    lines 13–14

    uses Finset.sum_pos

      have hpos : ∀ T : Finset E, T.Nonempty → 0 < ∑ i ∈ T, y i :=
        fun T hT => Finset.sum_pos (fun i _ => hy i) hT
  2. The principal's payoff under the agent's reporting decision is always nonnegative.

    If the agent abstains (`report = none`), the principal's payoff is 0. If the agent submits a report S, the payoff is either 0 (if rejected) or the sum ∑_{i∈S} x_i (if accepted). Since all principal values x_i are nonnegative, this sum is nonnegative by `Finset.sum_nonneg`, so the payoff is at least 0 in every case.

    lines 15–21

    uses Option.elim, Finset.sum_nonneg, le_refl

      have hnonneg : 0 ≤ report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, x i else 0) := by
        rcases report with _ | S
        · simp
        · simp only [Option.elim]
          split_ifs
          · exact Finset.sum_nonneg (fun i _ => hx i)
          · exact le_refl 0
  3. Assuming at least one nonempty feasible report is accepted, the agent's equilibrium utility is strictly positive, so the agent does not abstain and submits some report R.

    If there exists an accepted nonempty feasible set S, reporting S gives the agent strictly positive utility. Because the agent plays a best response (`hbest`), their actual utility must be at least this positive amount, and in particular strictly positive. Consequently, the agent cannot abstain—which would give utility 0—and must submit some report R.

    lines 22–29

    uses if_pos, lt_of_lt_of_le, Option.elim

      by_cases hA : ∃ S, S ∈ menu_accepted M F x
      · obtain ⟨S, hSF, hSne, hSacc⟩ := hA
        have h1 := hbest S hSF
        rw [if_pos hSacc] at h1
        have h1' := lt_of_lt_of_le (hpos S hSne) h1
        rcases report with _ | R
        · simp at h1'
        · simp only [Option.elim] at h1' hbest ⊢
  4. Assuming the submitted report R is accepted by M, R is nonempty and feasible, so R belongs to the set of accepted reports.

    Under the assumption that M accepts R, the agent's payoff is ∑_{i∈R} y_i > 0. If R were empty, this sum would be 0 by `Finset.sum_empty`, contradicting strict positivity by `lt_irrefl`. Thus R is nonempty. Since R is feasible by assumption (`hfeas`), R satisfies all conditions to belong to `menu_accepted M F x`.

    lines 30–36

    uses if_pos, Finset.sum_empty, lt_irrefl

          by_cases hR : M.accepts R x
          · rw [if_pos hR] at h1' hbest ⊢
            have hRne : R.Nonempty := by
              rcases R.eq_empty_or_nonempty with h | h
              · rw [h, Finset.sum_empty] at h1'; exact absurd h1' (lt_irrefl 0)
              · exact h
            have hRA : R ∈ menu_accepted M F x := ⟨hfeas R rfl, hRne, hR⟩
  5. The accepted report R is inclusion-maximal among all nonempty feasible reports accepted by M.

    Suppose for contradiction that R is not maximal, so there exists an accepted report T strictly containing R. Then some element i lies in T \ R by `Finset.exists_of_ssubset`. Since y_i > 0 and all y_j ≥ 0, the agent's utility from T is strictly greater than from R by `Finset.sum_lt_sum_of_subset`. But because T is feasible and accepted, the agent's best-response condition (`hbest`) requires the utility from T to be at most the utility from R. Linear arithmetic closes this contradiction.

    lines 37–46

    uses le_refl, Finset.exists_of_ssubset, Finset.sum_lt_sum_of_subset, if_pos

            have hmax : is_maximal_accepted M F x R := by
              refine ⟨hRA, fun T hT hRT => ?_⟩
              by_contra hTR
              have hss : R ⊂ T := Finset.ssubset_iff_subset_ne.2 ⟨hRT, fun h => hTR (h ▸ le_refl _)⟩
              obtain ⟨i, hiT, hiR⟩ := Finset.exists_of_ssubset hss
              have hlt : ∑ i ∈ R, y i < ∑ i ∈ T, y i :=
                Finset.sum_lt_sum_of_subset hRT hiT hiR (hy i) (fun j _ _ => (hy j).le)
              have := hbest T hT.1
              rw [if_pos hT.2.2] at this
              linarith
  6. The menu score is at most the principal's payoff ∑_{i∈R} x_i from the accepted report R.

    The menu score is the infimum of the principal's values over all maximal accepted reports. Because x ≥ 0, the set of such values is bounded below by 0 by `Finset.sum_nonneg`. Since R is maximal accepted, the value ∑_{i∈R} x_i belongs to the set, so by `csInf_le`, the infimum is at most this value, which is the principal's payoff.

    lines 47–50

    uses csInf_le, Finset.sum_nonneg

            unfold menu_score
            apply csInf_le
            · exact ⟨0, fun r ⟨S', _, hr⟩ => hr ▸ Finset.sum_nonneg (fun i _ => hx i)⟩
            · exact ⟨R, hmax, rfl⟩
  7. The case where the reported set R is rejected by M is impossible.

    If M rejected R, the agent's payoff would be 0 by `if_neg`, contradicting the earlier fact that the agent's payoff is strictly positive (by `lt_irrefl`). This closes the rejected subcase and finishes the proof for when accepted reports exist.

    line 51

    uses if_neg, lt_irrefl

          · rw [if_neg hR] at h1'; exact absurd h1' (lt_irrefl _)
  8. When no nonempty feasible report is accepted by M, the menu score is 0, which is at most the principal's payoff.

    If no nonempty feasible set is accepted, the set of maximal accepted reports is empty. By `Real.sInf_empty`, the infimum of the empty set of reals is 0, so the menu score is 0. Since the principal's payoff is always nonnegative (from Step 2), the menu score is at most the principal's payoff.

    lines 52–59

    uses Set.mem_ofPred_eq, Set.mem_empty_iff_false, iff_false, Real.sInf_empty

      · have hempty : {r : ℝ | ∃ S, is_maximal_accepted M F x S ∧ r = ∑ i ∈ S, x i} = ∅ := by
          ext r
          simp only [Set.mem_ofPred_eq, Set.mem_empty_iff_false, iff_false]
          rintro ⟨S, hS, _⟩
          exact hA ⟨S, hS.1⟩
        unfold menu_score
        rw [hempty, Real.sInf_empty]
        exact hnonneg
Finset.sum_pos
A sum of strictly positive elements over a nonempty finite set is strictly positive.
Option.elim
Eliminates an Option by returning a default value if none, or applying a function to the value if some.
Finset.sum_nonneg
A sum of nonnegative elements over a finite set is nonnegative.
le_refl
Every element in a preorder is less than or equal to itself.
if_pos
An if-then-else expression evaluates to the then branch when the condition is true.
lt_of_lt_of_le
If a < b and b ≤ c in a preorder, then a < c.
Finset.sum_empty
The sum of any function over the empty finset is 0.
lt_irrefl
Strict inequality is irreflexive: no element is strictly less than itself.
Finset.exists_of_ssubset
If s is a strict subset of t, there exists an element in t that does not belong to s.
Finset.sum_lt_sum_of_subset
If s ⊆ t, some element in t \ s has strictly positive weight, and all other elements in t \ s have nonnegative weights, then the sum over s is strictly less than the sum over t.
csInf_le
In a conditionally complete lattice, the infimum of a set bounded below is less than or equal to any element in the set.
if_neg
An if-then-else expression evaluates to the else branch when the condition is false.
Set.mem_ofPred_eq
An element belongs to a set comprehension {x | p x} if and only if p x holds.
Set.mem_empty_iff_false
Membership in the empty set is equivalent to false.
iff_false
A proposition is equivalent to false if and only if its negation holds.
Real.sInf_empty
The infimum of the empty set of real numbers is 0.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

open Classical intheorem principal_payoff_ge_menu_score {E : Type*} [Fintype E] [DecidableEq E]    (F : Set (Finset E)) (hF : F.Nonempty)    (hdown : ∀ S T : Finset E, S ∈ F → T ⊆ S → T ∈ F)    (M : DelegationMenu E) (x y : E → ℝ) (hx : ∀ i, 0 ≤ x i) (hy : ∀ i, 0 < y i)    (report : Option (Finset E)) (hfeas : ∀ S, report = some S → S ∈ F)    (habstain : 0 ≤ report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, y i else 0))    (hbest : ∀ T ∈ F,      (if M.accepts T x then ∑ i ∈ T, y i else 0) ≤        report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, y i else 0)) :    menu_score M F x ≤      report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, x i else 0) := by  have hpos : ∀ T : Finset E, T.Nonempty → 0 < ∑ i ∈ T, y i :=    fun T hT => Finset.sum_pos (fun i _ => hy i) hT  have hnonneg : 0 ≤ report.elim 0 (fun S => if M.accepts S x then ∑ i ∈ S, x i else 0) := by    rcases report with _ | S    · simp    · simp only [Option.elim]      split_ifs      · exact Finset.sum_nonneg (fun i _ => hx i)      · exact le_refl 0  by_cases hA : ∃ S, S ∈ menu_accepted M F x  · obtain ⟨S, hSF, hSne, hSacc⟩ := hA    have h1 := hbest S hSF    rw [if_pos hSacc] at h1    have h1' := lt_of_lt_of_le (hpos S hSne) h1    rcases report with _ | R    · simp at h1'    · simp only [Option.elim] at h1' hbest ⊢      by_cases hR : M.accepts R x      · rw [if_pos hR] at h1' hbest ⊢        have hRne : R.Nonempty := by          rcases R.eq_empty_or_nonempty with h | h          · rw [h, Finset.sum_empty] at h1'; exact absurd h1' (lt_irrefl 0)          · exact h        have hRA : R ∈ menu_accepted M F x := ⟨hfeas R rfl, hRne, hR⟩        have hmax : is_maximal_accepted M F x R := by          refine ⟨hRA, fun T hT hRT => ?_⟩          by_contra hTR          have hss : R ⊂ T := Finset.ssubset_iff_subset_ne.2 ⟨hRT, fun h => hTR (h ▸ le_refl _)⟩          obtain ⟨i, hiT, hiR⟩ := Finset.exists_of_ssubset hss          have hlt : ∑ i ∈ R, y i < ∑ i ∈ T, y i :=            Finset.sum_lt_sum_of_subset hRT hiT hiR (hy i) (fun j _ _ => (hy j).le)          have := hbest T hT.1          rw [if_pos hT.2.2] at this          linarith        unfold menu_score        apply csInf_le        · exact ⟨0, fun r ⟨S', _, hr⟩ => hr ▸ Finset.sum_nonneg (fun i _ => hx i)⟩        · exact ⟨R, hmax, rfl⟩      · rw [if_neg hR] at h1'; exact absurd h1' (lt_irrefl _)  · have hempty : {r : ℝ | ∃ S, is_maximal_accepted M F x S ∧ r = ∑ i ∈ S, x i} = ∅ := by      ext r      simp only [Set.mem_ofPred_eq, Set.mem_empty_iff_false, iff_false]      rintro ⟨S, hS, _⟩      exact hA ⟨S, hS.1⟩    unfold menu_score    rw [hempty, Real.sInf_empty]    exact hnonneg
See it in the graphDiscuss this resultChallenge it