Complex arithmetic programs and asymptotic matrix multiplication costs.
@[reducible, inline]
noncomputable abbrev
MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Arithmetic.Expression.sumFin
{Input : Type u_1}
{n : ℕ}
(f : Fin n → Expression Input)
:
Expression Input
Form a finite sum using the shared field-generic expression implementation.
Equations
Instances For
@[reducible, inline]
noncomputable abbrev
MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Arithmetic.naiveEntry
{n : ℕ}
(i k : Fin n)
:
The schoolbook dot-product expression, specialized from the generic implementation.
Equations
Instances For
theorem
MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Arithmetic.naiveEntry_cost
{n : ℕ}
(i k : Fin n)
:
@[reducible, inline]
noncomputable abbrev
MatrixMultiplicationAllFields.MatrixMultiplication.Foundation.Arithmetic.naiveAlgorithm
(n : ℕ)
:
Compile the schoolbook algorithm using the shared field-generic construction.