Smooth FRI Doomed Predicates, Error Budgets, Curve-Gap Contracts, and Unique-Decoding Upgrade #
Defines the smooth round-by-round doomed/good-step predicates (friSmoothCommitDoomed,
friSmoothDoomed, friSmoothGoodStep), error budget expressions (friSmoothRoundEscape,
friSmoothSumError, friSmoothSupRBRError, friSmoothRBRError), interactive commit-phase game
(friSmoothCommitGame), polymorphic per-round degree-(l⁽ⁱ⁾ - 1) curve proximity-gap and escape
contracts (WeightedCurveGapPerRound, WeightedCurveGapBound, WeightedCurveEscapePerRound,
UniqueCurveGapHypothesis), and the unique-decoding curve-gap upgrade theorems
(weightedCurveGapPerRound_of_uniqueCurveGap, weightedCurveGapBound_of_uniqueCurveGap).
Smooth Round-by-Round Predicates, Error Budgets, and Commit Game #
Smooth commit-round doomed predicate at round i ≤ m: no codeword in params.rsCode i achieves
friSmoothPreWeight-weighted agreement > B with friSmoothTargetWord.
Smooth FRI round-by-round doomed-state predicate:
- For prefixes of length
i ≤ m,friSmoothCommitDoomedholds at roundi. - For complete transcripts of length
m + 1, at least one of theqqueried starting positions failsfriSmoothTranscriptSingleAccepts. - For unreachable lengths
> m + 1, holds trivially (True).
Smooth FRI round-by-round good-step predicate: for pref.length ≤ m, extending pref by
(π, c) preserves friSmoothDoomed; for unreachable lengths > m, holds trivially (True) so the
escape event {c | ¬ friSmoothGoodStep ... c} is empty.
Per-round escape budget vector for single-word (m + 1)-round friSmoothIOP: ε_commit i in
folding rounds 0 ≤ i < m, and ((2 ^ d - e - 1) / 2 ^ d) ^ q in the final query round m.
The sum of friSmoothRoundEscape over all m + 1 rounds equals friSmoothSumError.
Uniform per-round escape error sup_j (friSmoothRoundEscape params e ε_commit j) across all
m + 1 rounds of friSmoothIOP.
Uniform per-round escape error for smooth FRI: the maximum of the commit-round error
B_commit / |F| and the batched query-round error ((2 ^ d - e - 1) / 2 ^ d) ^ q.
For a uniform commit-round error B_commit / |F|, friSmoothSupRBRError is bounded above by
friSmoothRBRError.
Single-word smooth FRI commit-phase game: runs m interactive smooth folding rounds and samples
the final committed oracle πFinal ← P pref, returning true iff strictly more than B starting
points in Fin (2 ^ d) pass friSmoothFinalPasses.
Weighted Curve Gap / Escape Contracts #
Polymorphic per-round weighted degree-(l⁽ⁱ⁾ - 1) curve proximity-gap contract across all
m smooth FRI folding rounds at agreement threshold B and per-round exceptional-scalar budgets
B_commit : Fin params.m → ℕ.
Pointwise monotonicity of WeightedCurveGapPerRound in the per-round scalar budget.
Polymorphic uniform weighted curve proximity-gap contract for all m smooth FRI folding
rounds at agreement threshold B and uniform bad-scalar budget B_commit (definitionally equal to
WeightedCurveGapPerRound params B (fun _ => B_commit)).
Polymorphic per-round weighted curve escape-probability contract across all m smooth FRI
folding rounds at agreement threshold B and per-round escape probability budgets
ε_commit : Fin params.m → ℝ≥0∞ (matching [BenSassonCarmonIshaiKoppartySaraf2020, Theorem 7.2]
with degree-(l⁽ⁱ⁾ - 1) curves).
Pointwise monotonicity of WeightedCurveEscapePerRound in the per-round escape budget.
Every integer per-round bad-scalar bound WeightedCurveGapPerRound params B B_commit induces a
per-round escape-probability bound ε_commit i = B_commit i / |F|.
Smooth Unique-Decoding Curve-Gap Upgrade #
Unweighted degree-(l⁽ⁱ⁾ - 1) curve proximity-gap hypothesis across all m smooth FRI folding
rounds at unique-decoding radii e / 2 ^ cumLog (i + 1) (matching
[BenSassonCarmonIshaiKoppartySaraf2020, Theorem 6.1]).
Conditional step (shrinking per-round smooth unique-decoding weighted upgrade): inside the
unique-decoding regime 2 * e + params.dim 0 ≤ 2 ^ d, assuming UniqueCurveGapHypothesis params e
yields WeightedCurveGapPerRound via Folding.lean's weighted_agree_of_curve_many with
telescoping budget fun i => (params.arity i - 1) * params.domainSize (i.val + 1) (whose sum over
all m rounds is 2 ^ d - 2 ^ (d - totalLog) < 2 ^ d). This does not itself prove the unweighted
curve proximity-gap theorem.
Conditional step (uniform smooth unique-decoding weighted upgrade): inside the
unique-decoding regime 2 * e + params.dim 0 ≤ 2 ^ d, assuming UniqueCurveGapHypothesis params e
yields uniform WeightedCurveGapBound with round-0 budget 2 ^ d - 2 ^ (d - firstStepLog) via
FRISmoothParams.arity_sub_one_mul_domainSize_le_first.