Skip to Content.
Sympa Menu

coq-club - [Coq-Club] co-defining an Inducive + a Fixpoint

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] co-defining an Inducive + a Fixpoint


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] co-defining an Inducive + a Fixpoint
  • Date: Thu, 29 Aug 2013 20:48:29 +0000

Hi,

  Here is my minimal failure case: https://gist.github.com/anonymous/6383213

  What I want is to simultaneouly define "Inductive Foo: Set" and "Fixpoint evalFoo: Foo -> nat"

  such that the Inductive can have a term that involves evalFoo (in particular, a proof that evalFoo gets a certain value).


Can I do this in Coq? (If so, how, if not, what is the closest alternative).

Thanks!



Archive powered by MHonArc 2.6.18.

Top of Page