Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] one rule of dependent matching (again)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] one rule of dependent matching (again)


Chronological Thread 
  • From: Adam Chlipala <adamc AT csail.mit.edu>
  • To: t x <txrev319 AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] one rule of dependent matching (again)
  • Date: Tue, 22 Oct 2013 10:55:42 -0400

On 10/22/2013 09:57 AM, t x wrote:
Is https://gist.github.com/anonymous/7100956 correct?
Where error (1) is fixed at line 18 and error (2) is fixed at line 21.

No, there are still issues.
- You can't just write "typeof(Di)"; it's necessary to extend the typing context with variables "y*_*" of appropriate types.
- On the same line, you substitute "u_i" for "x_i", which can't be right, because "u_i" is independent of which pattern has matched. You need to use the type of "Cn" to figure out the right terms to substitute.



Archive powered by MHonArc 2.6.18.

Top of Page