Can an Unordered Field Certify That an Integer Matrix Is Positive Definite? Zero-Knowledge Certificates via Bareiss Elimination
Askey (doi:10.5281/zenodo.23842727) showed that a Cholesky positivity circuit over the BN254 scalar field is neither complete nor sound, and proposed a repair based on range-checked integer arithmetic and Sylvester's criterion. This paper specifies the repaired circuit and proves its soundness and completeness under explicit parameter bounds. A circuit over the BN254 scalar field can decide exactly whether a symmetric n x n integer matrix S with entries in [-2^b, 2^b) is positive definite. It range-checks the input residues (the verifier checks the integer range on the public matrix, outside the circuit), makes the prover supply the fraction-free (Bareiss) elimination table, and range-checks only the n pivots. The condition H_n <= 2^c guarantees completeness and H_n + 2^c < p guarantees soundness, where H_n is Hadamard's bound; under both, the circuit accepts S if and only if S is positive definite, and for a fixed S the accepting elimination table is unique. In the committed setting the coupling matrix A stays hidden behind a commitment, S = (2a sigma - tau) I + g (A + A^T) is formed inside the circuit from the committed A and public integers, and the entry bound the theorems need is derived from a range check on A inside the circuit, together with a zero-diagonal check when A is encoded with A_ii = 0, and from conditions on the public parameters that the verifier checks. A margin version certifies the real matrix alpha* I + gamma* A_sym, with smallest eigenvalue above a stated epsilon, for every real alpha*, gamma* that round to the public parameters. Binding and zero-knowledge are inherited from the commitment and the proof system as cited assumptions. The circuit has not been built; constraint counts are not measured. Lean 4 machine-checks the lift lemma, four of its uses, the entry bound and the BN254 bound arithmetic. Theorems 1, 2, 4 and 5 are proved by hand. On 100,000 star matrices, the Cholesky circuit this replaces accepts 4,491 of 70,713 positive definite matrices (6.35%) and 1,812 of 29,287 indefinite ones (6.19%). Reproduction code (Python reference model, exhaustive checks, figure scripts) and the Lean project are included; every number in the paper is reproduced by the shipped files.
Authors
- Mark Askey
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24576547
- Primary Topic
- Cryptography and Data Security
- Type
- preprint