Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Strange error message during inductive definition

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Strange error message during inductive definition


chronological Thread 
  • From: Sylvain Boulme <Sylvain.Boulme AT imag.fr>
  • To: S�bastien Hinderer <Sebastien.Hinderer AT ens-lyon.fr>
  • Cc: Coq <coq-club AT pauillac.inria.fr>
  • Subject: Re: [Coq-Club] Strange error message during inductive definition
  • Date: Wed, 19 Nov 2003 18:12:35 +0100 (MET)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Wed, 19 Nov 2003, Sylvain Boulme wrote:

> With your inductive
> definition, it is seems possible to replay the paradox above (in "delta"
> definition, use "s" such "forall f. (arity s f)=O", and take a list of
> size 1 for "l").
>

> >   | Fun :
> >     (f:function) (l:(list (term s))) (H:(length l)=(arity s f)) (term s).
> >
Oops, sorry I have spoken too fast and imagine
 "((l:(list (term s))) (length l)=(arity s f)))->(term s)"
instead of what is actually written.

Your problem looks quite classical (defining mutually recursively "trees"
and "forests" of terms). So you should have a look in contribs. There are
maybe standard solutions.

S.
______________________________________________________________________
BOULME Sylvain, ENSIMAG-LSR     | e-mail :      
Sylvain.Boulme AT imag.fr
BP-72  38402 St-MARTIN D'HERES  | tel : 04-76-82-72-89, 06-86-24-41-70






Archive powered by MhonArc 2.6.16.

Top of Page