Talk at the Melbourne Logic Seminar
on Shawn Standefer invitation
Dialectica categories for the Lambek calculus
Valeria de Paiva
The Topos Institute, Berkeley, CA
Abstract:
Dialectica categorical models of the Lambek Calculus were first presented in the Amsterdam Colloquium a long time ago. Following Lambek's lead, we approached the Lambek Calculus from the perspective of Linear Logic and adapted the Dialectica categorical models for Linear Logic to Lambek's non-commutative calculus. The old work took for granted the syntax of the Lambek calculus and only discussed the exciting possibilities of new models for the modalities that Linear Logic introduced. Many years later we find that the work on dialectica models of the Lambek calculus is still interesting and that it might inform some of the most recent work on the relationship between Categorial Grammars and notions of Distributional Semantics.
Thus we revisited the old work, making sure that the syntax details that were sketchy on the first version got completed and verified, using automated tools such as Agda and Ott. Ultimately we are interested in the applicability of the original systems to their intended uses in the construction of semantics of Natural Language. But before we can discuss it, we need to make sure that the mathematical properties that make the Lambek calculus attractive are all properly modeled and this is the main aim of this paper.
We recall the Lambek calculus with its Curry-Howard isomorphic term assignment system. We extend it with a $\kappa$ modality, inspired by Yetter's work, which makes the calculus commutative. Then we add the of-course modality $!$, as Girard did, re-introducing weakening and contraction for all formulas and get back the full power of intuitionistic and classical logic. We also present algebraic semantics and categorical semantics, proved sound and complete for the whole system. Finally, we show the traditional properties of type systems, like subject reduction, the Church-Rosser theorem and normalization for the calculi of extended modalities, which we did not have before.
Benchmarking Linear Logic Proofs, Valeria de PaivaValeria de Paiva
Talk at the 1st Joint Meeting Brazil-France in Mathematics, https://impa.br/eventos-do-impa/eventos-2019/1st-joint-meeting-brazil-france-in-mathematics/
Talk at the Melbourne Logic Seminar
on Shawn Standefer invitation
Dialectica categories for the Lambek calculus
Valeria de Paiva
The Topos Institute, Berkeley, CA
Abstract:
Dialectica categorical models of the Lambek Calculus were first presented in the Amsterdam Colloquium a long time ago. Following Lambek's lead, we approached the Lambek Calculus from the perspective of Linear Logic and adapted the Dialectica categorical models for Linear Logic to Lambek's non-commutative calculus. The old work took for granted the syntax of the Lambek calculus and only discussed the exciting possibilities of new models for the modalities that Linear Logic introduced. Many years later we find that the work on dialectica models of the Lambek calculus is still interesting and that it might inform some of the most recent work on the relationship between Categorial Grammars and notions of Distributional Semantics.
Thus we revisited the old work, making sure that the syntax details that were sketchy on the first version got completed and verified, using automated tools such as Agda and Ott. Ultimately we are interested in the applicability of the original systems to their intended uses in the construction of semantics of Natural Language. But before we can discuss it, we need to make sure that the mathematical properties that make the Lambek calculus attractive are all properly modeled and this is the main aim of this paper.
We recall the Lambek calculus with its Curry-Howard isomorphic term assignment system. We extend it with a $\kappa$ modality, inspired by Yetter's work, which makes the calculus commutative. Then we add the of-course modality $!$, as Girard did, re-introducing weakening and contraction for all formulas and get back the full power of intuitionistic and classical logic. We also present algebraic semantics and categorical semantics, proved sound and complete for the whole system. Finally, we show the traditional properties of type systems, like subject reduction, the Church-Rosser theorem and normalization for the calculi of extended modalities, which we did not have before.
Benchmarking Linear Logic Proofs, Valeria de PaivaValeria de Paiva
Talk at the 1st Joint Meeting Brazil-France in Mathematics, https://impa.br/eventos-do-impa/eventos-2019/1st-joint-meeting-brazil-france-in-mathematics/
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Overview on Edible Vaccine: Pros & Cons with Mechanism
Going Without: a modality and its role
1. Introduction
Categorical Proof Theory
Linear Type Theory
Going Without: a modality and its role
Valeria de Paiva
BACAT
Santa Clara University
Feb, 2019
Valeria de Paiva BACAT 2019
2. Introduction
Categorical Proof Theory
Linear Type Theory
Thanks Vlad, for keeping BACAT going!
I have talked at BACAT many times.
Feb 2014, I talked about Linear Type Theory.
(https://logic-forall.blogspot.com/2014/07/bacat-yes.html)
Dec 2014, I talked about Constructive Modal Logic.
(https://logic-forall.blogspot.com/2014/12/k-for-kripke.html)
Both make an appearance today!
Valeria de Paiva BACAT 2019
4. Introduction
Categorical Proof Theory
Linear Type Theory
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 are the theorems?
A long time coming:
Schoenfinkel (1908), Curry and Feys(1958), Howard (1969,
published in 1980), etc.
Valeria de Paiva BACAT 2019
5. Introduction
Categorical Proof Theory
Linear Type Theory
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 BACAT 2019
6. Introduction
Categorical Proof Theory
Linear Type Theory
Categorical 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, etc
Valeria de Paiva BACAT 2019
8. Introduction
Categorical Proof Theory
Linear Type Theory
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 where you need
proofs themselves, in linguistics, functional programming,
compilers, etc.
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 maths, CS or logic?
Valeria de Paiva BACAT 2019
9. Introduction
Categorical Proof Theory
Linear Type Theory
How many Curry-Howard Correspondences?
Many!!!
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 BACAT 2019
11. Introduction
Categorical Proof Theory
Linear Type Theory
Linear Logic: a tool for semantics
A proof theoretic logic described by Girard in 1986.
Basic idea: assumptions cannot be discarded or duplicated.
They must be used exactly once – just like dollar bills (except
when they’re marked by a modality !)
Other approaches to accounting for logical resources before.
Relevance Logic!
Great win of Linear Logic:
Account for resources when you want to, otherwise fall back
to traditional logic via translation A → B iff !A −◦ B
Valeria de Paiva BACAT 2019
12. Introduction
Categorical Proof Theory
Linear Type Theory
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 BACAT 2019
13. Introduction
Categorical Proof Theory
Linear Type Theory
The challenges of modeling Linear Logic
Traditional 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) and
they relate via adjunction
A ∧ B → C ⇐⇒ A → Hom(B, C) = CB
These are real products, have projections (A × B → A)
and diagonals (A → A × A) corresponding to deletion and
duplication of resources.
Not linear!!!
Need to use tensor products and internal homs.
Hard to define the “make-everything-usual”operator ”!”.
Valeria de Paiva BACAT 2019
14. Introduction
Categorical Proof Theory
Linear Type Theory
Varieties of Linear Type Theory
Girard and Lafont Combinators (1988)
Abramsky (1993) and Mackie Lilac (JFP 1994)
Wadler’s There’s no substitute for linear logic (1991)
Benton et al Linear Lambda Calculus (1992)
Barber’s DILL (1996)
Benton LNL (Linear-Non-Linear Calculus 1995)
Mints (1998), Roversi and Della Rocca (1994), Lincoln and
Mitchell (1992), Negri, Pfenning (2001), Martini and Masini
(1995), etc.
Valeria de Paiva BACAT 2019
15. Introduction
Categorical Proof Theory
Linear Type Theory
Linear Type Theories with Categorical Models
Linear λ-calculus
https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-
262.html
DILL system
http://www.lfcs.inf.ed.ac.uk/reports/96/ECS-LFCS-96-347/
LNL system
https://www.researchgate.net/publication/22155807AMixedLinearan
LinearLogicProofsTermsandModels
Valeria de Paiva BACAT 2019
19. Introduction
Categorical Proof Theory
Linear Type Theory
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 monoidal
adjunction.
LNL system
An LNL-model is a monoidal adjunction between a smcc and
a ccc.
Valeria de Paiva BACAT 2019
22. Introduction
Categorical Proof Theory
Linear Type Theory
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. They need to provide internal languages for the theories
they model.
Valeria de Paiva BACAT 2019
23. Introduction
Categorical Proof Theory
Linear Type Theory
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?
Valeria de Paiva BACAT 2019
24. Introduction
Categorical Proof Theory
Linear Type Theory
Intuitionistic and Linear Type Theory
(ILT, Fossacs 2000)
If we have two function spaces, but no modality !, how can we
model it? All the models discussed before have a notion of !,
created by the adjunction.
Well, we need to use deeper mathematics, i.e. fibrations or
indexed categories.
Valeria de Paiva BACAT 2019
25. Introduction
Categorical Proof Theory
Linear Type Theory
Have calculus ILT
Categorical models for intuitionistic and linear type theory
(Maietti et al, 2000)
Γ | 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
Valeria de Paiva BACAT 2019
26. Introduction
Categorical Proof Theory
Linear Type Theory
Have ILT MODELS
(Maietti et al, 2000)
Idea goes back to Lawvere’s hyperdoctrines satisfying the
comprehension axiom.
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
finite products and model the linear constructions of ILT
Valeria de Paiva BACAT 2019
27. Introduction
Categorical Proof Theory
Linear Type Theory
Have ILT MODELS
and have full theorems
Missing an understanding of what is essential, what can be
changed, and limitations of the methods.
Valeria de Paiva BACAT 2019
28. Introduction
Categorical Proof Theory
Linear Type Theory
Speculation
Can we do the same for Modal Logic S4?
Can we do the same for Relevant Logic?
I hope so.
Meanwhile pictures do help to remember
what we did manage to see.
Valeria de Paiva BACAT 2019