A Constructive Proof of Rice's Theorem and the Halting Problem via Hilbert's Tenth Problem
Pith reviewed 2026-05-10 15:15 UTC · model grok-4.3
The pith
Rice's theorem follows constructively from the undecidability of Hilbert's tenth problem using a two-witness construction.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Given any non-trivial semantic property P of programs, the construction produces, for every Diophantine polynomial D, a pair of programs S0_D and S1_D. When D has a solution, one program satisfies P and the other does not. When D has no solution, both programs diverge in exactly the same way. Therefore, if there were a decider for P, its outputs on the pair would differ exactly when D is solvable, yielding a decider for Hilbert's tenth problem, which is assumed impossible. The proof never splits cases on whether the equation is solvable and never inspects the behavior of the always-diverging program.
What carries the argument
The two-witness construction that attaches to each Diophantine polynomial a pair of programs behaving as positive and negative witnesses for the property precisely when the polynomial is solvable.
Load-bearing premise
The programs attached to an unsolvable polynomial must be indistinguishable by any decider for the property, forcing both to diverge identically.
What would settle it
A computation showing that for some specific Diophantine equation without solutions, the corresponding S0 and S1 programs are distinguishable by a hypothetical property decider would falsify the construction.
Figures
read the original abstract
Rice's theorem states that no non-trivial semantic property of programs is decidable. Classical proofs proceed by reduction from the halting problem, invoking the law of excluded middle (LEM) twice: once through diagonalization, and once through a case split on whether the always-diverging program bot satisfies the property in question. We present a proof that is constructive relative to the undecidability of Hilbert's Tenth Problem (MRDP): valid in intuitionistic logic, requiring neither diagonalization nor self-reference, and adding no classical reasoning beyond the MRDP assumption itself. The key idea is a two-witness construction. Given a non-trivial property P, we attach to each Diophantine polynomial D a pair of programs S^0_D, S^1_D that behave like the negative and positive witnesses for P when D is solvable, and both diverge identically when it is not. A hypothetical decider for P would therefore decide Diophantine solvability via the difference delta_D = DecideP(S^1_D) - DecideP(S^0_D) -- contradicting the MRDP theorem. The argument is structured as two separate implications, never asserting a disjunction about solvability, and never examining P(bot). The undecidability of the halting problem follows as an immediate corollary: a single application of Rice's theorem to the Terminates property. A formalization in the Rocq proof assistant confirms both results within a step-indexed model of computation, with the undecidability of Hilbert's Tenth Problem as the sole external axiom. Both Rice_Theorem and Halting_Problem are closed under the global context.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper claims to provide a constructive (intuitionistic) proof of Rice's theorem—that no non-trivial semantic property of programs is decidable—relative to the undecidability of Hilbert's Tenth Problem (MRDP theorem), without diagonalization, self-reference, or additional classical reasoning. The key device is a two-witness construction: for each Diophantine polynomial D, programs S^0_D and S^1_D are attached such that they realize the negative and positive witnesses for a non-trivial property P precisely when D is solvable, and diverge identically (hence are equivalent under P) when D is unsolvable. A hypothetical decider for P then yields a decider for solvability via the difference delta_D, contradicting MRDP. The undecidability of the halting problem follows immediately by instantiating P as Terminates. The argument is formalized in Rocq using a step-indexed model of computation, with MRDP as the sole external axiom.
Significance. If the central claim holds, the result is significant because it supplies a machine-checked proof in Rocq that stays strictly within intuitionistic logic, relies only on the independent MRDP axiom, and avoids both diagonalization and any case analysis on solvability or on the behavior of the always-diverging program. The explicit two-witness reduction and the fact that both Rice_Theorem and Halting_Problem are closed under the global context constitute a clear technical advance in constructive computability.
minor comments (3)
- [Abstract] Abstract: the claim that the proof is 'valid in intuitionistic logic' and 'adds no classical reasoning beyond the MRDP assumption' is central, yet the abstract gives no indication of how the step-indexed model ensures that the two programs S^0_D and S^1_D are observationally equivalent when D is unsolvable; a one-sentence pointer to the relevant Rocq lemma would help.
- [Formalization] §4 (or the formalization section): while the two-witness construction is described at a high level, the manuscript does not explicitly record the lemma that delta_D = 1 exactly when D is solvable and delta_D = 0 when D is unsolvable; adding this as a numbered statement would make the reduction to MRDP fully transparent.
- [Corollary] The paper correctly notes that the halting-problem corollary follows from a single application of Rice's theorem to Terminates, but it would be useful to state the precise instantiation of the two-witness programs for this case so that readers can see the reduction is uniform.
Simulated Author's Rebuttal
We thank the referee for the careful and accurate summary of our manuscript, which correctly identifies the central technical device (the two-witness construction) and the fact that the argument remains strictly intuitionistic once the MRDP axiom is assumed. The recommendation of minor revision is noted; we have prepared a revised version that incorporates the minor clarifications implied by the overall assessment.
Circularity Check
No significant circularity; derivation is self-contained via external axiom
full rationale
The paper reduces Rice's theorem to the undecidability of Hilbert's Tenth Problem (MRDP) using an independent two-witness construction: for each Diophantine polynomial D, programs S^0_D and S^1_D are defined so that they realize distinct witnesses for P precisely when D is solvable and diverge identically otherwise. A hypothetical decider for P then yields a decider for solvability via delta_D without case splits or LEM. This is a standard reduction, not a self-definition or fitted prediction. The Rocq formalization treats MRDP as the sole external axiom and verifies the argument remains intuitionistic. No self-citation is load-bearing, no ansatz is smuggled, and no step renames a known result as a derivation. The central claim therefore has independent content beyond its inputs.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption Undecidability of Hilbert's Tenth Problem (MRDP theorem)
Reference graph
Works this paper leans on
-
[1]
doi:10.1145/504709.504712. [Bau06] Andrej Bauer. First steps in synthetic computability theory. Electronic Notes in Theoretical Computer Science, 155:5–31, 2006. doi:10.1016/j.entcs.2005.11.049. [Bee85] Michael Beeson. Foundations of Constructive Mathematics . Springer, 1985. doi:10.1007/ 978-3-642-68952-9 . [BGP21] Vasco Brattka, Guido Gherardi, and Arno...
-
[2]
Considering The Satisfiability of Cubic Diophantine Equations
doi:10.1007/3-540-45699-6_8 . [Ric53] Henry Gordon Rice. Classes of recursively enumerable sets and their decision problems. Trans- actions of the American Mathematical Society , 74(2):358–366, 1953. doi:10.2307/1990888. [Rog67] Hartley Rogers. Theory of Recursive Functions and Effective Computability . McGraw-Hill, 1967. [Ros25] M. Rosko. Cubic incomplet...
work page internal anchor Pith review Pith/arXiv arXiv doi:10.1007/3-540-45699-6_8 1953
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.