Pruned offline program correctness for arbitrary rational parameters
ProvedThreeSumSharpTail.pruned_program_correct3sumsharp-tailword-ram-costs
For every finite rational parameter record G, the published program31P(G) satisfies OfflineSpec32P at every machine limit. It executes the specified preprocessing and queries on the actual stored matrices and selected entries, with the declared step counts. This is the generic correctness interface of the pruned program; asymptotic cost regimes, word-size polynomial bounds and the 3SUM reduction are separate conclusions.
Preamble
import Definitions.Def_APSP299791_Defs5 set_option autoImplicit false set_option relaxedAutoImplicit false
Formal statement
theorem ThreeSumSharpTail.pruned_program_correct (G : Light.Sec4.RatParams) : ∀ lim,
Light.Sec4.OfflineSpec32P lim (Light.Sec4.program31P G) Light.Sec4.cShared30 G := by sorrySource
Reusable generic portion of the ACCEPTED proof of Light.Sec4.allInstancesP_programP, submission 50de6837-5a9a-4f1f-ab1f-e9cff8fc270a. ThreeSumApsp/Pruned/Program31P.lean and related choosing-parameter specifications at formal-math commit 27a2fa4bab32. The preprocessing, query and offline procedure proofs are generic in G; the later fixed-parameter wrapper is excluded.