## A Document-Oriented Coq Plugin for TEXmacs (2006)

Citations: | 5 - 4 self |

### BibTeX

@MISC{Geuvers06adocument-oriented,

author = {Herman Geuvers and Lionel Elie Mamane},

title = {A Document-Oriented Coq Plugin for TEXmacs},

year = {2006}

}

### OpenURL

### Abstract

This article discusses the integration of the authoring of a mathematical document with the formalisation of the mathematics contained in that document. To achieve this we have started the development of a Coq plugin for the TEXmacs scientific editor, called tmEgg. TEXmacs allows the wysiwyg editing of mathematical documents, much in the style of LATEX. Our plugin allows to integrate into a TEXmacs document mathematics formalised in the Coq proof assistant: formal definitions, lemmas and proofs. The plugin is still under development. Its main current hallmark is a document-consistent interaction model, instead of the calculator-like approach usual for TEXmacs plugins. This means that the Coq code in the TEXmacs document is interpreted as one (consistent) Coq file: executing a Coq command in the document means to execute it in the context (state) of all the Coq commands before it. 1

### Citations

75 | Proof General: A generic tool for proof development. Tools and Algorithms for the Construction and Analysis of Systems
- Aspinall
- 2000
(Show Context)
Citation Context ...’t do any pretty printing of Coq output (yet), but it allows to save a Coq development as a TEXmacs file which can be replayed. Purely as an interface the plugin does about the same as Proof General (=-=[Asp00]-=-) or CoqIde ([Teab]). A documented Coq formalisation. A Coq formalisation usually has explanatory comments to give intuitions of the definitions, lemmas and proofs or to give a mathematical (e.g. in L... |

69 | Activemath: A generic and adaptive web-based learning environment - Melis, Andrès, et al. |

22 | Formal Proof Sketches
- Wiedijk
- 2004
(Show Context)
Citation Context ...be left unproven etc., as long as the Coq file is consistent, i.e. no notions are used unless they are defined. In this sense, tmEgg makes a step in the direction of the Formal Proof Sketches idea of =-=[Wie04]-=-. Mathematical course notes with formal definitions and proofs. We can use the TEXmacs document for course notes (handouts made by the teacher for students). An added value of our plugin is that we ha... |

11 |
MOWGLI – A New Approach for the Content Description in Digital Documents
- Asperti, Wegner
- 2002
(Show Context)
Citation Context ...rmal Coq and the high level explanation in TEXmacs, because the high level translation is not a translation of the Coq code, but added by a human. This is different from, e.g. the work in the Mowgli (=-=[AW02]-=-) project, where we have a high level rendering of the formal Coq statements. A mathematical document with a Coq formalisation underneath. This is a way the plugin can be used now. One would probably ... |

10 | Assisted proof document authoring
- Aspinall, Lüth, et al.
(Show Context)
Citation Context ...al Coq commands (usually tactics) in the TEXmacs document, which are then sent to Coq as-is and the Coq output is rendered by TEXmacs. This is in contrast with the approach of e.g. [Thé03], [DF05] or =-=[ALW06]-=-, that seek to change the way a proof is written or the way a user interface interacts with the prover (relegated to a “backend” role) in a much more fundamental way. A crucial aspect of the plugin is... |

5 | TEXMACS as authoring tool for formal developments - Audebaud, Rideau - 2003 |

5 | A proof-centric approach to mathematical assistants
- Dixon, Fleuriot
(Show Context)
Citation Context ...types actual Coq commands (usually tactics) in the TEXmacs document, which are then sent to Coq as-is and the Coq output is rendered by TEXmacs. This is in contrast with the approach of e.g. [Thé03], =-=[DF05]-=- or [ALW06], that seek to change the way a proof is written or the way a user interface interacts with the prover (relegated to a “backend” role) in a much more fundamental way. A crucial aspect of th... |

5 |
Formal proof authoring: An experiment
- Théry
- 2003
(Show Context)
Citation Context ...the user types actual Coq commands (usually tactics) in the TEXmacs document, which are then sent to Coq as-is and the Coq output is rendered by TEXmacs. This is in contrast with the approach of e.g. =-=[Thé03]-=-, [DF05] or [ALW06], that seek to change the way a proof is written or the way a user interface interacts with the prover (relegated to a “backend” role) in a much more fundamental way. A crucial aspe... |

1 | Elie Mamane, and Claudio Sacerdoti Coen. An interactive algebra course with formalised proofs and definitions - Asperti, Geuvers, et al. - 2006 |

1 |
Declarative proof language for coq. http://www.cs. ru.nl/~corbinea/mmode.html
- Corbineau
- 2006
(Show Context)
Citation Context ...ands for Coq, like stating a definition or a lemma. The plugin does not provide its own proof language, but leverages any proof language that Coq understands or will understand in the future, such as =-=[Cor06]-=-. This means that when doing a proof, the user types actual Coq commands (usually tactics) in the TEXmacs document, which are then sent to Coq as-is and the Coq output is rendered by TEXmacs. This is ... |