The shared stage with pruned encodings meets its specification in every program beginning with base58
ProvedLight.Sec4.shared_base58Let be any list of procedures and limits satisfying the standing assumptions (an address fits in a word, and ). In the program , the procedure sharedP (number ) meets the specification of the shared stage with pruned encodings with the constant :
for all parameters with , addresses , matrices , , a bound , and every memory satisfying the precondition of the shared stage (the matrices stored at with entries of absolute value at most , the block from in memory, and the needed numbers fitting in a word), and every depth with , the call ends within steps, leaves behind the shared tables, the directory, and for every band the encodings of the row band of and the column band of at the leaves whose decimal digits contain at most nines, and changes nothing outside the shared part of the block.
The time shape is
where , , is the cost of laying out one band, and is the number of strings of decimal digits with at most nines. The pruned encoder only visits these strings, which replaces the term per band of the unpruned shared stage.
base58 is the list of procedures -: the program of Section 2 for the thin matrix product, the pruned shared stage (-), eight unused slots, the routines of Section 4 (-) and the four routines that know the memory map (-). It is the common beginning of the programs for Theorem 30, Corollaries 26, 31 and 32 and the pruned all-instances program.
“Procedure meets its specification within steps” means: called at any depth allowed by the hypothesis, with the given argument values and a memory satisfying the precondition, the body of terminates within steps without violating the limits, and the returned value and final memory satisfy the postcondition.
Formalization Note The statement is Sec2.SharedSpecP lim (base58P ++ R) cShared30 (the Section 4 program list is named base58P in the uploaded bundles).
/- Copyright (c) 2026 Anthropic, PBC. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. SPDX-License-Identifier: Apache-2.0 -/ -- Generated by skeleton subtraction from the ThreeSumApsp library at commit 27a2fa4bab32. import Definitions.Def_APSP299791_Defs5 set_option autoImplicit false set_option relaxedAutoImplicit false open Light open Light.Sec4 open ThreeSumApsp ThreeSumApsp.WordRam
theorem Light.Sec4.shared_base58 (R : Program) (lim : Limits) (std : Std lim) :
Sec2.SharedSpecP lim (base58P ++ R) cShared30 := by sorry