Preface and usage
Overview
This is a formalisation of the
M2 MPRI AISAV course
My aim with this project was both to become more fluent in Rocq, and to better understand the basis of my course, since in my opinion formalizing something help you to better understand it.
Of course, since I'm not an expert neither in abstract interpretation (I only followed this course) nor rocq
(I followed two courses, so I should be quite fluent though),
there may be some errors remaining.
If you see ways to improve this work or detect errors, don't hesitate to tell me !
In order to compile this project, use the following command :
make
Also run it if you want to modify it, since it create the files required by the LSP to interpret it.
The sources of this project are available on my
Codeberg.
In order to build this website, run :
make all_html
The resulting html files are available in the directory
html/.
Naming conventions
In this library, the following naming conventions are used :
- Function definitions and theorems are snake case
(for instance, the function iter, the theorem kleene_fixpoint).
Element/instance definitions are also snake case
(for exemple nat_total is an instance of the TotalOrder class for natural numbers, empty is the empty subset).
- Properties, types and class definition are caml case
(for exemple, the property SetLeastUpperBound, the class TotalOrder).
- Theorem commonly called with a first name begin with this name :
kleene_fixpoint for kleene fixpoint theorem.
- We use full name for classes (SetLeastUpperBound), and abbrevations when refering to them in theorems (slub_unicity),
only if there is no ambiguity and the name remains understandable. Otherwise, we use also full name in theorems.
- When a theorem is about implication between properties, we use "imp" to link them (continuous_imp_monotone).
When there is equivalence or equality, we use "eq" (rel_eq_slub).
Structure
This library come with the following files :
Order
This file contains definitions and theorem about order theory usefull for abstract interpretation.
From AISAV Require Export Order.
Concrete semantic
This file contains the concrete equational semantic of a toy language.