A1 and the marginal floor bound every padded sequence
ProvedAPFPaper1.Foundation.padded_protocol_boundFix a ledger, a uniform positive marginal floor epsilon, and a finite sequence of n insertions beginning with the empty family. The same epsilon bounds every feasible support-novel marginal increment. Assume a specified protocol serves the final family and A1 holds at a finite real capacity C: every protocol in this declared context has price at most C. Sum one epsilon for each support-novel insertion and zero for every other insertion. This sum is at most the final joint-cost infimum, which is at most the specified protocol price, which is at most C. Non-novel insertions remain in the prefixes; the theorem does not require each step to be novel. It includes n=0 and repeated insertions. It proves the per-order padded bound; it does not formalize the maximum padded rank or claim its equality with pure chain rank. No attained infimum, support independence, outcome selection, or cost-spectrum nondegeneracy 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 padded_protocol_bound {D P : Type*} [DecidableEq D]
(L : Ledger D P) (ε : ℝ) (hfloor : MarginalFloor L ε)
(n : ℕ) (S : ℕ → Finset D) (d : ℕ → D)
(hzero : S 0 = ∅) (hstep : ∀ i < n, S (i + 1) = insert (d i) (S i))
(p : P) (hp : L.serves p (S n)) (C : ℝ) (hA1 : A1Capacity L C) :
let credit := ∑ i ∈ Finset.range n, if SupportNovel L (S i) (d i) then ε else 0
credit ≤ cost L (S n) ∧ cost L (S n) ≤ L.price p ∧ L.price p ≤ C := by sorry
end APFPaper1.FoundationRead-back
What the Lean code literally says, in plain math · Codex (GPT-6)
For any types and , with decidable equality on , let consist of a real-valued price function , a relation between and finite subsets of , and a relation between and , such that all prices are nonnegative; and imply ; and imply ; and there exists with and . For every finite , define , where the real infimum is the totalized real infimum (in particular, the empty set has infimum ). Say that holds exactly when there exists a real such that, for every , if and , then does not hold. Let satisfy and the following condition for every finite and every : if there exists with and holds, then . For any natural number , any sequences and such that and for every natural , any satisfying , and any real satisfying and for every , define if holds and otherwise. Then , , and , all simultaneously. The sum is over the indices strictly below and is when ; in that case and . There is no requirement that the be distinct or that hold at every step, and no constraints are imposed on for or on for . The sequence is nevertheless defined on all natural numbers, including when , so these quantified data cannot be supplied when is empty. The condition defining can hold vacuously when no protocol satisfies both of its antecedents; the marginal inequality is required only when both its feasibility and novelty antecedents hold. Under the displayed hypotheses, every with is served by , so its set of prices is nonempty and bounded below by .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.