Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] functional induction and nested list's

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] functional induction and nested list's


chronological Thread 
  • From: Julien Forest <forest AT ensiie.fr>
  • To: Adriaan Moors <adriaan.moors AT gmail.com>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] functional induction and nested list's
  • Date: Wed, 9 Apr 2008 19:08:23 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:organization:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=DOazxQCvVlgS9Ib+DM62o3pf3Mb6EmhKMiDEt6pwGrC7kg4WUPV+n/ZlZXYhqhuDwlU4GzunzBi+QkvmhBJujkdWneMlNgon8DeRSdFOfsTL028Pwy48uK3IfFiTUszt0uqoQku8qK95y+YL1aqQYi1aNLNR+XqD/rcGSjDk56g=
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
  • Organization: CNAM

Dear Adriaan, 


On Wed, 9 Apr 2008 16:47:50 +0200
Adriaan Moors 
<adriaan.moors AT gmail.com>
 wrote:

> 
> Thank you for the hint about inlining subst_mems! Is it discussed in a  
> FAQ that I should have read?

I'm not sure about that maybe someone else can give you a pointer.

> 
> I implemented your suggestion, and now my fixpoint is accepted, but on  
> using Functional Scheme, I get:
> "Anomaly: add_args : todo. Please report."
>

1- The error message is not the good one ! 
2- Yes. For now, and once again probably for a long time,  such a body cannot 
be accepted. 


> Is this the restriction you mentioned? I guess the only way to use  
> functional induction without defining the (huge) induction principles  
> by hand (which I've already done for the normal induction principles)  
> is to remove nested occurrences of list etc in my datatypes (as  
> illustrated in my example below). That'd be quite unfortunate :-(
> 
> cheers,
> adriaan
> 
Cheers, 
Julien. 
ps: can you send me (by private mail we do not need to polute this list) the 
version of coq you use so that I can correct the error message. 

J. 





Archive powered by MhonArc 2.6.16.

Top of Page