Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Why does this code stack overflow?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Why does this code stack overflow?


Chronological Thread 
  • From: t x <txrev319 AT gmail.com>
  • To: coq-club <coq-club AT inria.fr>
  • Subject: [Coq-Club] Why does this code stack overflow?
  • Date: Tue, 20 Aug 2013 23:02:10 +0000

I'm trying to understand how to change functions from ": option X" to ": X" by passing along proofs.

However, in this example:

https://gist.github.com/anonymous/9f56cd467bc2e80c7d9c#file-test-v-L45

I get a stack overflow when I try to process lines 45-49. (Weirdly enough, if I change line 47 to:

| nil => fun H => _

then everything goes through fine.


What am I doing wrong?




Archive powered by MHonArc 2.6.18.

Top of Page