SlideShare a Scribd company logo
1/35
Introduction
BHK
Algebra
Constructivism
Linear Logic and Constructive Mathematics
(Algebraic Dialectica for Logicians)
Valeria de Paiva
Topos Institute
21 de abril de 2021
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
2/35
Introduction
BHK
Algebra
Constructivism
Thanks Luiz Carlos!
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
3/35
Introduction
BHK
Algebra
Constructivism
The courage of our convictions
This discussion is mostly based on reading Mike Shulman’s ‘Linear
Logic for Constructive Mathematics’. I am grateful to Mike for
ideas and even slides. (the mistakes are my own, of course)
I want to talk about an algebraic version of the dialectica
construction, but to do that first
classical vs. intuitionistic logic
intuitionistic vs. linear logic
linear mathematics?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
3/35
Introduction
BHK
Algebra
Constructivism
The courage of our convictions
This discussion is mostly based on reading Mike Shulman’s ‘Linear
Logic for Constructive Mathematics’. I am grateful to Mike for
ideas and even slides. (the mistakes are my own, of course)
I want to talk about an algebraic version of the dialectica
construction, but to do that first
classical vs. intuitionistic logic
intuitionistic vs. linear logic
linear mathematics?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
3/35
Introduction
BHK
Algebra
Constructivism
The courage of our convictions
This discussion is mostly based on reading Mike Shulman’s ‘Linear
Logic for Constructive Mathematics’. I am grateful to Mike for
ideas and even slides. (the mistakes are my own, of course)
I want to talk about an algebraic version of the dialectica
construction, but to do that first
classical vs. intuitionistic logic
intuitionistic vs. linear logic
linear mathematics?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
4/35
Introduction
BHK
Algebra
Constructivism
A Hundred Years Ago
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
5/35
Introduction
BHK
Algebra
Constructivism
A Hundred Years Ago
Hilbert (1927) ”To prohibit existence statements and the principle
of excluded middle is tantamount to relinquishing the science of
mathematics altogether.”Brouwer-Hilbert controversy (from
wikipedia)
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
6/35
Introduction
BHK
Algebra
Constructivism
Almost Fifty Years Ago
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
7/35
Introduction
BHK
Algebra
Constructivism
More than Thirty Years Ago
Girard shook the basis of logic several times
“Broccoli logic”is still one of enduring jokes in the internet
Linear Logic has been very influential
Out of fashion now?
Linear thinking and variations permeated logic and theoretical
computing
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
8/35
Introduction
BHK
Algebra
Constructivism
Categorical Proof Theory
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 CSci
How far can we push it?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
9/35
Introduction
BHK
Algebra
Constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
10/35
Introduction
BHK
Algebra
Constructivism
papers: Term calculus for intuitionistic linear logic (BBdePH1993),
Term assignment for ILL (TR1992) and Linear λ-calculus and
categorical models revisited (CSL1992)
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
11/35
Introduction
BHK
Algebra
Constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
12/35
Introduction
BHK
Algebra
Constructivism
Intuitionistic Logic
Brouwer wanted to eliminate non-constructive proofs. Heyting
formulated intuitionistic logic where all valid proofs are necessarily
constructive. Kolmogorov, Glivenko, Weyl, Bishop, and many
others developed constructive maths
http://dx.doi.org/10.1090/bull/1556 FIVE
STAGES OF ACCEPTING CONSTRUCTIVE MATHEMATICS
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
13/35
Introduction
BHK
Algebra
Constructivism
Intuitionistic Logic
Proof by contradiction is not allowed
a statement can be ’not false’ without being true: ¬¬P does
not imply P
De Morgan’s laws hold* except ¬(P ∧ Q) → (¬P ∨ ¬Q)
Similarly,¬∀x.P(x) does not imply ∃x.¬P(x)
The law of excluded middle P ∨ ¬P does not hold in general
The three connectives ∧, ∨, → are independent: neither can
be defined in terms of the others
Negation is a defined connective ¬A := A → ⊥
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
14/35
Introduction
BHK
Algebra
Constructivism
Brouwer-Heyting-Kolmogorov (BHK) interpretation
This an informal description of the meanings of intuitionistic
connectives in terms of what counts as a proof of them
A proof of P ∧ Q is a proof of P and a proof of Q
A proof of P ∨ Q is a proof of P or a proof of Q (plus a
marker of which one it is)
A proof of P → Q is a construction transforming any proof of
P into a proof of Q
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
15/35
Introduction
BHK
Algebra
Constructivism
BHK interpretation of Negation
Intuitionism defines ¬P to be P → ⊥,
A proof of ¬P is a construction transforming any proof of P
into a proof of a contradiction.
This explains the properties of negation in intuitionistic logic:
If it would be contradictory to have a construction
transforming any proof of P into a contradiction, it does not
follow that we have a proof of P. Hence ¬¬P does not imply
P
For an arbitrary P, we can not claim to have either a proof of
P or a construction transforming any proof of P into a
contradiction. (E.g. P might be the Riemann hypothesis.) So
P ∨ ¬P does not hold.
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
16/35
Introduction
BHK
Algebra
Constructivism
Is there a better Negation?
Girard’s idea: formal de Morgan dual, the negation in LL
¬(P ∨ Q) =def ¬P ∧ ¬Q
¬(P ∧ Q) =def ¬P ∨ ¬Q
¬∃x.P(x) =def ∀x.¬P(x)
¬∀x.P(x) =def ∃x.¬P(x)
A constructive proof of ∃x.P(x) must provide an example
A constructive disproofof ∀x.P(x) should provide a
counterexample
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
17/35
Introduction
BHK
Algebra
Constructivism
Is there a better Negation?
Shulman’s bold idea: LL’s involutive negation solves many of
the issues of intuitionistic negation in mathematics
To prove ∃x.P(x) by contradiction, we assume its negation
∀x.¬P(x). But in order to use this hypothesis at all, we have
to apply it to some x! we are necessarily constructing
something.
Hence an involutive negation makes proofs by contradiction
less objectionable
Moreover, he produces examples showing that traditional uses
of non-constructivity are disallowed and that convoluted ideas
like ’apartness’ can be better explained in linear terms
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
18/35
Introduction
BHK
Algebra
Constructivism
Linear Logic for Constructive Mathematics
We divide the hypotheses into linear and nonlinear ones. The
linear ones can only be used once in the course of a proof.
All ‘hypotheses for contradiction’ in a proof by contradiction
are linear hypotheses.
Similarly, P −◦ Q is a linear implication that uses P only once.
It is contraposable, ¬(P −◦ Q) = (¬Q −◦ ¬P) (here we’re
talking about bi-implications)
Linearity is the default status of assertions. We mark the
nonlinear hypotheses with a modality, !P.
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
19/35
Introduction
BHK
Algebra
Constructivism
Not so classical disjunctions
In classical logic, (P ∨ Q) = (¬P → Q) = (¬Q → P).
This is no longer true in intuitionistic logic. (connectives are
independent)
It also fails in linear logic for the ‘constructive’ disjunction ∨.
classical Linear Logic does have (¬P −◦ Q) = (¬Q −◦ P),
defining another kind of disjunction that is weaker than ∨.
in classical linear logic P ` Q = (¬P −◦ Q) = (¬Q −◦ P).
in CLL ∨-excluded middle P ∨ ¬P fails. But par-excluded
middle (P ` ¬P) = (¬P −◦ ¬P) is a tautology.
∨ supports proof by cases; ` supports the disjunctive
syllogism
in FILL no excluded middle, 5 independent connectives
Still the case that ”For an arbitrary P, we can not claim to
have either a proof of P or a construction transforming any
proof of P into a contradiction.”
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
20/35
Introduction
BHK
Algebra
Constructivism
BHK for Linear Logic
The BHK interpretation privileges proofs over refutations.
A proof of P ∧ Q is a proof of P and a proof of Q. A
refutation of P ∧ Q is a refutation of P or a refutation of Q
A proof of P ∨ Q is a proof of P or a proof of Q. A refutation
of P ∨ Q is a refutation of P and a refutation of Q.
A proof of P ` Q is a construction transforming any
refutation of P into a proof of Q, and any refutation of Q
into a proof of P. A refutation of P ` Q is a refutation of P
and a refutation of Q.
A proof of P −◦ Q is a construction transforming any proof of
P into a proof of Q, and a construction transforming any
refutation of Q into a refutation of P. A refutation of P −◦ Q
is a proof of P and a refutation of Q.
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
21/35
Introduction
BHK
Algebra
Constructivism
Making this BHK more formal?
Shulman’s sections: intuitionistic logic, linear logic, the
standard interpretation, the hidden linear nature of
constructive mathematics
I cannot judge how good the linear logic modifications are for
constructive mathematics, but I do have issues with what he
calls the ’standard interpretation’. The Dialecica version over
a Heyting algebra H and 0 is as good as the Chu construction
Mike says ‘If constructive logic is the logic of affirmative
propositions, then affine logic is the logic of propositions that
are subject to both affirmation and refutation, and the Chu
construction is the canonical embedding of the former in the
latter. Why canonical?
‘in the Dialectica interpretation the forwards and backwards
information is explicitly carried by functions, rather than
proofs as in the Chu construction.’ hmm?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
22/35
Introduction
BHK
Algebra
Constructivism
Heyting algebras
Definition
A Heyting algebra is a cartesian closed lattice, i.e. a poset (H, ≤)
with
A top element > and bottom element ⊥,
Meets P ∧ Q and joins P ∨ Q,
An ’implication’ with (P ∧ Q) ≤ R iff P ≤ (Q → R)
Heyting algebras are the algebraic semantics of intuitionistic
propositional logic, just like Boolean algebras are for classical logic.
For algebraic semantics of CLL/ILL/FILL a bit more complicated. I
talked about lineales, which are simply posetal symmetric
monoidal closed categories. Shulman wants to force units of tensor
and product to be the same
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
23/35
Introduction
BHK
Algebra
Constructivism
Dejà vu?
Theorem (de Paiva CTCS1989)
For any Heyting algebra H, consider the algebra Dial⊥(H):
Elements are pairs P = (P+, P−) where P+, P− ∈ H and
P+ ∧ P− = ⊥. (Think P+ = proofs, P− = refutations)
Define P ≤ Q to mean (P+ ≤ Q+ and Q− ≤ P−)
P ∧ Q = (P+ ∧ Q+, P− ∨ Q−) and
P ∨ Q = (P+ ∨ Q+, P− ∧ Q−) and > = (>, ⊥) and
⊥ = (⊥, >)
P ⊗ Q = (P+ ∧ Q+, (P+ → Q−) ∧ (Q+ → P−))
P ` Q = ((P+ → Q+) ∧ (Q+ → P+), P− ∧ Q−)
P −◦ Q = ((P+ → Q+) ∧ (Q− → P−), P+ ∧ Q−)
Then Dial⊥(H) is a model of Linear Logic (without exponentials).
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
24/35
Introduction
BHK
Algebra
Constructivism
Bang Modality
Digression: The other theorem of CTCS1989...
For any Heyting algebra H which has free co-commutative monoids
we can define a !-comonad that makes Dial⊥(H) is a model of IL.
Too complicated?
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
25/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism: Mike says
Girard was interested in Proof nets, Geometry of Interactions,
Games, Ludics, etc Linear logicians were interested in having both
LL and IL, constructivists use DTT
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
26/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
6 and 7 get my money!
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
27/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
28/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
29/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
30/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
31/35
Introduction
BHK
Algebra
Constructivism
Back to constructivism
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
32/35
Introduction
BHK
Algebra
Constructivism
Intuition for Dialectica objects?
Blass makes the case for thinking of problems in computational
complexity. Intuitively an object of the dialectica construction
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 α says whether the answer is correct for that instance
of the problem or not.
LL4CM only considers objects of the form (P+, P−) of proofs and
refutations, the relation is always contradiction ⊥. Presumably
sometimes one wants to have different relations...
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
33/35
Introduction
BHK
Algebra
Constructivism
Examples of objects in Dialectica
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, 6=) with usual equality and
inequality.
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
34/35
Introduction
BHK
Algebra
Constructivism
Conclusions
Introduced you to Shulman’s bold idea of doing constructive
mathematics with linear logic.
Don’t see the canonicity of Chu’s construction.
Believe FILL and Dial⊥(H) work just as well and have an
associated linear λ-calculus
Hinted at its importance for interdisciplinarity:
Category Theory, Proofs and Programs
Much more work needed for applications, LinearLean anyone? In
particular work needed on connecting LL+IL with classical logic.
Ecumenical logic ftw!
Thank you!
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
35/35
Introduction
BHK
Algebra
Constructivism
Some References
N.Benton, A mixed linear and non-linear logic: Proofs, terms and models.
Computer Science Logic, CSL, (1994).
A.Blass, Questions and Answers: A Category Arising in Linear Logic,
Complexity Theory, and Set Theory, Advances in Linear Logic, London
Math. Soc. Lecture Notes 222 (1995).
de Paiva, The Dialectica Categories, Technical Report, Computer Lab,
University of Cambridge, number 213, (1991).
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)
Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics

More Related Content

What's hot

Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de Paiva
Valeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
Valeria de Paiva
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
Valeria de Paiva
 
Natural Language Inference for Humans
Natural Language Inference for HumansNatural Language Inference for Humans
Natural Language Inference for Humans
Valeria 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 Theory
Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
Valeria de Paiva
 
Modal Type Theory
Modal Type TheoryModal Type Theory
Modal Type Theory
Valeria 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 role
Valeria 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
 
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
Valeria de Paiva
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
Valeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
Valeria de Paiva
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
Valeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
Valeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
Valeria de Paiva
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
Valeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
Valeria de Paiva
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
Valeria de Paiva
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
Valeria de Paiva
 
Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)
Valeria de Paiva
 

What's hot (20)

Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 
Natural Language Inference for Humans
Natural Language Inference for HumansNatural Language Inference for Humans
Natural Language Inference for Humans
 
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
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Modal Type Theory
Modal Type TheoryModal Type Theory
Modal Type Theory
 
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
 
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)
 
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
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
 
Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)
 

More from Valeria de Paiva

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
Valeria de Paiva
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
Valeria de Paiva
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
Valeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
Valeria de Paiva
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
Valeria 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 Science
Valeria 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 role
Valeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
Valeria 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 Machines
Valeria de Paiva
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
Valeria 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 Portuguese
Valeria 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 ACT
Valeria de Paiva
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
Valeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
Valeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
Valeria de Paiva
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
Valeria de Paiva
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
Valeria de Paiva
 

More from Valeria de Paiva (20)

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
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
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
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
 
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
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 

Recently uploaded

一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
ehbuaw
 
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
850fcj96
 
ZGB - The Role of Generative AI in Government transformation.pdf
ZGB - The Role of Generative AI in Government transformation.pdfZGB - The Role of Generative AI in Government transformation.pdf
ZGB - The Role of Generative AI in Government transformation.pdf
Saeed Al Dhaheri
 
Understanding the Challenges of Street Children
Understanding the Challenges of Street ChildrenUnderstanding the Challenges of Street Children
Understanding the Challenges of Street Children
SERUDS INDIA
 
Russian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale warRussian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale war
Antti Rautiainen
 
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Congressional Budget Office
 
2024: The FAR - Federal Acquisition Regulations, Part 37
2024: The FAR - Federal Acquisition Regulations, Part 372024: The FAR - Federal Acquisition Regulations, Part 37
2024: The FAR - Federal Acquisition Regulations, Part 37
JSchaus & Associates
 
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) AmendmentPPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
ahcitycouncil
 
Canadian Immigration Tracker March 2024 - Key Slides
Canadian Immigration Tracker March 2024 - Key SlidesCanadian Immigration Tracker March 2024 - Key Slides
Canadian Immigration Tracker March 2024 - Key Slides
Andrew Griffith
 
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our OrganizationUp the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
uptheratios
 
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptxMHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
ILC- UK
 
PPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930FPPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930F
ahcitycouncil
 
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptxPD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
RIDPRO11
 
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdfPNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
ClaudioTebaldi2
 
PPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way StopPPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way Stop
ahcitycouncil
 
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
ehbuaw
 
Many ways to support street children.pptx
Many ways to support street children.pptxMany ways to support street children.pptx
Many ways to support street children.pptx
SERUDS INDIA
 
PPT Item # 6 - 7001 Broadway ARB Case # 933F
PPT Item # 6 - 7001 Broadway ARB Case # 933FPPT Item # 6 - 7001 Broadway ARB Case # 933F
PPT Item # 6 - 7001 Broadway ARB Case # 933F
ahcitycouncil
 
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
ehbuaw
 
What is the point of small housing associations.pptx
What is the point of small housing associations.pptxWhat is the point of small housing associations.pptx
What is the point of small housing associations.pptx
Paul Smith
 

Recently uploaded (20)

一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
一比一原版(UQ毕业证)昆士兰大学毕业证成绩单
 
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
如何办理(uoit毕业证书)加拿大安大略理工大学毕业证文凭证书录取通知原版一模一样
 
ZGB - The Role of Generative AI in Government transformation.pdf
ZGB - The Role of Generative AI in Government transformation.pdfZGB - The Role of Generative AI in Government transformation.pdf
ZGB - The Role of Generative AI in Government transformation.pdf
 
Understanding the Challenges of Street Children
Understanding the Challenges of Street ChildrenUnderstanding the Challenges of Street Children
Understanding the Challenges of Street Children
 
Russian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale warRussian anarchist and anti-war movement in the third year of full-scale war
Russian anarchist and anti-war movement in the third year of full-scale war
 
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
Effects of Extreme Temperatures From Climate Change on the Medicare Populatio...
 
2024: The FAR - Federal Acquisition Regulations, Part 37
2024: The FAR - Federal Acquisition Regulations, Part 372024: The FAR - Federal Acquisition Regulations, Part 37
2024: The FAR - Federal Acquisition Regulations, Part 37
 
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) AmendmentPPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
PPT Item # 9 - 2024 Street Maintenance Program(SMP) Amendment
 
Canadian Immigration Tracker March 2024 - Key Slides
Canadian Immigration Tracker March 2024 - Key SlidesCanadian Immigration Tracker March 2024 - Key Slides
Canadian Immigration Tracker March 2024 - Key Slides
 
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our OrganizationUp the Ratios Bylaws - a Comprehensive Process of Our Organization
Up the Ratios Bylaws - a Comprehensive Process of Our Organization
 
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptxMHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
MHM Roundtable Slide Deck WHA Side-event May 28 2024.pptx
 
PPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930FPPT Item # 5 - 5330 Broadway ARB Case # 930F
PPT Item # 5 - 5330 Broadway ARB Case # 930F
 
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptxPD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
PD-1602-as-amended-by-RA-9287-Anti-Illegal-Gambling-Law.pptx
 
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdfPNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
PNRR MADRID GREENTECH FOR BROWN NETWORKS NETWORKS MUR_MUSA_TEBALDI.pdf
 
PPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way StopPPT Item # 8 - Tuxedo Columbine 3way Stop
PPT Item # 8 - Tuxedo Columbine 3way Stop
 
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
一比一原版(Adelaide毕业证)阿德莱德大学毕业证成绩单
 
Many ways to support street children.pptx
Many ways to support street children.pptxMany ways to support street children.pptx
Many ways to support street children.pptx
 
PPT Item # 6 - 7001 Broadway ARB Case # 933F
PPT Item # 6 - 7001 Broadway ARB Case # 933FPPT Item # 6 - 7001 Broadway ARB Case # 933F
PPT Item # 6 - 7001 Broadway ARB Case # 933F
 
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
一比一原版(UOW毕业证)伍伦贡大学毕业证成绩单
 
What is the point of small housing associations.pptx
What is the point of small housing associations.pptxWhat is the point of small housing associations.pptx
What is the point of small housing associations.pptx
 

Linear Logic and Constructive Mathematics, after Shulman

  • 1. 1/35 Introduction BHK Algebra Constructivism Linear Logic and Constructive Mathematics (Algebraic Dialectica for Logicians) Valeria de Paiva Topos Institute 21 de abril de 2021 Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 2. 2/35 Introduction BHK Algebra Constructivism Thanks Luiz Carlos! Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 3. 3/35 Introduction BHK Algebra Constructivism The courage of our convictions This discussion is mostly based on reading Mike Shulman’s ‘Linear Logic for Constructive Mathematics’. I am grateful to Mike for ideas and even slides. (the mistakes are my own, of course) I want to talk about an algebraic version of the dialectica construction, but to do that first classical vs. intuitionistic logic intuitionistic vs. linear logic linear mathematics? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 4. 3/35 Introduction BHK Algebra Constructivism The courage of our convictions This discussion is mostly based on reading Mike Shulman’s ‘Linear Logic for Constructive Mathematics’. I am grateful to Mike for ideas and even slides. (the mistakes are my own, of course) I want to talk about an algebraic version of the dialectica construction, but to do that first classical vs. intuitionistic logic intuitionistic vs. linear logic linear mathematics? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 5. 3/35 Introduction BHK Algebra Constructivism The courage of our convictions This discussion is mostly based on reading Mike Shulman’s ‘Linear Logic for Constructive Mathematics’. I am grateful to Mike for ideas and even slides. (the mistakes are my own, of course) I want to talk about an algebraic version of the dialectica construction, but to do that first classical vs. intuitionistic logic intuitionistic vs. linear logic linear mathematics? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 6. 4/35 Introduction BHK Algebra Constructivism A Hundred Years Ago Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 7. 5/35 Introduction BHK Algebra Constructivism A Hundred Years Ago Hilbert (1927) ”To prohibit existence statements and the principle of excluded middle is tantamount to relinquishing the science of mathematics altogether.”Brouwer-Hilbert controversy (from wikipedia) Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 8. 6/35 Introduction BHK Algebra Constructivism Almost Fifty Years Ago Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 9. 7/35 Introduction BHK Algebra Constructivism More than Thirty Years Ago Girard shook the basis of logic several times “Broccoli logic”is still one of enduring jokes in the internet Linear Logic has been very influential Out of fashion now? Linear thinking and variations permeated logic and theoretical computing Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 10. 8/35 Introduction BHK Algebra Constructivism Categorical Proof Theory 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 CSci How far can we push it? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 11. 9/35 Introduction BHK Algebra Constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 12. 10/35 Introduction BHK Algebra Constructivism papers: Term calculus for intuitionistic linear logic (BBdePH1993), Term assignment for ILL (TR1992) and Linear λ-calculus and categorical models revisited (CSL1992) Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 13. 11/35 Introduction BHK Algebra Constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 14. 12/35 Introduction BHK Algebra Constructivism Intuitionistic Logic Brouwer wanted to eliminate non-constructive proofs. Heyting formulated intuitionistic logic where all valid proofs are necessarily constructive. Kolmogorov, Glivenko, Weyl, Bishop, and many others developed constructive maths http://dx.doi.org/10.1090/bull/1556 FIVE STAGES OF ACCEPTING CONSTRUCTIVE MATHEMATICS Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 15. 13/35 Introduction BHK Algebra Constructivism Intuitionistic Logic Proof by contradiction is not allowed a statement can be ’not false’ without being true: ¬¬P does not imply P De Morgan’s laws hold* except ¬(P ∧ Q) → (¬P ∨ ¬Q) Similarly,¬∀x.P(x) does not imply ∃x.¬P(x) The law of excluded middle P ∨ ¬P does not hold in general The three connectives ∧, ∨, → are independent: neither can be defined in terms of the others Negation is a defined connective ¬A := A → ⊥ Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 16. 14/35 Introduction BHK Algebra Constructivism Brouwer-Heyting-Kolmogorov (BHK) interpretation This an informal description of the meanings of intuitionistic connectives in terms of what counts as a proof of them A proof of P ∧ Q is a proof of P and a proof of Q A proof of P ∨ Q is a proof of P or a proof of Q (plus a marker of which one it is) A proof of P → Q is a construction transforming any proof of P into a proof of Q Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 17. 15/35 Introduction BHK Algebra Constructivism BHK interpretation of Negation Intuitionism defines ¬P to be P → ⊥, A proof of ¬P is a construction transforming any proof of P into a proof of a contradiction. This explains the properties of negation in intuitionistic logic: If it would be contradictory to have a construction transforming any proof of P into a contradiction, it does not follow that we have a proof of P. Hence ¬¬P does not imply P For an arbitrary P, we can not claim to have either a proof of P or a construction transforming any proof of P into a contradiction. (E.g. P might be the Riemann hypothesis.) So P ∨ ¬P does not hold. Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 18. 16/35 Introduction BHK Algebra Constructivism Is there a better Negation? Girard’s idea: formal de Morgan dual, the negation in LL ¬(P ∨ Q) =def ¬P ∧ ¬Q ¬(P ∧ Q) =def ¬P ∨ ¬Q ¬∃x.P(x) =def ∀x.¬P(x) ¬∀x.P(x) =def ∃x.¬P(x) A constructive proof of ∃x.P(x) must provide an example A constructive disproofof ∀x.P(x) should provide a counterexample Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 19. 17/35 Introduction BHK Algebra Constructivism Is there a better Negation? Shulman’s bold idea: LL’s involutive negation solves many of the issues of intuitionistic negation in mathematics To prove ∃x.P(x) by contradiction, we assume its negation ∀x.¬P(x). But in order to use this hypothesis at all, we have to apply it to some x! we are necessarily constructing something. Hence an involutive negation makes proofs by contradiction less objectionable Moreover, he produces examples showing that traditional uses of non-constructivity are disallowed and that convoluted ideas like ’apartness’ can be better explained in linear terms Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 20. 18/35 Introduction BHK Algebra Constructivism Linear Logic for Constructive Mathematics We divide the hypotheses into linear and nonlinear ones. The linear ones can only be used once in the course of a proof. All ‘hypotheses for contradiction’ in a proof by contradiction are linear hypotheses. Similarly, P −◦ Q is a linear implication that uses P only once. It is contraposable, ¬(P −◦ Q) = (¬Q −◦ ¬P) (here we’re talking about bi-implications) Linearity is the default status of assertions. We mark the nonlinear hypotheses with a modality, !P. Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 21. 19/35 Introduction BHK Algebra Constructivism Not so classical disjunctions In classical logic, (P ∨ Q) = (¬P → Q) = (¬Q → P). This is no longer true in intuitionistic logic. (connectives are independent) It also fails in linear logic for the ‘constructive’ disjunction ∨. classical Linear Logic does have (¬P −◦ Q) = (¬Q −◦ P), defining another kind of disjunction that is weaker than ∨. in classical linear logic P ` Q = (¬P −◦ Q) = (¬Q −◦ P). in CLL ∨-excluded middle P ∨ ¬P fails. But par-excluded middle (P ` ¬P) = (¬P −◦ ¬P) is a tautology. ∨ supports proof by cases; ` supports the disjunctive syllogism in FILL no excluded middle, 5 independent connectives Still the case that ”For an arbitrary P, we can not claim to have either a proof of P or a construction transforming any proof of P into a contradiction.” Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 22. 20/35 Introduction BHK Algebra Constructivism BHK for Linear Logic The BHK interpretation privileges proofs over refutations. A proof of P ∧ Q is a proof of P and a proof of Q. A refutation of P ∧ Q is a refutation of P or a refutation of Q A proof of P ∨ Q is a proof of P or a proof of Q. A refutation of P ∨ Q is a refutation of P and a refutation of Q. A proof of P ` Q is a construction transforming any refutation of P into a proof of Q, and any refutation of Q into a proof of P. A refutation of P ` Q is a refutation of P and a refutation of Q. A proof of P −◦ Q is a construction transforming any proof of P into a proof of Q, and a construction transforming any refutation of Q into a refutation of P. A refutation of P −◦ Q is a proof of P and a refutation of Q. Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 23. 21/35 Introduction BHK Algebra Constructivism Making this BHK more formal? Shulman’s sections: intuitionistic logic, linear logic, the standard interpretation, the hidden linear nature of constructive mathematics I cannot judge how good the linear logic modifications are for constructive mathematics, but I do have issues with what he calls the ’standard interpretation’. The Dialecica version over a Heyting algebra H and 0 is as good as the Chu construction Mike says ‘If constructive logic is the logic of affirmative propositions, then affine logic is the logic of propositions that are subject to both affirmation and refutation, and the Chu construction is the canonical embedding of the former in the latter. Why canonical? ‘in the Dialectica interpretation the forwards and backwards information is explicitly carried by functions, rather than proofs as in the Chu construction.’ hmm? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 24. 22/35 Introduction BHK Algebra Constructivism Heyting algebras Definition A Heyting algebra is a cartesian closed lattice, i.e. a poset (H, ≤) with A top element > and bottom element ⊥, Meets P ∧ Q and joins P ∨ Q, An ’implication’ with (P ∧ Q) ≤ R iff P ≤ (Q → R) Heyting algebras are the algebraic semantics of intuitionistic propositional logic, just like Boolean algebras are for classical logic. For algebraic semantics of CLL/ILL/FILL a bit more complicated. I talked about lineales, which are simply posetal symmetric monoidal closed categories. Shulman wants to force units of tensor and product to be the same Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 25. 23/35 Introduction BHK Algebra Constructivism Dejà vu? Theorem (de Paiva CTCS1989) For any Heyting algebra H, consider the algebra Dial⊥(H): Elements are pairs P = (P+, P−) where P+, P− ∈ H and P+ ∧ P− = ⊥. (Think P+ = proofs, P− = refutations) Define P ≤ Q to mean (P+ ≤ Q+ and Q− ≤ P−) P ∧ Q = (P+ ∧ Q+, P− ∨ Q−) and P ∨ Q = (P+ ∨ Q+, P− ∧ Q−) and > = (>, ⊥) and ⊥ = (⊥, >) P ⊗ Q = (P+ ∧ Q+, (P+ → Q−) ∧ (Q+ → P−)) P ` Q = ((P+ → Q+) ∧ (Q+ → P+), P− ∧ Q−) P −◦ Q = ((P+ → Q+) ∧ (Q− → P−), P+ ∧ Q−) Then Dial⊥(H) is a model of Linear Logic (without exponentials). Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 26. 24/35 Introduction BHK Algebra Constructivism Bang Modality Digression: The other theorem of CTCS1989... For any Heyting algebra H which has free co-commutative monoids we can define a !-comonad that makes Dial⊥(H) is a model of IL. Too complicated? Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 27. 25/35 Introduction BHK Algebra Constructivism Back to constructivism: Mike says Girard was interested in Proof nets, Geometry of Interactions, Games, Ludics, etc Linear logicians were interested in having both LL and IL, constructivists use DTT Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 28. 26/35 Introduction BHK Algebra Constructivism Back to constructivism 6 and 7 get my money! Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 29. 27/35 Introduction BHK Algebra Constructivism Back to constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 30. 28/35 Introduction BHK Algebra Constructivism Back to constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 31. 29/35 Introduction BHK Algebra Constructivism Back to constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 32. 30/35 Introduction BHK Algebra Constructivism Back to constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 33. 31/35 Introduction BHK Algebra Constructivism Back to constructivism Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 34. 32/35 Introduction BHK Algebra Constructivism Intuition for Dialectica objects? Blass makes the case for thinking of problems in computational complexity. Intuitively an object of the dialectica construction 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 α says whether the answer is correct for that instance of the problem or not. LL4CM only considers objects of the form (P+, P−) of proofs and refutations, the relation is always contradiction ⊥. Presumably sometimes one wants to have different relations... Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 35. 33/35 Introduction BHK Algebra Constructivism Examples of objects in Dialectica 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, 6=) with usual equality and inequality. Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 36. 34/35 Introduction BHK Algebra Constructivism Conclusions Introduced you to Shulman’s bold idea of doing constructive mathematics with linear logic. Don’t see the canonicity of Chu’s construction. Believe FILL and Dial⊥(H) work just as well and have an associated linear λ-calculus Hinted at its importance for interdisciplinarity: Category Theory, Proofs and Programs Much more work needed for applications, LinearLean anyone? In particular work needed on connecting LL+IL with classical logic. Ecumenical logic ftw! Thank you! Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics
  • 37. 35/35 Introduction BHK Algebra Constructivism Some References N.Benton, A mixed linear and non-linear logic: Proofs, terms and models. Computer Science Logic, CSL, (1994). A.Blass, Questions and Answers: A Category Arising in Linear Logic, Complexity Theory, and Set Theory, Advances in Linear Logic, London Math. Soc. Lecture Notes 222 (1995). de Paiva, The Dialectica Categories, Technical Report, Computer Lab, University of Cambridge, number 213, (1991). 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) Valeria de Paiva Topos Institute Linear Logic and Constructive Mathematics