coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Gert Smolka <smolka AT ps.uni-saarland.de>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] Printing not in sync with parsing
- Date: Thu, 7 May 2015 15:56:58 +0200
Coq sometimes prints terms in such a way that they cannot be parsed again.
This is irritating when you learn Coq and also ruins some examples I would
like to use when teaching proof terms. The problem is with type inference.
Here is an example.
Definition L : true <> false :=
fun A => eq_ind_r (x := false) (fun b => if b then False else True) I A.
Print L.
(* fun A : true = false =>
eq_ind_r (fun b : bool => if b then False else True) I A *)
Check fun A : true = false =>
eq_ind_r (fun b : bool => if b then False else True) I A.
(* Error blah blah *)
This is run with Coq 8.4. The problem persists in Coq 8.5
I would hope that printing terms such that they can be parsed is a design
goal.
Gert
- [Coq-Club] Printing not in sync with parsing, Gert Smolka, 05/07/2015
- Re: [Coq-Club] Printing not in sync with parsing, Cedric Auger, 05/07/2015
- Re: [Coq-Club] Printing not in sync with parsing, Clément Pit--Claudel, 05/07/2015
- Re: [Coq-Club] Printing not in sync with parsing, Cedric Auger, 05/07/2015
Archive powered by MHonArc 2.6.18.