Proof Graphs and Algorithm Capsules: A Corpus Study of Diagonalization Proofs from Cantor to Gödel to Goodstein

Mathematics encompasses three fundamentally distinct object types — algorithms, axiomatic systems, and proofs. These are conventionally treated as categorically separate in mathematical practice, education, and knowledge representation. We demonstrate that all three can be expressed as labeled directed graphs using Mermaid Markdown. This unified representation reveals structural properties that conventional prose and static diagrams obscure. The central empirical finding is the regularity of algorithm capsules — embedded procedural substructures within proofs — across mathematically distant domains. Analysis of the Mathematics Database corpus identifies a diagonalization family spanning three entries: Cantor diagonal proofs, the Gödel First Incompleteness proof graph, and the Kirby–Paris/Goodstein independence result. In each case the algorithm capsule is not incidental to the argument but is its structural core. This family resemblance is visible and measurable in the graph representation. It is not accessible from prose alone. The representation is implemented as three graph types. Algorithmic flowcharts capture procedural structure. Axiomatic dependency graphs represent logical dependency among axioms, definitions, and theorems. Proof graphs — a hybrid form introduced here — encode justification structure using a domain-specific eight-role node vocabulary: source, assumption, construction, assertion, inference, algorithm capsule, contradiction, and conclusion. Together the three graph types constitute the Mathematics Database, a publicly accessible machine-readable corpus spanning classical geometry, number theory, algebra, set theory, mathematical logic, and theoretical computer science. The methodology is a domain-specific application and extension of the Programming Framework, a general method for LLM-assisted process visualization. The mathematics case demonstrates that the framework's core claim extends from procedural processes to logical and justificatory structures: that formal structure is recoverable from natural language descriptions of complex systems, and is meaningful, measurable, and comparable once recovered.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-06-12
DOI
https://doi.org/10.5281/zenodo.20670491
Primary Topic
History and Theory of Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Proof Graphs and Algorithm Capsules: A Corpus Study of Diagonalization Proofs from Cantor to Gödel to Goodstein

Gary Welz
Zenodo (CERN European Organization for Nuclear Research)
History and Theory of Mathematics
preprint

Proof Graphs and Algorithm Capsules: A Corpus Study of Diagonalization Proofs from Cantor to Gödel to Goodstein

Gary Welz
preprint en

Abstract

Mathematics encompasses three fundamentally distinct object types — algorithms, axiomatic systems, and proofs. These are conventionally treated as categorically separate in mathematical practice, education, and knowledge representation. We demonstrate that all three can be expressed as labeled directed graphs using Mermaid Markdown. This unified representation reveals structural properties that conventional prose and static diagrams obscure. The central empirical finding is the regularity of algorithm capsules — embedded procedural substructures within proofs — across mathematically distant domains. Analysis of the Mathematics Database corpus identifies a diagonalization family spanning three entries: Cantor diagonal proofs, the Gödel First Incompleteness proof graph, and the Kirby–Paris/Goodstein independence result. In each case the algorithm capsule is not incidental to the argument but is its structural core. This family resemblance is visible and measurable in the graph representation. It is not accessible from prose alone. The representation is implemented as three graph types. Algorithmic flowcharts capture procedural structure. Axiomatic dependency graphs represent logical dependency among axioms, definitions, and theorems. Proof graphs — a hybrid form introduced here — encode justification structure using a domain-specific eight-role node vocabulary: source, assumption, construction, assertion, inference, algorithm capsule, contradiction, and conclusion. Together the three graph types constitute the Mathematics Database, a publicly accessible machine-readable corpus spanning classical geometry, number theory, algebra, set theory, mathematical logic, and theoretical computer science. The methodology is a domain-specific application and extension of the Programming Framework, a general method for LLM-assisted process visualization. The mathematics case demonstrates that the framework's core claim extends from procedural processes to logical and justificatory structures: that formal structure is recoverable from natural language descriptions of complex systems, and is meaningful, measurable, and comparable once recovered.

Zenodo (CERN European Organization for Nuclear Research)
The Graduate Center, CUNY (US), City University of New York (US)
Quality Education
History and Theory of Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.