How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
A polynomial-size prime field meets the soundness budget
Statement
Let and be integers and put . Then:
- (Existence and size.) There is a prime with , and every such prime satisfies and . Hence and .
- (Deterministic search.) Call an integer with admissible when no integer with divides . The first admissible in the order is prime; a search that tests every candidate against every such performs at most trial divisions and bit operations, using no randomness and no primality test.
- (Residue arithmetic.) In addition and multiplication make a field in which each class has exactly one representative in ; representatives are stored in bits, adding or subtracting two representatives costs bit operations and multiplying them costs bit operations. Consequently Horner evaluation of a polynomial of degree at most at a point of costs operations in , hence bit operations.
- (Sampler with point mass at most .) Let , let be uniform on and let be the integer reduced modulo . Then for each , and for every set of residues.
Facts & Assumptions
Given: Integers and , , and a uniform string .
For every integer there is a prime with (Bertrand's postulate).
An integer is prime when and every positive divisor of satisfies or ; an integer that is not prime is composite, and then has a positive divisor with and (Prime and composite integers: is prime when and its only positive divisors are and ).
For every prime the operations of addition and multiplication on make it a field (For every prime , the two operations on make it a field).
For every positive integer , each class in contains exactly one integer with , and (For , every class in has one representative with , so ; while is in bijection with ).
Proof
Since we have , so [A1] with yields a prime with . Writing gives in both cases of the maximum, and ; since , also , so and . This is claim (1).
Let be an integer with that is not prime, so is composite and has a positive divisor with and by [A2]. Write ; the divisor can be replaced by the smaller of the pair , so we may take . From , valid because , we get , hence . Therefore every non-prime with is inadmissible: admissibility forces primality.
By [A3] the operations of make it a field, and is a positive integer, so by [A4] applied to every class in has exactly one representative in and the field has exactly elements. Representatives are integers below , hence below : each occupies at most bits, and schoolbook add/subtract and multiply on such integers cost and bit operations.
Let and count the strings of whose integer value satisfies ; these are exactly the integers in the arithmetic progression below , so there are at most of them. Because gives , division by yields , the last step using .
Run the search of claim (2). By step 1.1 the prime of the interval is one of the candidates , and it is admissible: a divisor of with would satisfy because , and , contradicting primality. So the scan halts, and by step 1.2 its first admissible candidate is prime. There are at most candidates and at most divisors tested for each, so at most trial divisions are performed, each on integers below with bits, for bit operations in total. This is claim (2).
By step 1.3 each class of is represented by a unique integer in of bits, so one field operation costs bit operations: for addition or subtraction of representatives and for a schoolbook product followed by reduction modulo . Horner's rule evaluates a polynomial of degree at most with multiplications and additions of representatives, that is field operations or bit operations. Since by step 1.1, this is bit operations. This is claim (3).
For a set of residues, by step 1.4, the residues outside being represented by their unique representative in that range. With this reduces to step 1.4, and with the bound reads . This is claim (4).
Claims (1)–(4) are steps 1.1, 2.1, 2.2 and 2.3, so for all integers the interval contains a prime above the budget , findable deterministically in bit operations, whose residue field admits -cost arithmetic and a -point-mass sampler. Every bound is polynomial in and , which is the content of the statement. ∎
Depends on
- Prime and composite integers: $p$ is prime when $p > 1$ and its only positive divisors are $1$ and $p$
- For $n\ge 1$, every class in $\mathbb{Z}/n$ has one representative $r$ with $0\le r<n$, so $\lvert\mathbb{Z}/n\rvert=n$; while $\mathbb{Z}/0$ is in bijection with $\mathbb{Z}$
- For every prime $p$, the two operations on $\mathbb{Z}/p$ make it a field
- Bertrand's postulate
Used by
- The Shamir interactive protocol for TQBF Definition
- Perfect completeness through a TQBF reduction Example
- A false field claim becomes true in one round with bounded probability Lemma
- Explicit communication, round, and evaluation bounds Lemma
- Shamir verifier runs in polynomial time Lemma
- Total TQBF soundness by the first repaired claim Lemma
Dependency tree · two levels
33 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Arora and Barak, Computational Complexity: A Modern Approach, §8.5.2 (prime p in (2^n, 2^{2n}]) and §8.5.3, author-hosted draft (standard reference, not scraped)
- A. Shen, IP = PSPACE: Simplified Proof, JACM 39(4) 1992, pp. 878–880 ("p can be chosen by P or V because primality testing is trivial for numbers of this size") (standard reference, not scraped)