Computing an ExactTriangle instance catalogue #
The fixed input format is (D,g,n,p) followed by the three signed weight matrices. The program
computes residues and query classes, computes the splitting parameters from D,g,n, and
concatenates the actual query-chunk descriptors. The caller supplies neither the parameters nor
a class, prefix or descriptor table. Subsequent matrix preparation consumes this catalogue.
This is native composition of the existing Theorem 17 residue, parameter, class and chunk kernels. The modulus remains a supplied positive argument; prime selection belongs to the outer ExactTriangle host.
Main definitions #
Catalogue.program: fixed thirty-two-register native catalogue computation.Catalogue.budget: input-derived numeric bound for arithmetic and allocated addresses.Catalogue.cost: charged cost before the final halt.Catalogue.Output: computed parameters, residues, queries, descriptors and memory frame.
Main results #
Catalogue.exec_at: actual execution from the fixed input header, exact parameters, residue and query readback, concatenated descriptors and a combined memory frame.
References #
The class/query layout follows the pinned Theorem 17 construction. The native composition and instruction bounds are original.
Computed maximum vertices per piece, preserved by descriptor enumeration.
Computed number of pieces, preserved by descriptor enumeration.
Existing parameter computation in the lower register bank.
Internal argument delivery from the fixed D,g,n,p header.
Internal argument delivery and allocation after the computed query blocks. Copying the count/query pointers precedes overwriting their old registers with the computed piece data.
All class, parameter and chunk work is performed by actual native instructions.
One finite instruction graph, independent of runtime sizes and physical width.
A single explicit bound covering the fourth-power square-root input, all ceiling temporaries and the worst-case descriptor reservation. Signed payloads have a separate bound.
Every setup, parameter, signed residue, class scan and descriptor instruction is charged; the final halt is added by the flat caller.
Exact computed parameters, residue/query arrays, concatenated descriptors and memory frame. This is the readback established by the actual native catalogue execution.
Prepare the actual catalogue at the fixed header, computing both splitting parameters and every class/chunk. The result contains no supplied layout or execution certificates. The two input-dependent fit premises cover ordinary signed values and the explicit numeric budget.