SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Dialectica Categories for the Lambek Calculus
Valeria de Paiva
Nuance Communications, CA
(joint work with Harley Eades III, Augusta, GA)
April, 2017
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Introduction
I want to talk to you about modeling the Lambek Calculus,
using Dialectica Categories.
(dedicated to Jim Lambek, 1922–2014)
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Introduction
Lambek Calculus (1958, 1988, 1993, 2012)
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Introduction
Lambek Calculus
Dialectica Categories
putting things together...
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
What is the Lambek Calculus?
One of the several “type grammars”in use in Linguistics.
A long history: Ajdukiewicz [1935], Bar-Hillel [1953], Lambek
[1958, 1961], Ades-Steedman [1982], etc.
It provides a syntactic account of sentencehood.
Two classes of type grammars:
1. Combinatory Categorial Grammar: Szabolcsi [1992],
Steedman-Baldridge [2011], etc..
2. Categorial Type Logics: van Benthem, Morrill [1994], Moortgat
[1994], etc..
Combinators/Lambda-calculus distiction.
Both classes worked on nowadays
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
What is the Lambek Calculus?
Here a purely a logical system, like usual propositional logic, but
with no structural rules at all.
Recall the basic logic ‘equation’:
A → (B → C) ⇐⇒ A ∧ B → C ⇐⇒ B → (A → C)
Now make your conjunction non-commutative, so that
A ⊗ B = B ⊗ A
Then you end up with two kinds of ‘implication’ ( , ):
A → (B C) ⇐⇒ A ⊗ B → C ⇐⇒ B → (A C)
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
What is the Lambek Calculus? sequent calculus
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Why Dialectica Categories?
For G¨odel (1958): a way to prove consistency of higher order
arithmetic
For Girard (1987): a way to show that Linear Logic had serious
pedigree
For Hyland (1987):
An intrinsic way modelling G¨odel’s Dialectica,
Proof theory in the abstract (Hyland, 2002)
Should produce a CCC, it wouldn’t.
For me: a Swiss army knife...
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
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 Categories to
Computing
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Curry-Howard for Implication
Natural deduction rules for implication (without λ-terms)
A → B A
B
[A]
·
·
·
·
π
B
A → B
Natural deduction rules for implication (with λ-terms)
M : A → B N : A
M(N): B
[x : A]
·
·
·
·
π
M : B
λx.M : A → B
function application abstraction
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
The 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)
But these are real products, so we have projections (A × B → A)
and diagonals (A → A × A) which correspond to deletion and
duplication of resources.
Not linear!!!
Need to use tensor products and internal homs in Category Theory.
Hard to define the “make-everything-as-usual”operator ”!”.
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
The simplest Dialectica Category
The Dialectica category Dial2(Sets) objects are triples, an object is
A = (U, X, R), where U and X are sets and R ⊆ U × X is a
set-theoretic relation. A morphism from A to B = (V , Y , S) is a
pair of functions f : U → V and F : Y → X such that
uRFy → fuSy.
Theorem 1: You just have to find the right structure. . .
(de Paiva 1989) The category Dial2(Sets) has a symmetric mo-
noidal closed structure, and involution which makes it a model of
(exponential-free) multiplicative linear logic.
Theorem 2 (Hard part): You still want usual logic. . .
There is a comonad ! which models exponentials/modalities, hence
recovers Intuitionistic and Classical Logic.
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Can we give some intuition for these categories?
Blass makes the case for thinking of problems in computational
complexity. Intuitively an object of Dial2(Sets)
(U, X, R)
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 R says whether the answer is correct for that instance
of the problem or not.
The morphisms between these problems have two components:
while f maps instances of a problem to instances of another, F
maps solutions ‘backwards’.
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
What’s different for the Lambek calculus?
Need to have a non-commutative tensor ⊗.
Need to have two (left and right) implications.
Can we have these disturbing minimally the (admitedly)
complicated structures?
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
The non-commutative Dialectica Category
(de Paiva 1992, Amsterdam Colloquium) Category
DialM(Sets), objects are A = (U, X, R), where U and X are sets
and U × X → M is a M-valued relation. A morphism from A to
B = (V , Y , S) is a pair of functions f : U → V and F : Y → X
such that R(u, Fy) ≤M S(fu, y).
Theorem 3: have the right strux. . .
The category DialM(Sets) has a non-symmetric monoidal closed
structure, hence it is a model of (exponential-free) non-commutative
multiplicative linear logic.
Theorem 4 (Hard part): You still want usual logic. . .
There is a comonad ! which models exponentials/modalities, and a
comonad κ (Yetter) that brings back commutativity. Putting the
two together we recover Intuitionistic and Classical Logic.
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Conclusions
Introduced you to the Lambek calculus, as a relative of Linear
Logic
Introduced you to Dialectica categories
(there’s much more to say...)
Described one example of Dialectica categories DialM(Sets),
a non-commutative case. Should’ve shown you the modalities that
make it work.
Advantages over previous work:
1. Proved syntax works as expected.
2. Working on implementation in Agda.
Hinted at why one might want to use this system for PLs.
To do: comparison with pregroups...
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Thank you!
Valeria de Paiva APA2017 – Seattle, WA
Introduction
Lambek Calculus
Categorical Proof Theory
Dialectica Categories
Some References
J. Lambek, The Mathematics of Sentence Structure. American
Mathematical Monthly, pages 154–170, 1958.
de Paiva, The Dialectica Categories, Cambridge University DPMMS PhD
thesis, Technical Report 213, 1991.
de Paiva, A Dialectica Model of the Lambek Calculus, In Proc Eighth
Amsterdam Colloquium, December 17–20, 1991. Proceedings edited by
Martin Stokhof and Paul Dekker, Institute for Logic, Language and
Computation, University of Amsterdam, 1992, pp. 445-462.
Hyland, J. Martin E. Proof theory in the abstract, Annals of pure and
applied logic 114.1-3, 2002, pp. 43-78.
Valeria de Paiva APA2017 – Seattle, WA

Mais conteúdo relacionado

Mais procurados

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
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friendsValeria de Paiva
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria de Paiva
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterValeria 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
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica CategoriesValeria de Paiva
 
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
 
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
 
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 PaivaValeria 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
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
 
Dialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionValeria de Paiva
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainValeria de Paiva
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsValeria de Paiva
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsValeria 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
 
Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesValeria de Paiva
 

Mais procurados (20)

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
 
Dialectica amongst friends
Dialectica amongst friendsDialectica amongst friends
Dialectica amongst friends
 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
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
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica Categories
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
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)
 
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
 
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
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Dialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical version
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic Proofs
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic Proofs
 
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
 
Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type Theories
 

Semelhante a Dialectica Categories for the Lambek Calculus

Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumValeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria 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
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesValeria 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 PaivaValeria de Paiva
 
Who's afraid of Categorical models?
Who's afraid of Categorical models?Who's afraid of Categorical models?
Who's afraid of Categorical models?Valeria 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
 
Edwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal AssistantsEdwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal AssistantsValeria 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
 
Why (categorical) representation theory?
Why (categorical) representation theory?Why (categorical) representation theory?
Why (categorical) representation theory?Daniel Tubbenhauer
 
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
 
Equivalence of Logics: the categorical proof theory perspective
Equivalence of Logics: the categorical proof theory perspectiveEquivalence of Logics: the categorical proof theory perspective
Equivalence of Logics: the categorical proof theory perspectiveValeria de Paiva
 
Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Hakka Labs
 
Edwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsEdwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsValeria de Paiva
 
Game Semantics Intuitions
Game Semantics IntuitionsGame Semantics Intuitions
Game Semantics IntuitionsValeria de Paiva
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
A gentle intruduction to category theory
A gentle intruduction to category theoryA gentle intruduction to category theory
A gentle intruduction to category theoryJeff Jampa
 

Semelhante a Dialectica Categories for the Lambek Calculus (20)

Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the Continuum
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
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
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica Categories
 
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
 
Who's afraid of Categorical models?
Who's afraid of Categorical models?Who's afraid of Categorical models?
Who's afraid of Categorical models?
 
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)
 
Edwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal AssistantsEdwardian Proofs as futuristic Programs for Personal Assistants
Edwardian Proofs as futuristic Programs for Personal Assistants
 
Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)
 
Why (categorical) representation theory?
Why (categorical) representation theory?Why (categorical) representation theory?
Why (categorical) representation theory?
 
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?
 
Equivalence of Logics: the categorical proof theory perspective
Equivalence of Logics: the categorical proof theory perspectiveEquivalence of Logics: the categorical proof theory perspective
Equivalence of Logics: the categorical proof theory perspective
 
Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey Lambda Calculus by Dustin Mulcahey
Lambda Calculus by Dustin Mulcahey
 
Edwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsEdwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic Programs
 
Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Stochastic Processes Homework Help
Stochastic Processes Homework Help Stochastic Processes Homework Help
Stochastic Processes Homework Help
 
Game Semantics Intuitions
Game Semantics IntuitionsGame Semantics Intuitions
Game Semantics Intuitions
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
A gentle intruduction to category theory
A gentle intruduction to category theoryA gentle intruduction to category theory
A gentle intruduction to category theory
 

Mais de Valeria de Paiva

Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical ConstructionsValeria de Paiva
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria 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
 
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
 
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
 
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
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria 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
 

Mais de Valeria de Paiva (15)

Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
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
 
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
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
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
 

Último

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Último (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

Dialectica Categories for the Lambek Calculus

  • 1. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Dialectica Categories for the Lambek Calculus Valeria de Paiva Nuance Communications, CA (joint work with Harley Eades III, Augusta, GA) April, 2017 Valeria de Paiva APA2017 – Seattle, WA
  • 2. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Introduction I want to talk to you about modeling the Lambek Calculus, using Dialectica Categories. (dedicated to Jim Lambek, 1922–2014) Valeria de Paiva APA2017 – Seattle, WA
  • 3. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Introduction Lambek Calculus (1958, 1988, 1993, 2012) Valeria de Paiva APA2017 – Seattle, WA
  • 4. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Introduction Lambek Calculus Dialectica Categories putting things together... Valeria de Paiva APA2017 – Seattle, WA
  • 5. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories What is the Lambek Calculus? One of the several “type grammars”in use in Linguistics. A long history: Ajdukiewicz [1935], Bar-Hillel [1953], Lambek [1958, 1961], Ades-Steedman [1982], etc. It provides a syntactic account of sentencehood. Two classes of type grammars: 1. Combinatory Categorial Grammar: Szabolcsi [1992], Steedman-Baldridge [2011], etc.. 2. Categorial Type Logics: van Benthem, Morrill [1994], Moortgat [1994], etc.. Combinators/Lambda-calculus distiction. Both classes worked on nowadays Valeria de Paiva APA2017 – Seattle, WA
  • 6. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories What is the Lambek Calculus? Here a purely a logical system, like usual propositional logic, but with no structural rules at all. Recall the basic logic ‘equation’: A → (B → C) ⇐⇒ A ∧ B → C ⇐⇒ B → (A → C) Now make your conjunction non-commutative, so that A ⊗ B = B ⊗ A Then you end up with two kinds of ‘implication’ ( , ): A → (B C) ⇐⇒ A ⊗ B → C ⇐⇒ B → (A C) Valeria de Paiva APA2017 – Seattle, WA
  • 7. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories What is the Lambek Calculus? sequent calculus Valeria de Paiva APA2017 – Seattle, WA
  • 8. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Why Dialectica Categories? For G¨odel (1958): a way to prove consistency of higher order arithmetic For Girard (1987): a way to show that Linear Logic had serious pedigree For Hyland (1987): An intrinsic way modelling G¨odel’s Dialectica, Proof theory in the abstract (Hyland, 2002) Should produce a CCC, it wouldn’t. For me: a Swiss army knife... Valeria de Paiva APA2017 – Seattle, WA
  • 9. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories 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 Categories to Computing Valeria de Paiva APA2017 – Seattle, WA
  • 10. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Curry-Howard for Implication Natural deduction rules for implication (without λ-terms) A → B A B [A] · · · · π B A → B Natural deduction rules for implication (with λ-terms) M : A → B N : A M(N): B [x : A] · · · · π M : B λx.M : A → B function application abstraction Valeria de Paiva APA2017 – Seattle, WA
  • 11. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Valeria de Paiva APA2017 – Seattle, WA
  • 12. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Valeria de Paiva APA2017 – Seattle, WA
  • 13. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Valeria de Paiva APA2017 – Seattle, WA
  • 14. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories The 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) But these are real products, so we have projections (A × B → A) and diagonals (A → A × A) which correspond to deletion and duplication of resources. Not linear!!! Need to use tensor products and internal homs in Category Theory. Hard to define the “make-everything-as-usual”operator ”!”. Valeria de Paiva APA2017 – Seattle, WA
  • 15. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories The simplest Dialectica Category The Dialectica category Dial2(Sets) objects are triples, an object is A = (U, X, R), where U and X are sets and R ⊆ U × X is a set-theoretic relation. A morphism from A to B = (V , Y , S) is a pair of functions f : U → V and F : Y → X such that uRFy → fuSy. Theorem 1: You just have to find the right structure. . . (de Paiva 1989) The category Dial2(Sets) has a symmetric mo- noidal closed structure, and involution which makes it a model of (exponential-free) multiplicative linear logic. Theorem 2 (Hard part): You still want usual logic. . . There is a comonad ! which models exponentials/modalities, hence recovers Intuitionistic and Classical Logic. Valeria de Paiva APA2017 – Seattle, WA
  • 16. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Can we give some intuition for these categories? Blass makes the case for thinking of problems in computational complexity. Intuitively an object of Dial2(Sets) (U, X, R) 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 R says whether the answer is correct for that instance of the problem or not. The morphisms between these problems have two components: while f maps instances of a problem to instances of another, F maps solutions ‘backwards’. Valeria de Paiva APA2017 – Seattle, WA
  • 17. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories What’s different for the Lambek calculus? Need to have a non-commutative tensor ⊗. Need to have two (left and right) implications. Can we have these disturbing minimally the (admitedly) complicated structures? Valeria de Paiva APA2017 – Seattle, WA
  • 18. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories The non-commutative Dialectica Category (de Paiva 1992, Amsterdam Colloquium) Category DialM(Sets), objects are A = (U, X, R), where U and X are sets and U × X → M is a M-valued relation. A morphism from A to B = (V , Y , S) is a pair of functions f : U → V and F : Y → X such that R(u, Fy) ≤M S(fu, y). Theorem 3: have the right strux. . . The category DialM(Sets) has a non-symmetric monoidal closed structure, hence it is a model of (exponential-free) non-commutative multiplicative linear logic. Theorem 4 (Hard part): You still want usual logic. . . There is a comonad ! which models exponentials/modalities, and a comonad κ (Yetter) that brings back commutativity. Putting the two together we recover Intuitionistic and Classical Logic. Valeria de Paiva APA2017 – Seattle, WA
  • 19. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Conclusions Introduced you to the Lambek calculus, as a relative of Linear Logic Introduced you to Dialectica categories (there’s much more to say...) Described one example of Dialectica categories DialM(Sets), a non-commutative case. Should’ve shown you the modalities that make it work. Advantages over previous work: 1. Proved syntax works as expected. 2. Working on implementation in Agda. Hinted at why one might want to use this system for PLs. To do: comparison with pregroups... Valeria de Paiva APA2017 – Seattle, WA
  • 20. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Thank you! Valeria de Paiva APA2017 – Seattle, WA
  • 21. Introduction Lambek Calculus Categorical Proof Theory Dialectica Categories Some References J. Lambek, The Mathematics of Sentence Structure. American Mathematical Monthly, pages 154–170, 1958. de Paiva, The Dialectica Categories, Cambridge University DPMMS PhD thesis, Technical Report 213, 1991. de Paiva, A Dialectica Model of the Lambek Calculus, In Proc Eighth Amsterdam Colloquium, December 17–20, 1991. Proceedings edited by Martin Stokhof and Paul Dekker, Institute for Logic, Language and Computation, University of Amsterdam, 1992, pp. 445-462. Hyland, J. Martin E. Proof theory in the abstract, Annals of pure and applied logic 114.1-3, 2002, pp. 43-78. Valeria de Paiva APA2017 – Seattle, WA