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: Dmitry Grebeniuk <gdsfh1 AT gmail.com>
  • To: Adam Chlipala <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] appcontext question
  • Date: Wed, 13 Mar 2013 14:30:47 +0200

Hello.

> I believe [appcontext] only matches against genuine Gallina terms, not, say,
> sequences of arguments as in your example. You could think of [appcontext]
> as matching _prefixes_ of applications, whereas your example tries to match
> a strict _suffix_.

Thanks, you are right. But is it the expected
behaviour of appcontext?

So, I ended up with
| |- appcontext [ (myid ?x) ] => ...
| |- appcontext [ _ (myid ?x) ] => ...
| |- appcontext [ _ _ (myid ?x) ] => ...
[ 20 more lines skipped ]

Looks beautiful, like stairs!



Archive powered by MHonArc 2.6.18.

Top of Page