Theory Kleene_Relation_Algebras
section ‹Kleene Relation Algebras›
text ‹
This theory combines Kleene algebras with Stone relation algebras.
Relation algebras with transitive closure have been studied by \<^cite>‹"Ng1984"›.
The weakening to Stone relation algebras allows us to talk about reachability in weighted graphs, for example.
Many results in this theory are used in the correctness proof of Prim's minimum spanning tree algorithm.
In particular, they are concerned with the exchange property, preservation of parts of the invariant and with establishing parts of the postcondition.
›
theory Kleene_Relation_Algebras
imports Stone_Relation_Algebras.Relation_Algebras Kleene_Algebras
begin
text ‹
We first note that bounded distributive lattices can be expanded to Kleene algebras by reusing some of the operations.
›