Division-free arithmetic programs over a field and their operation counts.
theorem
MatrixMultiplicationAllFields.MatrixMultiplication.Arithmetic.MatrixAlgorithm.correct_iff_entries
{F : Type u_1}
[Field F]
{a b c : ℕ}
(P : MatrixAlgorithm F a b c)
:
def
MatrixMultiplicationAllFields.MatrixMultiplication.Arithmetic.scalarAlgorithm
(F : Type u_1)
:
MatrixAlgorithm F 1 1 1
Multiply two scalar inputs using one multiplication gate.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MatrixMultiplicationAllFields.MatrixMultiplication.Arithmetic.scalarAlgorithm_correct
(F : Type u_1)
[Field F]
:
@[simp]
@[simp]
@[simp]