A Type-Theoretic Alternative to LISP
|
|
- Cory Jones
- 5 years ago
- Views:
Transcription
1 A Type-Theoretic Alternative to LISP Alex Kavvos Department of Computer Science, University of Oxford 11th Panhellenic Logic Symposium, 15 July 2017 Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
2 The Semantics of Intensionality I have been trying to understand the logical and computational phenomenon of intensionality. Intensionality occurs when mathematical objects can be seen in two ways: extensionally, i.e. abstractly, up to extensional equality intensionally, through their descriptions, or syntax Extremely common in logic and computer science (but occurs elsewhere too). Some tools: proof theory Curry-Howard correspondence modal logic + modal λ-calculus category theory some aspects of computability + realizability Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
3 The Semantics of Intensionality I have been trying to understand the logical and computational phenomenon of intensionality. Intensionality occurs when mathematical objects can be seen in two ways: extensionally, i.e. abstractly, up to extensional equality intensionally, through their descriptions, or syntax Extremely common in logic and computer science (but occurs elsewhere too). Some tools: proof theory Curry-Howard correspondence modal logic + modal λ-calculus category theory some aspects of computability + realizability Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
4 The Curry-Howard Correspondence formulae = types proofs (of natural deduction) = programs reduction/simplification = computation.. Γ A Γ B Γ A B. Γ A B Γ A = =.. Γ M : A Γ N : B Γ M, N : A B. Γ P : A B Γ π 1 (P) : A Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
5 The Curry-Howard Correspondence D. Γ A Γ B Γ A B Γ A D Γ A We write this as a reduction of proof terms: π 1 ( M, N ) M Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
6 Intensionality Intensionality is difficult: the waters are treacherous. Famous theorems of Gödel, Tarski and Rice: interplay between intension (= Gödel number, index of computable function) and extension (= formula, computable function). In general, one cannot go from extension to intension: cannot get an index for a computable function from the function itself (within the computer); we cannot obtain the Gödel number of a logical formula (within the logic); and so on... An example from untyped λ-calculus [Barendregt, 1991]: Suppose Q Λ such that Q M = β M. Then M = β Q M = β Q (I M) = β I M which makes two distinct nf s equal. But the λ-calculus is confluent, hence consistent. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
7 But... Once something is already quoted (= intension) everything is OK. E.g. there are gnum, app Λ such that gnum M = β M and app M N = β M N Also, Kleene proved: E Λ 0. M Λ 0. E M = β M So intensional operations are admissible can go from intension ( M ) to extension (M) but not the other way. Idea Use types to stop the flow of information! Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
8 To understand intensionality, use types! Strangely, intensionality follows a typing discipline. If M : A, then let M : A. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
9 To understand intensionality, use types! Strangely, intensionality follows a typing discipline. If M : A, then let M : A. For gnum M = β M, we need gnum : A A For app M N = β M N, we need For E M = β M, we need app : (A B) A B E : A A This is the modal logic S4! First noticed by Neil Jones (1980s); used by Davies and Pfenning for homogeneous metaprogramming (mid-1990s). Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
10 Intensional Recursion A strange phenomenon that is not well-understood. Theorem (First Recursion Theorem) f Λ. u Λ. u = f u Theorem (Second Recursion Theorem) f Λ. u Λ. u = f u In the second, u has access to its own code. The second implies the first (use the interpreter). Question What is the programming power of this strong type of recursion? LISP is untyped, unstructured, unhelpful for understanding this. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
11 And the type of intensional recursion is...? Let u : A. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
12 And the type of intensional recursion is...? Let u : A. Then certainly u : A. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
13 And the type of intensional recursion is...? Let u : A. Then certainly u : A. Then u = f u = f : A A Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
14 And the type of intensional recursion is...? Let u : A. Then certainly u : A. Then u = f u = f : A A Hence the logical meaning of the SRT: Logical interpretation of the Second Recursion Theorem From f : A A, we obtain u : A such that u = f u Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
15 And the type of intensional recursion is...? Let u : A. Then certainly u : A. Then u = f u = f : A A Hence the logical meaning of the SRT: Logical interpretation of the Second Recursion Theorem From f : A A, we obtain u : A such that u = f u It s Löb s rule from provability logic! A A A Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
16 Davies-Pfenning S4: a dual-context system Judgments: ; Γ M : A where { = modal/code variables Γ = intuitionistic/value variables Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
17 Davies-Pfenning S4: a dual-context system Judgments: ; Γ M : A where { = modal/code variables Γ = intuitionistic/value variables If one forgets about, the system is merely simply-typed λ-calculus. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
18 Davies-Pfenning S4: a dual-context system Judgments: ; Γ M : A where { = modal/code variables Γ = intuitionistic/value variables If one forgets about, the system is merely simply-typed λ-calculus. Using modal variables (internalises A A):, u:a, ; Γ u : A Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
19 Davies-Pfenning S4: a dual-context system Judgments: ; Γ M : A where { = modal/code variables Γ = intuitionistic/value variables If one forgets about, the system is merely simply-typed λ-calculus. Using modal variables (internalises A A):, u:a, ; Γ u : A is introduced if and only if all variables are modal: ; M : A ; Γ box M : A (Internalises 4 and K/normality.) Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
20 Davies-Pfenning S4: a dual-context system Judgments: ; Γ M : A where { = modal/code variables Γ = intuitionistic/value variables If one forgets about, the system is merely simply-typed λ-calculus. Using modal variables (internalises A A):, u:a, ; Γ u : A is introduced if and only if all variables are modal: (Internalises 4 and K/normality.) ; M : A ; Γ box M : A But where are the intensional operations? What about intensional recursion? Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
21 ipcf: Intensional functions & Intensional Recursion Let f : T (A) T (B) be any function from closed terms of type A to closed terms of type B. Include it as a constant f : A B such that ; Γ f (box M) = box f (M) : B Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
22 ipcf: Intensional functions & Intensional Recursion Let f : T (A) T (B) be any function from closed terms of type A to closed terms of type B. Include it as a constant f : A B such that ; Γ f (box M) = box f (M) : B And for intensional recursion, include Löb s rule: with ; z : A M : A ; Γ fix z in box M : A fix z in box M box M[fix z in box M/z] Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
23 ipcf: Intensional functions & Intensional Recursion Let f : T (A) T (B) be any function from closed terms of type A to closed terms of type B. Include it as a constant f : A B such that ; Γ f (box M) = box f (M) : B And for intensional recursion, include Löb s rule: with ; z : A M : A ; Γ fix z in box M : A fix z in box M box M[fix z in box M/z] ; M = N : A As long as the congruence rule is excluded, ; Γ box M = box N : A Theorem (K, IMLA 2017) The above system (Intensional PCF) is confluent, hence consistent. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
24 ipcf: Intensional functions & Intensional Recursion Let f : T (A) T (B) be any function from closed terms of type A to closed terms of type B. Include it as a constant f : A B such that ; Γ f (box M) = box f (M) : B And for intensional recursion, include Löb s rule: with ; z : A M : A ; Γ fix z in box M : A fix z in box M box M[fix z in box M/z] ; M = N : A As long as the congruence rule is excluded, ; Γ box M = box N : A Theorem (K, IMLA 2017) The above system (Intensional PCF) is confluent, hence consistent. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
25 Categorical semantics? We no longer have M = N : A implying box M = box N : A. C.f. PA φ(x) ψ(x) = φ(x) = ψ(x), but not conversely! Categorically, we need to stop f = g f = g. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
26 Categorical semantics? We no longer have M = N : A implying box M = box N : A. C.f. PA φ(x) ψ(x) = φ(x) = ψ(x), but not conversely! Categorically, we need to stop f = g f = g. Solution: is an exposure. 1 Replace categories with P-categories: axioms hold up to a partial equivalence relation (PER, = extensional equality). 2 Replace functors by exposures, Q : C C: functors (not quite!) that do not respect PERs, but reflect them instead. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
27 Categorical semantics? We no longer have M = N : A implying box M = box N : A. C.f. PA φ(x) ψ(x) = φ(x) = ψ(x), but not conversely! Categorically, we need to stop f = g f = g. Solution: is an exposure. 1 Replace categories with P-categories: axioms hold up to a partial equivalence relation (PER, = extensional equality). 2 Replace functors by exposures, Q : C C: functors (not quite!) that do not respect PERs, but reflect them instead. Theorem (K, FoSSaCS 2017) There are three natural examples of exposures, coming from (a) Peano arithmetic (Gödel numberings); (b) realizability theory (indices for computable functions); (c) homological algebra/group theory. Moreover, there are simple yet abstract categorical versions of the theorems of Gödel, Tarski, Rice, and Kleene (SRT). Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
28 Ideas for possible applications Foundation for typed intensional programming. Essentially a typed LISP with full intensional recursion. Non-functional operations are now possible, in an orderly way. Of course, we have included too many intensional functions. The question of which of those are computable, and which are the right primitives, are both still open. Resulting language can be used to write, amongst other strange programs, a computer virus (!). Relationship with metaprogramming still unclear, but certainly very interesting. Possible application: recursion in type theory. Possible application: higher-order computability. Alex Kavvos (Dept. of CS, Oxford) A Type-Theoretic Alternative to LISP 11th PLS, 15/07/ / 13
On the Semantics of Intensionality and Intensional Recursion
On the Semantics of Intensionality and Intensional Recursion arxiv:1712.09302v1 [cs.lo] 26 Dec 2017 G. A. Kavvos St John s College University of Oxford A thesis submitted for the degree of Doctor of Philosophy
More informationPositive provability logic
Positive provability logic Lev Beklemishev Steklov Mathematical Institute Russian Academy of Sciences, Moscow November 12, 2013 Strictly positive modal formulas The language of modal logic extends that
More informationRecursion Theory. Joost J. Joosten
Recursion Theory Joost J. Joosten Institute for Logic Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam Room P 3.26, +31 20 5256095 jjoosten@phil.uu.nl www.phil.uu.nl/
More informationJustification logic for constructive modal logic
Justification logic for constructive modal logic Sonia Marin With Roman Kuznets and Lutz Straßburger Inria, LIX, École Polytechnique IMLA 17 July 17, 2017 The big picture The big picture Justification
More informationThe Calculus of Inductive Constructions
The Calculus of Inductive Constructions Hugo Herbelin 10th Oregon Programming Languages Summer School Eugene, Oregon, June 16-July 1, 2011 1 Outline - A bit of history, leading to the Calculus of Inductive
More informationKleene realizability and negative translations
Q E I U G I C Kleene realizability and negative translations Alexandre Miquel O P. D E. L Ō A U D E L A R April 21th, IMERL Plan 1 Kleene realizability 2 Gödel-Gentzen negative translation 3 Lafont-Reus-Streicher
More informationLecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem
Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem Valentine Kabanets October 27, 2016 1 Gödel s Second Incompleteness Theorem 1.1 Consistency We say that a proof system P is consistent
More informationMAGIC Set theory. lecture 2
MAGIC Set theory lecture 2 David Asperó University of East Anglia 22 October 2014 Recall from last time: Syntactical vs. semantical logical consequence Given a set T of formulas and a formula ', we write
More informationFrom Gödel to Lambek: Studies in the Foundations of Mathematics
From Gödel to Lambek: Studies in the Foundations of Mathematics Philip Scott University of Ottawa (Lambekfest, September 21, 2013 CRM, U. de Montréal ) Lambekfest 2013 Lambek has spent considerable time
More informationOn a computational interpretation of sequent calculus for modal logic S4
On a computational interpretation of sequent calculus for modal logic S4 Yosuke Fukuda Graduate School of Informatics, Kyoto University Second Workshop on Mathematical Logic and Its Applications March
More informationBasic Algebraic Logic
ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings
More informationPart III Logic. Theorems. Based on lectures by T. E. Forster Notes taken by Dexter Chua. Lent 2017
Part III Logic Theorems Based on lectures by T. E. Forster Notes taken by Dexter Chua Lent 2017 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures.
More informationAn Introduction to Gödel s Theorems
An Introduction to Gödel s Theorems In 1931, the young Kurt Gödel published his First Incompleteness Theorem, which tells us that, for any sufficiently rich theory of arithmetic, there are some arithmetical
More informationDual-context Calculi for Modal Logic (Technical Report)
Dual-context Calculi for Modal Logic (Technical Report) G. A. Kavvos St John s College University of Oxford Contents 1 Prelude 5 2 The Logics in Question 8 2.1 Constructive modal logics........................
More informationCalculi for Intuitionistic Normal Modal Logic
Calculi for Intuitionistic Normal Modal Logic Yoshihiko Kakutani Department of Information Science, University of Tokyo kakutani@is.s.u-tokyo.ac.jp Abstract This paper provides a call-by-name and a call-by-value
More informationFrom pre-models to models
From pre-models to models normalization by Heyting algebras Olivier HERMANT 18 Mars 2008 Deduction System : natural deduction (NJ) first-order logic: function and predicate symbols, logical connectors:,,,,
More informationA categorical structure of realizers for the Minimalist Foundation
A categorical structure of realizers for the Minimalist Foundation S.Maschio (joint work with M.E.Maietti) Department of Mathematics University of Padua TACL 2015 Ischia The Minimalist Foundation Many
More informationJustification logic - a short introduction
Institute of Computer Science and Applied Mathematics University of Bern Bern, Switzerland January 2013 Modal Logic A Modal Logic A A B and Modal Logic A A B B and thus Modal Logic A A B B and thus A (A
More informationThe Representability of Partial Recursive Functions in Arithmetical Theories and Categories
The Representability of Partial in Arithmetical Theories and Categories Department of Mathematics and Statistics University of Ottawa Foundational Methods in Computer Science May 30 June 2, 2018 First-order
More informationOrdinal Strength of Logic-Enriched Type Theories
Ordinal Strength of Logic-Enriched Type Theories Robin Adams Royal Holloway, University of London 27 March 2012 Robin Adams (RHUL) Ordinal Strength of LTTs 27 March 2012 1 / 27 Introduction Type theories
More informationNIP Summer School 2011 Truth and Paradox Lecture #1
NIP Summer School 2011 Truth and Paradox Lecture #1 Colin Caret & Aaron Cotnoir 1 Tarskianism 2 Basic Paracomplete Theories 3 Basic Paraconsistent Theories Definition 1.1 (Formal Languages) A formal language
More informationCS156: The Calculus of Computation
Page 1 of 31 CS156: The Calculus of Computation Zohar Manna Winter 2010 Chapter 3: First-Order Theories Page 2 of 31 First-Order Theories I First-order theory T consists of Signature Σ T - set of constant,
More informationThe Curry-Howard Isomorphism
The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09
More informationSemantical study of intuitionistic modal logics
Semantical study of intuitionistic modal logics Department of Intelligence Science and Technology Graduate School of Informatics Kyoto University Kensuke KOJIMA January 16, 2012 Abstract We investigate
More informationRemnants from the Bookshelf
Remnants from the Bookshelf cropped up again in jww Silvia Steila Gerhard Jäger Institute of Computer Science University of Bern ABM December 2017 G. Jäger (INF, Bern University) Remnants December 2017
More informationOrigin in Mathematical Logic
Lambda Calculus Origin in Mathematical Logic Foundation of mathematics was very much an issue in the early decades of 20th century. Cantor, Frege, Russel s Paradox, Principia Mathematica, NBG/ZF Origin
More informationBootstrapping Mathematics
Bootstrapping Mathematics Masahiko Sato Graduate School of Informatics, Kyoto University Mathematical Logic: Development and Evolution into Various Sciences Kanazawa, Japan March 9, 2012 Contents What
More informationCogito ergo sum non machina!
Cogito ergo sum non machina! About Gödel s First Incompleteness Theorem and Turing machines. Ricardo Pereira Tassinari 1 Philosophy Department of State University of São Paulo - UNESP - Campus Marília
More informationExtraction from classical proofs using game models
1/16 Extraction from classical proofs using game models Valentin Blot University of Bath research funded by the UK EPSRC 2/16 The computational content of classical logic Griffin, 1990: Computational content
More informationTYPED REALIZABILITY FOR FIRST-ORDER CLASSICAL ANALYSIS
Logical Methods in Computer Science Vol. 11(4:22)2015, pp. 1 43 www.lmcs-online.org Submitted Apr. 15, 2015 Published Dec. 31, 2015 TYPED REALIZABILITY FOR FIRST-ORDER CLASSICAL ANALYSIS VALENTIN BLOT
More informationTRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere
TRUTH TELLERS Volker Halbach Scandinavian Logic Symposium Tampere 25th August 2014 I m wrote two papers with Albert Visser on this and related topics: Self-Reference in Arithmetic, http://www.phil.uu.nl/preprints/lgps/number/316
More informationTyped Arithmetic Expressions
Typed Arithmetic Expressions CS 550 Programming Languages Jeremy Johnson TAPL Chapters 3 and 5 1 Types and Safety Evaluation rules provide operational semantics for programming languages. The rules provide
More informationCOMP6463: λ-calculus
COMP6463: λ-calculus 1. Basics Michael Norrish Michael.Norrish@nicta.com.au Canberra Research Lab., NICTA Semester 2, 2015 Outline Introduction Lambda Calculus Terms Alpha Equivalence Substitution Dynamics
More informationA Brief Introduction to Justification Logic , Peking University
A Brief Introduction to Justification Logic 2015.12.08, Peking University Junhua Yu Department of Philosophy, Tsinghua University, Beijing 100084 China December 10, 2015 1 Outline History - from constructive
More informationA NOTE ON ARITHMETIC IN FINITE TYPES. 1. Introduction
A NOTE ON ARITHMETIC IN FINITE TYPES BENNO VAN DEN BERG 1 Abstract. We show that one can a notion of equality at higher types inside the system called HA ω on page 46 of [8] for which all congruence laws
More informationCategories, Proofs and Programs
Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories
More informationA simplified proof of arithmetical completeness theorem for provability logic GLP
A simplified proof of arithmetical completeness theorem for provability logic GLP L. Beklemishev Steklov Mathematical Institute Gubkina str. 8, 119991 Moscow, Russia e-mail: bekl@mi.ras.ru March 11, 2011
More informationInterpreting classical theories in constructive ones
Interpreting classical theories in constructive ones Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad+@cmu.edu http://macduff.andrew.cmu.edu 1 A brief history of proof theory Before
More informationFIXED POINTS AND EXTENSIONALITY IN TYPED FUNCTIONAL PROGRAMMING LANGUAGES
FIXED POINTS AND EXTENSIONALITY IN TYPED FUNCTIONAL PROGRAMMING LANGUAGES a dissertation submitted to the department of computer science and the committee on graduate studies of stanford university in
More information185.A09 Advanced Mathematical Logic
185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted
More informationDecision Theory and the Logic of Provability
Machine Intelligence Research Institute 18 May 2015 1 Motivation and Framework Motivating Question Decision Theory for Algorithms Formalizing Our Questions 2 Circles of Mutual Cooperation FairBot and Löbian
More informationUniversity of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor
Categorical Semantics and Topos Theory Homotopy type theory Seminar University of Oxford, Michaelis 2011 November 16, 2011 References Johnstone, P.T.: Sketches of an Elephant. A Topos-Theory Compendium.
More informationAutomata Theory. Definition. Computational Complexity Theory. Computability Theory
Outline THEORY OF COMPUTATION CS363, SJTU What is Theory of Computation? History of Computation Branches and Development Xiaofeng Gao Dept. of Computer Science Shanghai Jiao Tong University 2 The Essential
More informationby Yurii Khomskii There is a weaker notion called semi-representability:
Gödel s Incompleteness Theorem by Yurii Khomskii We give three different proofs of Gödel s First Incompleteness Theorem. All three proofs are essentially variations of one another, but some people may
More informationTowards Modal Type Theory
Towards Modal Type Theory Frank Pfenning Constructivism in Non-Classical Logics and Computer Science In Memoriam Pierangelo Miglioli Mantova, Italy October 2, 2000 Disclaimer: Work in Progress! Acknowledgments:
More informationThe Lifting Lemma. Ralf Hinze
The Lifting Lemma Ralf Hinze Computing Laboratory, University of Oxford Wolfson Building, Parks Road, Oxford, OX1 3QD, England ralf.hinze@comlab.ox.ac.uk http://www.comlab.ox.ac.uk/ralf.hinze/ June 2009
More informationGeneric cuts in models of Peano arithmetic
Generic cuts in models of Peano arithmetic Tin Lok Wong University of Birmingham, United Kingdom Joint work with Richard Kaye (Birmingham) 5 August, 2009 Preliminary definitions L A is the first-order
More informationGödel s Incompleteness Theorems
Seminar Report Gödel s Incompleteness Theorems Ahmet Aspir Mark Nardi 28.02.2018 Supervisor: Dr. Georg Moser Abstract Gödel s incompleteness theorems are very fundamental for mathematics and computational
More informationIntroduction to dependent type theory. CIRM, May 30
CIRM, May 30 Goals of this presentation Some history and motivations Notations used in type theory Main goal: the statement of main properties of equality type and the univalence axiom First talk P ropositions
More informationCS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus
CS 4110 Programming Languages & Logics Lecture 16 Programming in the λ-calculus 30 September 2016 Review: Church Booleans 2 We can encode TRUE, FALSE, and IF, as: TRUE λx. λy. x FALSE λx. λy. y IF λb.
More informationIntensionality, Extensionality, and Proof Irrelevance in Modal Type Theory
Intensionality, Extensionality, and Proof Irrelevance in Modal Type Theory Frank Pfenning LICS 01 Boston, Massachusetts June 17, 2001 Acknowledgments: Alberto Momigliano,... 1 Outline 1. Introduction 2.
More informationConstructive Linear-Time Temporal Logic: Proof Systems and Kripke Semantics
Constructive Linear-Time Temporal Logic: Proof Systems and Kripke Semantics Kensuke Kojima, Atsushi Igarashi Graduate School of Informatics Kyoto University Kyoto, Japan Abstract In this paper we study
More information23.1 Gödel Numberings and Diagonalization
Applied Logic Lecture 23: Unsolvable Problems in Logic CS 4860 Spring 2009 Tuesday, April 14, 2009 The fact that Peano Arithmetic is expressive enough to represent all computable functions means that some
More informationPart II Logic and Set Theory
Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)
More informationTERMS FOR NATURAL DEDUCTION, SEQUENT CALCULUS AND CUT ELIMINATION IN CLASSICAL LOGIC
TERMS FOR NATURAL DEDUCTION, SEQUENT CALCULUS AND CUT ELIMINATION IN CLASSICAL LOGIC SILVIA GHILEZAN Faculty of Engineering, University of Novi Sad, Novi Sad, Serbia e-mail address: gsilvia@uns.ns.ac.yu
More informationPropositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST
Propositional Calculus - Natural deduction Moonzoo Kim CS Dept. KAIST moonzoo@cs.kaist.ac.kr 1 Review Goal of logic To check whether given a formula Á is valid To prove a given formula Á ` Á Syntactic
More informationReal-cohesion: from connectedness to continuity
Real-cohesion: from connectedness to continuity Michael Shulman University of San Diego March 26, 2017 My hat today I am a mathematician: not a computer scientist. I am a categorical logician: type theory
More information260 Index. Cut (cont.) rank, 193, 202 segment, 201 Cut-off subtraction, 211
References J. Barwise (ed.). Handbook of Mathematical Logic. North-Holland, Amsterdam, 1977 G. Boolos. The Logic of Provability. Cambridge University Press, Cambridge, 1993 E. Börger. Computability, Complexity,
More information03 Review of First-Order Logic
CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of
More informationTowards a Contemporary Ontology
Towards a Contemporary Ontology The New Dual Paradigm in Natural Sciences: Part I Module 2 Class 3: The issue of the foundations of mathematics Course WI-FI-BASTI1 2014/15 Introduction Class 3: The issue
More informationAn Intuitively Complete Analysis of Gödel s Incompleteness
An Intuitively Complete Analysis of Gödel s Incompleteness JASON W. STEINMETZ (Self-funded) A detailed and rigorous analysis of Gödel s proof of his first incompleteness theorem is presented. The purpose
More informationFirst-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig
First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic
More informationFoundations of Logic Programming
Foundations of Logic Programming Deductive Logic e.g. of use: Gypsy specifications and proofs About deductive logic (Gödel, 1931) Interesting systems (with a finite number of axioms) are necessarily either:
More informationNONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM
Notre Dame Journal of Formal Logic Volume 41, Number 1, 2000 NONSTANDARD MODELS AND KRIPKE S PROOF OF THE GÖDEL THEOREM HILARY PUTNAM Abstract This lecture, given at Beijing University in 1984, presents
More informationLecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson
Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem Michael Beeson The hypotheses needed to prove incompleteness The question immediate arises whether the incompleteness
More informationHandbook of Logic and Proof Techniques for Computer Science
Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives
More informationAdjoint Logic and Its Concurrent Semantics
Adjoint Logic and Its Concurrent Semantics Frank Pfenning ABCD Meeting, Edinburgh, December 18-19, 2017 Joint work with Klaas Pruiksma and William Chargin Outline Proofs as programs Linear sequent proofs
More informationIntroduction to Metalogic
Introduction to Metalogic Hans Halvorson September 21, 2016 Logical grammar Definition. A propositional signature Σ is a collection of items, which we call propositional constants. Sometimes these propositional
More informationCHAPTER 11. Introduction to Intuitionistic Logic
CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated
More informationClassical Combinatory Logic
Computational Logic and Applications, CLA 05 DMTCS proc. AF, 2006, 87 96 Classical Combinatory Logic Karim Nour 1 1 LAMA - Equipe de logique, Université de Savoie, F-73376 Le Bourget du Lac, France Combinatory
More informationOn the unusual effectiveness of proof theory in epistemology
WORKSHOP ON RECENT TRENDS IN PROOF THEORY, Bern, July 9-11, 2008 On the unusual effectiveness of proof theory in epistemology Sergei Artemov The City University of New York Bern, July 11, 2008 This is
More informationIntroduction to type theory and homotopy theory
Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 1 / 47 Homotopy theory Homotopy type theory types have a homotopy theory Intensional type theory New perspectives on extensional
More information1 / A bird s-eye view of type theory. 2 A bird s-eye view of homotopy theory. 3 Path spaces and identity types. 4 Homotopy type theory
Introduction to type theory and homotopy theory Michael Shulman January 24, 2012 Homotopy theory Homotopy type theory types have a homotopy theory New perspectives on extensional vs. intensional Intensional
More informationArithmetical classification of the set of all provably recursive functions
Arithmetical classification of the set of all provably recursive functions Vítězslav Švejdar April 12, 1999 The original publication is available at CMUC. Abstract The set of all indices of all functions
More informationLecture 1: Overview. January 24, 2018
Lecture 1: Overview January 24, 2018 We begin with a very quick review of first-order logic (we will give a more leisurely review in the next lecture). Recall that a linearly ordered set is a set X equipped
More informationReview of Propositional Calculus
CS 1813 Discrete Mathematics Review of Propositional Calculus 1 Truth Tables for Logical Operators P Q P Q P Q P Q P Q P Q P 2 Semantic Reasoning with Truth Tables Proposition (WFF): ((P Q) (( P) Q)) P
More informationProvably Total Functions of Arithmetic with Basic Terms
Provably Total Functions of Arithmetic with Basic Terms Evgeny Makarov INRIA Orsay, France emakarov@gmail.com A new characterization of provably recursive functions of first-order arithmetic is described.
More informationInformal Statement Calculus
FOUNDATIONS OF MATHEMATICS Branches of Logic 1. Theory of Computations (i.e. Recursion Theory). 2. Proof Theory. 3. Model Theory. 4. Set Theory. Informal Statement Calculus STATEMENTS AND CONNECTIVES Example
More informationPropositions as Types
Propositions as Types Martin Pfeifhofer & Felix Schett May 25, 2016 Contents 1 Introduction 2 2 Content 3 2.1 Getting Started............................ 3 2.2 Effective Computability And The Various Definitions.......
More informationAdjunction Based Categorical Logic Programming
.. Wesleyan University March 30, 2012 Outline.1 A Brief History of Logic Programming.2 Proof Search in Proof Theory.3 Adjunctions in Categorical Proof Theory.4 Connective Chirality and Search Strategy
More informationOrigin in Mathematical Logic
Lambda Calculus Origin in Mathematical Logic Foundation of mathematics was very much an issue in the early decades of 20th century. Cantor, Frege, Russel s Paradox, Principia Mathematica, NBG/ZF The Combinatory
More informationHarvard School of Engineering and Applied Sciences CS 152: Programming Languages
Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 17 Tuesday, April 2, 2013 1 There is a strong connection between types in programming languages and propositions
More informationCS522 - Programming Language Semantics
1 CS522 - Programming Language Semantics Simply Typed Lambda Calculus Grigore Roşu Department of Computer Science University of Illinois at Urbana-Champaign 2 We now discuss a non-trivial extension of
More informationLecture Notes on Combinatory Modal Logic
Lecture Notes on Combinatory Modal Logic 15-816: Modal Logic Frank Pfenning Lecture 9 February 16, 2010 1 Introduction The connection between proofs and program so far has been through a proof term assignment
More informationPeano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now
CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano
More informationOn some Metatheorems about FOL
On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice
More informationPrincipal-Centric Reasoning in Constructive Authorization Logic
Principal-Centric Reasoning in Constructive Authorization Logic Deepak Garg Revised February 09, 2009 CMU-CS-09-120 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 e-mail: dg@cs.cmu.edu
More informationAn introduction to classical realizability
Q E I U G I C An introduction to classical realizability Alexandre Miquel O P. D E. L Ō A U D E L A R January 27th, 2017 EJCIM 17 Lyon The Curry-Howard correspondence The dictionary: Proof theory Functional
More informationType Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge
Type Systems Lecture 9: Classical Logic Neel Krishnaswami University of Cambridge Where We Are We have seen the Curry Howard correspondence: Intuitionistic propositional logic Simply-typed lambda calculus
More informationModal Logic as a Basis for Distributed Computation
Modal Logic as a Basis for Distributed Computation Jonathan Moody 1 jwmoody@cs.cmu.edu October 2003 CMU-CS-03-194 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 1 This material
More informationTwo papers: a scattered tale. T. Litak, U. of Leicester (still, but not for much more) Tbilisi, July 2012
Two papers: a scattered tale T. Litak, U. of Leicester (still, but not for much more) Tbilisi, July 2012 ...or how I learned to stop worrying and (reluctantly began to) love topos theory Two papers
More informationBetween proof theory and model theory Three traditions in logic: Syntactic (formal deduction)
Overview Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction) Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://andrew.cmu.edu/
More informationArithmetic and Incompleteness. Will Gunther. Goals. Coding with Naturals. Logic and Incompleteness. Will Gunther. February 6, 2013
Logic February 6, 2013 Logic 1 2 3 Logic About Talk Logic Things talk Will approach from angle of computation. Will not assume very much knowledge. Will prove Gödel s Incompleteness Theorem. Will not talk
More informationTopology for functional programming
Topology for functional programming Martín Escardó University of Birmingham, England EWSCS, Palmse, Estonia, 26 Feb 2 Mar 2012 Computational fact Function types A B with A infinite don t have decidable
More informationAbstract Datatypes for Real Numbers in Type Theory
Abstract Datatypes for Real Numbers in Type Theory Martín Hötzel Escardó 1 and Alex Simpson 2 1 School of Computer Science, University of Birmingham 2 LFCS, School of Informatics, University of Edinburgh
More informationTeooriaseminar. TTÜ Küberneetika Instituut. May 10, Categorical Models. for Two Intuitionistic Modal Logics. Wolfgang Jeltsch.
TTÜ Küberneetika Instituut Teooriaseminar May 10, 2012 1 2 3 4 1 2 3 4 Modal logics used to deal with things like possibility, belief, and time in this talk only time two new operators and : ϕ now and
More informationAbout categorical semantics
About categorical semantics Dominique Duval LJK, University of Grenoble October 15., 2010 Capp Café, LIG, University of Grenoble Outline Introduction Logics Effects Conclusion The issue Semantics of programming
More informationCS156: The Calculus of Computation Zohar Manna Winter 2010
Page 3 of 31 Page 4 of 31 CS156: The Calculus of Computation Zohar Manna Winter 2010 First-Order Theories I First-order theory T consists of Signature ΣT - set of constant, function, and predicate symbols
More informationNon-Idempotent Typing Operators, beyond the λ-calculus
Non-Idempotent Typing Operators, beyond the λ-calculus Soutenance de thèse Pierre VIAL IRIF (Univ. Paris Diderot and CNRS) December 7, 2017 Non-idempotent typing operators P. Vial 0 1 /46 Certification
More informationFrom syntax to semantics of Dependent Type Theories - Formalized
RDP 2015, Jun. 30, 2015, WCMCS, Warsaw. From syntax to semantics of Dependent Type Theories - Formalized by Vladimir Voevodsky from the Institute for Advanced Study in Princeton, NJ. I will be speaking
More information