Uniform executable line representatives #
The program selects the first nonzero direction coordinate, divides the point coordinate by it, and subtracts that multiple of the direction. Selection, inversion, multiplication and the coordinate scan are actual ambient programs. The raw program is polynomial-time and total on every input; correctness is stated on canonical encodings in the constructed Shoup field.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MIPRE.Introspection.LineProgram.representative u v = u - MIPRE.Introspection.LineProgram.coefficient (List.ofFn fun (i : Fin n) => (u i, v i)) • v
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Select a pivot and compute its point/direction ratio; the all-zero direction has coefficient zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
One uniform program for arbitrary field widths and vector lengths.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The ambient program halts within one polynomial for every raw input, including malformed field elements and unequal vector lengths.
The same program has one polynomial bound in field width plus vector length; the polynomial is independent of both parameters.