Complete protocol prices bound their infimum
ProvedAPFPaper1.Foundation.cost_boundsFix a ledger with nonnegative complete protocol prices, a serving relation closed under subfamily restriction, and a zero-price empty protocol. If a specified protocol p serves a finite family S, then its joint cost, defined as the infimum of all serving prices, lies between zero and the price of p. The supplied witness ensures feasibility. The infimum need not be attained, and no positive floor is assumed.
import Definitions.Def_APFPaper1_Foundation import Mathlib.Tactic.Linarith import Mathlib.Tactic.Push set_option autoImplicit false open Classical
namespace APFPaper1.Foundation
theorem cost_bounds {D P : Type*} (L : Ledger D P) (S : Finset D)
(p : P) (hp : L.serves p S) : 0 ≤ cost L S ∧ cost L S ≤ L.price p := by sorry
end APFPaper1.FoundationRead-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For any types and , let a ledger consist of a function , a relation between elements and finite subsets of , and a relation between elements of and , subject to the following conditions: for every ; for all and finite subsets of , implies ; for every , finite subset , and , implies ; and there exists with and . For every finite subset of and every satisfying , define . Then and . The set whose infimum is taken is nonempty because it contains , and it is bounded below by zero. The quantifiers allow and allow to be empty; the ledger assumptions require to be nonempty. For a finite subset served by no element of , there is no satisfying the theorem's hypothesis, so the theorem asserts no bound for that subset.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.