Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] appcontext question

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] appcontext question


Chronological Thread 
  • From: Jason Gross <jasongross9 AT gmail.com>
  • To: Dmitry Grebeniuk <gdsfh1 AT gmail.com>
  • Cc: coq-club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] appcontext question
  • Date: Wed, 13 Mar 2013 10:37:42 -0400

I'm not sure if it's a bug, but I've filed a bug report at https://coq.inria.fr/bugs/show_bug.cgi?id=3002; even if it's not a bug, the documentation should talk about this behavior.

-Jason

On Wed, Mar 13, 2013 at 8:32 AM, Dmitry Grebeniuk <gdsfh1 AT gmail.com> wrote:
Hello.

> There is an oddity when your head is a hole; I'm not sure what to make of
> it.  For example,
> Goal 1 + 2 = 3.
> match goal with
>   | [ |- context[_ 2] ] => pose 0 (* succeeds *)
> end.
>
> Goal 1 + (id 2) = 3.
> match goal with
>   | [ |- context[_ (id 2)] ] => pose 0 (* fails *)
> end.

  This looks strange.  Should I file a bug report,
or this is the correct behaviour?




Archive powered by MHonArc 2.6.18.

Top of Page