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 different pieces of mathematics. These more
general phenomena can be very difficult 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, first 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,”defined axiomatically and
studied both individually and as the classes of structures
satisfying those axioms. This approach is so common
now that it is almost superfluous 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 edifice.
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.
Begriffsschrift, 1879
Was the first 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 finitistic 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
defined 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 “finitistic”reasoning about finite 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, Schoenfinkel, 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 definitely first-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 finitistic 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 finite 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 iff !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 define 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
quantifier-free theory of functionals of finite type T.
Idea: translate every formula A of HA to AD = ∃u∀x.AD, where
AD is quantifier-free.
Use: If HA proves A then T proves AD(t, y) where y is string of
variables for functionals of finite type, t a suitable sequence of
terms not containing y
Goal: to be as constructive as possible while being able to interpret
all of classical arithmetic
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 find 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. (Simplified maps!)
Theorem: 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) 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 iff n = m.
2. The object (NN, N, R) where f is R-related to n iff f (n) = n.
3. The object (R, R, ≤) where r1 and r2 are related iff r1 ≤ r2
4. The objects (2, 2, =) and (2, 2, =) with usual
equality/inequality.
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, satisfies 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’ (first
fibrational 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 specific
theorems.
Barriers: over-specialization, lack of open access and unwillingness
to ‘waste time’ on formalizations
Enablers: international scientific communities, open access,
growing interaction between fields?...
Handsome payoff 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
 
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
 
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 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
 
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
 
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

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 

Recently uploaded (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 

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 different pieces of mathematics. These more general phenomena can be very difficult 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, first 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,”defined axiomatically and studied both individually and as the classes of structures satisfying those axioms. This approach is so common now that it is almost superfluous 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 edifice. 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. Begriffsschrift, 1879 Was the first 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 finitistic 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 defined 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 “finitistic”reasoning about finite 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, Schoenfinkel, 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 definitely first-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 finitistic 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 finite 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 iff !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 define 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 quantifier-free theory of functionals of finite type T. Idea: translate every formula A of HA to AD = ∃u∀x.AD, where AD is quantifier-free. Use: If HA proves A then T proves AD(t, y) where y is string of variables for functionals of finite type, t a suitable sequence of terms not containing y Goal: to be as constructive as possible while being able to interpret all of classical arithmetic 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 find 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. (Simplified maps!) Theorem: 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) 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 iff n = m. 2. The object (NN, N, R) where f is R-related to n iff f (n) = n. 3. The object (R, R, ≤) where r1 and r2 are related iff r1 ≤ r2 4. The objects (2, 2, =) and (2, 2, =) with usual equality/inequality. 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, satisfies 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’ (first fibrational 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 specific theorems. Barriers: over-specialization, lack of open access and unwillingness to ‘waste time’ on formalizations Enablers: international scientific communities, open access, growing interaction between fields?... Handsome payoff 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