SlideShare a Scribd company logo
1 of 35
Download to read offline
Introduction
Dialectica Categories
Revisiting Dialectica
Dialectica Categories Revisited
Valeria de Paiva
8th CSLI Workshop on Logic, Rationality, and Intelligent Interaction
May, 2022
1 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Thanks!
Johan and Declan for the invitation today
Sol and Grisha for the first invitation!
Lauri for the friendship
2 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Personal stories
3 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Personal stories
4 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Personal stories
5 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Personal stories
6 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
What I want to cover
My very old thesis:
4 chapters, 4 main theorems.
All of them: C is a categorical model of a L logic
Start from C cartesian closed cat + coproducts + (...)
Thm 1: DC is a model of !-free ILL
Thm 2: DC+! (! co-free monoidal comonad) model of ILL
Thm 3: GC (simple dial cat) a model of (!,?)-free CLL/FILL
Thm 4: GC+! (comp mon comonad) a model of FILL/CLL,
distributive laws
7 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
This Talk
A short version:
2 chapters, 2 main theorems.
Of the form: C is a categorical model of a L logic
Start from C cartesian closed cat + coproducts + (...)
apply Dialectica construction to it → DialC
Thm 1: DialC is a model of !-free ILL
Thm 2: DialC+! (! co-free monoidal comonad) model of ILL
Why this is interesting?
8 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
This Talk
A short version:
2 chapters, 2 main theorems.
All of the form: C is a categorical model of a L logic (ND such
that..)
Start from C cartesian closed cat + coproducts + (...)
apply Dialectica construction to it → DialC
Thm 1: DialC is a model of !-free intuitionistic Linear Logic
Thm 2: DialC+! (! co-free monoidal comonad) model of ILL
Why this is interesting?
9 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Gödel’s Dialectica Interpretation
The interpretation is named after the Swiss journal Dialectica
where it appeared in a special volume dedicated to Paul Bernays
70th birthday in 1958.
I was originally trying to provide an internal categorical model of
the Dialectica Interpretation. The categories I came up with proved
to be a model of Linear Logic
10 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Dialectica (from Wikipedia)
AD(u; x) quantifier-free formula defined inductively:
(P)D ≡ P (P atomic)
(A ∧ B)D(u, v; x, y) ≡ AD(u; x) ∧ BD(v; y)
(A ∨ B)D(u, v, z; x, y) ≡ (z = 0 → AD(u; x)) ∧ (z ̸= 0 → BD(v; y))
(A → B)D(f , F; u, y) ≡ AD(u; Fuy) → BD(fu; y)
(∃zA)D(u, x; z) ≡ AD(u; x)
(∀zA)D(f ; y, z) ≡ AD(fz; y)
Theorem (Dialectica Soundness, Gödel 1958)
Whenever a formula A is provable in Heyting arithmetic then there
exists a sequence of closed terms t such that AD(t; y) is provable
in system T. The sequence of terms t and the proof of AD(t; y) are
constructed from the given proof of A in Heyting arithmetic.
11 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Dialectica Categories
Gödel’s Dialectica: an interpretation of intuitionistic arithmetic HA
in a quantifier-free theory of functionals of finite type T.
basic idea: translate every formula A of HA to AD
= ∃u∀x.AD,
where AD is quantifier-free.
Use: If HA proves A then system T proves AD(t, y) where y is
string of variables for functionals of finite type, t a suitable
sequence of terms not containing y
Goal: to be as constructive as possible while being able to interpret
all of classical arithmetic (Troelstra)
Philosophical discussion of how much it achieves ⇒ another talk
12 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Categorical Models
Types are formulae/objects in appropriate category,
Terms/programs are proofs/morphisms in the category,
Logical constructors are ‘appropriate’ categorical constructions.
Most important: Reduction is proof normalization (Tait)
Outcome: Transfer results/tools from logic to CT to CScience
13 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
14 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Linear Logic
A proof theoretic logic described by Jean-Yves Girard in 1986.
Basic idea: assumptions cannot be discarded or duplicated. They
must be used exactly once – just like dollar bills
Other approaches to accounting for logical resources before.
Great win of Linear Logic: Account for resources when you want to,
otherwise fall back on traditional logic, A → B iff !A −◦ B
15 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Dialectica Categories
Hyland suggested that to provide a categorical model of the
Dialectica Interpretation, one should look at the functionals
corresponding to the interpretation of logical implication.
I looked and instead of finding a cartesian closed category, found a
monoidal closed one
Thus the categories in my thesis proved to be models of Linear
Logic
16 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Resources in Linear Logic
In Linear Logic formulas denote resources. Resources are premises,
assumptions and conclusions, as they are used in logical proofs. For
example:
$1 −◦ latte
If I have a dollar, I can get a Latte
$1 −◦ cappuccino
If I have a dollar, I can get a Cappuccino
$1
I have a dollar
Using my dollar premise and one of the premisses above, say
‘$1 −◦ latte’ gives me a latte but the dollar is gone
Usual logic doesn’t pay attention to uses of premisses, A implies B
and A gives me B but I still have A
17 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Linear Implication and (Multiplicative) Conjunction
Traditional implication: A, A → B ⊢ B
A, A → B ⊢ A ∧ B Re-use A
Linear implication: A, A −◦ B ⊢ B
A, A −◦ B ̸⊢ A ⊗ B Cannot re-use A
Traditional conjunction: A ∧ B ⊢ A Discard B
Linear conjunction: A ⊗ B ̸⊢ A Cannot discard B
Of course: !A ⊢ !A⊗!A Re-use
!A ⊗ B ⊢ I ⊗ B ∼
= B Discard
18 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Challenges of modeling Linear Logic
Traditional categorical modeling of intuitionistic logic
formula A ⇝ object A of appropriate category
A ∧ B ⇝ A × B (real product)
A → B ⇝ BA
(set of functions from A to B)
These are real products, so we have projections
(A × B → A, B) and diagonals (A → A × A) which correspond
to deletion and duplication of resources
Not linear!!!
Need to use tensor products and internal homs in CT
Hard: how to define the “make-everything-usual"operator "!"
19 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Category DialC
Start with a cat C that is cartesian closed (with some other nice
properties) Then build a new category DialC.
Objects are relations in C, triples (U, X, α), α : U × X → 2,
so either uαx or not.
Maps are pairs of maps in C. A map from A = (U, X, α) to
B = (V , Y , β) is a pair of maps in C,
(f : U → V , F : U × Y → X) such that a ‘semi-adjunction
condition’ is satisfied: for u ∈ U, y ∈ Y , uαF(u, y) implies
fuβy. (Note direction and dependence!)
Theorem1: (de Paiva 1987) [Linear structure]
The category DialC has a symmetric monoidal closed structure (and
products, weak coproducts), that makes it a model of (exponential-
free) intuitionistic linear logic.
20 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Can we give some intuition for these objects?
Blass makes the case for thinking of problems in computational
complexity. Intuitively an object of DialC
A = (U, X, α)
can be seen as representing a problem.
The elements of U are instances of the problem, while the elements
of X are possible answers to the problem instances.
The relation α checks whether the answer is correct for that
instance of the problem or not.
(Superpower games?)
21 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Examples of objects in DialC
1. The object (N, N, =) where n is related to m iff n = m.
2. The object (NN
, N, α) where f is α-related to n iff f (n) = n.
3. The object (R, R, ≤) where r1 and r2 are related iff r1 ≤ r2
4. The objects (2, 2, =) and (2, 2, ̸=) with usual equality inequality.
22 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Tensor product in DialC
Given objects (U, X, α) and (V , Y , β) it is natural to think of
(U × V , X × Y , α × β) as a tensor product.
This construction does give us a bifunctor
⊗: DialC × DialC → DialC
with a unit I = (1, 1, id1).
Note that this is not a product.
There are no projections (U × V , X × Y , α × β) → (U, X, α).
Nor do we have a diagonal functor
∆: DialC → DialC × DialC, taking
(U, X, α) → (U × U, X × X, α × α)
23 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Internal-hom in DialC
To “internalize"the notion of map between problems, we need to
consider the collection of all maps from U to V , V U
, the collection
of all maps from U × Y to X, XU×Y
and we need to make sure
that a pair f : U → V and F : U × Y → X in that set, satisfies the
dialectica condition:
∀u ∈ U, y ∈ Y , uαF(u, y) → fuβy
This give us an object in DialC (V U
× XU×Y
, U × Y , βα
)
The relation βα
: V U
× XU×Y
× (U × Y ) → 2 evaluates a pair
(h, H) of maps on the pair of elements (u, y) and checks the
dialectica implication between the relations.
24 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Internal-hom in DialC
Given objects (U, X, α) and (V , Y , β) we can internalize the
notion of morphism of DialC as the object
(V U
× XU×Y
, U × Y , βα
)
This construction does give us a bifunctor
∗ ⊸ ∗: DialC × DialC → DialC
This bifunctor is contravariant in the first coordinate and
covariant in the second, as expected
The kernel of our first main theorem is the adjunction
A ⊗ B → C if and only if A → [B −◦ C]
where A = (U, X, α), B = (V , Y , β) and C = (W , Z, γ)
25 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Products and Coproducts in DialC
Given objects (U, X, α) and (V , Y , β) it is natural to think of
(U × V , X + Y , α ◦ β) as a categorical product in DC.
Since this is a relation on the set U × V × (X + Y ), either this
relation has a (x, 0) or a (y, 1) element, and hence the ◦
symbol only ‘picks’ the correct relation α or β.
However, we do not have coproducts. It is only a
weak-coproduct enough for the logic/type theory
Theorem: (de Paiva 1987) [Linear structure]
The category DialC has a symmetric monoidal closed structure (and
products, weak coproducts), that makes it a model of (exponential-
free) intuitionistic linear logic.
26 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
What about the Modality?
We need an operation on objects/propositions such that:
!A →!A⊗!A (duplication)
!A → I (erasing)
!A → A (dereliction)
!A →!!A (digging)
Also ! should be a functor, i.e (f , F) : A → B then !(f , F) :!A →!B
Theorem: linear and usual logic together
There is a monoidal comonad ! in DC which models exponenti-
als/modalities and recovers Intuitionistic (and Classical) Logic.
Take !(U, X, α) = (U, X∗
, α∗), where (−)∗
is the free commutative
monoid in C.
27 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
(Cofree) Modality !
To show this works we need to show several propositions:
! is a monoidal comonad: there is a natural transformation
m(−, −) :!A⊗!B →!(A ⊗ B) and mI : I →!I satisfying many
comm diagrams
! induces a commutative comonoid structure on !A
!A also has naturally a coalgebra structure induced by the
comonad !
The comonoid and coalgebra structures interact nicely.
There are plenty of other ways to phrase these conditions. The
more usual way nowadays seems to be
Theorem: Linear and non-Linear logic together
There is a symmetric monoidal adjunction between DialC and its
cofree coKleisli category for the monoidal comonad ! above.
28 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Cofree Modality !
Old way: “There is a monoidal comonad ! on a linear category
DialC satisfying (lots of conditions)"and
Theorem: Linear and non-Linear logic together
The coKleisli category associated with the comonad ! on DialC is
cartesian closed.
To show cartesian closedness we need to show:
HomKl!(A&B, C) ∼
= HomKl!(A, [B, C]Kl!)
The proof is then a series of equivalences that were proved before:
HomKl!(A&B, C) ∼
= HomDialC (!(A&B), C) ∼
=
HomDialC (!A⊗!B, C) ∼
= HomDialC (!A, [!B, C]DialC ) ∼
=
Homkl!(A, [!B, C]DialC ) ∼
= Homkl!(A, [B, C]kl!)
(Seely, 1989; de Paiva, 1989)
29 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
What is the point of (these) Dialectica categories?
First, the construction provides a model of Linear Logic, instead of
constructive logic. This allows us to see where the assumptions in
Gödel’s argument (hacks?) are used (new work with Trotta and
Spadetto showing where G needs IP, MP and skolemization)
It justifies linear logic in terms of a more traditional logic tool and
conversely explains the more traditional work in terms of a
‘modern’ (linear, resource conscious) decomposition of concerns.
Dialectica categories provide models of linear logic as well as an
internal representation of the dialectica interpretation. Modeling
the exponential ! is hard, first model to do it. Still (one of) the
best ones.
30 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
What is the point of (these) Dialectica categories?
30 years on: maybe too much emphasis on LL earlier
Now fashion is polynomials, clear connection to Dialectica
categories (Moss 2022)
Dialectica construction can be applied to many more logical
systems (modal dialectica, monotone, ...). Categorical
constructions have only scratched the surface.
(At least) Three PhDs on Dialectica Models of Dependent
Type Theory: Biering 2007, von Glehn 2016, Moss 2018.
Connections to many other areas: lenses in FP, partial
compilers (Plotkin), games with bidding (Hedges2014), etc...
31 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Applications
Applications to Set Theory (S. G da Silva since 2013)
ACT adjoint school 2020 – Petri nets for Chemistry and
Biology
Relationship with POLY and Lenses: AMS-MRC this May
Multiagent systems based on LL and dialectica spaces
Game models (Winskel 2022, Koenig 2021)
Relationship with automated differentiation/neural nets?
automata theory (Pradic 2020)
• https://github.com/vcvpaiva/DialecticaCategories
32 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Conclusions
Original Dialectica category
with its symmetric cofree comonad is back in fashion
Category DialC is a cat model of L.
Curry-Howard correspondence works (several logical systems L)
Categorical Proof Theory is expanding! (higher-order cats)
Later: Dialectica Petri nets (di Lavore, Leal),
Dialectica-Kolmogorov problems (G da Silva),
Dialectica abstract machine (Pedrot),
Dialectica automata (Pradic),
Dialectica domain theory games (Winskel)
33 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Thank you!
34 / 35
Introduction
Dialectica Categories
Revisiting Dialectica
Some References
(see https://github.com/vcvpaiva/DialecticaCategories)
A.Blass, Questions and Answers: A Category Arising in Linear Logic,
Complexity Theory, and Set Theory, Advances in Linear Logic (ed. J.-Y.
Girard, Y. Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222
(1995).
de Paiva, A dialectica-like model of linear logic, Category Theory and
Computer Science, Springer, (1989) 341–356.
de Paiva, The Dialectica Categories, In Proc of Categories in Computer
Science and Logic, Boulder, CO, 1987. Contemporary Mathematics, vol
92, American Mathematical Society, 1989 (eds. J. Gray and A. Scedrov)
P. Hofstra, The Dialectica Monad and its cousins, Proc in honour of M.
Makkai, 2011.
35 / 35

More Related Content

Similar to Dialectica Categories Revisited

Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusValeria de Paiva
 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusYoshihiro Mizoguchi
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)Valeria de Paiva
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friendsValeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Valeria de Paiva
 
Theory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationTheory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationYoshihiro Mizoguchi
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryValeria de Paiva
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyValeria de Paiva
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet AllocationMarco Righini
 
Dialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaDialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaValeria de Paiva
 

Similar to Dialectica Categories Revisited (20)

Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariants
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
A Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational CalculusA Coq Library for the Theory of Relational Calculus
A Coq Library for the Theory of Relational Calculus
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friends
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?
 
Theory of Relational Calculus and its Formalization
Theory of Relational Calculus and its FormalizationTheory of Relational Calculus and its Formalization
Theory of Relational Calculus and its Formalization
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type Theory
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journey
 
Report
ReportReport
Report
 
Ddns
DdnsDdns
Ddns
 
Latent Dirichlet Allocation
Latent Dirichlet AllocationLatent Dirichlet Allocation
Latent Dirichlet Allocation
 
Dialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de PaivaDialectica Categories: the Relevant version, Valeria de Paiva
Dialectica Categories: the Relevant version, Valeria de Paiva
 
project
projectproject
project
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 

More from Valeria de Paiva

Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Valeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014Valeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria de Paiva
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanValeria de Paiva
 

More from Valeria de Paiva (20)

Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better Science
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after Shulman
 

Recently uploaded

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 

Recently uploaded (20)

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 

Dialectica Categories Revisited

  • 1. Introduction Dialectica Categories Revisiting Dialectica Dialectica Categories Revisited Valeria de Paiva 8th CSLI Workshop on Logic, Rationality, and Intelligent Interaction May, 2022 1 / 35
  • 2. Introduction Dialectica Categories Revisiting Dialectica Thanks! Johan and Declan for the invitation today Sol and Grisha for the first invitation! Lauri for the friendship 2 / 35
  • 7. Introduction Dialectica Categories Revisiting Dialectica What I want to cover My very old thesis: 4 chapters, 4 main theorems. All of them: C is a categorical model of a L logic Start from C cartesian closed cat + coproducts + (...) Thm 1: DC is a model of !-free ILL Thm 2: DC+! (! co-free monoidal comonad) model of ILL Thm 3: GC (simple dial cat) a model of (!,?)-free CLL/FILL Thm 4: GC+! (comp mon comonad) a model of FILL/CLL, distributive laws 7 / 35
  • 8. Introduction Dialectica Categories Revisiting Dialectica This Talk A short version: 2 chapters, 2 main theorems. Of the form: C is a categorical model of a L logic Start from C cartesian closed cat + coproducts + (...) apply Dialectica construction to it → DialC Thm 1: DialC is a model of !-free ILL Thm 2: DialC+! (! co-free monoidal comonad) model of ILL Why this is interesting? 8 / 35
  • 9. Introduction Dialectica Categories Revisiting Dialectica This Talk A short version: 2 chapters, 2 main theorems. All of the form: C is a categorical model of a L logic (ND such that..) Start from C cartesian closed cat + coproducts + (...) apply Dialectica construction to it → DialC Thm 1: DialC is a model of !-free intuitionistic Linear Logic Thm 2: DialC+! (! co-free monoidal comonad) model of ILL Why this is interesting? 9 / 35
  • 10. Introduction Dialectica Categories Revisiting Dialectica Gödel’s Dialectica Interpretation The interpretation is named after the Swiss journal Dialectica where it appeared in a special volume dedicated to Paul Bernays 70th birthday in 1958. I was originally trying to provide an internal categorical model of the Dialectica Interpretation. The categories I came up with proved to be a model of Linear Logic 10 / 35
  • 11. Introduction Dialectica Categories Revisiting Dialectica Dialectica (from Wikipedia) AD(u; x) quantifier-free formula defined inductively: (P)D ≡ P (P atomic) (A ∧ B)D(u, v; x, y) ≡ AD(u; x) ∧ BD(v; y) (A ∨ B)D(u, v, z; x, y) ≡ (z = 0 → AD(u; x)) ∧ (z ̸= 0 → BD(v; y)) (A → B)D(f , F; u, y) ≡ AD(u; Fuy) → BD(fu; y) (∃zA)D(u, x; z) ≡ AD(u; x) (∀zA)D(f ; y, z) ≡ AD(fz; y) Theorem (Dialectica Soundness, Gödel 1958) Whenever a formula A is provable in Heyting arithmetic then there exists a sequence of closed terms t such that AD(t; y) is provable in system T. The sequence of terms t and the proof of AD(t; y) are constructed from the given proof of A in Heyting arithmetic. 11 / 35
  • 12. Introduction Dialectica Categories Revisiting Dialectica Dialectica Categories Gödel’s Dialectica: an interpretation of intuitionistic arithmetic HA in a quantifier-free theory of functionals of finite type T. basic idea: translate every formula A of HA to AD = ∃u∀x.AD, where AD is quantifier-free. Use: If HA proves A then system T proves AD(t, y) where y is string of variables for functionals of finite type, t a suitable sequence of terms not containing y Goal: to be as constructive as possible while being able to interpret all of classical arithmetic (Troelstra) Philosophical discussion of how much it achieves ⇒ another talk 12 / 35
  • 13. Introduction Dialectica Categories Revisiting Dialectica Categorical Models Types are formulae/objects in appropriate category, Terms/programs are proofs/morphisms in the category, Logical constructors are ‘appropriate’ categorical constructions. Most important: Reduction is proof normalization (Tait) Outcome: Transfer results/tools from logic to CT to CScience 13 / 35
  • 15. Introduction Dialectica Categories Revisiting Dialectica Linear Logic A proof theoretic logic described by Jean-Yves Girard in 1986. Basic idea: assumptions cannot be discarded or duplicated. They must be used exactly once – just like dollar bills Other approaches to accounting for logical resources before. Great win of Linear Logic: Account for resources when you want to, otherwise fall back on traditional logic, A → B iff !A −◦ B 15 / 35
  • 16. Introduction Dialectica Categories Revisiting Dialectica Dialectica Categories Hyland suggested that to provide a categorical model of the Dialectica Interpretation, one should look at the functionals corresponding to the interpretation of logical implication. I looked and instead of finding a cartesian closed category, found a monoidal closed one Thus the categories in my thesis proved to be models of Linear Logic 16 / 35
  • 17. Introduction Dialectica Categories Revisiting Dialectica Resources in Linear Logic In Linear Logic formulas denote resources. Resources are premises, assumptions and conclusions, as they are used in logical proofs. For example: $1 −◦ latte If I have a dollar, I can get a Latte $1 −◦ cappuccino If I have a dollar, I can get a Cappuccino $1 I have a dollar Using my dollar premise and one of the premisses above, say ‘$1 −◦ latte’ gives me a latte but the dollar is gone Usual logic doesn’t pay attention to uses of premisses, A implies B and A gives me B but I still have A 17 / 35
  • 18. Introduction Dialectica Categories Revisiting Dialectica Linear Implication and (Multiplicative) Conjunction Traditional implication: A, A → B ⊢ B A, A → B ⊢ A ∧ B Re-use A Linear implication: A, A −◦ B ⊢ B A, A −◦ B ̸⊢ A ⊗ B Cannot re-use A Traditional conjunction: A ∧ B ⊢ A Discard B Linear conjunction: A ⊗ B ̸⊢ A Cannot discard B Of course: !A ⊢ !A⊗!A Re-use !A ⊗ B ⊢ I ⊗ B ∼ = B Discard 18 / 35
  • 19. Introduction Dialectica Categories Revisiting Dialectica Challenges of modeling Linear Logic Traditional categorical modeling of intuitionistic logic formula A ⇝ object A of appropriate category A ∧ B ⇝ A × B (real product) A → B ⇝ BA (set of functions from A to B) These are real products, so we have projections (A × B → A, B) and diagonals (A → A × A) which correspond to deletion and duplication of resources Not linear!!! Need to use tensor products and internal homs in CT Hard: how to define the “make-everything-usual"operator "!" 19 / 35
  • 20. Introduction Dialectica Categories Revisiting Dialectica Category DialC Start with a cat C that is cartesian closed (with some other nice properties) Then build a new category DialC. Objects are relations in C, triples (U, X, α), α : U × X → 2, so either uαx or not. Maps are pairs of maps in C. A map from A = (U, X, α) to B = (V , Y , β) is a pair of maps in C, (f : U → V , F : U × Y → X) such that a ‘semi-adjunction condition’ is satisfied: for u ∈ U, y ∈ Y , uαF(u, y) implies fuβy. (Note direction and dependence!) Theorem1: (de Paiva 1987) [Linear structure] The category DialC has a symmetric monoidal closed structure (and products, weak coproducts), that makes it a model of (exponential- free) intuitionistic linear logic. 20 / 35
  • 21. Introduction Dialectica Categories Revisiting Dialectica Can we give some intuition for these objects? Blass makes the case for thinking of problems in computational complexity. Intuitively an object of DialC A = (U, X, α) can be seen as representing a problem. The elements of U are instances of the problem, while the elements of X are possible answers to the problem instances. The relation α checks whether the answer is correct for that instance of the problem or not. (Superpower games?) 21 / 35
  • 22. Introduction Dialectica Categories Revisiting Dialectica Examples of objects in DialC 1. The object (N, N, =) where n is related to m iff n = m. 2. The object (NN , N, α) where f is α-related to n iff f (n) = n. 3. The object (R, R, ≤) where r1 and r2 are related iff r1 ≤ r2 4. The objects (2, 2, =) and (2, 2, ̸=) with usual equality inequality. 22 / 35
  • 23. Introduction Dialectica Categories Revisiting Dialectica Tensor product in DialC Given objects (U, X, α) and (V , Y , β) it is natural to think of (U × V , X × Y , α × β) as a tensor product. This construction does give us a bifunctor ⊗: DialC × DialC → DialC with a unit I = (1, 1, id1). Note that this is not a product. There are no projections (U × V , X × Y , α × β) → (U, X, α). Nor do we have a diagonal functor ∆: DialC → DialC × DialC, taking (U, X, α) → (U × U, X × X, α × α) 23 / 35
  • 24. Introduction Dialectica Categories Revisiting Dialectica Internal-hom in DialC To “internalize"the notion of map between problems, we need to consider the collection of all maps from U to V , V U , the collection of all maps from U × Y to X, XU×Y and we need to make sure that a pair f : U → V and F : U × Y → X in that set, satisfies the dialectica condition: ∀u ∈ U, y ∈ Y , uαF(u, y) → fuβy This give us an object in DialC (V U × XU×Y , U × Y , βα ) The relation βα : V U × XU×Y × (U × Y ) → 2 evaluates a pair (h, H) of maps on the pair of elements (u, y) and checks the dialectica implication between the relations. 24 / 35
  • 25. Introduction Dialectica Categories Revisiting Dialectica Internal-hom in DialC Given objects (U, X, α) and (V , Y , β) we can internalize the notion of morphism of DialC as the object (V U × XU×Y , U × Y , βα ) This construction does give us a bifunctor ∗ ⊸ ∗: DialC × DialC → DialC This bifunctor is contravariant in the first coordinate and covariant in the second, as expected The kernel of our first main theorem is the adjunction A ⊗ B → C if and only if A → [B −◦ C] where A = (U, X, α), B = (V , Y , β) and C = (W , Z, γ) 25 / 35
  • 26. Introduction Dialectica Categories Revisiting Dialectica Products and Coproducts in DialC Given objects (U, X, α) and (V , Y , β) it is natural to think of (U × V , X + Y , α ◦ β) as a categorical product in DC. Since this is a relation on the set U × V × (X + Y ), either this relation has a (x, 0) or a (y, 1) element, and hence the ◦ symbol only ‘picks’ the correct relation α or β. However, we do not have coproducts. It is only a weak-coproduct enough for the logic/type theory Theorem: (de Paiva 1987) [Linear structure] The category DialC has a symmetric monoidal closed structure (and products, weak coproducts), that makes it a model of (exponential- free) intuitionistic linear logic. 26 / 35
  • 27. Introduction Dialectica Categories Revisiting Dialectica What about the Modality? We need an operation on objects/propositions such that: !A →!A⊗!A (duplication) !A → I (erasing) !A → A (dereliction) !A →!!A (digging) Also ! should be a functor, i.e (f , F) : A → B then !(f , F) :!A →!B Theorem: linear and usual logic together There is a monoidal comonad ! in DC which models exponenti- als/modalities and recovers Intuitionistic (and Classical) Logic. Take !(U, X, α) = (U, X∗ , α∗), where (−)∗ is the free commutative monoid in C. 27 / 35
  • 28. Introduction Dialectica Categories Revisiting Dialectica (Cofree) Modality ! To show this works we need to show several propositions: ! is a monoidal comonad: there is a natural transformation m(−, −) :!A⊗!B →!(A ⊗ B) and mI : I →!I satisfying many comm diagrams ! induces a commutative comonoid structure on !A !A also has naturally a coalgebra structure induced by the comonad ! The comonoid and coalgebra structures interact nicely. There are plenty of other ways to phrase these conditions. The more usual way nowadays seems to be Theorem: Linear and non-Linear logic together There is a symmetric monoidal adjunction between DialC and its cofree coKleisli category for the monoidal comonad ! above. 28 / 35
  • 29. Introduction Dialectica Categories Revisiting Dialectica Cofree Modality ! Old way: “There is a monoidal comonad ! on a linear category DialC satisfying (lots of conditions)"and Theorem: Linear and non-Linear logic together The coKleisli category associated with the comonad ! on DialC is cartesian closed. To show cartesian closedness we need to show: HomKl!(A&B, C) ∼ = HomKl!(A, [B, C]Kl!) The proof is then a series of equivalences that were proved before: HomKl!(A&B, C) ∼ = HomDialC (!(A&B), C) ∼ = HomDialC (!A⊗!B, C) ∼ = HomDialC (!A, [!B, C]DialC ) ∼ = Homkl!(A, [!B, C]DialC ) ∼ = Homkl!(A, [B, C]kl!) (Seely, 1989; de Paiva, 1989) 29 / 35
  • 30. Introduction Dialectica Categories Revisiting Dialectica What is the point of (these) Dialectica categories? First, the construction provides a model of Linear Logic, instead of constructive logic. This allows us to see where the assumptions in Gödel’s argument (hacks?) are used (new work with Trotta and Spadetto showing where G needs IP, MP and skolemization) It justifies linear logic in terms of a more traditional logic tool and conversely explains the more traditional work in terms of a ‘modern’ (linear, resource conscious) decomposition of concerns. Dialectica categories provide models of linear logic as well as an internal representation of the dialectica interpretation. Modeling the exponential ! is hard, first model to do it. Still (one of) the best ones. 30 / 35
  • 31. Introduction Dialectica Categories Revisiting Dialectica What is the point of (these) Dialectica categories? 30 years on: maybe too much emphasis on LL earlier Now fashion is polynomials, clear connection to Dialectica categories (Moss 2022) Dialectica construction can be applied to many more logical systems (modal dialectica, monotone, ...). Categorical constructions have only scratched the surface. (At least) Three PhDs on Dialectica Models of Dependent Type Theory: Biering 2007, von Glehn 2016, Moss 2018. Connections to many other areas: lenses in FP, partial compilers (Plotkin), games with bidding (Hedges2014), etc... 31 / 35
  • 32. Introduction Dialectica Categories Revisiting Dialectica Applications Applications to Set Theory (S. G da Silva since 2013) ACT adjoint school 2020 – Petri nets for Chemistry and Biology Relationship with POLY and Lenses: AMS-MRC this May Multiagent systems based on LL and dialectica spaces Game models (Winskel 2022, Koenig 2021) Relationship with automated differentiation/neural nets? automata theory (Pradic 2020) • https://github.com/vcvpaiva/DialecticaCategories 32 / 35
  • 33. Introduction Dialectica Categories Revisiting Dialectica Conclusions Original Dialectica category with its symmetric cofree comonad is back in fashion Category DialC is a cat model of L. Curry-Howard correspondence works (several logical systems L) Categorical Proof Theory is expanding! (higher-order cats) Later: Dialectica Petri nets (di Lavore, Leal), Dialectica-Kolmogorov problems (G da Silva), Dialectica abstract machine (Pedrot), Dialectica automata (Pradic), Dialectica domain theory games (Winskel) 33 / 35
  • 35. Introduction Dialectica Categories Revisiting Dialectica Some References (see https://github.com/vcvpaiva/DialecticaCategories) A.Blass, Questions and Answers: A Category Arising in Linear Logic, Complexity Theory, and Set Theory, Advances in Linear Logic (ed. J.-Y. Girard, Y. Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222 (1995). de Paiva, A dialectica-like model of linear logic, Category Theory and Computer Science, Springer, (1989) 341–356. de Paiva, The Dialectica Categories, In Proc of Categories in Computer Science and Logic, Boulder, CO, 1987. Contemporary Mathematics, vol 92, American Mathematical Society, 1989 (eds. J. Gray and A. Scedrov) P. Hofstra, The Dialectica Monad and its cousins, Proc in honour of M. Makkai, 2011. 35 / 35