Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] new Type including nat and bool

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] new Type including nat and bool


Chronological Thread 
  • From: Kristopher Micinski <krismicinski AT gmail.com>
  • To: fengsheng <fsheng1990 AT 163.com>
  • Cc: coq club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] new Type including nat and bool
  • Date: Tue, 26 Feb 2013 11:41:36 -0500

Perhaps you should read some introductory Coq material.

http://www.labri.fr/perso/casteran/RecTutorial.pdf

It could be as simple as (depending on what you want) defining an
inductive type with two cases, a nat or bool (if you mean bool in the
Set sense..)

Kris

On Tue, Feb 26, 2013 at 11:34 AM, fengsheng
<fsheng1990 AT 163.com>
wrote:
> Hello everyone !
> I want to define a new type which is available for nat and bool,but I
> could
> not to work out it.I mean it is just a list including nat and bool.How to
> define this new type?



Archive powered by MHonArc 2.6.18.

Top of Page