Documentation

CslibFrontier.Computability.Complexity.Classes.CountingHierarchy.Primality

Uniform primality at the first counting function level #

A universal short-index divisor check certifies primality in F_1. The input is binary, including zero and one; the evaluator uses total binary remainder. No primality oracle or uncharged arithmetic procedure is assumed.

The total Boolean primality predicate on binary naturals.

Check one bounded-divisor candidate, rejecting moduli below two and ignoring candidates outside the proper-divisor interval. The index is a binary word.

One fixed-width universal pass of the shared divisor check characterizes primality.

One uniform universal divisor test computes primality in F_1, with binary input.