A language of patterns for subterm selection

Abstract : This paper describes the language of patterns that equips the SSReflect proof shell extension for the Coq system. Patterns are used to focus proof commands on sub expressions of the conjecture under analysis in a declarative manner. They are designed to ease the writing of proof scripts and to increase their readability and maintainability. A pattern can identify the sub expression of interest approximating the sub expression itself, or its enclosing context or both. The user is free to choose the most convenient option. Patterns are matched following an extremely precise and predictable discipline, that is carefully designed to admit an efficient implementation. In this paper we report on the language of patterns, its matching algorithm and its usage in the formal library developed by the Mathematical Components team to support the verification of the Odd Order theorem.
Document type :
Preprints, Working Papers, ...
Complete list of metadatas

https://hal.inria.fr/hal-00652286
Contributor : Enrico Tassi <>
Submitted on : Thursday, December 15, 2011 - 12:30:01 PM
Last modification on : Wednesday, March 27, 2019 - 4:41:26 PM
Long-term archiving on: Friday, November 16, 2012 - 3:41:38 PM

File

rew.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00652286, version 1

Citation

Georges Gonthier, Enrico Tassi. A language of patterns for subterm selection. 2011. ⟨hal-00652286v1⟩

Share

Metrics

Record views

25

Files downloads

102