SlideShare a Scribd company logo
1 of 46
Download to read offline
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Edwardian Proofs as Futuristic Programs
for Personal Assistants
Valeria de Paiva
Nuance Communications, CA
May, 2014
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Thanks!...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Introduction
Iā€™m a logician, a proof-theorist and a category theorist.
I work in industry, have done so for the last 15 years, applying the
purest of pure mathematics, in surprising ways.
Today I want to show you what I think is a most under-appreciated
piece of mathematics on the 20th century.
The Curry-Howard Correspondence
Categorical Proof Theory
(as much as time permits) my small part on that...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Introduction
Iā€™m a logician, a proof-theorist and a category theorist.
I work in industry, have done so for the last 15 years, applying the
purest of pure mathematics, in surprising ways.
Today I want to show you what I think is a most under-appreciated
piece of mathematics on the 20th century.
The Curry-Howard Correspondence
Categorical Proof Theory
(as much as time permits) my small part on that...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Introduction
Iā€™m a logician, a proof-theorist and a category theorist.
I work in industry, have done so for the last 15 years, applying the
purest of pure mathematics, in surprising ways.
Today I want to show you what I think is a most under-appreciated
piece of mathematics on the 20th century.
The Curry-Howard Correspondence
Categorical Proof Theory
(as much as time permits) my small part on that...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Mathematics is full of surprises...
It often happens that there are similarities between the
solutions to problems. Sometimes, these similarities point
to more general phenomena that simultaneously explain
several diļ¬€erent pieces of mathematics. These more
general phenomena can be very diļ¬ƒcult to discover, but
when they are discovered, they have a very important
simplifying and organizing role, and can lead to the
solutions of further problems, or raise new and
fascinating questions. ā€“ T. Gowers, The Importance of Mathematics, 2000
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Proofs are Programs?
The bulk of mathematics today got crystallized in the last years of
the 19th century, ļ¬rst years of the 20th century.
The shock is still being felt. A Revolution in Mathematics? What
Really Happened a Century Ago and Why It Matters Today Frank
Quinn (Notices of the AMS, Jan 2012)
Today: the relationship between Algebra, Proofs and Programs
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Birth of Algebra
[...] a fundamental shift occurred in mathematics from
about 1880 to 1940ā€“the consideration of a wide variety
of mathematical ā€structures,ā€deļ¬ned axiomatically and
studied both individually and as the classes of structures
satisfying those axioms. This approach is so common
now that it is almost superļ¬‚uous to mention it explicitly,
but it represented a major conceptual shift in answering
the question: What is mathematics?
The axiomatization of Linear Algebra, Moore, Historia Mathematica, 1995.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Edwardian Algebra
Bourbaki on Abstract Algebra
The axiomatization of algebra was begun by Dedekind
and Hilbert, and then vigorously pursued by Steinitz
(1910). It was then completed in the years following
1920 by Artin, Noether and their colleagues at GĀØottingen
(Hasse, Krull, Schreier, van der Waerden). It was
presented to the world in complete form by van der
Waerdenā€™s book (1930).
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Bourbaki didnā€™t say: Algebra became Category Theory...
Category Theory: thereā€™s an underlying unity of mathematical
concepts/theories.
More important than the mathematical concepts themselves is how
they relate to each other.
Topological spaces come with continuous maps, while vector
spaces come with linear transformations.
Morphisms: how structures transform into others in the (most
reasonable) way to organize the mathematical ediļ¬ce.
Abstract Nonsense...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Edwardian Proofs
Frege: one of the founders of modern symbolic logic put forward
the view that mathematics is reducible to logic.
Begriļ¬€sschrift, 1879
Was the ļ¬rst to write proofs using a collection of abstract symbols:
instead of B ā†’ A and B hence A
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Why Proofs?
Mathematics in turmoil in the turn of the century because of
paradoxes e.g. Russellā€™s Paradox
Hilbertā€™s Program: Base all of mathematics in ļ¬nitistic methods
Proving the consistency of Arithmetic: the big quest
Read the graphic novel!!
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Edwardian Turmoil...
Hilbertā€™s program:provide secure foundations for all mathematics.
How? Formalization all mathematical statements should be written
in a precise formal language, and manipulated according to well
deļ¬ned rules.
There is no ignorabimus in mathematics.. .
Sounds good, doesnā€™t it?
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Hilbertā€™s Program
Consistent: no contradiction can be obtained in the formalism of
mathematics.
Complete: all true mathematical statements can be proven in the
formalism. Consistency proof use only ā€œļ¬nitisticā€reasoning about ļ¬nite mathematical objects.
Conservative: any result about ā€œreal objectsā€obtained using
reasoning about ā€œideal objectsā€(such as uncountable sets) can be
proved without ideal objects.
Decidable: an algorithm for deciding the truth or falsity of any
mathematical statement.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
GĀØodelā€™s Incompleteness Theorems (1931)
Hilbertā€™s program impossible, if interpreted in the most obvious
way. BUT:
The development of proof theory itself is an outgrowth of
Hilbertā€™s program. Gentzenā€™s development of natural
deduction and the sequent calculus [too]. GĀØodel obtained
his incompleteness theorems while trying to prove the
consistency of analysis. The tradition of reductive proof
theory of the Gentzen-SchĀØutte school is itself a direct
continuation of Hilbertā€™s program.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Proof theory: poor sister or cinderella?
Logic traditionally divided into:
Model Theory,
Proof Theory,
Set Theory and
Recursion Theory.
What about Complexity Theory?
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
20th Century Proofs
To prove the consistency of Arithmetic Gentzen invented his
systems of
NATURAL DEDUCTION
(how mathematicians think)
SEQUENT CALCULUS
(how he could formalize the thinking to obtain the main result he
needed, his Hauptsatz. (1934))
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Church and lambda-calculus
Alonzo Church: the lambda calculus (1932)
Church realized that lambda terms could be used to express every
function that could ever be computed by a machine.
Instead of ā€œthe function f where f (x) = tā€, he simply wrote Ī»x.t.
The lambda calculus is an universal programming language.
The Curry-Howard correspondence: logicians and computer
scientists developed a cornucopia of new logics/program constructs
based on the correspondence between proofs and programs.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
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 ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Proofs are Programs!
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
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Proof Theory using Categories...
Category: a collection of objects and of morphisms, satisfying
obvious laws
Functors: the natural notion of morphism between categories
Natural transformations: the natural notion of morphisms between
functors
Constructors: products, sums, limits, duals....
Adjunctions: an abstract version of equality
How does this relate to logic?
Whereā€™s the theorem?
A long time coming:
Curry, Schoenļ¬nkel, Howard (1969, published in 1980)
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Categorical Proof Theory
Model derivations/proofs, not whether theorems are true or not
Proofs deļ¬nitely ļ¬rst-class citizens
How? Uses extended Curry-Howard correspondence
Why is it good? Modeling derivations useful in linguistics,
functional programming, compilers..
Why is it important? Widespread use of logic/algebra in CS means
new important problems to solve with our favorite tools.
Why so little impact on logic itself?
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
How many Curry-Howard Correspondences?
Easier to count, if thinking about the logics:
Intuitionistic Propositional Logic, System F, Dependent Type
Theory (Martin-LĀØof), Linear Logic, Constructive Modal Logics,
various versions of Classical Logic since the early 90ā€™s.
The programs corresponding to these logical systems are futuristic
programs.
The logics inform the design of new type systems, that can be used
in new applications.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Dialectica Interpretation
If we cannot do Hilbertā€™s program with ļ¬nitistic means, can we do
it some other way?
Can we, at least, prove consistency of arithmetic?
Try: liberalized version of Hilbertā€™s programme ā€“ justify classical
systems in terms of notions as intuitively clear as possible.
GĀØodelā€™s approach: computable (or primitive recursive) functionals
of ļ¬nite type (System T), using the Dialectica Interpretation
(named after the Swiss journal Dialectica, special volume
dedicated to Paul Bernays 70th birthday) in 1958.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Dialectica Categories
Hyland suggested that to provide a categorical model of the
Dialectica Interpretation, one should look at the functionals
corresponding to the interpretation of logical implication.
The categories in my thesis proved to be a model of Linear Logic...
Linear Logic introduced by Girard (1987) as a proof-theoretic tool:
the symmetries of classical logic plus the constructive content of
proofs of intuitionistic logic.
Linear Logic: a tool for semantics of Computing.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Linear Logic
A proof theoretic logic described by Jean-Yves Girard in 1986.
Basic idea: assumptions cannot be discarded or duplicated. They
must be used exactly once ā€“ just like dollar bills...
Other approaches to accounting for logical resources before.
Great win of Linear Logic: Account for resources when you want
to, otherwise fall back on traditional logic, A ā†’ B iļ¬€ !A āˆ’ā—¦ B
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Dialectica Categories as Models of Linear Logic
In Linear Logic formulas denote resources. Resources are premises,
assumptions and conclusions, as they are used in logical proofs.
For example:
$1 āˆ’ā—¦ latte
If I have a dollar, I can get a Latte
$1 āˆ’ā—¦ cappuccino
If I have a dollar, I can get a Cappuccino
$1
I have a dollar
Can conclude either latte or cappuccino
ā€” But using my dollar and one of the premisses above, say
$1 āˆ’ā—¦ latte gives me a latte but the dollar is gone
ā€” Usual logic doesnā€™t pay attention to uses of premisses, A implies B
and A gives me B but I still have A...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Linear Implication and (Multiplicative) Conjunction
Traditional implication: A, A ā†’ B B
A, A ā†’ B A āˆ§ B Re-use A
Linear implication: A, A āˆ’ā—¦ B B
A, A āˆ’ā—¦ B A āŠ— B Cannot re-use A
Traditional conjunction: A āˆ§ B A Discard B
Linear conjunction: A āŠ— B A Cannot discard B
Of course: !A AāŠ—!A Re-use
!(A) āŠ— B B Discard
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
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 decide how to deļ¬ne the
ā€œmake-everything-as-usualā€operator ā€!ā€.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
My version of Curry-Howard: Dialectica Categories
Based on GĀØodelā€™s Dialectica Interpretation (1958):
Result: an interpretation of intuitionistic arithmetic HA in a
quantiļ¬er-free theory of functionals of ļ¬nite type T.
Idea: translate every formula A of HA to AD = āˆƒuāˆ€x.AD, where
AD is quantiļ¬er-free.
Use: If HA proves A then T proves AD(t, y) where y is string of
variables for functionals of ļ¬nite type, t a suitable sequence of
terms not containing y
Goal: to be as constructive as possible while being able to interpret
all of classical arithmetic
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Motivations and interpretations. . .
For GĀØodel (in 1958) the Dialectica interpretation was a way of
proving consistency of arithmetic.
For me (in 1988) an internal way of modelling Dialectica turned
out to produce models of Linear Logic instead of models of
Intuitionistic Logic, which were expected...
For Blass (in 1995) a way of connecting work of VotjĀ“as in Set
Theory with mine and also his own work on Linear Logic and
cardinalities of the continuum.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Dialectica Categories
Objects of the Dialectica category DDial2(Sets) are triples, a
generic object is A = (U, X, R), where U and X are sets and
R āŠ† U Ɨ X is an usual set-theoretic relation. A morphism from A
to B = (V , Y , S) is a pair of functions f : U ā†’ V and
F : U Ɨ Y ā†’ X such that uRF(u, y) ā†’ fuSy. (Note direction!)
Theorem: You have to ļ¬nd the right structure. . .
(de Paiva 1987) The category DDial2(Sets) has a symmetric monoi-
dal closed structure, which makes it a model of (exponential-free)
intuitionistic multiplicative linear logic.
Theorem(Hard part): You also want usual logic. . .
There is a comonad ! which models exponentials/modalities and
recovers Intuitionistic and Classical Logic.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Two Kinds of Dialectica Categories
Girardā€™s sugestion in Boulder: Dialectica category Dial2(Sets)
objects are triples, a generic 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. (Simpliļ¬ed maps!)
Theorem: You just have to ļ¬nd 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) classical multiplicative linear logic.
Theorem (Even Harder part): You still want usual logic. . .
There is a comonad ! which models exponentials/modalities, hence
recovers Intuitionistic and Classical Logic.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Can we give some intuition for these morphisms?
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.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Examples of objects in Dial2(Sets)
1. The object (N, N, =) where n is related to m iļ¬€ n = m.
2. The object (NN, N, R) where f is R-related to n iļ¬€ f (n) = n.
3. The object (R, R, ā‰¤) where r1 and r2 are related iļ¬€ r1 ā‰¤ r2
4. The objects (2, 2, =) and (2, 2, =) with usual
equality/inequality.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
The Right Structure?
To ā€œinternalizeā€the notion of map between problems, we need to
consider the collection of all maps from U to V , V U, the collection
of all maps from Y to X, XY and we need to make sure that a
pair f : U ā†’ V and F : Y ā†’ X in that set, satisļ¬es our dialectica
condition:
āˆ€u āˆˆ U, y āˆˆ Y , uRFy ā†’ fuSy
This give us an object (V U Ɨ XY , U Ɨ Y , eval) where
eval: V U Ɨ XY Ɨ (U Ɨ Y ) ā†’ 2 is the ā€˜relationā€™ that evaluates the
pair (f , F) on the pair (u, y) and checks the dialectica implication
between relations.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
The Right Structure!
Because itā€™s fun, let us calculate the ā€œreverse engineeringā€
necessary for a model of Linear Logic..
A āŠ— B ā†’ C if and only if A ā†’ [B āˆ’ā—¦ C]
U Ɨ V (R āŠ— S)XV
Ɨ Y U
U R X
ā‡“ ā‡“
W
f
?
T T
6
(g1, g2)
W V
Ɨ Y Z
?
(S āˆ’ā—¦ T)V Ɨ Z
6
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Dialectica Categories Applications
In CS: models of Petri nets (more than 2 phds), non-commutative
version for Lambek calculus (linguistics), it has been used as a
model of state (Correa et al) and even of quantum groups.
Generic models of Linear Logic (with Schalk04) and for Linguistics
Analysis of the syntax-semantics interface for Natural
Language, the Glue Approach (Dalrymple, Lamping and Gupta).
Recently: Bodil Biering ā€˜Copenhagen Interpretationā€™ (ļ¬rst
ļ¬brational version), P. Hofstra. ā€The dialectica monad and its
cousinsā€. Also ā€The Compiler Forestā€Budiu, Galenson and Plotkin
(2012) and P. Hyvernat. ā€œA linear category of polynomial
diagramsā€.
Most recent:Tamara Von Glehn ā€polynomialsā€/containers (2014?).
Piedrot (2014) Krivine machine interpretation...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
My ā€˜newestā€™ Application
Blass (1995) Dialectica categories, or rather category PV as a tool
for proving inequalities between cardinalities of the continuum.
Blass realized that my model of Linear Logic was also used by
Peter VotjĀ“as for set theory, proving inequalities between cardinal
invariants and wrote Questions and Answers A Category Arising in
Linear Logic, Complexity Theory, and Set Theory (1995).
Four years ago I learnt from Samuel Gomes da Silva about his and
Charles Morganā€™s work using Blass/VotjĀ“asā€™ ideas and we started
working together.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Goal
Blass (1995)
It is an empirical fact that proofs between cardinal characteristics
of the continuum usually proceed by representing the characteristics
as norms of objects in PV and then exhibiting explicit morphisms
between those objects.
Why?
so far only tiny calculation of natural numbers object in Dialectica
categories. (de Paiva, Morgan and da Silva, Natural Number
Objects in Dialectica Categories, LFSA 2013, to appear in ENTCS)
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Conclusions
Introduced you to the under-appreciated Curry-Howard
correspondence.
Hinted at its importance for interdisciplinarity:
Categorical Proof Theory
Described one example: Dialectica categories Dial2(Sets),
Illustrated one easy, but essential, theorem in categorical logic.
Hinted at Blass and VotjĀ“as use for mapping cardinal invariants.
Much more explaining needed...
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Take Home
Working in interdisciplinary areas is hard, but rewarding.
The frontier between logic, computing, linguistics and categories is
a fun place to be.
Mathematics teaches you a way of thinking, more than speciļ¬c
theorems.
Barriers: over-specialization, lack of open access and unwillingness
to ā€˜waste timeā€™ on formalizations
Enablers: international scientiļ¬c communities, open access,
growing interaction between ļ¬elds?...
Handsome payoļ¬€ expected
Fall in love with your ideas and enjoy talking to many about them..
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Thank you!
Valeria de Paiva ASL 2014 ā€“ Boulder, CO
Introduction
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Back to the future: Linear Logic
Some References
A.Blass, Questions and Answers: A Category Arising in Linear Logic,
Complexity Theory, and Set Theory, Advances in Linear Logic (ed. J.-Y.
Girard, Y. Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222
(1995).
de Paiva, A dialectica-like model of linear logic, Category Theory and
Computer Science, Springer, (1989) 341ā€“356.
de Paiva, The Dialectica Categories, In Proc of Categories in Computer
Science and Logic, Boulder, CO, 1987. Contemporary Mathematics, vol
92, American Mathematical Society, 1989 (eds. J. Gray and A. Scedrov)
P. VojtĀ“aĖ‡s, Generalized Galois-Tukey-connections between explicit relations
on classical objects of real analysis. In: Set theory of the reals (Ramat
Gan, 1991), Israel Math. Conf. Proc. 6, Bar-Ilan Univ., Ramat Gan
(1993), 619ā€“643.
Valeria de Paiva ASL 2014 ā€“ Boulder, CO

More Related Content

What's hot

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
Ā 
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
Ā 
Dialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionValeria 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 and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
Ā 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
Ā 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria 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
Ā 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
Ā 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive ModalitiesValeria de Paiva
Ā 
Mth101 handouts 1_45
Mth101 handouts 1_45Mth101 handouts 1_45
Mth101 handouts 1_45Haris Imam
Ā 
mth101 handouts lecture 1 - 45
mth101 handouts lecture 1 - 45mth101 handouts lecture 1 - 45
mth101 handouts lecture 1 - 45Imran Ahmed Farooq
Ā 
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
Ā 
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
Ā 
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
Ā 
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
Ā 

What's hot (16)

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
Ā 
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: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical version
Ā 
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 and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
Ā 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
Ā 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
Ā 
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
Ā 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
Ā 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
Ā 
Mth101 handouts 1_45
Mth101 handouts 1_45Mth101 handouts 1_45
Mth101 handouts 1_45
Ā 
mth101 handouts lecture 1 - 45
mth101 handouts lecture 1 - 45mth101 handouts lecture 1 - 45
mth101 handouts lecture 1 - 45
Ā 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
Ā 
Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)Category Theory for All (NASSLLI 2012)
Category Theory for All (NASSLLI 2012)
Ā 
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
Ā 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
Ā 

Viewers also liked

Contexts 4 quantification (CommonSense2013)
Contexts 4 quantification (CommonSense2013)Contexts 4 quantification (CommonSense2013)
Contexts 4 quantification (CommonSense2013)Valeria de Paiva
Ā 
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedLean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedValeria de Paiva
Ā 
Seeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseSeeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseValeria de Paiva
Ā 
Logics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingLogics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingValeria de Paiva
Ā 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowValeria de Paiva
Ā 
Lean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicLean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicValeria de Paiva
Ā 

Viewers also liked (8)

Contexts 4 quantification (CommonSense2013)
Contexts 4 quantification (CommonSense2013)Contexts 4 quantification (CommonSense2013)
Contexts 4 quantification (CommonSense2013)
Ā 
Lorenzen
LorenzenLorenzen
Lorenzen
Ā 
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction RevisitedLean Logic for Lean Times: Entailment and Contradiction Revisited
Lean Logic for Lean Times: Entailment and Contradiction Revisited
Ā 
Seeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for PortugueseSeeing is Correcting:Linked Open Data for Portuguese
Seeing is Correcting:Linked Open Data for Portuguese
Ā 
Logics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese UnderstandingLogics and Ontologies for Portuguese Understanding
Logics and Ontologies for Portuguese Understanding
Ā 
Portuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and HowPortuguese Linguistic Tools: What, Why and How
Portuguese Linguistic Tools: What, Why and How
Ā 
Modal Type Theory
Modal Type TheoryModal Type Theory
Modal Type Theory
Ā 
Lean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural LogicLean Logic for Lean Times: Varieties of Natural Logic
Lean Logic for Lean Times: Varieties of Natural Logic
Ā 

Similar to Edwardian Proofs as futuristic Programs for Personal Assistants

Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
Ā 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryValeria de Paiva
Ā 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsValeria de Paiva
Ā 
Dialectica 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
Ā 
29364360 the-logic-of-transdisciplinarity-2
29364360 the-logic-of-transdisciplinarity-229364360 the-logic-of-transdisciplinarity-2
29364360 the-logic-of-transdisciplinarity-2Luiz Carvalho
Ā 
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
Ā 
The Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaThe Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaFacultad de InformƔtica UCM
Ā 
Computations, Paths, Types and Proofs
Computations, Paths, Types and ProofsComputations, Paths, Types and Proofs
Computations, Paths, Types and ProofsRuy De Queiroz
Ā 
Apmp brazil oct 2017
Apmp brazil oct 2017Apmp brazil oct 2017
Apmp brazil oct 2017Brendan Larvor
Ā 
Apmp brazil oct 2017
Apmp brazil oct 2017Apmp brazil oct 2017
Apmp brazil oct 2017Brendan Larvor
Ā 
Earlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfEarlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfbrijmote
Ā 
Prove it the art of mathematical argument
Prove it   the art of mathematical argumentProve it   the art of mathematical argument
Prove it the art of mathematical argumentChristian Torrico Avila
Ā 
Homotopic Foundations of the Theory of Computation
Homotopic Foundations of the Theory of ComputationHomotopic Foundations of the Theory of Computation
Homotopic Foundations of the Theory of ComputationRuy De Queiroz
Ā 
A brief history of mathematics
A brief history of mathematicsA brief history of mathematics
A brief history of mathematicsAlicia Jane
Ā 
Forca Barca Math's quiz finals
Forca Barca Math's quiz finalsForca Barca Math's quiz finals
Forca Barca Math's quiz finalssidharth17
Ā 

Similar to Edwardian Proofs as futuristic Programs for Personal Assistants (15)

Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
Ā 
A Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type TheoryA Dialectica Model of Relevant Type Theory
A Dialectica Model of Relevant Type Theory
Ā 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariants
Ā 
Dialectica 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)
Ā 
29364360 the-logic-of-transdisciplinarity-2
29364360 the-logic-of-transdisciplinarity-229364360 the-logic-of-transdisciplinarity-2
29364360 the-logic-of-transdisciplinarity-2
Ā 
Who's afraid of Categorical models?
Who's afraid of Categorical models?Who's afraid of Categorical models?
Who's afraid of Categorical models?
Ā 
The Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas AlbaThe Soul of Computer Science - Prof. Salvador Lucas Alba
The Soul of Computer Science - Prof. Salvador Lucas Alba
Ā 
Computations, Paths, Types and Proofs
Computations, Paths, Types and ProofsComputations, Paths, Types and Proofs
Computations, Paths, Types and Proofs
Ā 
Apmp brazil oct 2017
Apmp brazil oct 2017Apmp brazil oct 2017
Apmp brazil oct 2017
Ā 
Apmp brazil oct 2017
Apmp brazil oct 2017Apmp brazil oct 2017
Apmp brazil oct 2017
Ā 
Earlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfEarlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdf
Ā 
Prove it the art of mathematical argument
Prove it   the art of mathematical argumentProve it   the art of mathematical argument
Prove it the art of mathematical argument
Ā 
Homotopic Foundations of the Theory of Computation
Homotopic Foundations of the Theory of ComputationHomotopic Foundations of the Theory of Computation
Homotopic Foundations of the Theory of Computation
Ā 
A brief history of mathematics
A brief history of mathematicsA brief history of mathematics
A brief history of mathematics
Ā 
Forca Barca Math's quiz finals
Forca Barca Math's quiz finalsForca Barca Math's quiz finals
Forca Barca Math's quiz finals
Ā 

More from Valeria de Paiva

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica ComonoidsValeria 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
Ā 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
Ā 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria de Paiva
Ā 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
Ā 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
Ā 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
Ā 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
Ā 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri NetsValeria 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
Ā 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slidesValeria de Paiva
Ā 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
Ā 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
Ā 
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
Ā 
Categorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsValeria 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
Ā 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
Ā 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
Ā 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
Ā 
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 Semantics for Explicit Substitutions
Categorical Semantics for Explicit SubstitutionsCategorical Semantics for Explicit Substitutions
Categorical Semantics for Explicit Substitutions
Ā 

Recently uploaded

CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
Ā 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
Ā 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
Ā 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
Ā 
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdfssuser54595a
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
Ā 
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
Ā 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
Ā 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
Ā 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
Ā 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
Ā 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
Ā 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
Ā 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
Ā 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
Ā 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
Ā 

Recently uploaded (20)

Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Bikash Puri  Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Bikash Puri Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
Ā 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
Ā 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Ā 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Ā 
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Model Call Girl in Tilak Nagar Delhi reach out to us at šŸ”9953056974šŸ”
Ā 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
Ā 
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAŠ”Y_INDEX-DM_23-1-final-eng.pdf
Ā 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
Ā 
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...
Ā 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
Ā 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
Ā 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
Ā 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
Ā 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
Ā 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
Ā 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
Ā 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
Ā 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
Ā 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Ā 

Edwardian Proofs as futuristic Programs for Personal Assistants

  • 1. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Edwardian Proofs as Futuristic Programs for Personal Assistants Valeria de Paiva Nuance Communications, CA May, 2014 Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 2. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Thanks!... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 3. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Introduction Iā€™m a logician, a proof-theorist and a category theorist. I work in industry, have done so for the last 15 years, applying the purest of pure mathematics, in surprising ways. Today I want to show you what I think is a most under-appreciated piece of mathematics on the 20th century. The Curry-Howard Correspondence Categorical Proof Theory (as much as time permits) my small part on that... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 4. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Introduction Iā€™m a logician, a proof-theorist and a category theorist. I work in industry, have done so for the last 15 years, applying the purest of pure mathematics, in surprising ways. Today I want to show you what I think is a most under-appreciated piece of mathematics on the 20th century. The Curry-Howard Correspondence Categorical Proof Theory (as much as time permits) my small part on that... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 5. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Introduction Iā€™m a logician, a proof-theorist and a category theorist. I work in industry, have done so for the last 15 years, applying the purest of pure mathematics, in surprising ways. Today I want to show you what I think is a most under-appreciated piece of mathematics on the 20th century. The Curry-Howard Correspondence Categorical Proof Theory (as much as time permits) my small part on that... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 6. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Mathematics is full of surprises... It often happens that there are similarities between the solutions to problems. Sometimes, these similarities point to more general phenomena that simultaneously explain several diļ¬€erent pieces of mathematics. These more general phenomena can be very diļ¬ƒcult to discover, but when they are discovered, they have a very important simplifying and organizing role, and can lead to the solutions of further problems, or raise new and fascinating questions. ā€“ T. Gowers, The Importance of Mathematics, 2000 Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 7. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Proofs are Programs? The bulk of mathematics today got crystallized in the last years of the 19th century, ļ¬rst years of the 20th century. The shock is still being felt. A Revolution in Mathematics? What Really Happened a Century Ago and Why It Matters Today Frank Quinn (Notices of the AMS, Jan 2012) Today: the relationship between Algebra, Proofs and Programs Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 8. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Birth of Algebra [...] a fundamental shift occurred in mathematics from about 1880 to 1940ā€“the consideration of a wide variety of mathematical ā€structures,ā€deļ¬ned axiomatically and studied both individually and as the classes of structures satisfying those axioms. This approach is so common now that it is almost superļ¬‚uous to mention it explicitly, but it represented a major conceptual shift in answering the question: What is mathematics? The axiomatization of Linear Algebra, Moore, Historia Mathematica, 1995. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 9. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Edwardian Algebra Bourbaki on Abstract Algebra The axiomatization of algebra was begun by Dedekind and Hilbert, and then vigorously pursued by Steinitz (1910). It was then completed in the years following 1920 by Artin, Noether and their colleagues at GĀØottingen (Hasse, Krull, Schreier, van der Waerden). It was presented to the world in complete form by van der Waerdenā€™s book (1930). Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 10. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Bourbaki didnā€™t say: Algebra became Category Theory... Category Theory: thereā€™s an underlying unity of mathematical concepts/theories. More important than the mathematical concepts themselves is how they relate to each other. Topological spaces come with continuous maps, while vector spaces come with linear transformations. Morphisms: how structures transform into others in the (most reasonable) way to organize the mathematical ediļ¬ce. Abstract Nonsense... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 11. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Edwardian Proofs Frege: one of the founders of modern symbolic logic put forward the view that mathematics is reducible to logic. Begriļ¬€sschrift, 1879 Was the ļ¬rst to write proofs using a collection of abstract symbols: instead of B ā†’ A and B hence A Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 12. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Why Proofs? Mathematics in turmoil in the turn of the century because of paradoxes e.g. Russellā€™s Paradox Hilbertā€™s Program: Base all of mathematics in ļ¬nitistic methods Proving the consistency of Arithmetic: the big quest Read the graphic novel!! Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 13. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Edwardian Turmoil... Hilbertā€™s program:provide secure foundations for all mathematics. How? Formalization all mathematical statements should be written in a precise formal language, and manipulated according to well deļ¬ned rules. There is no ignorabimus in mathematics.. . Sounds good, doesnā€™t it? Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 14. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Hilbertā€™s Program Consistent: no contradiction can be obtained in the formalism of mathematics. Complete: all true mathematical statements can be proven in the formalism. Consistency proof use only ā€œļ¬nitisticā€reasoning about ļ¬nite mathematical objects. Conservative: any result about ā€œreal objectsā€obtained using reasoning about ā€œideal objectsā€(such as uncountable sets) can be proved without ideal objects. Decidable: an algorithm for deciding the truth or falsity of any mathematical statement. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 15. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic GĀØodelā€™s Incompleteness Theorems (1931) Hilbertā€™s program impossible, if interpreted in the most obvious way. BUT: The development of proof theory itself is an outgrowth of Hilbertā€™s program. Gentzenā€™s development of natural deduction and the sequent calculus [too]. GĀØodel obtained his incompleteness theorems while trying to prove the consistency of analysis. The tradition of reductive proof theory of the Gentzen-SchĀØutte school is itself a direct continuation of Hilbertā€™s program. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 16. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Proof theory: poor sister or cinderella? Logic traditionally divided into: Model Theory, Proof Theory, Set Theory and Recursion Theory. What about Complexity Theory? Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 17. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic 20th Century Proofs To prove the consistency of Arithmetic Gentzen invented his systems of NATURAL DEDUCTION (how mathematicians think) SEQUENT CALCULUS (how he could formalize the thinking to obtain the main result he needed, his Hauptsatz. (1934)) Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 18. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Church and lambda-calculus Alonzo Church: the lambda calculus (1932) Church realized that lambda terms could be used to express every function that could ever be computed by a machine. Instead of ā€œthe function f where f (x) = tā€, he simply wrote Ī»x.t. The lambda calculus is an universal programming language. The Curry-Howard correspondence: logicians and computer scientists developed a cornucopia of new logics/program constructs based on the correspondence between proofs and programs. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 19. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic 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 ASL 2014 ā€“ Boulder, CO
  • 20. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Proofs are Programs! 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 Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 21. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 22. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Proof Theory using Categories... Category: a collection of objects and of morphisms, satisfying obvious laws Functors: the natural notion of morphism between categories Natural transformations: the natural notion of morphisms between functors Constructors: products, sums, limits, duals.... Adjunctions: an abstract version of equality How does this relate to logic? Whereā€™s the theorem? A long time coming: Curry, Schoenļ¬nkel, Howard (1969, published in 1980) Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 23. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Categorical Proof Theory Model derivations/proofs, not whether theorems are true or not Proofs deļ¬nitely ļ¬rst-class citizens How? Uses extended Curry-Howard correspondence Why is it good? Modeling derivations useful in linguistics, functional programming, compilers.. Why is it important? Widespread use of logic/algebra in CS means new important problems to solve with our favorite tools. Why so little impact on logic itself? Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 24. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic How many Curry-Howard Correspondences? Easier to count, if thinking about the logics: Intuitionistic Propositional Logic, System F, Dependent Type Theory (Martin-LĀØof), Linear Logic, Constructive Modal Logics, various versions of Classical Logic since the early 90ā€™s. The programs corresponding to these logical systems are futuristic programs. The logics inform the design of new type systems, that can be used in new applications. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 25. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 26. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Dialectica Interpretation If we cannot do Hilbertā€™s program with ļ¬nitistic means, can we do it some other way? Can we, at least, prove consistency of arithmetic? Try: liberalized version of Hilbertā€™s programme ā€“ justify classical systems in terms of notions as intuitively clear as possible. GĀØodelā€™s approach: computable (or primitive recursive) functionals of ļ¬nite type (System T), using the Dialectica Interpretation (named after the Swiss journal Dialectica, special volume dedicated to Paul Bernays 70th birthday) in 1958. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 27. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Dialectica Categories Hyland suggested that to provide a categorical model of the Dialectica Interpretation, one should look at the functionals corresponding to the interpretation of logical implication. The categories in my thesis proved to be a model of Linear Logic... Linear Logic introduced by Girard (1987) as a proof-theoretic tool: the symmetries of classical logic plus the constructive content of proofs of intuitionistic logic. Linear Logic: a tool for semantics of Computing. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 28. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Linear Logic A proof theoretic logic described by Jean-Yves Girard in 1986. Basic idea: assumptions cannot be discarded or duplicated. They must be used exactly once ā€“ just like dollar bills... Other approaches to accounting for logical resources before. Great win of Linear Logic: Account for resources when you want to, otherwise fall back on traditional logic, A ā†’ B iļ¬€ !A āˆ’ā—¦ B Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 29. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Dialectica Categories as Models of Linear Logic In Linear Logic formulas denote resources. Resources are premises, assumptions and conclusions, as they are used in logical proofs. For example: $1 āˆ’ā—¦ latte If I have a dollar, I can get a Latte $1 āˆ’ā—¦ cappuccino If I have a dollar, I can get a Cappuccino $1 I have a dollar Can conclude either latte or cappuccino ā€” But using my dollar and one of the premisses above, say $1 āˆ’ā—¦ latte gives me a latte but the dollar is gone ā€” Usual logic doesnā€™t pay attention to uses of premisses, A implies B and A gives me B but I still have A... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 30. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Linear Implication and (Multiplicative) Conjunction Traditional implication: A, A ā†’ B B A, A ā†’ B A āˆ§ B Re-use A Linear implication: A, A āˆ’ā—¦ B B A, A āˆ’ā—¦ B A āŠ— B Cannot re-use A Traditional conjunction: A āˆ§ B A Discard B Linear conjunction: A āŠ— B A Cannot discard B Of course: !A AāŠ—!A Re-use !(A) āŠ— B B Discard Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 31. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic 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 decide how to deļ¬ne the ā€œmake-everything-as-usualā€operator ā€!ā€. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 32. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic My version of Curry-Howard: Dialectica Categories Based on GĀØodelā€™s Dialectica Interpretation (1958): Result: an interpretation of intuitionistic arithmetic HA in a quantiļ¬er-free theory of functionals of ļ¬nite type T. Idea: translate every formula A of HA to AD = āˆƒuāˆ€x.AD, where AD is quantiļ¬er-free. Use: If HA proves A then T proves AD(t, y) where y is string of variables for functionals of ļ¬nite type, t a suitable sequence of terms not containing y Goal: to be as constructive as possible while being able to interpret all of classical arithmetic Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 33. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Motivations and interpretations. . . For GĀØodel (in 1958) the Dialectica interpretation was a way of proving consistency of arithmetic. For me (in 1988) an internal way of modelling Dialectica turned out to produce models of Linear Logic instead of models of Intuitionistic Logic, which were expected... For Blass (in 1995) a way of connecting work of VotjĀ“as in Set Theory with mine and also his own work on Linear Logic and cardinalities of the continuum. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 34. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Dialectica Categories Objects of the Dialectica category DDial2(Sets) are triples, a generic object is A = (U, X, R), where U and X are sets and R āŠ† U Ɨ X is an usual set-theoretic relation. A morphism from A to B = (V , Y , S) is a pair of functions f : U ā†’ V and F : U Ɨ Y ā†’ X such that uRF(u, y) ā†’ fuSy. (Note direction!) Theorem: You have to ļ¬nd the right structure. . . (de Paiva 1987) The category DDial2(Sets) has a symmetric monoi- dal closed structure, which makes it a model of (exponential-free) intuitionistic multiplicative linear logic. Theorem(Hard part): You also want usual logic. . . There is a comonad ! which models exponentials/modalities and recovers Intuitionistic and Classical Logic. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 35. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Two Kinds of Dialectica Categories Girardā€™s sugestion in Boulder: Dialectica category Dial2(Sets) objects are triples, a generic 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. (Simpliļ¬ed maps!) Theorem: You just have to ļ¬nd 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) classical multiplicative linear logic. Theorem (Even Harder part): You still want usual logic. . . There is a comonad ! which models exponentials/modalities, hence recovers Intuitionistic and Classical Logic. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 36. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Can we give some intuition for these morphisms? 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. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 37. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Examples of objects in Dial2(Sets) 1. The object (N, N, =) where n is related to m iļ¬€ n = m. 2. The object (NN, N, R) where f is R-related to n iļ¬€ f (n) = n. 3. The object (R, R, ā‰¤) where r1 and r2 are related iļ¬€ r1 ā‰¤ r2 4. The objects (2, 2, =) and (2, 2, =) with usual equality/inequality. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 38. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic The Right Structure? To ā€œinternalizeā€the notion of map between problems, we need to consider the collection of all maps from U to V , V U, the collection of all maps from Y to X, XY and we need to make sure that a pair f : U ā†’ V and F : Y ā†’ X in that set, satisļ¬es our dialectica condition: āˆ€u āˆˆ U, y āˆˆ Y , uRFy ā†’ fuSy This give us an object (V U Ɨ XY , U Ɨ Y , eval) where eval: V U Ɨ XY Ɨ (U Ɨ Y ) ā†’ 2 is the ā€˜relationā€™ that evaluates the pair (f , F) on the pair (u, y) and checks the dialectica implication between relations. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 39. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic The Right Structure! Because itā€™s fun, let us calculate the ā€œreverse engineeringā€ necessary for a model of Linear Logic.. A āŠ— B ā†’ C if and only if A ā†’ [B āˆ’ā—¦ C] U Ɨ V (R āŠ— S)XV Ɨ Y U U R X ā‡“ ā‡“ W f ? T T 6 (g1, g2) W V Ɨ Y Z ? (S āˆ’ā—¦ T)V Ɨ Z 6 Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 40. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Dialectica Categories Applications In CS: models of Petri nets (more than 2 phds), non-commutative version for Lambek calculus (linguistics), it has been used as a model of state (Correa et al) and even of quantum groups. Generic models of Linear Logic (with Schalk04) and for Linguistics Analysis of the syntax-semantics interface for Natural Language, the Glue Approach (Dalrymple, Lamping and Gupta). Recently: Bodil Biering ā€˜Copenhagen Interpretationā€™ (ļ¬rst ļ¬brational version), P. Hofstra. ā€The dialectica monad and its cousinsā€. Also ā€The Compiler Forestā€Budiu, Galenson and Plotkin (2012) and P. Hyvernat. ā€œA linear category of polynomial diagramsā€. Most recent:Tamara Von Glehn ā€polynomialsā€/containers (2014?). Piedrot (2014) Krivine machine interpretation... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 41. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic My ā€˜newestā€™ Application Blass (1995) Dialectica categories, or rather category PV as a tool for proving inequalities between cardinalities of the continuum. Blass realized that my model of Linear Logic was also used by Peter VotjĀ“as for set theory, proving inequalities between cardinal invariants and wrote Questions and Answers A Category Arising in Linear Logic, Complexity Theory, and Set Theory (1995). Four years ago I learnt from Samuel Gomes da Silva about his and Charles Morganā€™s work using Blass/VotjĀ“asā€™ ideas and we started working together. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 42. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Goal Blass (1995) It is an empirical fact that proofs between cardinal characteristics of the continuum usually proceed by representing the characteristics as norms of objects in PV and then exhibiting explicit morphisms between those objects. Why? so far only tiny calculation of natural numbers object in Dialectica categories. (de Paiva, Morgan and da Silva, Natural Number Objects in Dialectica Categories, LFSA 2013, to appear in ENTCS) Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 43. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Conclusions Introduced you to the under-appreciated Curry-Howard correspondence. Hinted at its importance for interdisciplinarity: Categorical Proof Theory Described one example: Dialectica categories Dial2(Sets), Illustrated one easy, but essential, theorem in categorical logic. Hinted at Blass and VotjĀ“as use for mapping cardinal invariants. Much more explaining needed... Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 44. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Take Home Working in interdisciplinary areas is hard, but rewarding. The frontier between logic, computing, linguistics and categories is a fun place to be. Mathematics teaches you a way of thinking, more than speciļ¬c theorems. Barriers: over-specialization, lack of open access and unwillingness to ā€˜waste timeā€™ on formalizations Enablers: international scientiļ¬c communities, open access, growing interaction between ļ¬elds?... Handsome payoļ¬€ expected Fall in love with your ideas and enjoy talking to many about them.. Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 45. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Thank you! Valeria de Paiva ASL 2014 ā€“ Boulder, CO
  • 46. Introduction Edwardian Proofs Futuristic Programs Categorical Proof Theory Back to the future: Linear Logic Some References A.Blass, Questions and Answers: A Category Arising in Linear Logic, Complexity Theory, and Set Theory, Advances in Linear Logic (ed. J.-Y. Girard, Y. Lafont, and L. Regnier) London Math. Soc. Lecture Notes 222 (1995). de Paiva, A dialectica-like model of linear logic, Category Theory and Computer Science, Springer, (1989) 341ā€“356. de Paiva, The Dialectica Categories, In Proc of Categories in Computer Science and Logic, Boulder, CO, 1987. Contemporary Mathematics, vol 92, American Mathematical Society, 1989 (eds. J. Gray and A. Scedrov) P. VojtĀ“aĖ‡s, Generalized Galois-Tukey-connections between explicit relations on classical objects of real analysis. In: Set theory of the reals (Ramat Gan, 1991), Israel Math. Conf. Proc. 6, Bar-Ilan Univ., Ramat Gan (1993), 619ā€“643. Valeria de Paiva ASL 2014 ā€“ Boulder, CO