SlideShare a Scribd company logo
1 of 43
Download to read offline
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Categorical Explicit Substitutions
Valeria de Paiva
Topos colloquium
August 2021
0 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Thanks for all the fish!
1 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
CAM (Categorical Abstract Machine)
(INRIA’s announcement)
2 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
xSLAM: eXplicit Substitutions Linear Abstract Machine
Ritter’s PhD thesis on categorical combinators for the
Calculus of Constructions (Cambridge 1992, TCS 1994)
de Paiva’s PhD thesis on models of Linear Logic & linear
lambda-calculus (Cambridge 1990)
Put the two together for Categorical Abstract Machines for
Linear Functional Programming
Project xSLAM Explicit Substitutions for Linear Abstract
Machines (EPSRC 1997-2000)
3 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
xSLAM: eXplicit Substitutions Linear Abstract Machine
Twenty years later:
More than 10 papers submitted to conferences
Only two in journals: Linear Explicit Substitutions. (Ghani, de
Paiva, Ritter, 2000) and Relating Categorical Semantics for
Intuitionistic Linear Logic (Maietti, Maneggia, de Paiva, Ritter
2005)
Master’s thesis: An Abstract Machine based on Linear Logic
and Explicit Substitutions. Francisco Alberti, 1997
Two international workshops: Logical Abstract Machines
(Saarbruecken, 1998), Logical Abstract Machines
(Birmingham, 1999)
International Dagstuhl meeting: Linear Logic and Applications
(1999)
4 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
xSLAM Project Work
1 E. Ritter. A calculus for Resource allocation. Technical Report, University of Birmingham, 2000.
2 Maietti, de Paiva, Ritter. Linear primitive recursion. manuscript 2000.
3 Maietti, de Paiva, Ritter. Categorical Models for Intuitionistic and Linear Type Theory. FoSSaCS 2000.
4 Cervesato, de Paiva, Ritter. Explicit Substitutions for Linear Logical Frameworks. LFM 1999
5 E. Ritter. Characterising Explicit Substitutions which Preserve Termination. TLCA 1999
6 Ghani, de Paiva, Ritter. Explicit Substitutions for Constructive Necessity. ICALP 1998
7 Ghani, de Paiva, Ritter. Categorical Models for Explicit Substitutions. FoSSaCS 1999.
8 de Paiva, E. Ritter. On Explicit Substitutions and Names. ICALP 1997.
9 Nesi, de Paiva, Ritter. Rewriting Properties of Combinators for Intuitionistic Linear Logic. Higher Order
Algebra, Logic and Term Rewriting, HOA’1993.
10 Maietti, de Paiva and Ritter. Normalization Bounds in Rudimentary Linear Logic ICC, 2002.
11 de Paiva and Eike Ritter. Variations on Linear PCF. WESTAPP, 1999.
5 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Twenty years later
6 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Categorical what?
Explicit substitutions!
In computer science, lambda calculi are said to have expli-
cit substitutions if they pay special attention to the forma-
lization of the process of substitution. This is in contrast
to the standard lambda calculus where substitutions are
performed by beta reductions in an implicit manner which
is not expressed within the calculus.
The concept of explicit substitutions has become notorious
(despite a large number of published calculi of explicit
substitutions in the literature with quite different characteristics)
because the notion often turns up (implicitly and explicitly) in
formal descriptions [...] Wikipedia, Feb 2021
Syntactic calculi, plenty of them. No models? 7 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Categorical Explicit Substitutions
From Abadi, Cardelli, Curien and Levy 1989:
Substitution is the eminence grise of λ-calculus.The clas-
sical β rule
(λx.a)b →β a{b/x}
uses substitution crucially though informally. Here a and b
denote two terms, and a{b/x} represents the term a where
all free occurrences of x are replaced with b. This substi-
tution does not belong in the calculus proper, but rather
in an informal meta-level. Similar situations arise in dea-
ling with all binding constructs, from universal quantifiers
to type abstractions. [...] The correspondence between
the theory and its implementations becomes highly non-
trivial, and the correctness of the implementations can be
compromised. 8 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Why Categorical Semantics?
Syntactic calculus should have a categorical semantics
Mathematics as a source of intuitions
System implementation proved correct by construction
Hierarchy of systems
Showing this for IPL and ILL (works for CS4,♦ too)
9 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Why functional languages?
Programs as mathematical functions transforming inputs into
outputs
Work on inductively defined data structures like lists, trees
⇒ no side effects
⇒ can employ mathematical reasoning and substitute equals for
equals
⇒ function definition and application central part of languages like
Haskell, OCaml, cakeML, Rust, Scala
...
(usually) Have strong typechecking
⇒ can detect many errors already at compile-time
10 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
What you will NOT see in this talk
Intersection types (idempotent or not)
Evaluation strategies
Dynamic types
Patterns
Proof-nets
Nominal syntax
Geometry of Interaction
explicit substitutions Reductions, etc
11 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Prototypical language λ-calculus
Terms:
M ::= x | λx : A.M | MM
Types:
A ::= G | A → A
Meaning of terms:
x: Variable (placeholder)
λx : A.M: Function expecting input of type A
MM: Function application
Single out well-formed terms (check whether correct kind of
argument supplied)
12 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Lambda calculus
Judgements Γ ` M : A
Γ, x : A ` x : A
Γ, x : A ` M : B
Γ ` λx : A.M : A → B
Γ ` M : A → B Γ ` N : A
Γ ` MN : B
To obtain a Turing-complete language, add recursively defined
functions via letrec and add means for defining inductively
defined data structures like lists, trees, etc
Computation done via β-reduction
(λx : A.M)N M[N/x]
where M[N/x] is M with x replaced by N 13 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Environment machines
Implementing β reduction efficiently is hard
Traditional solution:
Reduce λ-terms in an environment
storing bindings of terms for variables separately
⇒ have two kinds of expressions:
Environments hMi /xi i: lists of bindings
Terms: as before plus new closures f ∗ M
Modified β-reduction stores substitution in the environment
(λx.t)u ⇒ hu/xi ∗ t
New rewrite rules to eliminate substitutions
hu/xi ∗ t ⇒∗ t[u/x]
Transforming this ‘trick’ of implementation into a logical calculus
⇒ the reason for ‘explicit substitutions’
14 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
The λσ-Calculus (Abadi, Cardelli, Curien, Lévy 1989)
Terms of the λ-calculus +
Application of a substitution to a term: f ∗ t
Start substitution: hi
Parallel and sequential composition: hf , t/xi, f ; g
Typing Rules:
Substitutions are judgements Γ ` f : ∆
Γ0 ⊆ Γ
Γ ` hi : Γ0
Γ ` f :∆ Γ ` t :A
Γ ` hf , t/xi : ∆, x : A
Γ ` f : ∆ ∆ ` t : A
Γ ` f ∗ t : A
Γ ` f :∆ ∆ ` g :Ψ
Γ ` f ; g : Ψ
Key Idea 1: Every λσ-term is equivalent to a λ-term.
Key Idea 2: Contexts z :A×B and x :A, y :B are not equal 15 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Delia Kesner on Explicit Substitutions
‘ A Theory of Explicit Substitutions with Safe and Full
Composition’ LMCS 2009: better understanding of execution
models of higher-order languages
transform the equalities of the specification into a set of
rewriting rules;
composition of substitutions allows more sophisticated
interactions;
a logical system where the reduction rules behave like cut
elimination transformations;
Melliès counter-example 1995 shows ‘a flaw in the design of
ES calculi’
16 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Kesner ES (2009)
ways to avoid Melliès counter-example and recover the SN
property;
weak lambda calculi. not good for proof assistants;
terms with explicit weakening constructors;
Her way: a perpetual reduction strategy and a principle
“Implicit substitution implies normalisation of Explicit
substitution”= IE property;
This extends ideas in [Kes07, Kes08], by the use of
intersection types as well as the use of the Z-property of van
Oostrom [vO] to show confluence.
17 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
What do we want from a Categorical Semantics?
Motivation: What should calculi of explicit substitutions
contain?
What term constructs should we require
What equations should we require
how to discover this for different logics?
Methodology: Extend the Curry Howard correspondence
Category theory as syntax debugging
Internal language gives term constructs  equational theory
Key Ideas:
ES model should contain a model of the underlying λ-calculus
Contexts z :A×B and x :A, y :B are isomorphic
18 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Models of Explicit Substitutions — Indexed Categories
Contexts: Modelled by a cartesian category
Objects are contexts, morphisms are substitutions
Cartesian structure is given by parallel composition
Terms: For every context Γ, define the category D(Γ)
Objects are variable-type pairs x : A
Morphisms (x : A) −→ (y : B) are judgements Γ, x : A ` t : B
Re-indexing: Γ ` f :∆ induces a functor D(f ):D(∆) → D(Γ)
Summary: An indexed category is a functor D : Cop → Cat
19 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
What’s Wrong with Indexed Categories?
Plus Points: Indexed categories induce λσ-equations
hi; h = h Identity of C
h; hi = h Identity of C
hi ∗ t = t Functoriality of D
(f ; g); h = f ; (g; h) Assoc of C-comp
(f ; g) ∗ t = f ∗ (g ∗ t) Functoriality of D
Lemma: Soundness and completeness
Problem 1: Indexed Categories are inherently non linear
Identities in the fibres require judgements Γ, x : A ` x : A
Problem 2: No syntax for forming substitutions from terms
20 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Context-Handling Categories
Solution 1: Remove identities by changing codomain to Set
Solution 2: Add two new natural transformations
Defn: Let B be a SMC (CCC) with T ⊆ |B|. A linear
(cartesian) context handling category is a functor
L: Bop → SetsT and for each type, natural isomorphisms
SubA : L(−)A ⇒ B(−, A) TermA : B(−, A) ⇒ L(−)A
Yoneda lemma: There exists VarA ∈ L(A)A with
TermA(f ) = f ∗ VarA
Equations: We get the following equations
h(f ∗ t)/xi = f ; ht/xi Naturality of Sub
ht/xi ∗ x = t One half of the iso
h(f ∗ x)/xi = f Other half of the iso
21 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Adding Type Structure — E-Categories
Context handling categories model the behaviour of explicit
substitutions, eg their formation and application to terms
Types: Since terms are defined on the fibres, modelling type
constructors requires extra structure on the fibres.
Examples: Given types A, B ∈ T , there are types
A → B, A × B ∈ T . In addition there are isomorphisms,
natural in Γ
E((Γ, A))B
E(Γ)A→B
E(Γ)A × E(Γ)B
E(ΓA×B)
Naturality: Equations distribute explicit subs over terms
f ∗ λx.t = λx.f ∗ t f ∗ (tu) = (f ∗ t)(f ∗ u)
Model Collapse: Contexts z :A×B and x :A, y :B are
isomorphic 22 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Adding Linear Type Structure — L-Categories
Functions: Given types A, B ∈ T , there is a type
A −◦ B ∈ T and isomorphisms, natural in Γ
E((Γ, A))B
E(Γ)A −◦ B
Tensor: But the following doesn’t give an iso
z :A⊗B ∼
= x :A, y :B
E((Γ, A, B))C
E(Γ, A ⊗ B)C
Solution: Demand x :A, y :B ` h(x ⊗y)/zi :A⊗B has inverse.
Γ, x : A, y : B ` f : ∆
Γ, z : A ⊗ B ` let z be x ⊗ y in f : ∆
Key Idea: Category theory guiding the design of the calculus 23 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Modelling the !-type Constructor
Key Idea: !-arises as the comonad of a monoidal adjunction
between CCCs and SMCCs
Recall: Models of explicit substitutions
E categories model calculi with →, ×, 1 types
L categories model calculi with −◦ , ⊗, I types
Defn: A !L-category is a monoidal adjunction where C is an
E category, B is an L-category and F, G preserve types.
Crucially: Requires an isomorphism x : A| ∼
= |z :!A
Γ, x : A|∆ ` f : ∆
Γ|∆, z :!A ` let z be !x in f : ∆
24 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Categorical Theorems
Have three theorems for E-categories (CCCs), three theorems for
L-categories (SMCCs), two for putting the E- and L-categories
together into a !L-category.
(right defn) Every E-category contains an underlying CCC and
every CCC extends to an E-category, in an iso way;
(soundness) We can model the λσ calculus in an E-category;
(completeness) If for every E-category, the interpretation of
two morphisms f , f 0 is the same, then the equality of the
morphisms is proved by the λσ theory.
Similarly for L-categories.
For !L-categories, we use Barber’s DILL calculus with explicit
substitutions xDILL, described in Linear Explicit Substitutions
25 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
First Conclusions
Indexed categories are inherently non-linear but we can use
presheaves
Explicit substitutions are tricky to model (extensionally they
are equivalent to their underlying λ-calculus)
Our models reflect this by “taking isomorphisms seriously”
We get an extension of Curry-Howard correspondence
justifying our calculus
Have a working indexed-cat model for linear, cartesian, both
as well as the original for the Calculus of Constructions
Explicit substitutions are not simply a hack: find maths of clever
implementation
26 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
ILT: no modality for better behaviour
Better type theory for better implementations
Which type theory? why better?
Categorical Models for Linear and Intuitionistic Type Theory
(Maietti, Ritter, de Paiva, FOSSACS, LNCS Springer, vol
1784, 2000)
27 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Linear Type Theories with Categorical Models
Linear λ-calculus (Benton, Bierman, de Paiva, Hyland, 1992)
https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-
262.html
DILL system (Plotkin and Barber, 1996)
http://www.lfcs.inf.ed.ac.uk/reports/96/ECS-LFCS-96-347/
LNL system (Benton, 1995) https://www.researchgate.
net/publication/221558077_A_Mixed_Linear_and_
Non-Linear_Logic_Proofs_Terms_and_Models
28 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Their Categorical Models
Linear λ-calculus (ILL)
A linear category is a symmetric monoidal closed (smc)
category equipped with a linear monoidal comonad, such that
the co-Kleisli category of the comonad is a Cartesian closed
Category (CCC). (loads of conditions)
DILL system
A DILL-category is a pair, a symmetric monoidal closed
category and a cartesian category, related by a (symmetric)
monoidal adjunction.
LNL system
An LNL-model is a (symmetric) monoidal adjunction between
a smcc and a ccc.
29 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Linear Curry-Howard Isos
“Relating Categorical Semantics for Intuitionistic Linear
Logic”(with P. Maneggia, M. Maietti and E. Ritter), Applied
Categorical Structures, vol 13(1):1–36, 2005.
Take home: Categorical models need to be more than sound and
complete. Need to provide internal languages for the theories they
model. 30 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Why a new calculus?
(ILT, Fossacs 2000)
Choosing between the three type theories:
DILL is best, less verbose than ILL, but closer to what we
want to do than LNL.
Easy formulation of the promotion rule
Contains the usual lambda-calculus as a subsystem
however, most FPers would prefer to use a variant of DILL
where instead of !, one has two function spaces, → and −◦
But then what’s the categorical model?
31 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Intuitionistic and Linear Type Theory
(ILT, Calculus)
If we have two function spaces, but no modality !, how can we
model it?
All the models discussed before have a notion of !, a comonad
created by the adjunction.
Well, we need to use deeper mathematics, i.e. fibrations or
indexed categories.
32 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Calculus ILT
Γ | a : A ` a : A Γ, x : A | ` x : A
Γ | ∆, a : A ` M : B
Γ | ∆ ` λaA
.M : A −◦ B
Γ, x : A | ∆ ` M : B
Γ | ∆ ` λxA
.M : A → B
Γ | ∆1 ` M : A −◦ B Γ | ∆2 ` N : A
Γ | ∆ ` M l N : B
Γ | ∆ ` M : A → B Γ | ` N : A
Γ | ∆ ` M i N : B
33 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
ILT Models
Idea goes back to Lawvere’s hyperdoctrines satisfying
comprehension
Model of ILT should modify this setting to capture the separation
between intuitionistic and linear variables.
A base category B, which models the intuitionistic contexts of ILT,
objects in B model contexts (Γ| ).
Each fibre over an object in B modelling a context models terms
Γ|∆ ` M : A for any context ∆
The fibres are now symmetric monoidal closed categories with
tensor products and model the linear constructions of ILT
34 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
ILT Models and internal language theorems
Just as in the previous ‘example’ can prove soundness,
completeness and internal language theorems.
(or so they say)
Missing an understanding of what is essential, what can be
changed, and limitations of the methods.
35 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Conclusions
Explicit substitutions discussions stuck on issues:
equations-in-context vs. raw reductions
de Bruijn indices vs. variable names
untyped vs. typed calculi
calculus for abstract machines or for proof assistants, etc..
our explicit substitution calculus has been driven by the
correspondence with the (well-established) cat semantics
Ritter showed that every reduction used in abstract machines
terminates, thus SN is not necessary for their design. ⇒ not
worried about SN or metavariables
still: what can we say about ES calculi we skipped? what
more do we need to say? which other logics can we do?
36 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Thanks!
37 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Curry-Howard Enablers
38 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Intuitionistic Type Theory
39 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
Linear Type Theory
40 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
41 / 42
Motivation
Abstract Machines
Explicit Substitutions
Categorical Semantics
ILT: better type theory
Conclusions
42 / 42

More Related Content

What's hot

Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive ModalitiesValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria 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
 
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
 
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
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica CategoriesValeria de Paiva
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyValeria de Paiva
 
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
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusValeria de Paiva
 
Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesValeria de Paiva
 
Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaValeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri NetsValeria de Paiva
 
Dialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionValeria de Paiva
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsValeria 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
 

What's hot (20)

Fun with Constructive Modalities
Fun with Constructive ModalitiesFun with Constructive Modalities
Fun with Constructive Modalities
 
Modal Type Theory
Modal Type TheoryModal Type Theory
Modal Type Theory
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Intuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years laterIntuitionistic Modal Logic: fifteen years later
Intuitionistic Modal Logic: fifteen years later
 
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
 
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
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica Categories
 
Pure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journeyPure Algebra to Applied AI: a personal journey
Pure Algebra to Applied AI: a personal journey
 
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)
 
Constructive Modal Logics, Once Again
Constructive Modal Logics, Once AgainConstructive Modal Logics, Once Again
Constructive Modal Logics, Once Again
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Logics of Context and Modal Type Theories
Logics of Context and Modal Type TheoriesLogics of Context and Modal Type Theories
Logics of Context and Modal Type Theories
 
Benchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de PaivaBenchmarking Linear Logic Proofs, Valeria de Paiva
Benchmarking Linear Logic Proofs, Valeria de Paiva
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Dialectica Categories and Petri Nets
Dialectica Categories and Petri NetsDialectica Categories and Petri Nets
Dialectica Categories and Petri Nets
 
Dialectica Categories: the mathematical version
Dialectica Categories: the mathematical versionDialectica Categories: the mathematical version
Dialectica Categories: the mathematical version
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic Proofs
 
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
 

Similar to Categorical Explicit Substitutions Semantics

Compositional Distributional Models of Meaning
Compositional Distributional Models of MeaningCompositional Distributional Models of Meaning
Compositional Distributional Models of MeaningDimitrios Kartsaklis
 
Strict intersection types for the lambda calculus
Strict intersection types for the lambda calculusStrict intersection types for the lambda calculus
Strict intersection types for the lambda calculusunyil96
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignmenttesfahunegn minwuyelet
 
leanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerleanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerAdriano Melo
 
MLconf NYC Animashree Anandkumar
MLconf NYC Animashree AnandkumarMLconf NYC Animashree Anandkumar
MLconf NYC Animashree AnandkumarMLconf
 
Automatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELAutomatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELJoel Falcou
 
Barzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationBarzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationRichard Littauer
 
CORCON2014: Does programming really need data structures?
CORCON2014: Does programming really need data structures?CORCON2014: Does programming really need data structures?
CORCON2014: Does programming really need data structures?Marco Benini
 
Proof-Theoretic Semantics: Point-free meaninig of first-order systems
Proof-Theoretic Semantics: Point-free meaninig of first-order systemsProof-Theoretic Semantics: Point-free meaninig of first-order systems
Proof-Theoretic Semantics: Point-free meaninig of first-order systemsMarco Benini
 
Master Thesis on the Mathematial Analysis of Neural Networks
Master Thesis on the Mathematial Analysis of Neural NetworksMaster Thesis on the Mathematial Analysis of Neural Networks
Master Thesis on the Mathematial Analysis of Neural NetworksAlina Leidinger
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligenceRaga Deepthi
 
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...Po-Chuan Chen
 
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...iyo
 
Point-free foundation of Mathematics
Point-free foundation of MathematicsPoint-free foundation of Mathematics
Point-free foundation of MathematicsMarco Benini
 
A Bibliography on the Numerical Solution of Delay Differential Equations.pdf
A Bibliography on the Numerical Solution of Delay Differential Equations.pdfA Bibliography on the Numerical Solution of Delay Differential Equations.pdf
A Bibliography on the Numerical Solution of Delay Differential Equations.pdfJackie Gold
 
Labelled Variables in Logic Programming: A First Prototipe in tuProlog
Labelled Variables in Logic Programming: A First Prototipe in tuPrologLabelled Variables in Logic Programming: A First Prototipe in tuProlog
Labelled Variables in Logic Programming: A First Prototipe in tuPrologRoberta Calegari
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingNimrita Koul
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 

Similar to Categorical Explicit Substitutions Semantics (20)

Compositional Distributional Models of Meaning
Compositional Distributional Models of MeaningCompositional Distributional Models of Meaning
Compositional Distributional Models of Meaning
 
Strict intersection types for the lambda calculus
Strict intersection types for the lambda calculusStrict intersection types for the lambda calculus
Strict intersection types for the lambda calculus
 
Introduction to complexity theory assignment
Introduction to complexity theory assignmentIntroduction to complexity theory assignment
Introduction to complexity theory assignment
 
leanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL ReasonerleanCoR: lean Connection-based DL Reasoner
leanCoR: lean Connection-based DL Reasoner
 
MLconf NYC Animashree Anandkumar
MLconf NYC Animashree AnandkumarMLconf NYC Animashree Anandkumar
MLconf NYC Animashree Anandkumar
 
Automatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSELAutomatic Task-based Code Generation for High Performance DSEL
Automatic Task-based Code Generation for High Performance DSEL
 
An Efficient and Parallel Abstract Interpreter in Scala — Presentation
An Efficient and Parallel Abstract Interpreter in Scala — PresentationAn Efficient and Parallel Abstract Interpreter in Scala — Presentation
An Efficient and Parallel Abstract Interpreter in Scala — Presentation
 
Barzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentationBarzilay & Lapata 2008 presentation
Barzilay & Lapata 2008 presentation
 
CORCON2014: Does programming really need data structures?
CORCON2014: Does programming really need data structures?CORCON2014: Does programming really need data structures?
CORCON2014: Does programming really need data structures?
 
Proof-Theoretic Semantics: Point-free meaninig of first-order systems
Proof-Theoretic Semantics: Point-free meaninig of first-order systemsProof-Theoretic Semantics: Point-free meaninig of first-order systems
Proof-Theoretic Semantics: Point-free meaninig of first-order systems
 
Master Thesis on the Mathematial Analysis of Neural Networks
Master Thesis on the Mathematial Analysis of Neural NetworksMaster Thesis on the Mathematial Analysis of Neural Networks
Master Thesis on the Mathematial Analysis of Neural Networks
 
Artifial intelligence
Artifial intelligenceArtifial intelligence
Artifial intelligence
 
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...
Second Thoughts are Best: Learning to Re-Align With Human Values from Text Ed...
 
Substitutability
SubstitutabilitySubstitutability
Substitutability
 
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...
A Study Of Statistical Models For Query Translation :Finding A Good Unit Of T...
 
Point-free foundation of Mathematics
Point-free foundation of MathematicsPoint-free foundation of Mathematics
Point-free foundation of Mathematics
 
A Bibliography on the Numerical Solution of Delay Differential Equations.pdf
A Bibliography on the Numerical Solution of Delay Differential Equations.pdfA Bibliography on the Numerical Solution of Delay Differential Equations.pdf
A Bibliography on the Numerical Solution of Delay Differential Equations.pdf
 
Labelled Variables in Logic Programming: A First Prototipe in tuProlog
Labelled Variables in Logic Programming: A First Prototipe in tuPrologLabelled Variables in Logic Programming: A First Prototipe in tuProlog
Labelled Variables in Logic Programming: A First Prototipe in tuProlog
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 

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
 
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
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014Valeria de Paiva
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneValeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 
Linear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanLinear Logic and Constructive Mathematics, after Shulman
Linear Logic and Constructive Mathematics, after ShulmanValeria de Paiva
 
A Semantica Nossa de Cada Dia
A Semantica Nossa de Cada DiaA Semantica Nossa de Cada Dia
A Semantica Nossa de Cada DiaValeria de Paiva
 

More from Valeria de Paiva (19)

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
 
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
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Gender Gap in Computing 2014
Gender Gap in Computing 2014Gender Gap in Computing 2014
Gender Gap in Computing 2014
 
Categorical Proof Theory for Everyone
Categorical Proof Theory for EveryoneCategorical Proof Theory for Everyone
Categorical Proof Theory for Everyone
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
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
 
A Semantica Nossa de Cada Dia
A Semantica Nossa de Cada DiaA Semantica Nossa de Cada Dia
A Semantica Nossa de Cada Dia
 

Recently uploaded

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 

Recently uploaded (20)

the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 

Categorical Explicit Substitutions Semantics

  • 1. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Categorical Explicit Substitutions Valeria de Paiva Topos colloquium August 2021 0 / 42
  • 2. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Thanks for all the fish! 1 / 42
  • 3. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions CAM (Categorical Abstract Machine) (INRIA’s announcement) 2 / 42
  • 4. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions xSLAM: eXplicit Substitutions Linear Abstract Machine Ritter’s PhD thesis on categorical combinators for the Calculus of Constructions (Cambridge 1992, TCS 1994) de Paiva’s PhD thesis on models of Linear Logic & linear lambda-calculus (Cambridge 1990) Put the two together for Categorical Abstract Machines for Linear Functional Programming Project xSLAM Explicit Substitutions for Linear Abstract Machines (EPSRC 1997-2000) 3 / 42
  • 5. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions xSLAM: eXplicit Substitutions Linear Abstract Machine Twenty years later: More than 10 papers submitted to conferences Only two in journals: Linear Explicit Substitutions. (Ghani, de Paiva, Ritter, 2000) and Relating Categorical Semantics for Intuitionistic Linear Logic (Maietti, Maneggia, de Paiva, Ritter 2005) Master’s thesis: An Abstract Machine based on Linear Logic and Explicit Substitutions. Francisco Alberti, 1997 Two international workshops: Logical Abstract Machines (Saarbruecken, 1998), Logical Abstract Machines (Birmingham, 1999) International Dagstuhl meeting: Linear Logic and Applications (1999) 4 / 42
  • 6. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions xSLAM Project Work 1 E. Ritter. A calculus for Resource allocation. Technical Report, University of Birmingham, 2000. 2 Maietti, de Paiva, Ritter. Linear primitive recursion. manuscript 2000. 3 Maietti, de Paiva, Ritter. Categorical Models for Intuitionistic and Linear Type Theory. FoSSaCS 2000. 4 Cervesato, de Paiva, Ritter. Explicit Substitutions for Linear Logical Frameworks. LFM 1999 5 E. Ritter. Characterising Explicit Substitutions which Preserve Termination. TLCA 1999 6 Ghani, de Paiva, Ritter. Explicit Substitutions for Constructive Necessity. ICALP 1998 7 Ghani, de Paiva, Ritter. Categorical Models for Explicit Substitutions. FoSSaCS 1999. 8 de Paiva, E. Ritter. On Explicit Substitutions and Names. ICALP 1997. 9 Nesi, de Paiva, Ritter. Rewriting Properties of Combinators for Intuitionistic Linear Logic. Higher Order Algebra, Logic and Term Rewriting, HOA’1993. 10 Maietti, de Paiva and Ritter. Normalization Bounds in Rudimentary Linear Logic ICC, 2002. 11 de Paiva and Eike Ritter. Variations on Linear PCF. WESTAPP, 1999. 5 / 42
  • 7. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Twenty years later 6 / 42
  • 8. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Categorical what? Explicit substitutions! In computer science, lambda calculi are said to have expli- cit substitutions if they pay special attention to the forma- lization of the process of substitution. This is in contrast to the standard lambda calculus where substitutions are performed by beta reductions in an implicit manner which is not expressed within the calculus. The concept of explicit substitutions has become notorious (despite a large number of published calculi of explicit substitutions in the literature with quite different characteristics) because the notion often turns up (implicitly and explicitly) in formal descriptions [...] Wikipedia, Feb 2021 Syntactic calculi, plenty of them. No models? 7 / 42
  • 9. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Categorical Explicit Substitutions From Abadi, Cardelli, Curien and Levy 1989: Substitution is the eminence grise of λ-calculus.The clas- sical β rule (λx.a)b →β a{b/x} uses substitution crucially though informally. Here a and b denote two terms, and a{b/x} represents the term a where all free occurrences of x are replaced with b. This substi- tution does not belong in the calculus proper, but rather in an informal meta-level. Similar situations arise in dea- ling with all binding constructs, from universal quantifiers to type abstractions. [...] The correspondence between the theory and its implementations becomes highly non- trivial, and the correctness of the implementations can be compromised. 8 / 42
  • 10. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Why Categorical Semantics? Syntactic calculus should have a categorical semantics Mathematics as a source of intuitions System implementation proved correct by construction Hierarchy of systems Showing this for IPL and ILL (works for CS4,♦ too) 9 / 42
  • 11. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Why functional languages? Programs as mathematical functions transforming inputs into outputs Work on inductively defined data structures like lists, trees ⇒ no side effects ⇒ can employ mathematical reasoning and substitute equals for equals ⇒ function definition and application central part of languages like Haskell, OCaml, cakeML, Rust, Scala ... (usually) Have strong typechecking ⇒ can detect many errors already at compile-time 10 / 42
  • 12. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions What you will NOT see in this talk Intersection types (idempotent or not) Evaluation strategies Dynamic types Patterns Proof-nets Nominal syntax Geometry of Interaction explicit substitutions Reductions, etc 11 / 42
  • 13. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Prototypical language λ-calculus Terms: M ::= x | λx : A.M | MM Types: A ::= G | A → A Meaning of terms: x: Variable (placeholder) λx : A.M: Function expecting input of type A MM: Function application Single out well-formed terms (check whether correct kind of argument supplied) 12 / 42
  • 14. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Lambda calculus Judgements Γ ` M : A Γ, x : A ` x : A Γ, x : A ` M : B Γ ` λx : A.M : A → B Γ ` M : A → B Γ ` N : A Γ ` MN : B To obtain a Turing-complete language, add recursively defined functions via letrec and add means for defining inductively defined data structures like lists, trees, etc Computation done via β-reduction (λx : A.M)N M[N/x] where M[N/x] is M with x replaced by N 13 / 42
  • 15. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Environment machines Implementing β reduction efficiently is hard Traditional solution: Reduce λ-terms in an environment storing bindings of terms for variables separately ⇒ have two kinds of expressions: Environments hMi /xi i: lists of bindings Terms: as before plus new closures f ∗ M Modified β-reduction stores substitution in the environment (λx.t)u ⇒ hu/xi ∗ t New rewrite rules to eliminate substitutions hu/xi ∗ t ⇒∗ t[u/x] Transforming this ‘trick’ of implementation into a logical calculus ⇒ the reason for ‘explicit substitutions’ 14 / 42
  • 16. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions The λσ-Calculus (Abadi, Cardelli, Curien, Lévy 1989) Terms of the λ-calculus + Application of a substitution to a term: f ∗ t Start substitution: hi Parallel and sequential composition: hf , t/xi, f ; g Typing Rules: Substitutions are judgements Γ ` f : ∆ Γ0 ⊆ Γ Γ ` hi : Γ0 Γ ` f :∆ Γ ` t :A Γ ` hf , t/xi : ∆, x : A Γ ` f : ∆ ∆ ` t : A Γ ` f ∗ t : A Γ ` f :∆ ∆ ` g :Ψ Γ ` f ; g : Ψ Key Idea 1: Every λσ-term is equivalent to a λ-term. Key Idea 2: Contexts z :A×B and x :A, y :B are not equal 15 / 42
  • 17. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Delia Kesner on Explicit Substitutions ‘ A Theory of Explicit Substitutions with Safe and Full Composition’ LMCS 2009: better understanding of execution models of higher-order languages transform the equalities of the specification into a set of rewriting rules; composition of substitutions allows more sophisticated interactions; a logical system where the reduction rules behave like cut elimination transformations; Melliès counter-example 1995 shows ‘a flaw in the design of ES calculi’ 16 / 42
  • 18. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Kesner ES (2009) ways to avoid Melliès counter-example and recover the SN property; weak lambda calculi. not good for proof assistants; terms with explicit weakening constructors; Her way: a perpetual reduction strategy and a principle “Implicit substitution implies normalisation of Explicit substitution”= IE property; This extends ideas in [Kes07, Kes08], by the use of intersection types as well as the use of the Z-property of van Oostrom [vO] to show confluence. 17 / 42
  • 19. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions What do we want from a Categorical Semantics? Motivation: What should calculi of explicit substitutions contain? What term constructs should we require What equations should we require how to discover this for different logics? Methodology: Extend the Curry Howard correspondence Category theory as syntax debugging Internal language gives term constructs equational theory Key Ideas: ES model should contain a model of the underlying λ-calculus Contexts z :A×B and x :A, y :B are isomorphic 18 / 42
  • 20. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Models of Explicit Substitutions — Indexed Categories Contexts: Modelled by a cartesian category Objects are contexts, morphisms are substitutions Cartesian structure is given by parallel composition Terms: For every context Γ, define the category D(Γ) Objects are variable-type pairs x : A Morphisms (x : A) −→ (y : B) are judgements Γ, x : A ` t : B Re-indexing: Γ ` f :∆ induces a functor D(f ):D(∆) → D(Γ) Summary: An indexed category is a functor D : Cop → Cat 19 / 42
  • 21. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions What’s Wrong with Indexed Categories? Plus Points: Indexed categories induce λσ-equations hi; h = h Identity of C h; hi = h Identity of C hi ∗ t = t Functoriality of D (f ; g); h = f ; (g; h) Assoc of C-comp (f ; g) ∗ t = f ∗ (g ∗ t) Functoriality of D Lemma: Soundness and completeness Problem 1: Indexed Categories are inherently non linear Identities in the fibres require judgements Γ, x : A ` x : A Problem 2: No syntax for forming substitutions from terms 20 / 42
  • 22. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Context-Handling Categories Solution 1: Remove identities by changing codomain to Set Solution 2: Add two new natural transformations Defn: Let B be a SMC (CCC) with T ⊆ |B|. A linear (cartesian) context handling category is a functor L: Bop → SetsT and for each type, natural isomorphisms SubA : L(−)A ⇒ B(−, A) TermA : B(−, A) ⇒ L(−)A Yoneda lemma: There exists VarA ∈ L(A)A with TermA(f ) = f ∗ VarA Equations: We get the following equations h(f ∗ t)/xi = f ; ht/xi Naturality of Sub ht/xi ∗ x = t One half of the iso h(f ∗ x)/xi = f Other half of the iso 21 / 42
  • 23. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Adding Type Structure — E-Categories Context handling categories model the behaviour of explicit substitutions, eg their formation and application to terms Types: Since terms are defined on the fibres, modelling type constructors requires extra structure on the fibres. Examples: Given types A, B ∈ T , there are types A → B, A × B ∈ T . In addition there are isomorphisms, natural in Γ E((Γ, A))B E(Γ)A→B E(Γ)A × E(Γ)B E(ΓA×B) Naturality: Equations distribute explicit subs over terms f ∗ λx.t = λx.f ∗ t f ∗ (tu) = (f ∗ t)(f ∗ u) Model Collapse: Contexts z :A×B and x :A, y :B are isomorphic 22 / 42
  • 24. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Adding Linear Type Structure — L-Categories Functions: Given types A, B ∈ T , there is a type A −◦ B ∈ T and isomorphisms, natural in Γ E((Γ, A))B E(Γ)A −◦ B Tensor: But the following doesn’t give an iso z :A⊗B ∼ = x :A, y :B E((Γ, A, B))C E(Γ, A ⊗ B)C Solution: Demand x :A, y :B ` h(x ⊗y)/zi :A⊗B has inverse. Γ, x : A, y : B ` f : ∆ Γ, z : A ⊗ B ` let z be x ⊗ y in f : ∆ Key Idea: Category theory guiding the design of the calculus 23 / 42
  • 25. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Modelling the !-type Constructor Key Idea: !-arises as the comonad of a monoidal adjunction between CCCs and SMCCs Recall: Models of explicit substitutions E categories model calculi with →, ×, 1 types L categories model calculi with −◦ , ⊗, I types Defn: A !L-category is a monoidal adjunction where C is an E category, B is an L-category and F, G preserve types. Crucially: Requires an isomorphism x : A| ∼ = |z :!A Γ, x : A|∆ ` f : ∆ Γ|∆, z :!A ` let z be !x in f : ∆ 24 / 42
  • 26. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Categorical Theorems Have three theorems for E-categories (CCCs), three theorems for L-categories (SMCCs), two for putting the E- and L-categories together into a !L-category. (right defn) Every E-category contains an underlying CCC and every CCC extends to an E-category, in an iso way; (soundness) We can model the λσ calculus in an E-category; (completeness) If for every E-category, the interpretation of two morphisms f , f 0 is the same, then the equality of the morphisms is proved by the λσ theory. Similarly for L-categories. For !L-categories, we use Barber’s DILL calculus with explicit substitutions xDILL, described in Linear Explicit Substitutions 25 / 42
  • 27. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions First Conclusions Indexed categories are inherently non-linear but we can use presheaves Explicit substitutions are tricky to model (extensionally they are equivalent to their underlying λ-calculus) Our models reflect this by “taking isomorphisms seriously” We get an extension of Curry-Howard correspondence justifying our calculus Have a working indexed-cat model for linear, cartesian, both as well as the original for the Calculus of Constructions Explicit substitutions are not simply a hack: find maths of clever implementation 26 / 42
  • 28. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions ILT: no modality for better behaviour Better type theory for better implementations Which type theory? why better? Categorical Models for Linear and Intuitionistic Type Theory (Maietti, Ritter, de Paiva, FOSSACS, LNCS Springer, vol 1784, 2000) 27 / 42
  • 29. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Linear Type Theories with Categorical Models Linear λ-calculus (Benton, Bierman, de Paiva, Hyland, 1992) https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR- 262.html DILL system (Plotkin and Barber, 1996) http://www.lfcs.inf.ed.ac.uk/reports/96/ECS-LFCS-96-347/ LNL system (Benton, 1995) https://www.researchgate. net/publication/221558077_A_Mixed_Linear_and_ Non-Linear_Logic_Proofs_Terms_and_Models 28 / 42
  • 30. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Their Categorical Models Linear λ-calculus (ILL) A linear category is a symmetric monoidal closed (smc) category equipped with a linear monoidal comonad, such that the co-Kleisli category of the comonad is a Cartesian closed Category (CCC). (loads of conditions) DILL system A DILL-category is a pair, a symmetric monoidal closed category and a cartesian category, related by a (symmetric) monoidal adjunction. LNL system An LNL-model is a (symmetric) monoidal adjunction between a smcc and a ccc. 29 / 42
  • 31. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Linear Curry-Howard Isos “Relating Categorical Semantics for Intuitionistic Linear Logic”(with P. Maneggia, M. Maietti and E. Ritter), Applied Categorical Structures, vol 13(1):1–36, 2005. Take home: Categorical models need to be more than sound and complete. Need to provide internal languages for the theories they model. 30 / 42
  • 32. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Why a new calculus? (ILT, Fossacs 2000) Choosing between the three type theories: DILL is best, less verbose than ILL, but closer to what we want to do than LNL. Easy formulation of the promotion rule Contains the usual lambda-calculus as a subsystem however, most FPers would prefer to use a variant of DILL where instead of !, one has two function spaces, → and −◦ But then what’s the categorical model? 31 / 42
  • 33. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Intuitionistic and Linear Type Theory (ILT, Calculus) If we have two function spaces, but no modality !, how can we model it? All the models discussed before have a notion of !, a comonad created by the adjunction. Well, we need to use deeper mathematics, i.e. fibrations or indexed categories. 32 / 42
  • 34. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Calculus ILT Γ | a : A ` a : A Γ, x : A | ` x : A Γ | ∆, a : A ` M : B Γ | ∆ ` λaA .M : A −◦ B Γ, x : A | ∆ ` M : B Γ | ∆ ` λxA .M : A → B Γ | ∆1 ` M : A −◦ B Γ | ∆2 ` N : A Γ | ∆ ` M l N : B Γ | ∆ ` M : A → B Γ | ` N : A Γ | ∆ ` M i N : B 33 / 42
  • 35. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions ILT Models Idea goes back to Lawvere’s hyperdoctrines satisfying comprehension Model of ILT should modify this setting to capture the separation between intuitionistic and linear variables. A base category B, which models the intuitionistic contexts of ILT, objects in B model contexts (Γ| ). Each fibre over an object in B modelling a context models terms Γ|∆ ` M : A for any context ∆ The fibres are now symmetric monoidal closed categories with tensor products and model the linear constructions of ILT 34 / 42
  • 36. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions ILT Models and internal language theorems Just as in the previous ‘example’ can prove soundness, completeness and internal language theorems. (or so they say) Missing an understanding of what is essential, what can be changed, and limitations of the methods. 35 / 42
  • 37. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Conclusions Explicit substitutions discussions stuck on issues: equations-in-context vs. raw reductions de Bruijn indices vs. variable names untyped vs. typed calculi calculus for abstract machines or for proof assistants, etc.. our explicit substitution calculus has been driven by the correspondence with the (well-established) cat semantics Ritter showed that every reduction used in abstract machines terminates, thus SN is not necessary for their design. ⇒ not worried about SN or metavariables still: what can we say about ES calculi we skipped? what more do we need to say? which other logics can we do? 36 / 42
  • 38. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Thanks! 37 / 42
  • 39. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Curry-Howard Enablers 38 / 42
  • 40. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Intuitionistic Type Theory 39 / 42
  • 41. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions Linear Type Theory 40 / 42
  • 42. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions 41 / 42
  • 43. Motivation Abstract Machines Explicit Substitutions Categorical Semantics ILT: better type theory Conclusions 42 / 42