An achievable budget retains the attainment endpoint
ProvedAPFPaper1.Foundation.budget_endpointLet S be feasible and let b be any real budget. A serving protocol with price at most b exists exactly when either the cost infimum is strictly below b, or the infimum equals b and a serving protocol attains it. Thus the infimum value alone does not determine whether its endpoint budget is achievable. The statement includes negative budgets, the zero-price empty family, and unattained infima.
import Definitions.Def_APFPaper1_Foundation import Mathlib.Tactic.Linarith import Mathlib.Tactic.Push set_option autoImplicit false open Classical
namespace APFPaper1.Foundation
theorem budget_endpoint {D P : Type*} (L : Ledger D P) (S : Finset D)
(hS : Feasible L S) (b : ℝ) :
WithinBudget L S b ↔ cost L S < b ∨
(cost L S = b ∧ ∃ p, L.serves p S ∧ L.price p = cost L S) := by sorry
end APFPaper1.FoundationRead-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For any types and , any ledger consisting of a price function with for every , a relation between and finite subsets of such that and imply , and a relation such that and imply , with at least one satisfying and , take any finite subset of for which there exists with , and any real number . Define ; this set is nonempty by the assumption on and bounded below by zero. Then there exists with and if and only if either , or and there exists with and . The budget is unrestricted, including zero and negative values; for negative , both sides are false. The finite set may be empty, in which case is attained and the equivalence holds with either side true exactly when . The type may be empty, while the ledger's required rules out an empty . No attainment of is assumed for a general feasible ; attainment is required in the stated alternative precisely when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.