Towards Automatic Transformations of Coq Proof Scripts

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autore principale: Magaud, Nicolas
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929218381676544
author Magaud, Nicolas
author_facet Magaud, Nicolas
contents Proof assistants like Coq are increasingly popular to help mathematicians carry out proofs of the results they conjecture. However, formal proofs remain highly technical and are especially difficult to reuse. In this paper, we present a framework to carry out a posteriori script transformations. These transformations are meant to be applied as an automated post-processing step, once the proof has been completed. As an example, we present a transformation which takes an arbitrary large proof script and produces an equivalent single-line proof script, which can be executed by Coq in one single step. Other applications, such as fully expanding a proof script (for debugging purposes), removing all named hypotheses, etc. could be developed within this framework. We apply our tool to various Coq proof scripts, including some from the GeoCoq library.
format Preprint
id arxiv_https___arxiv_org_abs_2401_11897
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Automatic Transformations of Coq Proof Scripts
Magaud, Nicolas
Logic in Computer Science
Symbolic Computation
Software Engineering
Proof assistants like Coq are increasingly popular to help mathematicians carry out proofs of the results they conjecture. However, formal proofs remain highly technical and are especially difficult to reuse. In this paper, we present a framework to carry out a posteriori script transformations. These transformations are meant to be applied as an automated post-processing step, once the proof has been completed. As an example, we present a transformation which takes an arbitrary large proof script and produces an equivalent single-line proof script, which can be executed by Coq in one single step. Other applications, such as fully expanding a proof script (for debugging purposes), removing all named hypotheses, etc. could be developed within this framework. We apply our tool to various Coq proof scripts, including some from the GeoCoq library.
title Towards Automatic Transformations of Coq Proof Scripts
topic Logic in Computer Science
Symbolic Computation
Software Engineering
url https://arxiv.org/abs/2401.11897