Theory Conclusion
theory Conclusion
imports "HOL-CSP_Proc-Omata" Compactification_DiningPhilosophers "HOL-Library.LaTeXsugar"
begin
section ‹Conclusion›
text ‹
In this entry we have developed the Proc-Omata framework on top
of \<^session>‹HOL-CSP› and its extensions.
Starting from functional automata, we introduced Proc-Omata in four variants:
deterministic, terminating deterministic, non-deterministic,
and terminating non-deterministic. They enjoy strong structural properties,
for example deadlocks can be characterized directly and established by invariant reasoning:
\begin{center}
@{thm deadlock_free_P_nd_iff[no_vars]}
@{thm [mode = Rule] deadlock_free⇩S⇩K⇩I⇩P⇩S_P⇩S⇩K⇩I⇩P⇩S_nd_iff[no_vars]}
\end{center}
We then lifted sequential composition and synchronization product to the automata level,
by defining suitable combination functions and proving their correctness.
A major generalization of our development is the treatment of parameterized termination.
For sequential composition we worked directly with the generalized operator \<^term>‹(❙;⇩✓)›,
since the standard one \<^term>‹(❙;)› is easily recovered (indeed @{thm Seq⇩p⇩t⇩i⇩c⇩k_const[no_vars]}).
In contrast, for synchronization product we had to provide two distinct versions,
as the handling of ticks prevents any straightforward reduction from \<^term>‹P ⟦A⟧ Q› to ‹P ⟦A⟧⇩✓ Q›.
Another central ingredient is the library \<^session>‹Restriction_Spaces›~\<^cite>‹"Restriction_Spaces-AFP"›.
Proc-Omata are indeed defined as fixed points of endofunctions which,
in the non-deterministic case, are not always continuous due to global non-deterministic choice.
While deterministic prefix choice does not suffice to restore continuity under composition,
it does guarantee constructiveness, allowing us to rely on the fixed-point operator \<^term>‹υ x. f x› in all cases.
The resulting framework yields compactification theorems that support
invariant-based reasoning over large process architectures:
\begin{center}
@{thm [eta_contract = false, mode = Rule] P_nd_compactification_Sync[no_vars]}
\end{center}
Finally, we demonstrated the applicability of our approach with the Dining
Philosophers case study, where Proc-Omata compactification enables proofs that scale
to an arbitrary number of participants in this parameterized process architecture.
›
end