Theory Conclusion

(*<*)
―‹ ******************************************************************** 
 * Project         : HOL-CSP_OpSem - Operational semantics for HOL-CSP
 *
 * Author          : Benoît Ballenghien, Burkhart Wolff
 *
 * This file       : Conclusion
 *
 * Copyright (c) 2023 Université Paris-Saclay, France
 *
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are
 * met:
 *
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *
 *     * Redistributions in binary form must reproduce the above
 *       copyright notice, this list of conditions and the following
 *       disclaimer in the documentation and/or other materials provided
 *       with the distribution.
 *
 *     * Neither the name of the copyright holders nor the names of its
 *       contributors may be used to endorse or promote products derived
 *       from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ******************************************************************************›
(*>*)

chapter ‹ Conclusion›

theory  Conclusion
  imports OpSemFD OpSemDT OpSemFDBis OpSemDTBis OpSemFBis OpSemTBis NewLaws
          (* "HOL-Library.LaTeXsugar" *)
begin

text ‹We started by defining the operators constSliding, constThrow and constInterrupt
      and provided on them several new laws, especially monotony, "step-law"
      (behaviour with @{term [source] a  A  P a}) and continuity.›

text ‹We defined the constready_set notion, and described its behaviour with the reference
      processes and the operators of CSP (which is already a minor contribution).›

text ‹As main contribution, we defined the @{const [source] ‹After} operator which represents
      a bridge between the denotational and the versions of operational semantics for CSP.
      Therefore we derive the correspondence between denotational and operational 
      semantics by construction. Based on failure divergence or trace divergence refinements, 
      the two operational semantics correspond to the versions described in
      cite"roscoe:csp:1998" and "DBLP:journals/entcs/Roscoe15".

      We only have a slight variation for the constSync operator: constSTOP is replaced
      by constSKIP, probably because of the operator definition in sessionHOL-CSP.

      Thus, we provided a formal theory of operational behaviour for CSP, which is, to our
      knowledge, done for the first time for the entire language and the complete FD-Semantics
      model. Some of the proofs turned out to be extremely complex and out of reach of
      paper-and-pencil reasoning.›

text ‹A notable point is that the experimental order term(⊑DT) behaves surprisingly well:
      initially pushed in sessionHOL-CSP for pure curiosity, it looks promising for future
      applications, since it gives a direct handle for an operational trace semantics for
      non-diverging processes which is executable.›

text ‹Another take-away is the development of alternatives allowing term(⊑F) and
      term(⊑T) orders to be used operational construction by modifying the definition of 
      @{const [source] ‹AfterExt.AfterExt}. 

      But even if term(⊑FD) and term(⊑DT) constructions are (almost) not impacted by this
      change, this remains a bit disappointing because the monotony of term(⊑F) and
      term(⊑T) w.r.t. to some operators does not allow to recover all the laws of 
      cite"roscoe:csp:1998" and "DBLP:journals/entcs/Roscoe15".›

text ‹As a bonus we provided in theoryHOL-CSP_OpSem.NewLaws some powerful laws for CSP.
      Here, we recall only the most important ones:
  
      @{thm [eta_contract = false] bij_Renaming_Hiding bij_Renaming_Sync Hiding_Mprefix_non_disjoint}

end