cfahlgren1/math / lean /OAI /Analysis /MatrixSigning /Complexity /SchurPolynomialBound.lean
cfahlgren1's picture
download
raw
1.29 kB
import Mathlib
import OAI.Analysis.MatrixSigning.Machines.SchurTablePorts
namespace OAI
section
namespace KS.W07.SchurTableMachine
theorem inputLengthBudget_le_monomial (L : ℕ) :
inputLengthBudget L ≤ KS.W29.polynomialFuel 2000000000000 5 L := by
unfold inputLengthBudget totalTicks SchurLoopState.rowBudget SchurLoopState.columnBudget
SchurCellMachine.cellBudget KS.W29.polynomialFuel
ring_nf
omega
theorem polynomial_input_spec {n : ℕ} (M : DenseRatMatrix (n+1)) :
KS.W03.MachineCombinators.RunSpec program (inputState M) (outputState M)
(KS.W29.polynomialFuel 2000000000000 5 (KS.W08.denseMatrixTape M).length) :=
(input_length_spec M).mono (inputLengthBudget_le_monomial _)
theorem onPorts_polynomial_spec {k n : ℕ} (ports : Fin 32 ↪ Fin k)
(spare : Fin k → List Bool) (M : DenseRatMatrix (n+1)) :
KS.W03.MachineCombinators.RunSpec (KS.W29.FixedSequential.liftPorts program ports)
(KS.W06.RationalCompare.replacePorts ports spare (inputState M))
(KS.W06.RationalCompare.replacePorts ports spare (outputState M))
(KS.W29.polynomialFuel 2000000000000 5 (KS.W08.denseMatrixTape M).length) :=
(onPorts_input_length_spec ports spare M).mono (inputLengthBudget_le_monomial _)
end KS.W07.SchurTableMachine
end
end OAI

Xet Storage Details

Size:
1.29 kB
·
Xet hash:
cf807f027699f794caf32fe8f409a2d741d9255b15f16627f7fe192b4ae5b2e1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.