knapsack5_agent_val
def
Agent valuations in the five-item knapsack instance with parameter eta: item 0 (A) has value 3, item 1 (B) has value 2, item 2 (E) has value 4, item 3 (C) has value 8, and item 4 (J) has value eta.
Statement
def knapsack5_agent_val (η : ℝ) : Fin 5 → ℝ- Defined in
- arXiv:2611.33095 Section 3
- Verified
- 29 Nov 2026
- Axioms
- none listed
- Used by 1
- 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 real number η, knapsack5_agent_val η is defined as the function from Fin 5 to ℝ mapping index 0 to 3, index 1 to 2, index 2 to 4, index 3 to 8, and any other index (namely 4) to η.
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
/-- Agent item values parameterized by eta. -/ def knapsack5_agent_val (η : ℝ) : Fin 5 → ℝ := fun i => match i with | 0 => 3 | 1 => 2 | 2 => 4 | 3 => 8 | _ => η