Expand description
FRI low-degree-test soundness.
Conjectured regime: random-words bound, [2025/2010] §1.5. Legacy regime: historical pre-random-words ethSTARK query estimate, [2021/582]. Proven regime: round-by-round, [2024/1553] Theorems 2 & 3, with the DKT26 Johnson line-MCA commit bound ([2026/2056] Theorem 5.12 and Appendix B.1–B.2, extended to powers batching through the order-zero case of §7.2, Equation (88)). Its characteristic-free transfer is Lemma 5.3, not the positive-order powers-batching corollary in that section.
Correspondence with crate::assumption::SecurityAssumption:
proven_error_udris the FRI counterpart ofUniqueDecoding(with FRI-specific α = (1 + ρ⁺)/2 incorporating OOD expansion).proven_error_ldr_m/best_ldr_mis the FRI counterpart ofJohnsonBound, but searchesm ∈ [3, LDR_M_CAP]rather than fixingm = 10as WHIR does.CapacityBoundis not currently supported by FRI’s commit-phase analysis.
Structs§
- FriRegime
- Security-relevant mirror of
p3_fri::FriParameters.
Functions§
- best_
ldr_ m - Search
m ∈ [3, min(compute_upper_m, LDR_M_CAP)]for the value maximising LDR security; returns(best_m, ldt_error_at_best_m). - commit_
phase_ error_ ldr_ m - FRI commit-phase per-round error in LDR with explicit proximity
parameter
m. DKT26 Theorem 5.12 and Appendix B.1–B.2 give the Johnson-regime line-MCA countC = 8·n·(m + 1/2)^3/(3·rho_minus); multiplying byfolding − 1accounts for the polynomial-curve degree of a folding round. We also retain the independentn/|F|bound from [2024/1553] and take the minimum of their security bits. Round-by- round soundness is dominated by round 0 (largestn), so we usen = lde_domain_sizefor every round. For positive-degree codes atm >= 3, MCA gives fewer security bits and determines this minimum. Reconstruction can instead cap the separate constant-code bound. - commit_
phase_ error_ udr - FRI commit-phase per-round error in UDR.
- conjectured_
commit_ phase_ error - FRI commit-phase per-round error in the conjectured regime.
- conjectured_
error - Conjectured low-degree-test soundness (random-words, [2025/2010] §1.5).
- ldr_
candidates - Every admissible
m ∈ [3, min(compute_upper_m, LDR_M_CAP)]with the LDT-only error attained there, in increasing order ofm. - legacy_
conjectured_ error - Historical FRI query-error estimate (ethSTARK 2021/582 §5.10.1, pre-random-words).
- proven_
error_ ldr_ m - Proven LDT-only error in the LDR regime with explicit
m. - proven_
error_ udr - Proven LDT-only error in the UDR regime. Combines commit-phase and
query-phase contributions; AIR/DEEP terms compose at the protocol
call site (e.g.
crate::stark::proven_security). - query_
phase_ error - FRI query-phase error: ε ≤ αᵏ, contributing
query_pow − k·log2(α)bits.