coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Carlos.SIMPSON AT unice.fr
- To: Nicolas Oury <npo AT cs.nott.ac.uk>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Coinductive types and type preservation.
- Date: Fri, 06 Jun 2008 16:49:21 +0200
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Hello,
For what it's worth, I just unfolded out_eq within the proof engine which gave:
Definition p3:=
match ones as s return (ones = s :>Stream -> s = out s :>Stream) with
| cons s => fun _ : ones = cons s :>Stream => refl_equal (out (cons s))
end (refl_equal ones).
This typechecks to type (ones = cons ones).
Perhaps it is more of a problem in printing the result of ``Eval compute''.
(I don't claim to understand what all that means, though!)
---Carlos
- Re: [Coq-Club] Coinductive types and type preservation., (continued)
- Re: [Coq-Club] Coinductive types and type preservation., Conor McBride
- Re: [Coq-Club] Coinductive types and type preservation., Nicolas Oury
- Re: [Coq-Club] Coinductive types and type preservation.,
roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
Conor McBride
- Re: [Coq-Club] Coinductive types and type preservation.,
roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
Bruno Barras
- Re: [Coq-Club] Coinductive types and type preservation., Thorsten Altenkirch
- Re: [Coq-Club] Coinductive types and type preservation.,
Bruno Barras
- Re: [Coq-Club] Coinductive types and type preservation., roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
roconnor
- Re: [Coq-Club] Coinductive types and type preservation.,
Conor McBride
- Re: [Coq-Club] Coinductive types and type preservation., Adam Chlipala
- Re: [Coq-Club] Coinductive types and type preservation., Carlos . SIMPSON
Archive powered by MhonArc 2.6.16.