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 Courtieu <pierre.courtieu AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Equality for inductive type containing list
  • Date: Fri, 7 Oct 2016 01:44:21 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-lf0-f51.google.com
  • Ironport-phdr: 9a23:N8jF1xDlh9aKCAtNt8ONUyQJP3N1i/DPJgcQr6AfoPdwSP78psbcNUDSrc9gkEXOFd2CrakV0ayN6Ou6BiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+IyZ/snLrts7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0r221qtvkg789NV7nhN+R9FOQATWduD2dgz8ry/TLHUAHHsnAbSyAdlgdCKwnD9hDzGJnr5HjUrO14jRGbMNfsQPgfXim486ZmVVe8kCYKLSQ0tmrQl9Zsja9GiB2krh17hYXTZdfGZ7JFYqrBcIZCFiJ6VcFLWnkEW9vkYg==

2016-10-07 0:33 GMT+02:00 Pierre-Marie Pédrot
<pierre-marie.pedrot AT inria.fr>:
> 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

Can you give an example please? Is it really more complex that what
mutual can give?

P.



Archive powered by MHonArc 2.6.18.

Top of Page