SlideShare a Scribd company logo
1 of 25
Download to read offline
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Categorical Proof Theory
for everyone
Valeria de Paiva
June, 2021
Valeria de Paiva Topos Internal 1 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
a recommendation...
Valeria de Paiva Topos Internal 2 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Greeks
2.500 years hegemony
mathematics growing by leaps and bounds
The only logic...
Valeria de Paiva Topos Internal 3 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Greeks
2.500 years hegemony
mathematics growing by leaps and bounds
The only logic...
Valeria de Paiva Topos Internal 3 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Greeks
2.500 years hegemony
mathematics growing by leaps and bounds
The only logic...
Valeria de Paiva Topos Internal 3 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Mathematics is full of surprises
Valeria de Paiva Topos Internal 4 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Proofs?
The bulk of mathematics today got crystallized in the last years of
the 19th century, first years of the 20th century.
The shock is still being felt. A Revolution in Mathematics? What
Really Happened a Century Ago and Why It Matters Today Frank
Quinn (Notices of the AMS, Jan 2012)
The relationship between Algebra, Proofs and Programs
Valeria de Paiva Topos Internal 5 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Algebra
[...] a fundamental shift occurred in mathematics from
about 1880 to 1940–the consideration of a wide variety of
mathematical ”structures,”defined axiomatically and stu-
died both individually and as the classes of structures sa-
tisfying those axioms. This approach is so common now
that it is almost superfluous to mention it explicitly, but
it represented a major conceptual shift in answering the
question: What is mathematics?
The axiomatization of Linear Algebra, Moore, Historia Mathematica, 1995.
Valeria de Paiva Topos Internal 6 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Edwardian Algebra
Bourbaki on Abstract Algebra
The axiomatization of algebra was begun by Dedekind and
Hilbert, and then vigorously pursued by Steinitz (1910). It
was then completed in the years following 1920 by Artin,
Noether and their colleagues at Göttingen (Hasse, Krull,
Schreier, van der Waerden). It was presented to the world
in complete form by van der Waerden’s book (1930).
Valeria de Paiva Topos Internal 7 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Edwardian Proofs
Frege: one of the founders of modern symbolic logic put forward
the view that mathematics is reducible to logic.
Begriffsschrift, 1879
Was the first to write proofs using a collection of abstract symbols:
instead of B → A and B hence A
Valeria de Paiva Topos Internal 8 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Why Proofs?
Mathematics in turmoil in the turn of the century because of
paradoxes e.g. Russell’s Paradox
Hilbert’s Program: Base all of mathematics in finitistic methods
Proving the consistency of Arithmetic: the big quest
Valeria de Paiva Topos Internal 9 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Edwardian Turmoil...
Hilbert’s program:provide secure foundations for all mathematics.
How? Formalization
all mathematical statements should be written in a precise formal
language, and manipulated according to well defined rules.
There is no ignorabimus in mathematics.. .
Sounds good, doesn’t it?
Valeria de Paiva Topos Internal 10 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Hilbert’s Program
Consistent: no contradiction can be obtained in the formalism of
mathematics.
Complete: all true mathematical statements can be proven in the
formalism. Consistency proof use only “finitistic”reasoning about finite mathematical objects.
Conservative: any result about “real objects”obtained using
reasoning about “ideal objects”(such as uncountable sets) can be
proved without ideal objects.
Decidable: an algorithm for deciding the truth or falsity of any
mathematical statement.
Valeria de Paiva Topos Internal 11 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Gödel’s Incompleteness Theorems (1931)
Hilbert’s program impossible, if interpreted in the most obvious
way. BUT:
The development of proof theory itself is an outgrowth of
Hilbert’s program. Gentzen’s development of natural de-
duction and the sequent calculus [too]. Gödel obtained his
incompleteness theorems while trying to prove the consis-
tency of analysis. The tradition of reductive proof theory
of the Gentzen-Schütte school is itself a direct continua-
tion of Hilbert’s program.
R. Zach, 2005
Valeria de Paiva Topos Internal 12 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
20th Century Proofs
To prove the consistency of Arithmetic Gentzen invented his
systems of
NATURAL DEDUCTION
(how mathematicians think)
SEQUENT CALCULUS
(how he could formalize the thinking to obtain the main result he
needed, his Hauptsatz. (1934))
Valeria de Paiva Topos Internal 13 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Church and lambda-calculus
Alonzo Church: the lambda calculus (1932)
Church realized that lambda terms could be used to express every
function that could ever be computed by a machine.
Instead of “the function f where f (x) = t”, he simply wrote λx.t.
The lambda calculus is an universal programming language.
The Curry-Howard correspondence: logicians and computer
scientists developed a cornucopia of new logics/program constructs
based on the correspondence between proofs and programs.
Valeria de Paiva Topos Internal 14 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof 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 Topos Internal 15 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Proofs are Programs!
Types are formulae/objects in appropriate category,
Terms/programs are proofs/morphisms in the category,
Logical constructors are appropriate categorical constructions.
Most important: Reduction is proof normalization (Tait)
Outcome: Transfer results/tools from logic to CT to CSci
Valeria de Paiva Topos Internal 16 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Valeria de Paiva Topos Internal 17 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Categorical Proof Theory
Model derivations/proofs, not whether theorems are true or not.
proof-relevant version
Proofs definitely first-class citizens
How? Uses extended Curry-Howard correspondence
Why is it good? Modeling derivations useful in linguistics,
functional programming, compilers..
Why is it important? Widespread use of logic/algebra in CS means
new important problems to solve with our favorite tools.
Why so little impact on logic itself?
Valeria de Paiva Topos Internal 18 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
How many Curry-Howard Correspondences?
Easier to count, if thinking about the logics:
Intuitionistic Propositional Logic, System F, Dependent Type
Theory (Martin-Löf), 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 Topos Internal 19 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Valeria de Paiva Topos Internal 20 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Valeria de Paiva Topos Internal 21 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Valeria de Paiva Topos Internal 22 / 23
Edwardian Proofs
Futuristic Programs
Categorical Proof Theory
Valeria de Paiva Topos Internal 23 / 23

More Related Content

Similar to Categorical Proof Theory for Everyone

Edwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsEdwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsValeria de Paiva
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica CategoriesValeria de Paiva
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)Valeria de Paiva
 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsValeria de Paiva
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories RevisitedValeria de Paiva
 
Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumValeria de Paiva
 
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
 
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
 
Proof of impossibility
Proof of impossibilityProof of impossibility
Proof of impossibilityMoloy De
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesValeria de Paiva
 
Arithmetization of Analysis
Arithmetization of AnalysisArithmetization of Analysis
Arithmetization of Analysissheisirenebkm
 
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Valeria de Paiva
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical ConstructionsValeria de Paiva
 
A brief history of mathematics
A brief history of mathematicsA brief history of mathematics
A brief history of mathematicsAlicia Jane
 
Earlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfEarlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfbrijmote
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsValeria de Paiva
 
Who's afraid of Categorical models?
Who's afraid of Categorical models?Who's afraid of Categorical models?
Who's afraid of Categorical models?Valeria de Paiva
 
Hilbert’s 23 problems
Hilbert’s 23 problemsHilbert’s 23 problems
Hilbert’s 23 problemsas2013math350
 

Similar to Categorical Proof Theory for Everyone (20)

Edwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic ProgramsEdwardian Proofs as Futuristic Programs
Edwardian Proofs as Futuristic Programs
 
Relevant Dialectica Categories
Relevant Dialectica CategoriesRelevant Dialectica Categories
Relevant Dialectica Categories
 
Dialectica Categories and Cardinalities of the Continuum (March2014)
Dialectica Categories and  Cardinalities of the Continuum (March2014)Dialectica Categories and  Cardinalities of the Continuum (March2014)
Dialectica Categories and Cardinalities of the Continuum (March2014)
 
Dialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariantsDialectica Categories Surprising Application: mapping cardinal invariants
Dialectica Categories Surprising Application: mapping cardinal invariants
 
Dialectica Categories Revisited
Dialectica Categories RevisitedDialectica Categories Revisited
Dialectica Categories Revisited
 
Dialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the ContinuumDialectica Categories Surprising Application: Cardinalities of the Continuum
Dialectica Categories Surprising Application: Cardinalities of the Continuum
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Dialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek CalculusDialectica Categories for the Lambek Calculus
Dialectica Categories for the Lambek Calculus
 
Proof of impossibility
Proof of impossibilityProof of impossibility
Proof of impossibility
 
Fibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica CategoriesFibrational Versions of Dialectica Categories
Fibrational Versions of Dialectica Categories
 
Arithmetization of Analysis
Arithmetization of AnalysisArithmetization of Analysis
Arithmetization of Analysis
 
Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?Dialectica Categories... and Lax Topological Spaces?
Dialectica Categories... and Lax Topological Spaces?
 
Dialectica Categorical Constructions
Dialectica Categorical ConstructionsDialectica Categorical Constructions
Dialectica Categorical Constructions
 
A brief history of mathematics
A brief history of mathematicsA brief history of mathematics
A brief history of mathematics
 
Philosophy of Mathematics
Philosophy of MathematicsPhilosophy of Mathematics
Philosophy of Mathematics
 
Earlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdfEarlier a place value notation number system had evolved over a leng.pdf
Earlier a place value notation number system had evolved over a leng.pdf
 
Benchmarking Linear Logic Proofs
Benchmarking Linear Logic ProofsBenchmarking Linear Logic Proofs
Benchmarking Linear Logic Proofs
 
Who's afraid of Categorical models?
Who's afraid of Categorical models?Who's afraid of Categorical models?
Who's afraid of Categorical models?
 
Hilbert’s 23 problems
Hilbert’s 23 problemsHilbert’s 23 problems
Hilbert’s 23 problems
 
Descriptive Granularity - Building Foundations of Data Mining
Descriptive Granularity - Building Foundations of Data MiningDescriptive Granularity - Building Foundations of Data Mining
Descriptive Granularity - Building Foundations of Data Mining
 

More from Valeria de Paiva

Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021Valeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceValeria de Paiva
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its roleValeria de Paiva
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoValeria de Paiva
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesValeria de Paiva
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseValeria de Paiva
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical SystemValeria de Paiva
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear LogicsValeria de Paiva
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTValeria de Paiva
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit SubstitutionsValeria de Paiva
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogValeria de Paiva
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Valeria de Paiva
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsValeria de Paiva
 

More from Valeria de Paiva (20)

Dialectica Comonoids
Dialectica ComonoidsDialectica Comonoids
Dialectica Comonoids
 
Logic & Representation 2021
Logic & Representation 2021Logic & Representation 2021
Logic & Representation 2021
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
PLN para Tod@s
PLN para Tod@sPLN para Tod@s
PLN para Tod@s
 
Networked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better ScienceNetworked Mathematics: NLP tools for Better Science
Networked Mathematics: NLP tools for Better Science
 
Going Without: a modality and its role
Going Without: a modality and its roleGoing Without: a modality and its role
Going Without: a modality and its role
 
Problemas de Kolmogorov-Veloso
Problemas de Kolmogorov-VelosoProblemas de Kolmogorov-Veloso
Problemas de Kolmogorov-Veloso
 
Natural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and MachinesNatural Language Inference: for Humans and Machines
Natural Language Inference: for Humans and Machines
 
Dialectica Petri Nets
Dialectica Petri NetsDialectica Petri Nets
Dialectica Petri Nets
 
The importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in PortugueseThe importance of Being Erneast: Open datasets in Portuguese
The importance of Being Erneast: Open datasets in Portuguese
 
Negation in the Ecumenical System
Negation in the Ecumenical SystemNegation in the Ecumenical System
Negation in the Ecumenical System
 
Constructive Modal and Linear Logics
Constructive Modal and Linear LogicsConstructive Modal and Linear Logics
Constructive Modal and Linear Logics
 
Semantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACTSemantics and Reasoning for NLP, AI and ACT
Semantics and Reasoning for NLP, AI and ACT
 
NLCS 2013 opening slides
NLCS 2013 opening slidesNLCS 2013 opening slides
NLCS 2013 opening slides
 
Dialectica Comonads
Dialectica ComonadsDialectica Comonads
Dialectica Comonads
 
Categorical Explicit Substitutions
Categorical Explicit SubstitutionsCategorical Explicit Substitutions
Categorical Explicit Substitutions
 
Logic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for DialogLogic and Probabilistic Methods for Dialog
Logic and Probabilistic Methods for Dialog
 
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
Intuitive Semantics for Full Intuitionistic Linear Logic (2014)
 
Dialectica and Kolmogorov Problems
Dialectica and Kolmogorov ProblemsDialectica and Kolmogorov Problems
Dialectica and Kolmogorov Problems
 
Constructive Modalities
Constructive ModalitiesConstructive Modalities
Constructive Modalities
 

Recently uploaded

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(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
 
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
 
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
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
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
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(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...
 
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
 
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
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
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
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
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
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
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
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 

Categorical Proof Theory for Everyone

  • 1. Edwardian Proofs Futuristic Programs Categorical Proof Theory Categorical Proof Theory for everyone Valeria de Paiva June, 2021 Valeria de Paiva Topos Internal 1 / 23
  • 2. Edwardian Proofs Futuristic Programs Categorical Proof Theory a recommendation... Valeria de Paiva Topos Internal 2 / 23
  • 3. Edwardian Proofs Futuristic Programs Categorical Proof Theory Greeks 2.500 years hegemony mathematics growing by leaps and bounds The only logic... Valeria de Paiva Topos Internal 3 / 23
  • 4. Edwardian Proofs Futuristic Programs Categorical Proof Theory Greeks 2.500 years hegemony mathematics growing by leaps and bounds The only logic... Valeria de Paiva Topos Internal 3 / 23
  • 5. Edwardian Proofs Futuristic Programs Categorical Proof Theory Greeks 2.500 years hegemony mathematics growing by leaps and bounds The only logic... Valeria de Paiva Topos Internal 3 / 23
  • 6. Edwardian Proofs Futuristic Programs Categorical Proof Theory Mathematics is full of surprises Valeria de Paiva Topos Internal 4 / 23
  • 7. Edwardian Proofs Futuristic Programs Categorical Proof Theory Proofs? The bulk of mathematics today got crystallized in the last years of the 19th century, first years of the 20th century. The shock is still being felt. A Revolution in Mathematics? What Really Happened a Century Ago and Why It Matters Today Frank Quinn (Notices of the AMS, Jan 2012) The relationship between Algebra, Proofs and Programs Valeria de Paiva Topos Internal 5 / 23
  • 8. Edwardian Proofs Futuristic Programs Categorical Proof Theory Algebra [...] a fundamental shift occurred in mathematics from about 1880 to 1940–the consideration of a wide variety of mathematical ”structures,”defined axiomatically and stu- died both individually and as the classes of structures sa- tisfying those axioms. This approach is so common now that it is almost superfluous to mention it explicitly, but it represented a major conceptual shift in answering the question: What is mathematics? The axiomatization of Linear Algebra, Moore, Historia Mathematica, 1995. Valeria de Paiva Topos Internal 6 / 23
  • 9. Edwardian Proofs Futuristic Programs Categorical Proof Theory Edwardian Algebra Bourbaki on Abstract Algebra The axiomatization of algebra was begun by Dedekind and Hilbert, and then vigorously pursued by Steinitz (1910). It was then completed in the years following 1920 by Artin, Noether and their colleagues at Göttingen (Hasse, Krull, Schreier, van der Waerden). It was presented to the world in complete form by van der Waerden’s book (1930). Valeria de Paiva Topos Internal 7 / 23
  • 10. Edwardian Proofs Futuristic Programs Categorical Proof Theory Edwardian Proofs Frege: one of the founders of modern symbolic logic put forward the view that mathematics is reducible to logic. Begriffsschrift, 1879 Was the first to write proofs using a collection of abstract symbols: instead of B → A and B hence A Valeria de Paiva Topos Internal 8 / 23
  • 11. Edwardian Proofs Futuristic Programs Categorical Proof Theory Why Proofs? Mathematics in turmoil in the turn of the century because of paradoxes e.g. Russell’s Paradox Hilbert’s Program: Base all of mathematics in finitistic methods Proving the consistency of Arithmetic: the big quest Valeria de Paiva Topos Internal 9 / 23
  • 12. Edwardian Proofs Futuristic Programs Categorical Proof Theory Edwardian Turmoil... Hilbert’s program:provide secure foundations for all mathematics. How? Formalization all mathematical statements should be written in a precise formal language, and manipulated according to well defined rules. There is no ignorabimus in mathematics.. . Sounds good, doesn’t it? Valeria de Paiva Topos Internal 10 / 23
  • 13. Edwardian Proofs Futuristic Programs Categorical Proof Theory Hilbert’s Program Consistent: no contradiction can be obtained in the formalism of mathematics. Complete: all true mathematical statements can be proven in the formalism. Consistency proof use only “finitistic”reasoning about finite mathematical objects. Conservative: any result about “real objects”obtained using reasoning about “ideal objects”(such as uncountable sets) can be proved without ideal objects. Decidable: an algorithm for deciding the truth or falsity of any mathematical statement. Valeria de Paiva Topos Internal 11 / 23
  • 14. Edwardian Proofs Futuristic Programs Categorical Proof Theory Gödel’s Incompleteness Theorems (1931) Hilbert’s program impossible, if interpreted in the most obvious way. BUT: The development of proof theory itself is an outgrowth of Hilbert’s program. Gentzen’s development of natural de- duction and the sequent calculus [too]. Gödel obtained his incompleteness theorems while trying to prove the consis- tency of analysis. The tradition of reductive proof theory of the Gentzen-Schütte school is itself a direct continua- tion of Hilbert’s program. R. Zach, 2005 Valeria de Paiva Topos Internal 12 / 23
  • 15. Edwardian Proofs Futuristic Programs Categorical Proof Theory 20th Century Proofs To prove the consistency of Arithmetic Gentzen invented his systems of NATURAL DEDUCTION (how mathematicians think) SEQUENT CALCULUS (how he could formalize the thinking to obtain the main result he needed, his Hauptsatz. (1934)) Valeria de Paiva Topos Internal 13 / 23
  • 16. Edwardian Proofs Futuristic Programs Categorical Proof Theory Church and lambda-calculus Alonzo Church: the lambda calculus (1932) Church realized that lambda terms could be used to express every function that could ever be computed by a machine. Instead of “the function f where f (x) = t”, he simply wrote λx.t. The lambda calculus is an universal programming language. The Curry-Howard correspondence: logicians and computer scientists developed a cornucopia of new logics/program constructs based on the correspondence between proofs and programs. Valeria de Paiva Topos Internal 14 / 23
  • 17. Edwardian Proofs Futuristic Programs Categorical Proof 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 Topos Internal 15 / 23
  • 18. Edwardian Proofs Futuristic Programs Categorical Proof Theory Proofs are Programs! Types are formulae/objects in appropriate category, Terms/programs are proofs/morphisms in the category, Logical constructors are appropriate categorical constructions. Most important: Reduction is proof normalization (Tait) Outcome: Transfer results/tools from logic to CT to CSci Valeria de Paiva Topos Internal 16 / 23
  • 19. Edwardian Proofs Futuristic Programs Categorical Proof Theory Valeria de Paiva Topos Internal 17 / 23
  • 20. Edwardian Proofs Futuristic Programs Categorical Proof Theory Categorical Proof Theory Model derivations/proofs, not whether theorems are true or not. proof-relevant version Proofs definitely first-class citizens How? Uses extended Curry-Howard correspondence Why is it good? Modeling derivations useful in linguistics, functional programming, compilers.. Why is it important? Widespread use of logic/algebra in CS means new important problems to solve with our favorite tools. Why so little impact on logic itself? Valeria de Paiva Topos Internal 18 / 23
  • 21. Edwardian Proofs Futuristic Programs Categorical Proof Theory How many Curry-Howard Correspondences? Easier to count, if thinking about the logics: Intuitionistic Propositional Logic, System F, Dependent Type Theory (Martin-Löf), 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 Topos Internal 19 / 23
  • 22. Edwardian Proofs Futuristic Programs Categorical Proof Theory Valeria de Paiva Topos Internal 20 / 23
  • 23. Edwardian Proofs Futuristic Programs Categorical Proof Theory Valeria de Paiva Topos Internal 21 / 23
  • 24. Edwardian Proofs Futuristic Programs Categorical Proof Theory Valeria de Paiva Topos Internal 22 / 23
  • 25. Edwardian Proofs Futuristic Programs Categorical Proof Theory Valeria de Paiva Topos Internal 23 / 23