{"docId":9153,"paperId":6195,"url":"https:\/\/lmcs.episciences.org\/6195","doi":"10.46298\/lmcs-18(1:35)2022","journalName":"Logical Methods in Computer Science","issn":"","eissn":"1860-5974","volume":[{"vid":613,"name":"Volume 18, Issue 1"}],"section":[],"repositoryName":"arXiv","repositoryIdentifier":"2003.04604","repositoryVersion":5,"repositoryLink":"https:\/\/arxiv.org\/abs\/2003.04604v5","dateSubmitted":"2020-03-11 21:31:15","dateAccepted":"2021-12-23 15:06:42","datePublished":"2022-03-01 11:42:30","titles":["Hilbert's Tenth Problem in Coq (Extended Version)"],"authors":["Larchey-Wendling, Dominique","Forster, Yannick"],"abstracts":["We formalise the undecidability of solvability of Diophantine equations, i.e. polynomial equations over natural numbers, in Coq's constructive type theory. To do so, we give the first full mechanisation of the Davis-Putnam-Robinson-Matiyasevich theorem, stating that every recursively enumerable problem -- in our case by a Minsky machine -- is Diophantine. We obtain an elegant and comprehensible proof by using a synthetic approach to computability and by introducing Conway's FRACTRAN language as intermediate layer. Additionally, we prove the reverse direction and show that every Diophantine relation is recognisable by $\\mu$-recursive functions and give a certified compiler from $\\mu$-recursive functions to Minsky machines."],"keywords":["Computer Science - Logic in Computer Science"]}