Condition/Decision Duality and the Internal Logic of Extensive Restriction Categories

05/22/2019
by   Robin Kaarsgaard, et al.
0

In flowchart languages, predicates play an interesting double role. In the textual representation, they are often presented as conditions, i.e., expressions which are easily combined with other conditions (often via Boolean combinators) to form new conditions, though they only play a supporting role in aiding branching statements choose a branch to follow. On the other hand, in the graphical representation they are typically presented as decisions, intrinsically capable of directing control flow yet mostly oblivious to Boolean combination. While categorical treatments of flowchart languages are abundant, none of them provide a treatment of this dual nature of predicates. In the present paper, we argue that extensive restriction categories are precisely categories that capture such a condition/decision duality, by means of morphisms which, coincidentally, are also called decisions. Further, we show that having these categorical decisions amounts to having an internal logic: Analogous to how subobjects of an object in a topos form a Heyting algebra, we show that decisions on an object in an extensive restriction category form a De Morgan quasilattice, the algebraic structure associated with the (three-valued) weak Kleene logic K^w_3. Full classical propositional logic can be recovered by restricting to total decisions, yielding extensive categories in the usual sense, and confirming (from a different direction) a result from effectus theory that predicates on objects in extensive categories form Boolean algebras. As an application, since (categorical) decisions are partial isomorphisms, this approach provides naturally reversible models of classical propositional logic and weak Kleene logic.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2023

Classical Distributive Restriction Categories

In the category of sets and partial functions, 𝖯𝖠𝖱, while the disjoint u...
research
10/10/2017

A categorical foundation for structured reversible flowchart languages: Soundness and adequacy

Structured reversible flowchart languages is a class of imperative rever...
research
08/23/2023

Duality for Clans: a Refinement of Gabriel-Ulmer Duality

Clans are representations of generalized algebraic theories that contain...
research
06/18/2018

Boolean-like algebras of finite dimension

We introduce Boolean-like algebras of dimension n (nBA) having n constan...
research
09/18/2023

Fixpoint constructions in focused orthogonality models of linear logic

Orthogonality is a notion based on the duality between programs and thei...
research
10/09/2017

Stone-Type Dualities for Separation Logics

Stone-type duality theorems, which relate algebraic and relational/topol...
research
08/17/2023

Proofs of valid categorical syllogisms in one diagrammatic and two symbolic axiomatic systems

Gottfried Leibniz embarked on a research program to prove all the Aristo...

Please sign up or login with your details

Forgot password? Click here to reset