Coq学习——《Software-Foundation》Volume1.8-Maps
Maps
Definition total maps and partial maps.
A nice case study using ideas we've seen in previous chapters, including building data structures out of high-order functions and the use of reflection to streamline proofs.
Total Maps
Use functions, rather than lists of key-value pairs, to build maps. The advantage of this representation is that it offers a more extensional view of maps.
1 |
|
Partial Maps
Give a series of defs and lemmas proved by the former ones in total maps
Finally give the def o inclusion
1 |
|
This property is useful for reasoning about the lambda-calculus, where maps are used to keey track of which program variables are defined at a given point.
本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!