Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Budget feasibility: strict slack or attained equality

Proved
APFPaper1.Foundation.budget_endpoint_ledger

by FiniteUniverse · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

apffoundationsinfima

For the same supplied Ledger L, finite S with Feasible L S, and real budget b, a serving protocol of complete price at most b exists exactly when cost L S < b or when cost L S = b and a serving protocol attains that infimum. Feasibility and the attaining witness at equality remain explicit; no universal attainment or physical instantiation is inferred.

Preamble
import Definitions.Def_APFPaper1_WithinBudget
import Theorems.Thm_APFPaper1_Foundation_cost_bounds_ledger
import Theorems.Thm_APFPaper1_Foundation_near_optimal_ledger
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Push
set_option autoImplicit false
open Classical
Formal statement
namespace APFPaper1.Foundation
theorem budget_endpoint_ledger {D P Record : Type*} (L : Ledger D P Record) (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.Foundation
Source
Paper 1 Supplement v9.27:1778-1782. Existing Local_budget_endpoint proof reused with current CostLedger, cost_bounds_ledger and near_optimal_ledger bindings. Original seed /seed_items/5, historical node 993c7730-0980-42d5-8979-35582a3666fe. No cost/familyCost bridge or new physical premise.
Human review
  • Endorsed by Shuze Chen · Nov 12, 2026

  • Endorsed by FiniteUniverse · Nov 12, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me