Formalizing computability theory via partial recursive functions

Mario Carneiro
10/19/2018
cs.LOmath.LO

Official code: digama0/mathlib-ITP2019 (2 stars, Lean, Apache-2.0, last commit 2019-04-01).

Abstract

We present an extension to the $\mathtt{mathlib}$ library of the Lean theorem prover formalizing the foundations of computability theory. We use primitive recursive functions and partial recursive functions as the main objects of study, and we use a constructive encoding of partial functions such that they are executable when the programs in question provably halt.

Show full abstract

Main theorems include the construction of a universal partial recursive function and a proof of the undecidability of the halting problem. Type class inference provides a transparent way to supply Gödel numberings where needed and encapsulate the encoding details.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

mathlib library, prepared for the paper "Formalizing computability theory via partial recursive functions"

20Lean, PythonMar 31, 20197 years agoApache-2.0

Similar Papers

Cite this paper

@article{carneiro2018formalizing,
  title  = {Formalizing computability theory via partial recursive functions},
  author = {Mario Carneiro},
  year   = {2018},
  eprint = {1810.08380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1810.08380}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1810.08380.svg)](https://codeofpaper.com/paper/1810.08380)

Discussion