Synthetic Kolmogorov Complexity in Coq - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2022

Synthetic Kolmogorov Complexity in Coq


We present a generalised, constructive, and machine-checked approach to Kolmogorov complexity in the constructive type theory underlying the Coq proof assistant. By proving that nonrandom numbers form a simple predicate, we obtain elegant proofs of undecidability for random and nonrandom numbers and a proof of uncomputability of Kolmogorov complexity. We use a general and abstract definition of Kolmogorov complexity and subsequently instantiate it to several definitions frequently found in the literature. Whereas textbook treatments of Kolmogorov complexity usually rely heavily on classical logic and the axiom of choice, we put emphasis on the constructiveness of all our arguments, however without blurring their essence. We first give a high-level proof idea using classical logic, which can be formalised with Markov's principle via folklore techniques we subsequently explain. Lastly, we show a strategy how to eliminate Markov's principle from a certain class of computability proofs, rendering all our results fully constructive. All our results are machine-checked by the Coq proof assistant, which is enabled by using a synthetic approach to computability: rather than formalising a model of computation, which is well-known to introduce a considerable overhead, we abstractly assume a universal function, allowing the proofs to focus on the mathematical essence.
Fichier principal
Vignette du fichier
LIPIcs-ITP-2022-12(1).pdf (804.37 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03596267 , version 1 (03-03-2022)
hal-03596267 , version 2 (08-12-2022)




  • HAL Id : hal-03596267 , version 2


Yannick Forster, Fabian Kunze, Nils Lauermann. Synthetic Kolmogorov Complexity in Coq. ITP 2022 - 13th International Conference on Interactive Theorem Proving, Aug 2022, Haifa, Israel. ⟨hal-03596267v2⟩
185 View
289 Download


Gmail Facebook X LinkedIn More