Weyl’s predicative math in type theory Zhaohui Luo Dept of Computer Science Royal Holloway, Univ of London (Joint work with Robin Adams)

Slides:



Advertisements
Similar presentations
Brief Introduction to Logic. Outline Historical View Propositional Logic : Syntax Propositional Logic : Semantics Satisfiability Natural Deduction : Proofs.
Advertisements

Semantic of (Ongoing work with S. Hayashi, T. Coquand) Jouy-en-Josas, France, December 2004 Stefano Berardi, Semantic of Computation group C.S. Dept.,
Proofs and Programs Wei Hu 11/01/2007. Outline  Motivation  Theory  Lambda calculus  Curry-Howard Isomorphism  Dependent types  Practice  Coq Wei.
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
Formal Semantics of Programming Languages 虞慧群 Topic 5: Axiomatic Semantics.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Instructor: Hayk Melikya
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Everything You Need to Know (since the midterm). Diagnosis Abductive diagnosis: a minimal set of (positive and negative) assumptions that entails the.
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Logic and Set Theory.
Brief Introduction to Logic. Outline Historical View Propositional Logic : Syntax Propositional Logic : Semantics Satisfiability Natural Deduction : Proofs.
1 Indirect Argument: Contradiction and Contraposition.
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
Schemas as Toposes Steven Vickers Department of Pure Mathematics Open University Z schemas – specification1st order theories – logic geometric theories.
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
Discrete Structures Chapter 5: Sequences, Mathematical Induction, and Recursion 5.2 Mathematical Induction I [Mathematical induction is] the standard proof.
First Order Logic. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about first order.
Chapter 1: The Foundations: Logic and Proofs
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
LTT: a type-theoretic framework for foundational pluralism Zhaohui Luo Dept of Computer Science Royal Holloway, Univ of London.
Formal Reasoning with Different Logical Foundations Zhaohui Luo Dept of Computer Science Royal Holloway, Univ of London.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: More Proofs.
CSE 311 Foundations of Computing I Lecture 16 Recursively Defined Sets and Structural Induction Spring
1 Inference Rules and Proofs (Z); Program Specification and Verification Inference Rules and Proofs (Z); Program Specification and Verification.
Math Review Data Structures & File Management Computer Science Dept Va Tech July 2000 ©2000 McQuain WD 1 Summation Formulas Let N > 0, let A, B, and C.
Korea Advanced Institute of Science and Technology, Dept. of EECS, Div. of CS, Information Systems Lab. 1/10 CS204 Course Overview Prof.
Logic. Mathematical logic is a subfield of mathematics exploring the applications of formal logic to mathematics. Topically, mathematical logic bears.
Continuations, Backtracking and Limits: a notion of ‘‘Construction’’ for Classical Logic (Ongoing work) Kyoto, November 2004 Stefano Berardi, Semantic.
Great Theoretical Ideas in Computer Science about AWESOME Some Generating Functions Probability Infinity MATH Some Formal Logic (which is really.
Computer Science School of Computing Clemson University Discrete Math and Reasoning about Software Correctness Joseph E. Hollingsworth
Chapter 1: The Foundations: Logic and Proofs 1.1 Propositional Logic 1.2 Propositional Equivalences 1.3 Predicates and Quantifiers 1.4 Nested Quantifiers.
Logic in Computer Science - Overview Sep 1, 2009 박성우.
Induction Proof. Well-ordering A set S is well ordered if every subset has a least element. [0, 1] is not well ordered since (0,1] has no least element.
January 30, 2002Applied Discrete Mathematics Week 1: Logic and Sets 1 Let’s Talk About Logic Logic is a system based on propositions.Logic is a system.
Coq and Nuprl Wojciech Moczydłowski History World, type system Inductive types in Coq Extraction in Coq Other features of Coq.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
Module #15 – Inductive Proofs 12/6/2015(c) , Michael P. Frank1 Inductive Proofs: a brief introduction Rosen 5 th ed., §3.3 ~35 slides, ~1.5 lecture.
Methods of Proof Dr. Yasir Ali. Proof A (logical) proof of a statement is a finite sequence of statements (called the steps of the proof) leading from.
CSE 311 Foundations of Computing I Lecture 9 Proofs and Set Theory Autumn 2012 CSE
Kazushige Terui RIMS, Kyoto University. On 11/10/2015, IPSJ announced: Computer Shogi Project has been completed. What’s next?  Go, or … Computer Shomei.
1. Outline I. Specification and Definition II. Typed Predicate Logic III. Specification in TPL IV. Theories off Types V. Polymorphic Specifications VI.
First Order Logic Lecture 3: Sep 13 (chapter 2 of the book)
Lecture 1 Overview Topics 1. Proof techniques: induction, contradiction Proof techniques June 1, 2015 CSCE 355 Foundations of Computation.
Inductive Proofs Kangwon National University 임현승 Programming Languages These slides were originally created by Prof. Sungwoo Park at POSTECH.
Philosophy of Mathematics Ways Forward from Logicism & Intuitionism.
CS104:Discrete Structures Chapter 2: Proof Techniques.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
CSE-321 Programming Languages Curry-Howard Isomorphism POSTECH June 4, 2009 박성우.
5 Lecture in math Predicates Induction Combinatorics.
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
Type-Theoretical Semantics with Coercive Subtyping Zhaohui Luo Department of Computer Science Royal Holloway, University of London.
1 Interactive Computer Theorem Proving CS294-9 November 30, 2006 Adam Chlipala UC Berkeley Lecture 14: Twelf.
1 Interactive Computer Theorem Proving CS294-9 September 7, 2006 Adam Chlipala UC Berkeley Lecture 3: Data structures and Induction.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Lecture 11: Proof by Reflection
Richard Dedekind ( ) The grandfather of mathematical structuralism
CSCE 355 Foundations of Computation
Discrete Math (2) Haiming Chen Associate Professor, PhD
CSCE 355 Foundations of Computation
Lecture 2 Propositional Logic
MTT-semantics is both model-theoretic and proof-theoretic
BaSIC Math Reviews.
Discrete Math (2) Haiming Chen Associate Professor, PhD
Mathematics for Computer Science MIT 6.042J/18.062J
Exercise Use mathematical induction to prove the following formula.
Lecture 11 CS 1813 – Discrete Mathematics
3.4 Zeros of Polynomial Functions: Real, Rational, and Complex
First Order Logic Rosen Lecture 3: Sept 11, 12.
DISCRETE COMPUTATIONAL STRUCTURES
Presentation transcript:

Weyl’s predicative math in type theory Zhaohui Luo Dept of Computer Science Royal Holloway, Univ of London (Joint work with Robin Adams)

April Formalisation of mathematics with different logical foundations in a type-theoretic framework

April This talk Maths based on different logical foundations Weyl’s predicative mathematics Type-theoretic framework Example: logic-enriched TT with classical logic Predicativity Impredicative and predicative notions of set Formalisations Real number system, predicatively and impredicatively

April I. Applications of TT to formalisation of maths Formalisation in TT-based proof assistants Examples in Coq: Fundamental Theorem of Algebra Four-colour Theorem Maths with different logical foundations Variety of maths, all legacies (mathematical “pluralism”) Adequacy in formalisation? Uniform framework? Type theory and associated technology Not just for constructive math Also for classical math and other maths

April Maths with different logical foundations: examples Consider the “combinations” of the following and their “negations”: (C)Classical logic (I) Impredicative definitions We would have (CI) Ordinary (classical, impredicative) math Classical set theory/simple type theory, HOL/Isabelle (C°I°)Predicative constructive math Martin-Löf’s TT, ALF/Agda/NuPRL (C°I)Impredicative constructive math Constructions/CID/ECC/UTT, Coq/Lego/Plastic (CI°)Predicative classical math Weyl, Feferman, Simpson, … Uniform foundational framework for formalisation?

April Weyl’s predicative mathematics H. Weyl. The Continuum. (Das Kontinuum.) Historical development (paradox etc.) The notion of category Predicative development of the real number system Weyl/Feferman/Simpson’s work on predicativity Predicativity  E.g., { x | φ(x) } with φ being “arithmetical” (without quantification over sets) Feferman’s development on “predicativism” Simpson’s work on reverse mathematics

April II. Logic-enriched type theories in LFs Logic-enriched type theory Aczel & Gambino (LTT in the intuitionistic setting) [AG02,06] c.f. separation of logical propositions and data types in ECC/UTT [Luo90,94] Type-theoretic framework for mathematical “pluralism” Logic-enriched TTs in a logical framework: Logic Types \ / Logical Framework

April An example: T T = LF + Classical FOL + Ind types/universes Classical Ind types FOL + universes \/ LF

April Classical FOL (specified in a logical framework) Propositions (note: LF should be “extended” with Prop and Prf) Prop kind Prf(P) kind [P : Prop] Logical operators P  Q : Prop [P : Prop, Q : Prop]  [A,P] : Prop [A : Type, P[x:A] : Prop] ¬P : Prop [P : Prop]  DN[P,p] : Prf(P) [P:Prop, p:Prf(¬¬P)]

April Types Inductive types/families e.g. Nats, Trees, … (as in TTs such as UTT) Induction Rule: elimination over propositions. Example: the natural numbers N : Type, 0 : N, succ[n] : N [n : N] Elimination over types:  Elim T [C,c,f,n] : C[n], for C[n] : Type [n : N]  Plus computational rules for Elim T : eg, Elim T [C,c,f,succ(n)] = f[n,Elim T [C,c,f,n]] Induction over propositions:  Elim P [P,c,f,n] : P[n], for P[n] : Prop [n : N]

April Relative consistency Theorem (relative consistency of T ) T is logically consistent w.r.t. ZF.

April III. Formalisation Consider Classical logic T \ / LF with T = Inductive types + Impredicative sets (I) Predicative sets (I°)

April Impredicative notion of set Typed sets, impredicatively: Set[A:Type] : Type set[A:Type,P[x:A]:Prop] : Set[A] in[A:Type,a:A,S:Set[A]] : Prop in[A,a,set[A,P]] = P[a] : Prop Every set has a “base type” (or “category”) Sets are given by characteristic propositional functions  { x : A | P(x) } – set(A,P)  s  S – in(A,s,S) One can formulate powersets as …

April Predicative notion of set Type universe and propositional universe type : Type and T[a:type] : Type (universe of “small types”) prop : Prop and V[p:prop] : Prop (universe of “small propositions”)   [a:type,p[x:T[a]]:prop] : prop and V[  [a,p]] =  [T[a],V◦p] : Prop Predicative notion of set Set[A:Type] : Type set[A:Type,p[x:A]:prop] : Set[A] in[A:Type,x:A,S:Set[A]] : prop in[A,x,set[A,p]] = p[x] : prop

April Formalisation in Plastic Plastic (Callaghan [CL01]) Plastic: proof assistant, implementing a logical framework Extending Plastic with “Prop” etc. Formalisation Weyl’s predicative development Nats, Integers, Rationals, and Dedekind cuts. Completion and LUB theorems for real numbers. Other features Types as informal “categories” Typed sets Setoids Comparison between predicative and impredicative developments