AFTD Auto-Formalizing Theoretical Domains

menu_score

def

The 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 S that are inclusion-maximal in menu_accepted M F x.

Statement

noncomputable def menu_score {E : Type*} [DecidableEq E]
    (M : DelegationMenu E) (F : Set (Finset E)) (x : E → ℝ) : ℝ
Defined in
arXiv:2611.33095 Section 2.2
Verified
27 Nov 2026
Axioms
none listed
Built on 2
  • DelegationMenuA delegation menu on a type E consists of an acceptance predicate accepts : Finset E → (E → ℝ) → Prop indicating whether a finite subset S…
  • 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…
Used by 1
  • principal_payoff_ge_menu_scoreLet 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 → ℝ…

Read back from the Lean

Given a type E with decidable equality, a delegation menu M on E, a family of finite sets F : Set (Finset E), and a valuation vector x : E → ℝ, menu_score M F x is defined as the real infimum (sInf) of the set of values $\sum_{i \in S} x(i)$ over all finite sets $S \subseteq E$ that are inclusion-maximal among the sets in $F$ that are nonempty and accepted by $M$ under $x$ (i.e., S ∈ F, S.Nonempty, and M.accepts S x).

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 score of a delegation menu at a principal value realization: the infimum principal value of inclusion-maximal accepted reports. -/
noncomputable def menu_score {E : Type*} [DecidableEq E]
    (M : DelegationMenu E) (F : Set (Finset E)) (x : E → ℝ) : ℝ := sInf {r : ℝ | ∃ S, is_maximal_accepted M F x S ∧ r = ∑ i ∈ S, x i}
See it in the graphDiscuss this resultChallenge it