coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: Guillaume Brunerie <guillaume.brunerie AT gmail.com>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Mutually recursive type and function
- Date: Thu, 15 Sep 2011 08:03:10 -0400
Guillaume Brunerie wrote:
But I do not understand why this is working. I had the impression that Coq does not support dependent pattern matching. Perhaps there is a limited dependent pattern matching support for simple types like integers?
My guess is you've formed this conclusion based on propaganda from the Agda community. ;)
By the way, I’m working on homotopy type theory where fully general dependent pattern matching is inconsistent (because it implies Streicher’s axiom K for instance). Is it ok to use dependent pattern matching on integers anyway?
Now I know that must be it! :)
There are many different feasible rules for dependent pattern matching. Coq's are based on explicit [match] annotations and tend to get the job done for almost all cases, even without relying on K.
- [Coq-Club] Mutually recursive type and function, Guillaume Brunerie
- Re: [Coq-Club] Mutually recursive type and function,
Adam Chlipala
- Re: [Coq-Club] Mutually recursive type and function,
Guillaume Brunerie
- Re: [Coq-Club] Mutually recursive type and function, Adam Chlipala
- Re: [Coq-Club] Mutually recursive type and function, Bas Spitters
- Re: [Coq-Club] Mutually recursive type and function, Adam Chlipala
- Message not available
- Re: [Coq-Club] Mutually recursive type and function, Bruno Barras
- Re: [Coq-Club] Mutually recursive type and function,
Guillaume Brunerie
- Re: [Coq-Club] Mutually recursive type and function,
Adam Chlipala
Archive powered by MhonArc 2.6.16.