Produce complementary LP slack bases while retaining the original real instance
ProvedSmaleNinth.initial_lp_pair_ordered_fieldThe actual initial LP circuit constructs and exports the two complementary slack bases over an arbitrary ordered field. The caller retains the untouched LP, a usable native address footprint and the exact row and kernel packets for the initial marked test.
Preamble
import Definitions.Def_OAILP_Recovery_InitialPairShared import Definitions.Def_OAILP_Recovery_PairBuilderPublish import Definitions.Def_OAILP_Recovery_PairAccess open Matrix OAI.Optimization.LinearProgramming open OAI.Optimization.LinearProgramming.RAM OAI.Optimization.LinearProgramming.RAM.Callable open OAI.Optimization.LinearProgramming.Recovery open scoped Matrix
Formal statement
theorem SmaleNinth.initial_lp_pair_ordered_field {K : Type} [Field K] [LinearOrder K]
[IsStrictOrderedRing K] {m d : ℕ} (A : Matrix (Fin m) (Fin d) K) (b : Fin m → K) :
∃ (native caller : Memory K) (r s : ℕ) (D : Matrix (Fin r) (Fin (m+1)) K)
(E : Matrix (Fin s) (Fin (m+1)) K),
InitialPair.fragment.Run (fun _ : K => True)
(Odd.memory (start [] ([] : List K)).memory (start [m,d] (lpInput A b)).memory)
(InitialPair.fragmentTime m d) (Odd.memory native caller) ∧
Footprint (PairBuilder.capacity (d+1) (m+1) 0-1) (native.atPC 0) ∧
InitialPair.Retained A b caller ∧
PairBuilder.Prepared false (InitialPair.layout m d) (slackColumns A b)ᵀ D E caller ∧ r ≤ d+1 := by sorrySource