Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Coinductive types and type preservation.

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Coinductive types and type preservation.


chronological Thread 
  • 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





Archive powered by MhonArc 2.6.16.

Top of Page