Martin-Lof's Inductive Definitions Are Not Equivalent to Cyclic Proofs

Slides:



Advertisements
Similar presentations
Introduction to Proofs
Advertisements

Chapter Three: Closure Properties for Regular Languages
Knowledge & Reasoning Logical Reasoning: to have a computer automatically perform deduction or prove theorems Knowledge Representations: modern ways of.
Automated Reasoning Systems For first order Predicate Logic.
The Engineering Design of Systems: Models and Methods
1/22 Programs : Semantics and Verification Charngki PSWLAB Programs: Semantics and Verification Mordechai Ben-Ari Mathematical Logic for Computer.
Formal Logic Proof Methods Direct Proof / Natural Deduction Conditional Proof (Implication Introduction) Reductio ad Absurdum Resolution Refutation.
Introduction to Computability Theory
1 Introduction to Computability Theory Lecture4: Non Regular Languages Prof. Amos Israeli.
Normal forms for Context-Free Grammars
First Order Logic (chapter 2 of the book) Lecture 3: Sep 14.
Induction and recursion
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.
The ACL2 Proof Assistant Formal Methods Jeremy Johnson.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
MATH 224 – Discrete Mathematics
DECIDABILITY OF PRESBURGER ARITHMETIC USING FINITE AUTOMATA Presented by : Shubha Jain Reference : Paper by Alexandre Boudet and Hubert Comon.
Continuations, Backtracking and Limits: a notion of ‘‘Construction’’ for Classical Logic (Ongoing work) Kyoto, November 2004 Stefano Berardi, Semantic.
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
First Order Logic Lecture 2: Sep 9. This Lecture Last time we talked about propositional logic, a logic on simple statements. This time we will talk about.
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.
Theory of Computation, Feodor F. Dragan, Kent State University 1 TheoryofComputation Spring, 2015 (Feodor F. Dragan) Department of Computer Science Kent.
Copyright © Zeph Grunschlag, Induction Zeph Grunschlag.
1 Introduction to Abstract Mathematics Chapter 2: The Logic of Quantified Statements. Predicate Calculus Instructor: Hayk Melikya 2.3.
Naïve Set Theory. Basic Definitions Naïve set theory is the non-axiomatic treatment of set theory. In the axiomatic treatment, which we will only allude.
Mathematical Preliminaries
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
INM175 Topic 8 1 Module INM175 Discrete Mathematics Topic 8 Algebraic Theories.
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.
CS104:Discrete Structures Chapter 2: Proof Techniques.
The Church-Turing Thesis Chapter Are We Done? FSM  PDA  Turing machine Is this the end of the line? There are still problems we cannot solve:
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
Chapter 1 Logic and Proof.
Chapter 2 Sets and Functions.
CSCE 355 Foundations of Computation
Gödel's Legacy: The Limits Of Logics
Discrete Mathematics for Computer Science
CSE15 Discrete Mathematics 02/08/17
Chapter 4 (Part 1): Induction & Recursion
Set, Combinatorics, Probability & Number Theory
Chapter 5, Set Theory 1.
Induction and recursion
Predicate Calculus Validity
Great Theoretical Ideas in Computer Science
CSCE 355 Foundations of Computation
Lecture 2 Propositional Logic
The Foundations: Logic and Proofs
Lecture 7 Functions.
Homework: Friday Read Section 4.1. In particular, you must understand the proofs of Theorems 4.1, 4.2, 4.3, and 4.4, so you can do this homework. Exercises.
Proving Properties of Recursive List Functions
Axiomatic semantics Points to discuss: The assignment statement
Induction and recursion
3.5 Minimum Cuts in Undirected Graphs
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Discrete Mathematics and its Applications
CS 220: Discrete Structures and their Applications
First Order Logic Rosen Lecture 3: Sept 11, 12.
MA/CSSE 474 More Math Review Theory of Computation
Computer Security: Art and Science, 2nd Edition
Great Theoretical Ideas in Computer Science
Module #4.5, Topic #∞: Cardinality & Infinite Sets
Search techniques.
Chapter 1 Introduction to the Theory of Computation
Chapter 11: Further Topics in Algebra
Foundations of Discrete Mathematics
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
CO Games Development 2 Week 21 Turing Machines & Computability
CS589 Principles of DB Systems Fall 2008 Lecture 4e: Logic (Model-theoretic view of a DB) Lois Delcambre
Presentation transcript:

Martin-Lof's Inductive Definitions Are Not Equivalent to Cyclic Proofs FOSSACS 2017 Uppsala April, 26 2017 Stefano Berardi C.S. Dept. Torino University Italy Makoto Tatsuta National Institute of Informatics/Sokendai Japan

A Refutation of Brotherston-Simpson’s Conjecture Cyclic Proofs (2006). Cyclic proofs (Brotherston [1], Simpson [2]) are an alternative formalization of induction on data bases, suitable for proof search and for Separation Logic. Brotherston-Simpson Conjecture (2011, [2]). Cyclic proofs are equivalent to LKID, Martin-Lof's Theory of (finitary) Inductive Definitions. Brotherston-Simpson Conjecture is false (2017, this talk). The 2-Hydra statement has a cyclic proof but no proof in LKID.

LKID, Martin-Lof's Theory of (finitary) Inductive Definitions. LKID is First Order Logic with equality, plus introduction and elimination rules for any set of atomic positive inductive definitions, say: Bool(true), Bool(false) N(0), if N(n) then N(sn) List(nil), if N(a) and List(L) then List(cons(a,L)) In LKID, Classical Logic is allowed. In LKID, there is no negative axiom like true  false, 0  sx, nil  cons(x,L), … or uniqueness axiom like sx = sy  x = y …

CLKID (regular cyclic proofs) Introduction and Elimination rules for inductive definitions are replaced by case rules: ,t=0|-  ,Nx, t=sx|-  ,Nt|-  Proofs are infinite regular trees: proof search stops whenever we pass through the same sequent twice. A cyclic proof is an infinite object, yet it is decidable whether a cyclic proof is correct, using the global trace condition: in all infinite branches there is some variable whose value is decreasing infinitely many times

CLKID versus LKID All theorems of CLKID are true ([3], Prop. 3.2.8). All theorems of LKID are theorems of CLKID ([3], Lemma 7.3.1, and [2], Thm. 7.6). If we add basic arithmetic to LKID, CLKID and we restrict to the language of arithmetic then LKID = CLKID (Simpson, FOSSACS 2017). If we add basic arithmetical axioms to LKID, CLKID and we add all inductive predicates then LKID = CLKID (Berardi, Tatsuta LICS 2017) Yet 2-Hydra is provable CLKID and not in LKID: there is some basic arithmetic hidden in CLKID.

The Hydra Statements The Hydra of Lerna was a mythological monster, popping two smaller heads whenever you cut one. The original Hydra was defeated by fire, a mathematical Hydra statement says that we eventually kill Hydra just by cutting head. There is an Hydra statement for trees true but not provable in Peano Arithmetic (Kirby, Paris 1982 [3]) 2-Hydra is a miniature statement. We select some way of reducing x,yN: (x+1,y+2)|(x,y) and (0,y+2)|(y+1,y) and (x+2,0)| (x+1,x) (reducing the last non-zero value produces two smaller copies). We claim reductions terminate.

A formal definition of 2-Hydra pxy = reductions from (x,y)N2 terminate

A cyclic proof of 2-Hydra A proof of Nx,Ny|- pxy in CLKID + 0,s,N. We prove it from a proof of Nx,Ny|-pxy for a “smaller” pair (x,y), using reductions Hb, Hc, Hd at each step.

A structure M with M|= 2-Hydra We define M = N + Z + an infinite descent p for 2-Hydra (in red). p is union of 3 partial bijections and we move along p by repeating forever: (x+1,y+2)(x,y), (0,y+2)(y+1,y), (x+2,0) (x+1,x)

LKID+0,s,N |- 2-Hydra Let LKID+0,s,N be the theory of inductive definition of 0,s and N (natural numbers). We do not have order, nor sum, nor product. Since M|= 2-Hydra, we prove that LKID+0,s,N |- 2-Hydra proving that M|= LKID+0,s,N, that is, that M satisfies induction for N. This is done in two steps: all predicates in M which do not satisfy induction rule have measure 1/3 or 2/3 (one-line proof) all predicates in M have measure some n/2m (difficult part), hence satisfy induction by point 1. The only non-trivial predicate p of M is union of 3 partial bijections. Which sets are definable from it?

A Quantifier-Elimination result for Partial Bijections Q.-E. Thm. Let U be a set and Rel a set of partial bijections on U. Assume that all finite partial bijections on U are in Rel, that Dom = {dom(R)|RRel} is complement-closed, and that for all R,SRel, DDom we have idD,R-1,RS,RS, RDRel. Let S be the structure with universe U, one symbol for each uU, DDom, RRel. Then: The theory of S has quantifier-elimination. Any first-order definable set in S is in Dom: no new set is first order definable in S

The Q.E. Result decides Brotherston-Simpson’s conjecture Let Dom = the finite unions of subsets of M including (up to finitely many elements) one element every 2n. They have measure some n/2m. Let Rel = the partial bijections with domain some DDom, equal (up to finitely many elements) to y = 2zx + r, for some zZ,rQ. Then the Q.-E. result implies that all first order definable sets in M are in Dom, hence have measure some n/2m, hence satisfy induction for N. Thus: M |= LKID+0,s,N M|= 2-Hydra CLKID+0,s,N |- 2-Hydra

References [1] Brotherston, J. (2006). Sequent calculus proof systems for inductive definitions, ph.d. thesis, Laboratory for Foundations of Computer Science, School of Informatics, University of Edinburgh. [2] Brotherston, J.; Simpson, A. (2011). Sequent calculi for induction and finite descent, Journal of Logic and Computation 21 (6) 1177-1216. [3] Kirby, L.; Paris, J. (1982). "Accessible Independence Results for Peano Arithmetic" (PDF). Bulletin of the London Mathematical Society. 14 (4): 285. doi:10.1112/blms/14.4.285.

The Hydra in the book “Historiae Naturalis” of Johnston (1625)

Question 1: is the Quantifier Elimination Result new? Our interest is not the Q.E. result per se, but rather the identification of this Q.E. result as a way of proving the unprovability of 2-Hydra in LKID. Model-theorists David Evans, Victoria Gould, Bruno Poizat, Frank Wagner and Domenico Zambella never heard of this Q.E. result. However, Domenico Zambella pointed out that this kind of result is often hidden in a note or in an exercise of a larger paper, so we cannot be completely sure it is new.

Question 2: do we have LKIDCLKID if we add all inductive predicates? Open question: if we add all inductive definitions and rules to LKID and to CLKID, but nothing else, do we get LKID=CLKID ? Possibly no. However, our proof would require changes, because M=N+Z does not satisfy the induction rule for , therefore M is not a model of LKID + all inductive predicates. We conjecture that our proof goes through if we redefine M=Z+Z .