coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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: Fri, 7 Oct 2016 00:33:16 +0200
On 06/10/2016 18:18, Pierre-Marie Pédrot wrote:
> You're actually right. I'll have a look to check if that is easy to
> generate the proper induction this way.
To answer myself: I've reread the strict positivity conditions, and it
seems it is somehow straightforward to derive systematically an
induction principle for nested inductive types, even when they feature
complicated features (all effectively too tricky cases are ruled out by
positivity).
The idea is simply to add a new toplevel predicate for each instance of
a nested call in the constructors, which takes the context of the
instance as argument, and fiddle a bit with that.
Nonetheless, I'm wondering about the use of such a principle. Indeed, if
the final goal is that newcomers don't keep asking about the evergreen
inline fixpoint trick, then this is useless. Actually, the 'induction'
tactic cannot cope with such a complicated scheme, so that it would make
the automatic generation moot. This means we also need to enhance the
tactic-world...
PMP
Attachment:
signature.asc
Description: OpenPGP digital signature
- Re: [Coq-Club] Equality for inductive type containing list, (continued)
- Re: [Coq-Club] Equality for inductive type containing list, Klaus Ostermann, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Dominique Larchey-Wendling, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Maxime Dénès, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre Courtieu, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Abhishek Anand, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Dominique Larchey-Wendling, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Jonathan Leivent, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre Courtieu, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Matthieu Sozeau, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Dominique Larchey-Wendling, 10/07/2016
- Re: [Coq-Club] Equality for inductive type containing list, Maxime Dénès, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Pierre-Marie Pédrot, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Dominique Larchey-Wendling, 10/06/2016
- Re: [Coq-Club] Equality for inductive type containing list, Klaus Ostermann, 10/06/2016
Archive powered by MHonArc 2.6.18.