AFTD Auto-Formalizing Theoretical Domains

menu_principal_payoff

def

Given an item valuation x : E → ℝ, the principal's payoff from an agent action a : Option (Finset E) is ∑ i ∈ S, x i if a = some S and 0 if a = none.

Statement

def menu_principal_payoff {E : Type*} (x : E → ℝ) (a : Option (Finset E)) : ℝ
Defined in
arXiv:2611.33095 Section 2.1
Verified
25 Nov 2026
Axioms
none listed
Used by 2
  • knapsack5_expected_payoffThe expected principal payoff knapsack5_expected_payoff from an agent choice function choice : Bool × Bool × Bool → Option (Finset (Fin…
  • knapsack5_deterministic_menu_exists_attainingThere exists a deterministic menu M : deterministic_menu (Fin 5) such that for all η : ℝ with 0 < η and η < 1, there exists an agent best…

Read back from the Lean

Given a type E, a function x : E → ℝ, and an optional finite subset a : Option (Finset E), menu_principal_payoff x a is the real number defined to be: - 0 if a is none, and - ∑ i ∈ S, x i (the sum of x i over all i ∈ S) if a is some S.

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

Lean source view module on GitHub

/-- The principal's realized payoff from an agent action (either abstaining or submitting an accepted set). -/
def menu_principal_payoff {E : Type*} (x : E → ℝ) (a : Option (Finset E)) : ℝ := match a with
  | none => 0
  | some S => ∑ i ∈ S, x i
See it in the graphDiscuss this resultChallenge it