Javascript must be enabled to continue!
Symmetries in reversible programming: from symmetric rig groupoids to reversible programming languages
View through CrossRef
The Pi family of reversible programming languages for boolean circuits is presented as a syntax of combinators witnessing type isomorphisms of algebraic data types. In this paper, we give a denotational semantics for this language, using weak groupoids à la Homotopy Type Theory, and show how to derive an equational theory for it, presented by 2-combinators witnessing equivalences of type isomorphisms.
We establish a correspondence between the syntactic groupoid of the language and a formally presented univalent subuniverse of finite types. The correspondence relates 1-combinators to 1-paths, and 2-combinators to 2-paths in the universe, which is shown to be sound and complete for both levels, forming an equivalence of groupoids. We use this to establish a Curry-Howard-Lambek correspondence between Reversible Logic, Reversible Programming Languages, and Symmetric Rig Groupoids, by showing that the syntax of Pi is presented by the free symmetric rig groupoid, given by finite sets and bijections.
Using the formalisation of our results, we perform normalisation-by-evaluation, verification and synthesis of reversible logic gates, motivated by examples from quantum computing. We also show how to reason about and transfer theorems between different representations of reversible circuits.
Association for Computing Machinery (ACM)
Title: Symmetries in reversible programming: from symmetric rig groupoids to reversible programming languages
Description:
The Pi family of reversible programming languages for boolean circuits is presented as a syntax of combinators witnessing type isomorphisms of algebraic data types.
In this paper, we give a denotational semantics for this language, using weak groupoids à la Homotopy Type Theory, and show how to derive an equational theory for it, presented by 2-combinators witnessing equivalences of type isomorphisms.
We establish a correspondence between the syntactic groupoid of the language and a formally presented univalent subuniverse of finite types.
The correspondence relates 1-combinators to 1-paths, and 2-combinators to 2-paths in the universe, which is shown to be sound and complete for both levels, forming an equivalence of groupoids.
We use this to establish a Curry-Howard-Lambek correspondence between Reversible Logic, Reversible Programming Languages, and Symmetric Rig Groupoids, by showing that the syntax of Pi is presented by the free symmetric rig groupoid, given by finite sets and bijections.
Using the formalisation of our results, we perform normalisation-by-evaluation, verification and synthesis of reversible logic gates, motivated by examples from quantum computing.
We also show how to reason about and transfer theorems between different representations of reversible circuits.
Related Results
Modified Offshore Drilling Operation - Serban Well (Nunukan Block)
Modified Offshore Drilling Operation - Serban Well (Nunukan Block)
Abstract
Serban is an offshore drilling project located in Nunukan Block, Indonesia, approximately 3 km northwest of Bunyu Island, an offshore area with very shal...
Two Open Problems on CA-Groupoids and Cancellativities of T2CA-Groupoids
Two Open Problems on CA-Groupoids and Cancellativities of T2CA-Groupoids
Cyclic associative groupoids (CA-groupoids) and Type-2 cyclic associative groupoids (T2CA-groupoids) are two types of non-associative groupoids which satisfy cyclic associative law...
Rig Inspection and Safety Relationship
Rig Inspection and Safety Relationship
Abstract
Preventing the occurrence of accidents in drilling and well servicing operations is a constant and major concern for any company or contractor acting in ...
Rig Sizing: Revolutionizing Rig Sizing for Optimal Performance and Efficiency
Rig Sizing: Revolutionizing Rig Sizing for Optimal Performance and Efficiency
Abstract
Rig sizing is a critical process that ensures the appropriate rigs are selected for drilling oil or gas wells, balancing safety and cost-effectiveness. Prop...
Project To Upright The Alexander L. Kielland
Project To Upright The Alexander L. Kielland
Abstract
The Alexander L Kielland is a drilling rig of Pentagone type. It was being used as an accommodation unit when it capsized in the North Sea in 1980 as a r...
Determining Rig State from Computer Vision Analytics
Determining Rig State from Computer Vision Analytics
Abstract
For years, many companies involved with drilling have searched for the ideal method to calculate the state of a drilling rig. While companies cannot agree o...
Kuwait Oil Company's Latest Semiautomated Deep Drilling Rig – HAH Rig 124, The Middle East's Most Modern 3,000-HP Land Rig
Kuwait Oil Company's Latest Semiautomated Deep Drilling Rig – HAH Rig 124, The Middle East's Most Modern 3,000-HP Land Rig
Abstract
KOC has been drilling deep HPHT wells from the mid 1980’s, and during this time the Kuwait deep well prospects have become deeper and more challenging. The ...
A novel approach to AG-groupoids via soft intersection product operation
A novel approach to AG-groupoids via soft intersection product operation
This study investigates some general properties of soft sets on a symmetry-preserving structure AG-groupoid. Various weaknesses in the papers Karaaslan [22] and Sezgin [39] are re...

