Documentation

CslibFrontier.Computability.Complexity.RealAlgebraic.SingleEquationCounting

Counting-hierarchy bound for a single real equation #

The input encodes the arithmetic term on the left of an equation with zero on the right. The term evaluator computes residues in polynomial time, and the word length bounds its arity, degree and coefficient norm exponent. Malformed words are modelled by the constant one polynomial, so the real-zero test rejects them.

This adapts lean-canny's term-family realization to the frontier term encoding.

Main result #

Words encoding one integer arithmetic term with a real zero. Since variable indices are unary, the word length suffices as the ambient dimension. Malformed words are rejected.

Encoding a term preserves real feasibility, even when its ambient dimension contains unused coordinates and is larger than the encoding length.

The encoded single-equation problem is in the twenty-sixth counting level.