Skip to Content.
Sympa Menu

coq-club - [Coq-Club] anonymous inductives (was Re: Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] anonymous inductives (was Re: Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?)


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] anonymous inductives (was Re: Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?)
  • Date: Thu, 19 Jan 2017 12:18:59 -0500
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-ua0-f177.google.com
  • Ironport-phdr: 9a23:TYQhpRC4l3SlvuWPGHp4UyQJP3N1i/DPJgcQr6AfoPdwSP38o8bcNUDSrc9gkEXOFd2CrakV16yK6uuxAiRAuc/H6y9SNsQUFlcssoY/oU8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUt2as8Pi3OervpbXfg9ghTynYLo0Ig/lgx/Ws5w0ho1rNqY4zFPtr3pWduJKjTdqIlSSnBv468qY85tq8iAWsPUkoZ0TGZ7mdrg1GOQLRA8tNHo4sZXm



On 01/19/2017 12:02 PM, Théo Zimmermann wrote:
Very good point Pierre. And now that you mention this, Matthieu was
precisely recently talking about the need for anonymous records (which
would probably be made available by creating a syntax for anonymous
inductive types, since Coq's record are implemented in terms of inductive
types).


I'll add my +1 to the anonymous inductives idea as well. There are certainly cases where having that would make things more elegant (such as the case where a tactic needs an inductive type to work, but would be defeated if that inductive type is used elsewhere).

Oh - but would two syntactically identical anonymous inductives be equal? Hmmm - probaby. If so, would it be possible to have some way to unique-ify an anonymous inductive?

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page