A Semantics of Evidence for Classical Arithmetic

Similar documents
CHAPTER 11. Introduction to Intuitionistic Logic

Monotonic Learning, Interactive Realizers and Monads

Completeness Theorems and λ-calculus

Proof Theory and Subsystems of Second-Order Arithmetic

Classical Propositional Logic

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages)

Conjunction: p q is true if both p, q are true, and false if at least one of p, q is false. The truth table for conjunction is as follows.

Well-foundedness of Countable Ordinals and the Hydra Game

The Calculus of Inductive Constructions

Nonclassical logics (Nichtklassische Logiken)

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

STRUCTURES WITH MINIMAL TURING DEGREES AND GAMES, A RESEARCH PROPOSAL

Proving Completeness for Nested Sequent Calculi 1

An analysis of the constructive content of Henkin s proof of Gödel s completeness theorem DRAFT

17.1 Correctness of First-Order Tableaux

Constructive Logic. Thierry Coquand. August 2008

References A CONSTRUCTIVE INTRODUCTION TO FIRST ORDER LOGIC. The Starting Point. Goals of foundational programmes for logic:

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Justification logic for constructive modal logic

A simple proof that super-consistency implies cut elimination

Model Theory of Second Order Logic

Introduction to dependent type theory. CIRM, May 30

Game Semantics and the Geometry of Backtracking: a New Complexity Analysis of Interaction

Chapter 1 A computational interpretation of forcing in Type Theory

PHIL 50 - Introduction to Logic

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

Interpreting classical theories in constructive ones

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

Long Proofs. Michael Rathjen University of Leeds. RaTLoCC 2011 Ramsey Theory in Logic, Combinatorics and Complexity

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012

Truth values algebras and proof normalization

Deductive Systems. Lecture - 3

ON THE THREE-ROWED CHOMP. Andries E. Brouwer Department of Mathematics, Technical University Eindhoven, P.O. Box 513, 5600MB Eindhoven, Netherlands

Modal and Temporal Logics

A Super Introduction to Reverse Mathematics

Natural Deduction for Propositional Logic

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University.

Propositional and Predicate Logic - V

Notes on Inference and Deduction

Proof Theory of Induction

Informal Statement Calculus

Categories, Proofs and Programs

Models and Interpretations of (Intuitionistic) Analysis

CONSERVATION by Harvey M. Friedman September 24, 1999

arxiv: v1 [math.co] 27 Aug 2015

Marie Duží

Computational Logic Lecture 3. Logical Entailment. Michael Genesereth Autumn Logical Reasoning

15414/614 Optional Lecture 1: Propositional Logic

Prefixed Tableaus and Nested Sequents

Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time

Chapter 11: Automated Proof Systems (1)

1. Propositional Calculus

The constructible universe

The Metamathematics of Randomness

Kleene realizability and negative translations

Argument. whenever all the assumptions are true, then the conclusion is true. If today is Wednesday, then yesterday is Tuesday. Today is Wednesday.

The length-ω 1 open game quantifier propagates scales

The Countable Henkin Principle

The Legacy of Hilbert, Gödel, Gentzen and Turing

Lecture 14 Rosser s Theorem, the length of proofs, Robinson s Arithmetic, and Church s theorem. Michael Beeson

On the Complexity of the Reflected Logic of Proofs

Model theory and constructive mathematics. Thierry Coquand

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Contribution of Problems

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic

185.A09 Advanced Mathematical Logic

Large Numbers, Busy Beavers, Noncomputability and Incompleteness

TR : Tableaux for the Logic of Proofs

Finite and Infinite Sets

A Game-Theoretic Decision Procedure for the Constructive Description Logic calc

TR : Possible World Semantics for First Order LP

On the coinductive nature of centralizers

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Handbook of Logic and Proof Techniques for Computer Science

On Axiomatic Rejection for the Description Logic ALC

Appendix: Bar Induction in the Proof 1 of Termination of Gentzens Reduction 2 Procedure 3

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

On some Metatheorems about FOL

LOGIC PROPOSITIONAL REASONING

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Structuring Logic with Sequent Calculus

UNPROVABLE THEOREMS by Harvey M. Friedman Cal Tech Math Colloq April 19, 2005

Infinite objects in constructive mathematics

Phil Introductory Formal Logic

Lecture Notes on Identity and Inversion

Meta-logic derivation rules

ω-stable Theories: Introduction

WHY ISN T THE CONTINUUM PROBLEM ON THE MILLENNIUM ($1,000,000) PRIZE LIST?

Metainduction in Operational Set Theory

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

On sequent calculi vs natural deductions in logic and computer science

Chapter 11: Automated Proof Systems

The Skolemization of existential quantifiers in intuitionistic logic

Chapter 1, Logic and Proofs (3) 1.6. Rules of Inference

REAL AND COMPLEX ANALYSIS

How Philosophy Impacts on Mathematics

Review: Stephen G. Simpson (1999) Subsystems of Second-Order Arithmetic (Springer)

************************************************

SELF-DUAL UNIFORM MATROIDS ON INFINITE SETS

Transcription:

Thierry Coquand Chambery, June 5, 2009

Intuitionistic analysis of classical logic This work is motivated by the first consistency proof of arithmetic by Gentzen (1936) Unpublished by Gentzen (criticisms from Bernays, Gödel, Weyl), but can be found in his collected works I learnt about this from a paper by Bernays (in Intuitionism and Proof Theory, 1970) Can be formulated as a game semantics for classical arithmetic (discovered also independently by Tait, also from Bernays paper) 1

Intuitionistic analysis of classical logic Thus propositions of actualist mathematics seem to have a certain utility, but no sense. The major part of my consistency proof, however, consists precisely in ascribing a finitist sense to actualist propositions Similar motivations in the work of P. Martin-Löf Notes on constructive mathematics Explains the notion of Borel subsets of Cantor space as infinitary propositional formulae (Classical) inclusion between Borel subsets is explained constructively by sequent calculus 2

Intuitionistic analysis of classical logic Here the finitist sense of a proposition will be an interactive program A winning strategy for a game associated to the proposition Lorenzen had an analysis of intuitionistic logic in term of games What may be new here is the notion of backtracking and learning (but it was already present in Hilbert s ɛ-calculus) Cohen: forcing motivated by work on consistency proof for analysis (R. Platek) 3

Intuitionistic analysis of classical logic New analysis of modus-ponens modus-ponens = internal communication = parallel composition + hiding cut-elimination = internal chatters end eventually new proof of cut-elimination The finiteness of interaction is proved by a direct combinatorial reasoning about sequences of integers 4

Intuitionistic analysis of classical logic Different from Gentzen s proofs. It would actually be quite interesting to go back to Gentzen s argument Implicit use of the bar theorem? Influence of Brouwer? Brouwer-Kleene ordering No explicit reference to Brouwer. However the criticism was about implicit use of the bar theorem 5

Intuitionistic analysis of classical logic Difference between R well-founded, i.e. all elements are R-accessible i.e. the following induction principle is valid ( x. ( y. R(y, x) ϕ(y)) ϕ(x)) z.ϕ(z) and the fact that R has no infinite decreasing sequence ( ) f. n. R(f(n + 1), f(n)) The equivalence between these two formulations is the content of Brouwer s bar Theorem. Classically provable with dependent choice (so it is a principle of intuitionistic mathematics compatible with classical logic) 6

Intuitionistic analysis of classical logic ω-logic: we express that we have a well-founded derivation tree We can do induction on the structure of this tree Instead Gentzen expresses that any branch is finite This is only equivalent to the tree being well-founded modulo Brouwer s bar Theorem It seems that Gentzen s argument goes through without the need of Brouwer s bar Theorem 7

Intuitionistic analysis of classical logic Intuitionistic meaning of quantifiers: a proof of x. y. z. t. P (x, y, z, t) where P (x, y, z, t) is decidable can be seen as a winning strategy for loise in a game between two players belard and loise x = a y = b z = c t = d Does P (a, b, c, d) hold? 8

Intuitionistic analysis of classical logic For the games x. y. D(x) D(y) n. m. f(n) f(m) there is no computable strategy for loise There would be a strategy for an actualist interpretation of quantifiers (Gentzen s terminology) 9

Intuitionistic analysis of classical logic We allow loise to change her mind loise chooses first x = 0, then if y = b 1 is the choice of belard, she changes her mind for x = b 1 if f(b 1 ) < f(0) lois wins eventually since N is well-founded Remark: loise learns from her environment The first move x = 0 can be seen as a guess and we have a successive approximation towards a solution (we are never sure we have the right solution) 10

Intuitionistic analysis of classical logic Gödel (1938) presents Gentzen s proof in a lecture, that we can now read in Collected Works, III Clearly refers to Gentzen s unpublished proof, and refers to Suslin s schema instead of bar s theorem Presents it as no-counterexample interpretation Counter-example: function g witness of n. m. f(m) < f(n) i.e. n. f(g(n)) < f(n) We should have a function Φ such that f(φ(g)) f(g(φ(g))) 11

Formulae as trees In general we represent a formula as a tree, possibly infinitely branching, the leaves being 0 or 1 For instance ( n. m. f(n) f(m)) u. f(u) f(u + 1) will be represented as a tree ( n. m. f(n) > f(m)) u. f(u) f(u + 1) 12

Formulae as trees Winning strategy loise asks for x belard answers x = a If f(a) f(a + 1) then loise takes u = a If f(a) > f(a + 1) then loise takes y = a + 1 Winning strategy and the length of a play is 2 13

Cut-free proofs truth semantics for classical arithmetic The concept of the statability of a reduction rule for a sequent will serve as the formal replacement of the informal concept of truth; it provides us with a special finitist interpretation of propositions and take place of their actualist interpretation Example: classical existence of gcd by looking at a, b = g 14

Modus Ponens The strategies we have considered so far corresponds to cut-free proofs tells the proof how to behave in an environment that does not change its mind Modus-ponens = cooperation between proofs 15

Modus Ponens A n. m. f(n) f(m) B ( n. m. f(n) > f(m)) u. f(u) f(u + 1) A and B interacts to produce a proof of u. f(u) f(u + 1) 16

Modus Ponens f(0) = 10 f(1) = 8 f(2) = 3 f(3) = 27... 1 B n? 2 A n = 0 answers move 1 3 B m = 1 answers move 2 4 A n = 1 answers move 1 5 B m = 2 answers move 4 6 A n = 2 answers move 1 7 B u = 3 17

Modus Ponens We have an interaction sequence (pointer structure) ϕ(1) = 0 ϕ(2) = 1 ϕ(3) = 2 ϕ(4) = 1 ϕ(5) = 4 ϕ(6) = 1 18

Modus Ponens Behaviour of a proof against an environment that can change its mind Notion of debate The formula seen as a tree is the topic of the debate argument counter-argument counter-counter-argument... Two opponents who both can change their mind At any point they can resume the debate at a point it was left before 19

Modus Ponens Analysis of modus-ponens, the cut-formulae is P x. y. P (x, y) x. y. P (x, y) In general x. y. z.... P (x, y, z,... ) x. y. x..... P (x, y, z,... ) 20

How does Gentzen proceed? Modern formulation Γ, P (n), x. P (x) Γ, x. P (x)..., P (m)..., x.p (x) First, x.p (x) and Γ, P (n), x. P (x) by cut we get, Γ, P (n) Then, Γ, P (n) and, P (n) by cut we get,, Γ and hence, Γ 21

Analysis of the interaction? Depth 2 A x. y. P (x, y) B x. y. P (x, y) A x = a 1 B y = b 1 A x = a 2 B y = b 2 We can assume P (a 1, b 1 ) = P (a 2, b 2 ) = = 1 so that the value x = a i is definitively refuted by the move y = b i 22

Analysis of the interaction? Depth 3 A x. y. z. P (x, y, z) B x. y. z. P (x, y, z) A x = a 1 B y = b 1 A x = a 2 B y = b 2 Key idea: whenever there is a move A z = c it definitively refutes the corresponding move B y = b and one can forget all that has happened between these two moves Hence one can reduce depth 3 to depth 2 23

Combinatorial analysis a 1 b 11 c 11 a 2 b 21 c 21... b 1(n1 1) c 1(n1 1) b 1n1... b 2(n2 1) c 2(n2 1) b 2n2... a k b k1 c k1... b k(nk 1) c k(nk 1) b knk The next move is either a k+1 or c lnl for some l k 24

Combinatorial analysis Interaction sequence ϕ(1) ϕ(2) ϕ(3)... ϕ(n) < n and ϕ(n) n different partity V (0) = V (n + 1) = {n} V (ϕ(n)) then ϕ(n) has to be in V (n) Cut-free proof: we have ϕ(n) = n for n even Depth: maximum length of chain ϕ(n 1 ) = 0 ϕ(n 2 ) = n 1... ϕ(n d ) = n d 1 25

Combinatorial analysis We consider an interaction sequence of depth d A definite interval is an interval [ϕ(n), n] with n of depth d Lemma: If we take away a definite interval what is left is still an interaction sequence Lemma: The definite intervals form a nest structure If we have two definite intervals then either they are disjoint or one is well-inside the other 26

Combinatorial analysis Heuristic why the interaction has to be finite by induction on the depth We take away all maximal definite intervals By induction on the depth we should have an infinite number of consecutive intervals [m 0 +1, m 1 ] [m 1 +1, m 2 ] [m 2 +1, m 2 ]... with ϕ(m 0 +1) = ϕ(m 1 +1) =... This contradicts that we have a winning strategy Gentzen d to 1 + d, and here d to d + 1 27

Cut-elimination Combinatorial analysis of what happens during cut-elimination Termination follows from this analysis The termination argument seems different from Gentzen s 28

Further work: Countable choices We quantify over functions: learning we conjecture laws that can be refined by There is a natural strategy for countable choice (and dependent choice) This is not well-founded any more However, if we cut with a well-founded strategy we get a well-founded strategy 29

Further work: Countable choices ( n. x. P (n, x)) f. n. P (n, f(n)) f = f 0 opponent answers n = n 0 n = n 0 opponent answers x = x 0 f = f 0 + n 0 x 0 opponent answers n = n 1 n = n 1 opponent answers x = x 1 f = f 0 + n 0 x 0 + n 1 x 1 opponent answers n = n 2 30

Further work: Curien and Herbelin Stack free version of Krivine Abstract Machine M ::= λ x. W W ::= y M ρ, ν ::= () ρ, x = Mν One reduction rule where ρ(x) = (λ z. W )ν (x M)ρ W (ν, z = Mρ) 31

Further work: Curien and Herbelin Theorem: This always terminates No direct proof known. Types are not involved in the proof of termination. They only play a role in garanteeing that the final states correspond to (an abstract form of) head normal forms. Question: can we compute a bound on the length of the interaction (hyperexponential)? 32

Simple backtracking As learning procedures the cut-free proofs are quite complex since we may have backtracking in the backtracking Non monotonic learning As a first step one can analyse what happens with simple backtracking where we never consider again a position that has been rejected For instance, the argument for n. m. f(m) f(n) only involves simple backtracking Hilbert s basis theorem 33

Simple backtracking Infinite box principle ( n. m n. f(m) = 0) ( n. m n. f(m) = 1) needs more complex backtracking Exactly the same notion occurs in the work of R. Harmer and P. Clairambault: cellular strategies 34

Infinite box principle ( n. m n. f(m) = 1) a < b. f(a) = f(b) ( n. m n. f(m) = 0) a < b. f(a) = f(b) ( n. m n. f(m) = 0) ( n. m n. f(m) = 1) There is a symmetric interaction which proves a < b. f(a) = f(b) 35

Further work: Berardi All these lemmas are valid if we change the notion of definite interval [ϕ(n), n] is definite iff there is no m such that ϕ(m) = n View on [0, n]: partition in intervals... [n 2 + 1, n 1 ] [n 1 + 1, n] where n 1 + 1 = ϕ(n), n 2 + 1 = ϕ(n 1 ),... S. Berardi noticed that this can be (classically) extended to ω and thus one can extend the notion of view to infinite plays Theorem: (classical) One has an unique partition of [0, ω[ in (definite) intervals [ϕ(n), n] So we can extend the interaction transfinitely 36