Correctness of finite matrix tests #
The domain test uses the size-two extension f + 1: at a defined point,
either f is nonzero or f + 1 is nonzero. A hitting list for both therefore
contains a point in the domain of f, even if f is identically zero.
theorem
Complexity.RationalHitting.Internal.matrix_inverse_left
{d : ℕ}
(a : Mat d)
(ha : Matrix.det a ≠ 0)
:
theorem
Complexity.RationalHitting.Internal.matrix_inverse_right
{d : ℕ}
(a : Mat d)
(ha : Matrix.det a ≠ 0)
:
theorem
Complexity.RationalHitting.Internal.evalMatrix_sound
{n d : ℕ}
(f : Formula n)
(X : Tuple n d)
{v : Mat d}
(h : f.evalMatrix? X = some v)
:
Evaluates f X v
theorem
Complexity.RationalHitting.Internal.nonzero_admissible
{n : ℕ}
{f : Formula n}
(hf : Nonzero f)
:
theorem
Complexity.RationalHitting.Internal.admissible_nonzero_or_add_one
{n : ℕ}
(f : Formula n)
(hf : Admissible f)
: