Capacity bounds the length of an all-novel chain
ProvedAPFSpine.all_novel_capacity_boundFor arbitrary label and protocol types, with decidable label equality, take a ledger with nonnegative prices, downward-closed service, carriage of every served label, and a free empty protocol. Let joint cost be the infimum of serving prices. Supply a positive uniform marginal floor epsilon for every feasible support-novel insertion; novelty means that some positive near-optimality window excludes carriage of the added label by all serving protocols in that window. Let a total insertion sequence start empty and have n support-novel steps. If a specified protocol serves its final family and a nonnegative C bounds every protocol price in the declared protocol type, then both and . The sequence and label functions are total, even when n=0; no infimum attainment or physical calibration is assumed.
import Definitions.Def_APFPaper1_Foundation set_option autoImplicit false open Classical APFPaper1.Foundation
namespace APFSpine
theorem all_novel_capacity_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))
(hnovel : ∀ i < n, SupportNovel L (S i) (d i))
(p : P) (hp : L.serves p (S n)) (C : ℝ) (hA1 : A1Capacity L C) :
(n : ℝ) * ε ≤ C ∧ (n : ℝ) ≤ C / ε := by sorry
end APFSpine
Read-back
What the Lean code literally says, in plain math · Codex (GPT-6)
Let and be arbitrary types, with decidable equality on , and let consist of a price function , a relation between and finite subsets , and a relation between and , subject to all of the following laws: for every ; for every , if and serves , then serves ; for every , if serves and , then carries ; and there exists a serving with . For each finite , define , using the real-valued infimum operation, whose value on the empty set is ; call feasible when some serves it, and write for the assertion that there exists a real such that, for every , if serves and , then does not carry . Let satisfy and the global condition that, for every finite and every , feasibility of together with implies . For every natural number , every sequence , and every sequence , assume and, for every natural , both and ; each occurrence of has its own existentially quantified positive , with no requirement that the same work at different indices. For every serving and every real satisfying and for every , the conclusion is the conjunction and , where is regarded as a real number in both inequalities. The price bound applies to every element of , regardless of what it serves, and the marginal condition applies to every finite and every , not merely those in the displayed sequences; an instance of that conditional marginal condition imposes no inequality when its feasibility or novelty premise fails, and the universal implication defining is vacuous if there is no meeting its two antecedents, in particular when is infeasible. No attainment of an infimum is assumed; the nonnegative prices bound every nonempty price set below, and all for are feasible under the stated serving and sequence assumptions. The quantifiers include , when both index-restricted assumptions are vacuous and the conclusion becomes and , as well as , for which the conclusion forces ; division by zero is excluded by . The sequences are total, so requires to have an element even when , while the zero-price empty-set law requires to have an element; values of for and of for are otherwise unrestricted, and inserting an already present element uses ordinary set insertion rather than adding a second copy.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.