Documentation

CslibFrontier.Algorithms.WordRAM.ExactTriangle.ParameterSelecting.Slow

Actual exhaustive branch of the assembled ExactTriangle solver #

The complete24-register reference program executes on the real original matrices, including aliased spans and empty input. Six argument copies and the raw return copy are charged. Every memory cell and all saved original high-register arguments survive. No fast geometry, supplied verdict, source run, layout or time contract is used for the small branch.

theorem Cslib.Algorithms.WordRAM.ExactTriangle.ParameterSelecting.exec_slow {W n F b : ℕ} (x : WordRAM.Data 640) (A B C : Fin n → Fin n → ℤ) (hn : x.regs CallableFixedPrime.Reg.n = n) (hAB : x.regs CallableFixedPrime.Reg.ab + n * n ≤ b) (hBC : x.regs CallableFixedPrime.Reg.bc + n * n ≤ b) (hAC : x.regs CallableFixedPrime.Reg.ac + n * n ≤ b) (hfit : WordRAM.Fits W (b + n * (n * n) + 6 * F + 10)) (hmA : ∀ (i j : Fin n), x.mem (x.regs CallableFixedPrime.Reg.ab + ↑i * n + ↑j) = WordRAM.Signed.encode (A i j)) (hmB : ∀ (i j : Fin n), x.mem (x.regs CallableFixedPrime.Reg.bc + ↑i * n + ↑j) = WordRAM.Signed.encode (B i j)) (hmC : ∀ (i j : Fin n), x.mem (x.regs CallableFixedPrime.Reg.ac + ↑i * n + ↑j) = WordRAM.Signed.encode (C i j)) (hA : ∀ (i j : Fin n), |A i j| ≤ ↑F) (hB : ∀ (i j : Fin n), |B i j| ≤ ↑F) (hC : ∀ (i j : Fin n), |C i j| ≤ ↑F) :

Real small-input solving from the saved original arguments, with arbitrary old registers and aliased matrices. This execution rule also applies to zero vertices or zero weight bound.