Submitted:
24 October 2025
Posted:
27 October 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. The Diagonal Method: Infinite Assumptions and Finite Limitations
2.1. The Common Diagonal Structure
2.2. Cantor’s Diagonal Argument: The Infinite Foundation
- Completed infinite sequences: The argument assumes infinite sequences exist as completed mathematical objects
- Infinite enumeration completeness: The enumeration is assumed to be a completed infinite collection
- Universal quantification over infinity: The phrase "for every " appeals to actual infinity
- Diagonal construction completeness: The construction of d requires completing an infinite process
2.3. The General Pattern and Its Infinite Dependencies
- Infinite enumeration assumption: The method assumes we can meaningfully discuss "all possible" objects of a given type arranged in an infinite sequence
- Completed infinity: The diagonal construction treats infinite processes as completed mathematical objects rather than ongoing procedures
- Universal quantification: Arguments rely on statements that hold "for all n" where n ranges over infinite sets
- Non-constructive existence: The diagonal object is proven to exist through contradiction rather than explicit construction
2.4. Failure of Cantor’s Argument for Finite Decimals
- No trailing zeros: contains no trailing zeros unless
- Pure integer constraint: If , then
- Unique representation: and both map to
- Injectivity: Distinct finite-decimal reals have distinct canonical 4-tuples
- Surjectivity: Every natural number maps to a unique 4-tuple through systematic enumeration
- Constant-Time: Both and execute in O(1) using closed-form formulas
- 1.
- The diagonal construction produces d where differs from the i-th digit of
- 2.
- Case 1: If , then for some k (bijection completeness)
- 3.
- This requires , but implies (contradiction)
- 4.
- Case 2: If , then d lies outside our domain
3. Classical Gödel Construction and Its Infinite Dependencies
- Rows represent all possible formulas (enumerated by Gödel numbers)
- Columns represent all possible formulas
- Entry contains: "Does prove ?"
| … | ||||
| ? | ? | ? | … | |
| ? | ? | ? | … | |
| ? | ? | ? | … | |
| ⋮ | ⋮ | ⋮ | ⋮ | ⋱ |
- Position : Does prove ? (Self-provability)
- Position : Does prove ? (Self-provability)
- Position : Does prove ? (Self-provability)
- G makes a claim about ALL formulas (including itself when it becomes )
- Specifically, G says " does not prove " (among other things)
- But G IS , so G is essentially saying "I do not prove myself"
- This transforms the general statement into a self-referential assertion about its own provability
- Assumption: Suppose G is provable
- Enumeration: Then G appears somewhere in our list, say for some m
-
Diagonal Analysis: Consider position on the diagonal:
- G (which is ) says: "No formula proves itself"
- In particular: " does NOT prove "
- Now, if G is provable, this means the formal system can derive G as a theorem
- Since , this means the system can derive as a theorem
- But what does (which IS G) assert? It asserts " is not provable"
- So we have: The system proves , but itself says " is not provable"
- This creates a direct contradiction: is simultaneously provable and asserts its own unprovability
-
Key Insight: The diagonal entry asks "Does prove ?" But we must be careful about what this means:
- The question is NOT whether can prove itself (self-reference)
- The question IS whether the formal system can prove the statement
- Since IS the statement G, this becomes: "Can the system prove G?"
- G asserts "No formula proves itself" - specifically, " is not provable"
The Contradiction Analysis:- Case 1 - If G is provable: The system proves (since ), but says " is not provable" - direct contradiction
- Case 2 - If G is not provable: Then G is true (since it correctly states that is not provable), giving us a true but unprovable statement
- Conclusion: Since Case 1 leads to contradiction, we must have Case 2: G cannot be provable. Therefore, G is a true statement that the formal system cannot prove, establishing incompleteness.
| Cantor’s Diagonal | Gödel’s Diagonal |
| Binary sequences | Formulas |
| Entry = j-th bit of | Entry = "?" |
| Diagonal: bit i of sequence | Diagonal: "?" (self-provability) |
| New sequence differs at position i | G differs from on self-provability |
| Contradiction: new sequence ∉ enumeration | Contradiction: provable statements |
- Infinite formula enumeration: All formulas in the formal system enumerated as in a completed infinite sequence
- Unbounded Gödel numbering: Effective encoding of formulas as natural numbers without complexity bounds or size restrictions
- Infinite provability domain: Diagonal self-reference operates over the infinite domain of all possible formulas and their provability relationships
4. The Halting Problem: Diagonal Construction and Infinite Dependencies
4.1. Historical Context: From Turing’s Circle-Free Machines to Davis’s Halting Problem
- Circle-free machines: Those that continue to produce output indefinitely
- Circular machines: Those that eventually enter a loop and "never write down more than a finite number of symbols"
4.2. The Diagonal Construction Explicit
| 0 | 1 | 2 | 3 | … | |
| … | |||||
| … | |||||
| … | |||||
| … | |||||
| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ | ⋱ |
| Algorithm 1 Diagonal Machine D |
|
- Row k represents D’s behavior: Entry should tell us whether D halts on input k
-
Diagonal property forces contradiction: By definition,
- –
- If (meaning D halts on k), then (meaning D does NOT halt on k)
- –
- If (meaning D does not halt on k), then (meaning D DOES halt on k)
- Logical impossibility: D cannot both halt and not halt on the same input k
| Cantor’s Diagonal Argument | Turing’s Halting Problem |
| Enumerate all real numbers | Enumerate all Turing machines |
| Construct diagonal real number | Construct diagonal halting function |
| Diagonal differs from every listed real | Diagonal differs from every listed function |
| Contradiction: diagonal not in list | Contradiction: diagonal machine not decidable |
| Conclusion: Reals are uncountable | Conclusion: Halting problem undecidable |
- Infinite machine enumeration: All Turing machines enumerated as in a completed infinite sequence
- Infinite halting matrix completeness: The theoretical matrix exists as a completed infinite mathematical object
- Universal quantification over infinity: The diagonal function is defined "for every "
- Infinite time allowance: Machines may run arbitrarily long, with "infinite loops" as completed objects
- Unbounded computational resources: No constraints on memory, program size, or computational complexity
5. Classical Universality and Its Infinite Dependencies
5.1. Classical Universality Claims and Their Infinite Dependencies
5.1.1. Resource Requirements in Turing’s Original Universal Machine
- Unlimited Tape: Turing’s fundamental assumption was an infinite tape divided into "F-squares" (for computed results) and "E-squares" (for erasable working space) [3]
- Unbounded Simulation Time: No time limits on how long the universal machine could run while simulating another machine
- Arbitrary Machine Complexity: The universal machine must accommodate encodings of machines of unlimited complexity
- Infinite Input Domains: The system must handle inputs of arbitrary length
- The tape becomes finite:
- Simulation time is bounded:
- Machine encodings are length-limited:
5.1.2. Historical Evolution of Universality Claims
6. A Constructive Critique of Classical Diagonal Arguments
- 1.
- It can be explicitly constructed through a finite procedure
- 2.
- Its properties can be verified through finite computational steps
- 3.
- Its existence does not depend on non-constructive principles (like the axiom of choice or actual infinity)
- Physical measurements have finite precision
- Computational representations use finite precision (IEEE 754, decimal arithmetic)
- Mathematical constants are approximated to finite precision for use
- Even "infinite" computations (like computing ) terminate at finite precision
6.1. Precision-Based Diagonal Construction: Logical Incoherence Under Finite Constraints
- Positions : Construction proceeds as expected. Each possesses an i-th position (sign or digit), enabling the definition .
- Positions :Insurmountable logical barrier. Numbers in mathematically lack any i-th position for . The diagonal instruction "" becomes logically undefined—not merely computationally difficult, but mathematically meaningless.
- Increasing computational power or memory
- Extending processing time or storage capacity
- Developing more sophisticated algorithms
- Applying any finite computational resources whatsoever
- Position 1: (sign) → Set
- Position 2: (integer digit) → Set
- Position 3: (1st fractional digit) → Set
- Position 4: (2nd fractional digit) → Set
- Position 5: Undefined! No 5th position exists.
- Infinite precision systems: Diagonal construction remains mathematically coherent indefinitely because there is always a "next digit position" available, enabling systematic escape from any proposed enumeration
- Finite precision systems: Diagonal construction encounters an absolute mathematical boundary at position , beyond which the required positions (sign or digit) simply do not exist. For any complete enumeration of all numbers in (including both positive and negative values), the diagonal construction cannot produce a number with -position precision that differs from the enumeration—the mathematical structure of finite systems inherently prevents it.
6.2. Implications for Classical Impossibility Results
- 1.
- Gödel’s Incompleteness Disappears: In formal systems with bounded formula length and finite proof complexity, the diagonal formula G cannot be constructed outside the finite domain of expressible statements. Incompleteness transforms into finite completeness.
- 2.
- Turing’s Undecidability Dissolves: For finite sets of Turing machines operating under resource bounds , the halting problem becomes decidable through exhaustive enumeration of the finite machine-input space.
- 3.
- Cantor’s Uncountability Fails: As established in Section 2.4, finite-decimal real numbers admit explicit enumeration, contradicting classical uncountability results.
- Every mathematical object admits algorithmic construction and verification
- All decision problems become computationally tractable through systematic enumeration
- Classical impossibility results are replaced by finite constructive procedures
- The relationship between logical systems and computational realizability is made precise
7. Finite Resource Framework for Mathematical Logic
7.1. Historical Foundations: From Leibniz’s Dream to Hilbert’s Program
7.2. The Finite Resource Model
- : Maximum computational steps, proof verification operations, or logical derivations
- : Maximum total memory capacity (in bits) available for all computational aspects
- : Maximum total digit positions in positional number representations
- : Maximum string length constraint for symbolic objects (formulas, programs, statements) imposed by memory storage limitations
- 1.
-
Finite Turing Machines:where denotes the encoding of machine M as a string over a finite alphabet Σ. When executed within the resource-bounded system, any machine either halts with output using steps and memory, or terminates with "resource exceeded" when bounds are reached. The cardinality is bounded by .
- 1.
-
Bounded Formal Systems:where every formula has length symbols, all proofs require verification steps, proof storage uses memory, and numerical constants have precision .
- 3.
-
Finite Precision Numbers:representing all numbers expressible within digit positions, where with p fractional digits and k integer digits in the earlier notation. For example, with (binary) and , we have exactly possible numbers (including positive and negative); with (decimal) and , we have exactly possible numbers (including positive and negative).
7.3. Universality Under Finite Resource Constraints
- (bounded program encoding)
- for all inputs x (bounded execution time)
- for all inputs x (bounded memory usage)
| Algorithm 2 Machine |
|
| Algorithm 3 Machine |
|
7.4. Gödel’s Incompleteness Under Finite Resource Constraints
- 1.
- The set of expressible formulas has finite cardinality bounded by equation (6)
- 2.
- The set of constructible proofs has finite cardinality bounded by equation (7)
- 3.
- All provability questions become decidable through exhaustive enumeration
- 4.
- Classical diagonal constructions fail due to completeness of finite formula enumeration
| Algorithm 4 Enumerate All Formulas in |
|
| Algorithm 5 Enumerate All Proofs in |
|
| Algorithm 6 Constructive Decision Procedure for Any Formula |
|
- Termination: All algorithms terminate in finite time
- Completeness: Every expressible formula receives a definitive answer
- Witnessing: Provable statements come with explicit proof witnesses
- Decidability: No statement remains undecidable within the system
- If : Then and Algorithm 6 decides its provability constructively. The diagonal construction cannot produce a formula "outside" the enumeration because contains all expressible formulas by construction.
- If : Then and is irrelevant to the bounded system. The attempted diagonal construction exceeds the system’s expressive capacity, rendering it meaningless within the finite framework.
- 1.
- Every expressible formula is constructively enumerable
- 2.
- Every possible proof is constructively enumerable
- 3.
- Every provability question is constructively decidable
- 4.
- The system is complete and consistent within its bounds
7.5. The Halting Problem Under Finite Resource Constraints
- 1.
- The set of finite Turing machines has finite cardinality
- 2.
- The set of possible inputs has finite cardinality
- 3.
- All halting queries become decidable through exhaustive verification
- 4.
- Classical diagonal constructions fail due to completeness of finite machine enumeration
- (bounded program encoding length)
- for all inputs w (bounded execution time)
- for all inputs w (bounded memory usage)
| Algorithm 7 Enumerate All Machine-Input Pairs in |
|
| Algorithm 8 Constructive Halting Problem Decision Procedure |
|
| Algorithm 9 Construct Complete Finite Halting Matrix |
|
-
Termination: All algorithms terminate in finite time with specific bounds:
- Algorithm 7:
- Algorithm 8: per machine-input pair
- Algorithm 9:
- Complete Enumeration: Every machine-input pair in the bounded domain is systematically processed
- Definitive Classification (Adequate Bounds): For adequately bounded domains, every machine-input combination receives one of two definitive outcomes: HALTS (with trace) or LOOP (with repeated-configuration witness)
- Bounded Analysis (Arbitrary Machines): Without adequacy assumptions over arbitrary machines, the procedure yields HALTS or TIMEOUT, providing a bounded classification rather than universal decidability
| Classical Infinite Case | Finite Resource Case |
| Infinite machine enumeration | Finite: |
| Infinite input domain | Bounded: |
| Unbounded execution time | Time limit: (choose to exceed configuration bound for adequacy) |
| Unlimited memory | Memory bound: |
| "Does not halt" = infinite claim | Adequate bounds: HALTS/LOOP via configuration bound; otherwise: HALTS/TIMEOUT (bounded observation) |
| Diagonal escapes enumeration | Diagonal contained in complete enumeration |
| Undecidable halting problem | Decidable as HALTS/LOOP under adequate bounds; bounded classification (HALTS/TIMEOUT) otherwise |
- For Bounded Computational Domains (Adequate Bounds): When are chosen to exceed the configuration bound for the domain, there is no TIMEOUT outcome: every computation is classified as HALTS (with finite trace) or LOOP (with repeated-configuration witness).
- For Arbitrary Computational Problems: When analyzing arbitrary Turing machines without an adequacy assumption, TIMEOUT represents resource exhaustion rather than claims about infinite behavior. This provides bounded classification without solving the universal halting problem.
8. Conclusions
- Computationally realizable real numbers within finite precision constraints admit explicit enumeration
- Formal systems operating under bounded resources admit systematic procedures; with bounds chosen adequate for the system, they are decidable (complete within bounds)
- Bounded halting analysis: under adequate bounds, every pair is decidable as HALTS/LOOP; otherwise, HALTS/TIMEOUT provides a sound bounded classification
- Universal computation requires infinite resources, suggesting natural limits to universality claims in finite settings
- Mathematical verification and search become tractable within appropriately bounded domains
9. Historical Context: Algorithmic and Constructive Mathematical Traditions
References
- G. Cantor, "Über eine elementare Frage der Mannigfaltigkeitslehre," Jahresbericht der Deutschen Mathematiker-Vereinigung, vol. 1, pp. 75-78, 1891.
- K. Gödel, "Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I," Monatshefte für Mathematik und Physik, vol. 38, pp. 173-198, 1931.
- A. M. Turing, "On computable numbers, with an application to the Entscheidungsproblem," Proceedings of the London Mathematical Society, ser. 2, vol. 42, pp. 230-265, 1936.
- B. J. Copeland, "The Church-Turing Thesis," Stanford Encyclopedia of Philosophy, 2002, revised 2017. Available at: https://plato.stanford.edu/entries/church-turing/. [CrossRef]
- J. Meyer, "The Diagonal Lemma: Flaws in the Foundations," Personal Communication/Web Resource, Available at: https://jamesrmeyer.com/ffgit/diagonal_lemma, 2025.
- S. K. Rithvik, "A Canonical Bijection Between Finite-Decimal Real Numbers and Natural Numbers with Constant-Time Enumeration Formulas," arXiv preprint arXiv:2508.10750, 2025. Available at: https://arxiv.org/abs/2508.10750.
- S. K. Rithvik, "Canonical Bijection between Finite-Decimal Real Numbers and Natural Numbers: Implementation," GitHub Repository, 2025. Available at: https://github.com/rithvik1122/canonical-bijection-finite-decimals.
- Leopold Kronecker, quoted in Heinrich Weber, "Leopold Kronecker," Mathematische Annalen, vol. 43, pp. 1-25, 1893; see also Harold M. Edwards, "Kronecker’s Views on the Foundations of Mathematics," in The History of Modern Mathematics, vol. 1, Academic Press, 1989, pp. 67-77.
- L. E. J. Brouwer, "Intuitionism and Formalism," Bulletin of the American Mathematical Society, vol. 20, no. 2, pp. 81-96, 1913; see also Arend Heyting, Intuitionism: An Introduction, 3rd edition, North-Holland, Amsterdam, 1971.
- E. Bishop, Foundations of Constructive Analysis, McGraw-Hill, 1967.
- D. Hilbert, "On the Infinite," Mathematische Annalen, vol. 95, pp. 161-190, 1925; English translation in P. Benacerraf and H. Putnam (eds.), Philosophy of Mathematics: Selected Readings, Prentice-Hall, 1964, pp. 134-151.
- R. M. Smullyan, Gödel’s Incompleteness Theorems, Oxford University Press, New York, 1992.
- T. Franzén, Gödel’s Theorem: An Incomplete Guide to Its Use and Abuse, A K Peters, Wellesley, MA, 2005.
- G. S. Boolos, The Logic of Provability, Cambridge University Press, Cambridge, 1993.
- J. van Heijenoort, editor, From Frege to Gödel: A Source Book in Mathematical Logic, 1879-1931, Harvard University Press, Cambridge, MA, 1967.
- A. Church, "An Unsolvable Problem of Elementary Number Theory," American Journal of Mathematics, vol. 58, no. 2, pp. 345-363, 1936. [CrossRef]
- S. C. Kleene, "General recursive functions of natural numbers," Mathematische Annalen, vol. 112, no. 1, pp. 727-742, 1936. [CrossRef]
- E. L. Post, "Finite combinatory processes—formulation 1," The Journal of Symbolic Logic, vol. 1, no. 3, pp. 103-105, 1936.
- A. M. Turing, Collected Works of A.M. Turing: Mechanical Intelligence, edited by D. C. Ince, North-Holland, Amsterdam, 1992.
- J. D. Hamkins and T. Nenu, "Did Turing prove the undecidability of the halting problem?" arXiv preprint arXiv:2407.00680, 2024. Available at: https://arxiv.org/abs/2407.00680.
- M. Davis, Computability and Unsolvability, McGraw-Hill, New York, 1958.
- C. E. Shannon, "A universal Turing machine with two internal states," in Automata Studies, C. E. Shannon and J. McCarthy, Eds., Annals of Mathematics Studies, no. 34, pp. 157–165, Princeton University Press, 1956.
- S. C. Kleene, Introduction to Metamathematics, D. Van Nostrand Company, Inc., New York, 1952.
- G. W. Leibniz, De Arte Combinatoria (1666) and Characteristica Universalis fragments (c. 1679-1690), in Philosophical Essays, translated by Roger Ariew and Daniel Garber, Hackett Publishing, 1989; see also Lenzen, Wolfgang, "Leibniz’s Logic and the ’Universal Characteristic,’" Topoi, vol. 9, no. 2, pp. 129-137, 1990.
- G. Boole, "An Investigation of the Laws of Thought," Walton and Maberly, London, 1854.
- G. Frege, Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens, Halle a.S., Verlag von Louis Nebert, 1879.
- B. Russell and A. N. Whitehead, Principia Mathematica, 3 volumes, Cambridge University Press, Cambridge, 1910–1913.
- D. Hilbert and W. Ackermann, Grundzüge der theoretischen Logik, Springer, Berlin, 1928.
- M. Davis, The Universal Computer: The Road from Leibniz to Turing, 3rd edition, CRC Press, Boca Raton, 2018. [CrossRef]
- R. Landauer, "Irreversibility and heat generation in the computing process," IBM Journal of Research and Development, vol. 5, no. 3, pp. 183-191, 1961. [CrossRef]
- J. D. Bekenstein, "Universal upper bound on the entropy-to-energy ratio for bounded systems," Physical Review D, vol. 23, no. 2, pp. 287-298, 1981.
- Baudhāyana, Baudhāyana Śulbasūtra, c. 800-600 BCE; edited by Willem Caland, The Śrautasūtra of Baudhāyana, Calcutta: Asiatic Society of Bengal, 1913; see also complete translation in S. N. Sen and A. K. Bag, The Śulbasūtras of Baudhāyana, Āpastamba, Kātyāyana and Mānava, Indian National Science Academy, New Delhi, 1983.
- S. N. Sen and A. K. Bag, The Śulbasūtras of Baudhāyana, Āpastamba, Kātyāyana and Mānava: with text, English translation and commentary, Indian National Science Academy, New Delhi, 1983; see also A. Seidenberg, "The Ritual Origin of Geometry," Archive for History of Exact Sciences, vol. 1, no. 5, pp. 488-527, 1962.
- Āryabhaṭa, Āryabhaṭīya, c. 499 CE; English translation by Walter Eugene Clark, The Āryabhaṭīya of Āryabhaṭa: An Ancient Indian Work on Mathematics and Astronomy, University of Chicago Press, 1930; see also Takao Hayashi, "Āryabhaṭa’s Rule and Table for Sine-Differences," Historia Mathematica, vol. 24, no. 4, pp. 396-406, 1997.
- Brahmagupta, Brahmasphutasiddhanta, 628 CE; English translation excerpts in H. T. Colebrooke, Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bhascara, London: John Murray, 1817; see also David Pingree, "Brahmagupta, Balabhadra, and the Brahmasphutasiddhanta," Journal for the History of Astronomy, vol. 1, no. 1, pp. 67-72, 1970.
- K. V. Sarma, A History of the Kerala School of Hindu Astronomy, Hoshiarpur: Vishveshvaranand Vedic Research Institute, 1972; David Bressoud, "Was Calculus Invented in India?" The College Mathematics Journal, vol. 33, no. 1, pp. 2-13, 2002.
- Madhava of Sangamagrama, Infinite Series Expansions for Trigonometric Functions, c. 1400, as documented in later Kerala School texts; see C. T. Rajagopal and M. S. Rangachari, "On an untapped source of medieval Keralese mathematics," Archive for History of Exact Sciences, vol. 18, no. 2, pp. 89-102, 1978.
- D. Bridges and F. Richman, Varieties of Constructive Mathematics, Cambridge University Press, 1987.
- G. Cantor, Contributions to the Founding of the Theory of Transfinite Numbers, translated by P. E. B. Jourdain, Open Court, 1915.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).