Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club]Writing tactics in O'Caml, typesetting proofs

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club]Writing tactics in O'Caml, typesetting proofs


chronological Thread 
  • From: Julien Narboux <Julien.Narboux AT inria.fr>
  • To: Edsko de Vries <devriese AT cs.tcd.ie>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club]Writing tactics in O'Caml, typesetting proofs
  • Date: Mon, 19 Feb 2007 13:48:41 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=ZqlfgTWrbUnJjx+4hNpzsAKdJg+KzXgHiTFmY18Nts8AeKXTXOC0gFQSLXlV3CAvGz2rqzhVHbXqaIwLYDmhrFjuy7T0uxxuqRKYtcGB82Z4KAAnO9wdZnkDtg6INi5i++Yi75QYGI61voYwtPDX/wV+mMA+1SoVXBwdfmifohM=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

(2) Is there a tool that can export a Coq script to human readable form?
         I know that there is coqtex, and that's quite good if you want to
         typeset the theorems without the proofs. However, proofs in Coq are
         very much a dialogue, and reading the proof script is much like
         hearing something talking on a phone without hearing the other
         party. It'd be nice to be able to record the dialogue between both
         parties.


Hi,

Concerning you second question.
You may want to use coq_tex with the coq_example env (without star), for instance this question of the faq (http://coq.inria.fr/doc/faq.html#htoc54) has been typeset using the following code in the latex file:

\begin{coq_example}
Goal forall A B:Prop, A->B-> A/\B.
intros.
split.
assumption.
assumption.
Qed.
\end{coq_example}

But in fact, you will get something very long and not very readable, another solution would be to write your proofs using the new declarative proof language introduced in Coq 8.1 by Pierre Corbineau (http://www.cs.ru.nl/~corbinea/mmode.en.html).

Best wishes,

Julien





Archive powered by MhonArc 2.6.16.

Top of Page