Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Equality for inductive type containing list

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Equality for inductive type containing list


Chronological Thread 
  • From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Equality for inductive type containing list
  • Date: Thu, 6 Oct 2016 16:41:28 +0200

On 06/10/2016 16:29, Dominique Larchey-Wendling wrote:
> So I wonder why the nested induction required by the type of trees ty
> is still not guessed when Coq generates induction principles.

As far as I can tell, there is no canonical induction principle
corresponding to nested inductive types (e.g. here ty depends on list
ty). If we agreed on some standard way, depending for instance on the
fold of the underlying structure, we could easily generate such code.

PMP

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page