nLab subtractive logic

Context

(0,1)(0,1)-Category theory

Type theory

natural deduction metalanguage, practical foundations

  1. type formation rule
  2. term introduction rule
  3. term elimination rule
  4. computation rule

type theory (dependent, intensional, observational type theory, homotopy type theory)

syntax object language

computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory

logicset theory (internal logic of)category theorytype theory
propositionsetobjecttype
predicatefamily of setsdisplay morphismdependent type
proofelementgeneralized elementterm/program
cut rulecomposition of classifying morphisms / pullback of display mapssubstitution
introduction rule for implicationcounit for hom-tensor adjunctionlambda
elimination rule for implicationunit for hom-tensor adjunctionapplication
cut elimination for implicationone of the zigzag identities for hom-tensor adjunctionbeta reduction
identity elimination for implicationthe other zigzag identity for hom-tensor adjunctioneta conversion
truesingletonterminal object/(-2)-truncated objecth-level 0-type/unit type
falseempty setinitial objectempty type
proposition, truth valuesubsingletonsubterminal object/(-1)-truncated objecth-proposition, mere proposition
logical conjunctioncartesian productproductproduct type
disjunctiondisjoint union (support of)coproduct ((-1)-truncation of)sum type (bracket type of)
implicationfunction set (into subsingleton)internal hom (into subterminal object)function type (into h-proposition)
negationfunction set into empty setinternal hom into initial objectfunction type into empty type
universal quantificationindexed cartesian product (of family of subsingletons)dependent product (of family of subterminal objects)dependent product type (of family of h-propositions)
existential quantificationindexed disjoint union (support of)dependent sum ((-1)-truncation of)dependent sum type (bracket type of)
logical equivalencebijection setobject of isomorphismsequivalence type
support setsupport object/(-1)-truncationpropositional truncation/bracket type
n-image of morphism into terminal object/n-truncationn-truncation modality
propositional equalitydiagonal function/diagonal subset/diagonal relationpath space objectidentity type/path type
completely presented setsetdiscrete object/0-truncated objecth-level 2-type/set/h-set
setset with equivalence relationinternal 0-groupoidBishop set/setoid with its pseudo-equivalence relation an actual equivalence relation
equivalence class/quotient setquotientquotient type
inductioncolimitinductive type, W-type, M-type
higher inductionhigher colimithigher inductive type
-0-truncated higher colimitquotient inductive type
coinductionlimitcoinductive type
presettype without identity types
set of truth valuessubobject classifiertype of propositions
domain of discourseuniverseobject classifiertype universe
modalityclosure operator, (idempotent) monadmodal type theory, monad (in computer science)
linear logic(symmetric, closed) monoidal categorylinear type theory/quantum computation
proof netstring diagramquantum circuit
(absence of) contraction rule(absence of) diagonalno-cloning theorem
synthetic mathematicsdomain specific embedded programming language

homotopy levels

semantics

(stub entry)

Contents

Idea

Subtractive logic is an extension of (propositional or first order) intuitionistic logic with a new connective, subtraction, dual to implication, such that each sentence AA has a “dual” A¯\overline{A} verifying A⊢ SLBA \vdash_{\text{SL}} B if and only if B¯⊢ SLA¯\overline{B} \vdash_{\text{SL}} \overline{A}.

Propositional subtractive logic is a conservative extension over propositional intuitionistic logic, but this is not the case for the first order case.

Syntax

In the following, uppercases letters A,B,C,DA, B, C, D will denote sentences.

We start with (a slightly modified) form of Gentzen's LJ sequent calculus, whose inference rules are as follow:

Axioms:

A⊢ SLAax⊥⊢ SLAaxA⊢ SL⊤ax \frac{}{A \vdash_{\text{SL}} A} \; \text{ax} \qquad \frac{}{\bot \vdash_{\text{SL}} A}\;\text{ax} \qquad \frac{}{A \vdash_{\text{SL}} \top}\; \text{ax}

Cut:

A⊢ SLCC⊢ SLBA⊢ SLBcut\frac{A \vdash_{\text{SL}} C \quad C \vdash_{\text{SL}} B}{A \vdash_{\text{SL}} B} \; \text{cut}

Rules for conjunctions:

A∧B⊢ SLAelim-∧ 1A∧B⊢ SLBelim-∧ 2A⊢ SLBA⊢ SLCA⊢ SLB∧Cintro-∧ \frac{}{A \wedge B \vdash_{\text{SL}} A} \;\text{elim-}\wedge_1 \qquad \frac{}{A \wedge B \vdash_{\text{SL}} B} \;\text{elim-}\wedge_2 \qquad \frac{A \vdash_{\text{SL}} B \quad A \vdash_{\text{SL}} C}{A \vdash_{\text{SL}} B \wedge C} \;\text{intro-}\wedge

Rules for disjunctions:

A⊢ SLA∨Bintro-∨ 1B⊢ SLA∨Bintro-∨ 2A⊢ SLCB⊢ SLCA∨B⊢ SLCelim-∨ \frac{}{A \vdash_{\text{SL}} A \vee B} \;\text{intro-}\vee_1 \qquad \frac{}{B \vdash_{\text{SL}} A \vee B} \;\text{intro-}\vee_2 \qquad \frac{A \vdash_{\text{SL}} C \quad B \vdash_{\text{SL}} C}{A \vee B \vdash_{\text{SL}} C} \;\text{elim-}\vee

Remark

These rules for conjunctions and disjunctions are dual in the following way:

If AA and BB are composed only of conjunctions, disjunctions and variables, and if we denote by A¯\overline{A} and B¯\overline{B} the same formulas but exchanging conjunctions with disjunctions simultaneously, then A⊢ SLBA \vdash_{\text{SL}} B if and only if B¯⊢ SLA¯\overline{B} \vdash_{\text{SL}} \overline{A}.

In the same vein, top and bottom are duals.

Rule for implication:

(A⇒B)∧A⊢ SLBelim-⇒A∧B⊢ SLCA⊢ SLB⇒Cintro-⇒ \frac{}{(A \implies B) \wedge A \vdash_{\text{SL}} B}\;\text{elim-}\implies \qquad \frac{A \wedge B \vdash_{\text{SL}} C}{A \vdash_{\text{SL}} B \implies C}\;\text{intro-}\implies

This rule usually does not have a dual in intuitionistic logic, but we’ll just create one, written A−BA - B, to be called the

Rule for subtractions:

B⊢ SL(A−B)∨Aelim-subC⊢ SLA∨BB−C⊢ SLAintro-sub \frac{}{B \vdash_{\text{SL}} (A - B) \vee A}\;\text{elim-}\text{sub} \qquad \frac{C \vdash_{\text{SL}} A \vee B}{B - C\vdash_{\text{SL}} A}\;\text{intro-}\text{sub}

Giving the syntax of propositional subtractive logic, to make it first order, it suffices to add the existential quantifier and its dual the universal quantifier (where xx does not occur free in CC):

A⊢ SLC∃x.A⊢ SLCelim-∃A⊢ SLB[t/x]A⊢ SL∃x.Bintro-∃ \frac{A \vdash_{\text{SL}} C}{\exists x.A \vdash_{\text{SL}} C}\;\text{elim-}\exists \qquad \frac{A \vdash_{\text{SL}} B[t/x]}{A \vdash_{\text{SL}} \exists x. B}\;\text{intro-}\exists

and

C⊢ SLAC⊢ SL∀x.Aintro-∀B[t/x]⊢ SLA∀x.B⊢ SLAelim-∀ \frac{C \vdash_{\text{SL}} A}{C \vdash_{\text{SL}} \forall x. A}\;\text{intro-}\forall \qquad \frac{B[t/x] \vdash_{\text{SL}} A}{\forall x. B \vdash_{\text{SL}} A}\;\text{elim-}\forall

Definition

The dual of a sentence AA is another sentence A¯\overline{A} defined by structural induction on the syntax of the sentence, bia:

{A ifAis a variable ⊥ ifA=⊤ ⊤ ifA=⊥ C¯∨B¯ ifA=B∧C C¯∧B¯ ifA=B∨C C¯⇒B¯ ifA=B−C C¯−B¯ ifA=B⇒C ∃x.B¯ ifA=∀x.B ∀x.B¯ ifA=∃x.B \begin{cases} A & \,\text{if}\, A \,\text{is a variable}\\ \bot & \,\text{if}\, A = \top \\ \top & \,\text{if}\, A = \bot \\ \overline{C} \vee \overline{B} & \,\text{if}\, A = B \wedge C \\ \overline{C} \wedge \overline{B} & \,\text{if}\, A = B \vee C \\ \overline{C} \implies \overline{B} & \,\text{if}\, A = B - C \\ \overline{C} - \overline{B} & \,\text{if}\, A = B \implies C \\ \exists x. \overline{B} & \,\text{if}\, A = \forall x. B\\ \forall x. \overline{B} & \,\text{if}\, A = \exists x. B \end{itemize} \end{cases}

Relation to other logics

TODO: bi-interpretation with classical logic, what A−BA - B becomes when there’s the law of excluded middle, conservation over propositional intuitionistic logic but not over first order one.

Models and semantics

TODO: bi-topologies (where closed sets are also a topology) as models, category semantics of bi-cartesian closed categories, kripke semantics

References:

Last revised on August 30, 2026 at 11:31:18. See the history of this page for a list of all contributions to it.