Radical identity testing is in coRP
New in version 1.3. Section 10 now discusses the proof of the Riemann hypothesis and of the generalized Riemann hypothesis for Dirichlet L-functions announced by L. Alpöge on 20 November 2026 (Lean 4 formalization; not yet refereed). If it is confirmed, the coRP bound of Balaji, Nosan, Shirmohammadi and Worrell for 2-RIT and the BPP bound for cyclotomic identity testing become unconditional. Their method for general RIT still relies on the Riemann hypothesis for Dedekind zeta functions of non-abelian fields and gives only coNP; the main theorem of this paper does not depend on the announcement. A new remark (Remark 3.4) gives a deterministic construction of the auxiliary root w, so that all field computations are deterministic once the prime is fixed. Theorem 1, its proof, the algorithms and the Lean formalization are unchanged; an independent adversarial check of the additions found no mathematical error. New in version 1.2. A new subsection, Improved parameters (Section 6.2), refines the parameters of the main theorem with two standard techniques, still without unproved hypotheses: pairwise independent seeds give O(s) random bits in total (Proposition 6.6, for the original algorithm), and a presieve by the odd primes up to 2s+3 gives O(s/log s) trials (Proposition 6.7). Remark 6.8 compares these counts honestly with Theorem 6.1: the presieve saves a factor of order log2 s and pays off only for large inputs. Remarks for referees on the analytic input were added to Sections 5 and 6 (order of quantifiers, the exponentially large modulus with linear encoding, the exceptional zero, uniform sampling of candidates). The main theorem, its proof and the Lean formalization are unchanged. The new material comes from an independent reconstruction and hostile review by the program's second thread (ChatGPT/Codex); an independent adversarial check found no mathematical error, and every step was checked by Claude before inclusion. It is a written proof and is not formalized. New in version 1.1. The Lean 4 formalization now proves Besicovitch's theorem for primes and an explicit bound on the size of the norm, which were named hypotheses in version 1.0. The assembled statement (zero values are always accepted; a nonzero value is detected for at least θK − Λ of the candidates, with an explicit Λ) now has a single named hypothesis: a counting form of the density of admissible primes, the analytic input proved in writing from Thorner–Zaman. Circuits with shared gates are covered by a proved unfolding to trees. Section 9 and Appendix A of the paper are updated accordingly; the theorems, the algorithm and the written proofs are unchanged. Result. Radical identity testing (RIT) asks whether an integer arithmetic circuit vanishes at nonnegative real radicals a11/d1, ..., ak1/dk, where the radicands ai and the root degrees di are written in binary. The best published upper bound for RIT is coNP under the Generalized Riemann Hypothesis (GRH), due to Balaji, Nosan, Shirmohammadi and Worrell (LICS 2022); without assumptions, the best published bound is PSPACE. This preprint shows that RIT is in coRP: there is a randomized polynomial-time algorithm with one-sided error, explicit up to one absolute, effectively computable constant. The proof uses no unproved hypothesis. Method. The circuit is reduced modulo random primes p from a dyadic arithmetic progression with an odd-part condition that depends only on a common root degree D, never on the radicands. For every such p, each element of Fp has a D-th root in Fp2, computable by two exponentiations; a free presentation of the radical order over a pairwise coprime basis without perfect powers turns any choice of these roots into a ring homomorphism. The density of suitable primes follows from the uniform prime number theorem for arithmetic progressions of Thorner and Zaman; a possible exceptional zero is handled by averaging over admissible residue classes and by an elementary positivity argument for the seven real characters of conductor dividing 24. As an extension, the method covers circuits with nested real roots of odd degree; certificates for nonzero values consisting of a single prime are also noted. Supplementary material. rit-tool-v1.0.zip (unchanged): a reference implementation in Python (standard library only), a test suite, and a demonstration suite of 37 items with expected answers justified independently, including root degrees 21000, 31000 and a 300-digit prime, and nonzero values of order 10-300 and smaller, with timings. rit-lean-v1.1.zip: the Lean 4 formalization (Lean 4.37.0-rc1, Mathlib) of the algebraic part of the proof, with a portable build script and an axiom report (127 declarations). The LaTeX source of the paper is included. Status. Preprint, not peer-reviewed. Machine-checked in Lean 4 with Mathlib without hypotheses: root existence in Fp2, the free presentation and ring homomorphisms, divisibility of the norm by bad primes, Besicovitch's theorem for primes, the one-sided error, and the norm bound with an explicit constant. The assembled detection bound is proved with one named hypothesis, a counting form of the density of admissible primes. Only the standard axioms propext, Classical.choice and Quot.sound occur. The analytic density theorem, the running time and the normalization algorithm are proved in writing only. The written proof was examined by independent adversarial reviews; the verification status of each step is listed in Section 9 of the paper. How this result was obtained. The result was obtained with SAPIO MORPHEUS, a research program designed and built by Filip Majchrzak, which steers general-purpose AI models (OpenAI ChatGPT/Codex and Anthropic Claude) through fixed procedures: preregistered research protocols, independent adversarial reviews, and machine verification in the Lean proof assistant where feasible. Filip Majchrzak takes responsibility for the content.
Authors
- Filip Majchrzak (ORCID: https://orcid.org/0009-0007-3475-8900)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24662849
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint