(*********************************************************************************** * Copyright (c) 2025 Université Paris-Saclay * * Author: Benoît Ballenghien, Université Paris-Saclay, * CNRS, ENS Paris-Saclay, LMF * * 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 * * * 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. * * 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 HOLDER 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. * * SPDX-License-Identifier: BSD-2-Clause ***********************************************************************************) chapter ‹Declensions of the Generalized Synchronization Product› (*<*) theory Synchronization_Product_Generalized_Interpretations imports Synchronization_Product_Generalized_Commutativity Synchronization_Product_Generalized_Associativity Read_Write_CSP_PTick_Laws Operational_Semantics_CSP_PTick_Laws begin (*>*) unbundle option_type_syntax section ‹Interpretations› text ‹ For practical reasons, we directly interpret \<^locale>‹Sync⇩p⇩t⇩i⇩c⇩k_comm_locale›. Then, the laws of associativity will be derived manually (instead of globally interpreting the locale \<^locale>‹Sync⇩p⇩t⇩i⇩c⇩k_assoc_locale›). › subsection ‹Classical Version› text (in Sync⇩p⇩t⇩i⇩c⇩k_locale) ‹ The following interpretation is initially the reason we wanted the parameter \<^term>‹tick_join› to be of type \<^typ>‹'r ⇒ 's ⇒ 't option› instead of just \<^typ>‹'r ⇒ 's ⇒ 't› (we wanted the operator \<^const>‹Sync› already defined in \<^session>‹HOL-CSP› to indeed be a particular case of the new one). ›