(*<*) ―‹ ******************************************************************** * Project : HOL-CSPM - Architectural operators for HOL-CSP * * Author : Benoît Ballenghien, Safouan Taha, Burkhart Wolff * * This file : POTS example * * 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‹ Example: Plain Old Telephone System› text‹The "Plain Old Telephone Service is a standard medium-size example for architectural modeling of a concurrent system. Plain old telephone service (POTS), or plain ordinary telephone system,[1] is a retronym for voice-grade telephone service employing analog signal transmission over copper loops. POTS was the standard service offering from telephone companies from 1876 until 1988[2] in the United States when the Integrated Services Digital Network (ISDN) Basic Rate Interface (BRI) was introduced, followed by cellular telephone systems, and voice over IP (VoIP). POTS remains the basic form of residential and small business service connection to the telephone network in many parts of the world. The term reflects the technology that has been available since the introduction of the public telephone system in the late 19th century, in a form mostly unchanged despite the introduction of Touch-Tone dialing, electronic telephone exchanges and fiber-optic communication into the public switched telephone network (PSTN). C.f. wikipedia 🌐‹https://en.wikipedia.org/wiki/Plain_old_telephone_service›. › (* rework this small text *) theory POTS imports CSPM begin text ‹We need to see \<^typ>‹int› as a \<^class>‹cpo›.› ―‹We may replace this instantiation by an import of "HOLCF-Library.Int_Discrete"› instantiation int :: discrete_cpo begin definition below_int_def: "(x::int) ⊑ y ⟷ x = y" instance proof qed (rule below_int_def) end section‹ The Alphabet and Basic Types of POTS › text‹Underlying terminology apparent in the acronyms: ▸ T-side (target side, callee side) ▸ O-side (originator (?) side, caller side)› datatype MtcO = Osetup | Odiscon_o