The Computerate Specifying Paradigm
draft-petithuguenin-computerate-specifying-03

Document Type Active Internet-Draft (individual)
Last updated 2020-03-09
Stream (None)
Intended RFC status (None)
Formats plain text html xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                  M. Petit-Huguenin
Internet-Draft                                    Impedance Mismatch LLC
Intended status: Experimental                               9 March 2020
Expires: 10 September 2020

                  The Computerate Specifying Paradigm
             draft-petithuguenin-computerate-specifying-03

Abstract

   This document specifies a paradigm named Computerate Specifying,
   designed to simultaneously document and formally specify
   communication protocols.  This paradigm can be applied to any
   document produced by any Standard Developing Organization (SDO), but
   this document targets specifically documents produced by the IETF.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 10 September 2020.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Petit-Huguenin          Expires 10 September 2020               [Page 1]
Internet-Draft           Computerate Specifying               March 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Overview of Operations  . . . . . . . . . . . . . . . . . . .   4
     2.1.  Libraries . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.2.  Retrofitting Specifications . . . . . . . . . . . . . . .   7
     2.3.  Implementation-Oriented Standards . . . . . . . . . . . .   8
     2.4.  Revision of Standards . . . . . . . . . . . . . . . . . .   8
     2.5.  Content of a Computerate Specification  . . . . . . . . .   9
   3.  Syntax  . . . . . . . . . . . . . . . . . . . . . . . . . . .   9
     3.1.  Syntax Examples . . . . . . . . . . . . . . . . . . . . .   9
       3.1.1.  Data Type . . . . . . . . . . . . . . . . . . . . . .  10
       3.1.2.  Serializer  . . . . . . . . . . . . . . . . . . . . .  10
       3.1.3.  Presentation Format . . . . . . . . . . . . . . . . .  11
     3.2.  Designing a Data Type . . . . . . . . . . . . . . . . . .  11
     3.3.  Formal Syntax Language  . . . . . . . . . . . . . . . . .  12
       3.3.1.  Augmented BNF (ABNF)  . . . . . . . . . . . . . . . .  13
       3.3.2.  Augmented Packet Header Diagrams (APHD) . . . . . . .  14
       3.3.3.  Mathematical Formulas . . . . . . . . . . . . . . . .  16
       3.3.4.  RELAX NG Format . . . . . . . . . . . . . . . . . . .  16
       3.3.5.  ASN.1 . . . . . . . . . . . . . . . . . . . . . . . .  16
       3.3.6.  TLS Description Language  . . . . . . . . . . . . . .  16
     3.4.  Proofs for Syntax . . . . . . . . . . . . . . . . . . . .  16
       3.4.1.  Isomorphism Between Type and Formal Language  . . . .  16
       3.4.2.  Data Format Conversion  . . . . . . . . . . . . . . .  19
       3.4.3.  Interoperability with Previous Versions . . . . . . .  19
       3.4.4.  Postel's Law  . . . . . . . . . . . . . . . . . . . .  20
     3.5.  Extended Registries . . . . . . . . . . . . . . . . . . .  22
   4.  Semantics . . . . . . . . . . . . . . . . . . . . . . . . . .  23
     4.1.  Typed Petri Nets  . . . . . . . . . . . . . . . . . . . .  24
     4.2.  Semantics Examples  . . . . . . . . . . . . . . . . . . .  26
       4.2.1.  Data Type . . . . . . . . . . . . . . . . . . . . . .  26
       4.2.2.  Serializer  . . . . . . . . . . . . . . . . . . . . .  27
       4.2.3.  Presentation Format . . . . . . . . . . . . . . . . .  27
     4.3.  Formal Semantics Language . . . . . . . . . . . . . . . .  27
       4.3.1.  Cosmogol  . . . . . . . . . . . . . . . . . . . . . .  27
     4.4.  Proofs for Semantics  . . . . . . . . . . . . . . . . . .  28
       4.4.1.  Isomorphism . . . . . . . . . . . . . . . . . . . . .  28
       4.4.2.  Postel's Law  . . . . . . . . . . . . . . . . . . . .  28
Show full document text