Skip to Content.
Sympa Menu

coq-club - [Coq-Club] What does Galina "match <term> in <pattern>" mean?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] What does Galina "match <term> in <pattern>" mean?


Chronological Thread 
  • From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] What does Galina "match <term> in <pattern>" mean?
  • Date: Mon, 9 Feb 2015 13:36:52 +0000
  • Accept-language: de-DE, en-US

Dear Coq users,

the term syntax table in the reference manual includes the following

match_item ::= term [as name] [in pattern]

I came across some terms using this "match <term> in <pattern>" in proof
goals, but I can't find the point in the reference manual, where the meaning
of this is explained. A section reference in the term syntac table would be
helpful.

As far as I understand from the cases I see, <pattern> is a pattern for the
type of <term> and used to define identifiers for parts of the type term for
use e.g. in a "result" term. Is this what it is, or is there more to know
about this?

Best regards,

Michael



Archive powered by MHonArc 2.6.18.

Top of Page