Light Dialectica program extraction from a classical Fibonacci proof

Size: px
Start display at page:

Download "Light Dialectica program extraction from a classical Fibonacci proof"

Transcription

1 Light Dialectica program extraction from a classical Fibonacci proof using an optimization of Gödel s technique towards the extraction of more efficient programs from classical proofs Mircea Dan HERNEST Project LogiCal Paris, FRANCE and GKLI Munich, GERMANY DCM 06 Talk in Venice, 16 July 2006 Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

2 Outline 1 The program extraction Problem Specifying the wanted behaviour of programs A weakly extensional Arithmetic for Göedel functionals 2 The Light Functional Dialectica Interpretation From Gödel s Dialectica to the Light Dialectica The Contraction Problem 3 Conclusions and Further Work Applicability of Light Dialectica??? Open research... Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

3 Outline 1 The program extraction Problem Specifying the wanted behaviour of programs A weakly extensional Arithmetic for Göedel functionals 2 The Light Functional Dialectica Interpretation From Gödel s Dialectica to the Light Dialectica The Contraction Problem 3 Conclusions and Further Work Applicability of Light Dialectica??? Open research... Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

4 Outline 1 The program extraction Problem Specifying the wanted behaviour of programs A weakly extensional Arithmetic for Göedel functionals 2 The Light Functional Dialectica Interpretation From Gödel s Dialectica to the Light Dialectica The Contraction Problem 3 Conclusions and Further Work Applicability of Light Dialectica??? Open research... Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

5 Why x y G(x, y) specifications? [G Goal Formula] Specifications describe wanted behavior for our Program. Programs have inputs x and outputs y. Therefore specifications are formulas x y G(x, y) where G(x, y) is a formula describing the desired relationship between the given input x and the desired output y. Exists proof P of x y G(x, y) in some logical system S. We want to be able to uniformly produce by an Algorithm a program t which realizes the given specification, i.e., x G(x, t(x)) is provable in some (other) logical system S. Such Algorithms taking inputs P are Program Extraction procedures and the term t is called extracted program. Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

6 Classical versus Constructive proofs Recall that P is a proof of x y G(x, y) in the logical system S! G can be arbitrary only when S is constructive, otherwise... Constructive means intuitionistic plus Markov s Principle : zg 0 (z) zg 0 (z) or }{{} cl z G 0 (z) zg 0 (z) z Only extraction techniques based on Gödel s Dialectica interpretation allow Markov s Principle (as axiom) in S. Refined A translation first brings the Minimal Logic proof [minimal intuitionistic \ F ] of x cl y G(x, y) to a corresponding intuitionistic proof of x y G(x, y) Kreisel s Modified Realizability applies to the latter. G can be a goal formula i.e., more than quantifier-free. Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

7 The term system a lambda-variant of Göedel s T 0) All finite types generated from ι and o by the rule σ, τ (στ) 1) tt o, ff o, the selector If o τ τ τ τ (usual if-then-else), equality = ι ι o 2) 0 ι (zero), S ι τ (ι τ τ) ι τ (successor) and Gödel s recursor Rτ 3) And ooo : λp, q. If o p q ff Imp ooo : λp, q. If o p q tt n n 4) the n-selector Ifτ n {}}{{}}{ of type o... o τ... τ τ τ, s.t. Ifτ 1 : If τ and If n τ : λp 1,..., p n, x n+1, x n,..., x 1. If τ p 1 (If n 1 τ p 2... p n x n+1 x n... x 2 ) x 1 If n τ (r 1,..., r n, t n+1, t n,..., t 1 ) selects the first t i with i 1, n for which r i is false, if it exists, otherwise t n+1 if all {r i } n i=1 are true 5) s = σ1...σ n σ t : x σ x σn n (s x 1... x n = σ t x 1... x n ), σ {o, ι} s = o t : at(s) at(t), s = ι t : at(= s t) extensionally defined equality at is the unique predicate symbol of WE Z Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

8 The logical axioms and rules of system WE Z (1/2) Ax + : z 1 [ A(z 1 ) z 2 A(z 2 ) ] AxEFQ : A 0) Ax + : z 1 [ A(z 1 ) z 2 A(z 2 ) ] (Ex-Falso-Quodlibet) Ax : z 1 A(z 1 ) z 2 [ A(z 2 ) B ] B Ax : z 1 A(z 1 ) z 2 [ A(z 2 ) B ] B 1) Deduction from (arbitrary, undischarged) assumption: A A 2) A B A l, A B B r, A, B A B +, A, A B B z A(z) 3) [ z A(z) A(z) z,t ] z,t VC 2 (z, t), A(t) A(t) z A(z) + z VC 1 (z) VC 1 (z) : z does not occur free in any undischarged assumption VC 2 (z, t) : no free variable of t gets quantified in A after substit. Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

9 The logical axioms and rules of system WE Z (2/2) 4) [A]... /B A B +, particular set of instances of A discharged; if at least two A get discharged (contraction) then ncm-fc(a) restriction applies: if A contains (at least) a positive universal or a negative existential (regular) quantifier then A must not contain any ncm quantifier (, ) case when we say that A is computationally relevant (otherwise A is comput. irrelevant) P: A(z) 5) + z VC 1 (z) and VC 3 (z, P) : z is not free in any of the t z A(z) involved by,t in the proof P (Berger) and z is also not free in the computationally relevant contraction formulas of P Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

10 Extensionality/Compatibility and Induction rules E σ,τ : z στ, x σ, y σ. x = σ y zx = τ zy must be forbidden A 0 COMPAT σ with the restriction that. all undischarged assumptions used s = σ t in the proof of s = σ t (here denoted A 0 ) B(s) B(t) are quantifier-free IR 0 equivalent to IA, IR in WE Z.. A(tt) A(ff) p o A(p) A(0) z (A(z) A(Sz)) (Boolean Induction Axiom) z A(z) R τ x y 0 = τ x R τ x y (Sz) = τ y(z, R τ x y z) } : AxR τ Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

11 Weakly extensional Arithmetics WE Z, WE Z, WE Z + System WE Z obtained from WE Z by ignoring ncm quantifiers 0) Prime formulas decidable: at(t) at(t) by definition of 1) Exists unique bijective association of boolean terms to qfr formulas A 0 t A0 such that A 0 at(t A0 ) 2) Case Distinction over qfr formulas: (A 0 A) ( A 0 A) A 3) Disjunction Elimination n i=1 (A i B) ( n i=1 A i B) System WE Z + obtained by adding to WE Z the following: AxMK : cl z A 0 (z) z A 0 (z) AxIP : [ x A 0 (x) y B(y) ] y [ x A 0 (x) B(y) ] AxAC : x y B(x, y) Y x B(x, Y (x)) Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

12 Göedel s functional Dialectica interpretation 0) A translation of proofs which includes a translation of formulas. 1) A(a) A D x y A D (x; y; a) with a all free vars of formula A 2) A D is qfr for Göedel s Dialectica, not necess for Light Dialectica 3) Recursive syntactic translation from proofs in Constructive Arithmetic (or Classical Arithmetic, modulo the double-negation translation) to proofs in Intuitionistic Arithmetic such that positive occurrences of and negative occurrences of in the proof s conclusion formula get actually realized by terms in Gödel s T. 4) Contraction Problem: choose between a number of realizers according to a boolean term associated to the contraction formula; Diller-Nahm: postpone all choices to the very end by collecting all candidates and making a single final global choice; Monotone (or Bounded) Dialectica: use a Howard (or Bezem) majorant of the candidates extract majorants for the realizers. Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

13 The Light Dialectica interpretation of formulas A D (A D : A) for prime formulas A (A B) D x, u y, v [ (A B) D : A D (x; y; a) B D (u; v; b) ] (A B) D Y, U x, v [ (A B) D : A D (x; Y (x, v)) B D (U(x); v) ] ( za(z, a)) D z, x y [ ( za(z, a)) D (z, x; y; a) : A D (x; y; z, a) ] ( za(z, a)) D x y [ ( za(z, a)) D (x; y; a) : z A D (x; y; z, a) ] ( za(z, a)) D X z, y [ ( za(z, a)) D (X; z, y; a) : A D (X(z ); y; z, a) ] ( za(z, a)) D x y [ ( za(z, a)) D (x; y; a) : z A D (x; y; z, a) ] Here is a mapping which assigns to every given variable z a completely new variable z which has the same type of z. Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

14 Exact realizer synthesis by the LD-interpretation Extraction and Soundness Theorem: There exists an algorithm which, given at input a proof P : {C i } n i=1 + A will produce at output 1) the tuples of terms T and {T i } n i=1 2) the tuples of variables {x i } n i=1 and y 3) the verifying proof P D : {C i D (x i; T i (x, y))} n i=1 A D (T (x); y) where x : x 1,..., x n. Moreover, 1 variables x and y are all completely new (not occur in P) 2 the free variables of T and {T i } n i=1 are among the free variables of A and {C i } n i=1 ( the free variable condition (FVC) for programs extracted by the (L)D-interpretation ) [ x, y not occur free in the extracted terms {T i } n i=1 and T ] Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

15 Implication Introduction with Contraction [A]... /B A B + n 1, z n+1 {}}{ z,..., z and x x n+2,..., x m : {A D (z; T i (z, x, y))} n+1 i=1, {Ci D (x i; T i (z, x, y))} m i=n+2 B D (T (z, x); y) 1) Same tuple z produced by n + 1 m discharged instances of A 2) ncm-fc(a) = tuples {T i } n+1 i=1 are all of length 0 or A D is qfr 3) If {T i } n+1 i=1 non-null = their equalization is a must: S : λx, z, y. If n τ (t D A [z; T 1 ],..., t D A [z; T n ], T n+1 (z, x, y), T n,..., T 1 ) we can now cancell all {A D } n+1 i=1 by a single + in the verifying proof {A D (z; S(x, z, y))} n+1 i=1, {Ci D (x i; S i (x, z, y))} m i=n+2 B D (S(x, z); y) {C i D (x i; S i (x, z, y))} m i=n+2 A D (z; S(x, z, y)) B D (S(x, z); y) Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

16 Computationally-redundant Contraction - an example Warning: A and B are here the same as on the previous slide!!! A, A B B {C i D (x i ; S i(x, y ))} n+1 i=1 A D (S (x ); y ) {CD i (x i ; S i (x, z, y))} m i=n+2 A D (z; S(x, z, y)) B D (S(x, z); y) λx, y. S i (x, S(x, S (x ), y)), if 1 i n + 1 T i : λx, y. S i (x, S (x ), y), if n + 1 < i m T : λx. S(x, S (x )) Extraction and Soundness Theorem: {C i D (x i; T i (x, y))} m i=1 B D (T (x); y) Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

17 Contraction involved by usual Induction Rule (worst) We are given P b : C b A(0) and P s : C s z(a(z) A(Sz)) C s C b C b (C s A(z)). C s P s C s A(z) z(a(z) A(Sz)) A(z) A(z) A(Sz) A(Sz) first cancell C s (with contraction) and subsequently C b (without contraction) to get C b (C s A(z)) C b (C s A(Sz)) = z[(c b (C s A(z))) C b (C s A(Sz))] = by -premised Induction Rule that z(c b (C s A(z))) from which we recover the usual conclusion C b, C c za(z) Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

18 Clear-cut practical example - classical Fibonacci MINLOG program extracted by Light Dialectica (after normalization) [n 0 ]π 1 (R IN (IN@IN) (0@1){[n 1, p IN@IN ]π 2 (p)@(π 1 (p) + π 2 (p))}n 0 ) Exactly the usual algorithm computing the n-th Fibonacci number. [G, n 1 ]π 1 π 2 (R IN=>IN@(IN@IN)@(IN@IN) ((0@0@0)@0@1){[n 2, p][if[if(gπ 1 π 1 (p)π 1 π 2 π 1 (p)) [If(G(Sπ 1 π 1 (p))π 2 π 2 π 1 (p))(g(s(sπ 1 π 1 (p)))(π 1 π 2 π 1 (p) + π 2 π 2 π 1 (p)))tt]tt] (n 2 (p))(π 1 (p))]@π 2 π 2 (p)@π 1 π 2 (p) + π 2 π 2 (p)}n 1 ) This by Gödel s Dialectica If-tests are only due to the Contraction formula, integrated in extracted program The BBS Refined A-translation yields a more complex program: [n] R IN (IN IN IN) IN ([f IN IN IN ] f 0 1) ([m, H, g IN IN IN ] H ([p, q] H ([k, l] g l (k + l)))) n ([k, l]k) uses the type-2 functional H (IN IN IN) IN, within the recursion Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

19 Attempts to apply Light Dialectica - a negative result Dickson-2-2 Lemma: For any two functions f, g : IN IN defined within the set of natural numbers IN there exist indexes i < j such that both f (i) f (j) and g(i) g(j). Classical proof within Minimal Arithmetic uses 3 times the Minimum Principle (relative to unary predicate variable Q IN ): h IN IN. cl zq(z) cl x. ( y. h(y) < h(x) Q(y)) Q(x) Not possible to use an ncm version of cl x in none of the 3 instances of Minimum Principle... but x is positive universal quantified in a Contraction formula (thus computationally relevant) impossible to avoid any of the 3 contractions. These contractions are involved by Induction and the realizing program must contain 3 times Gödel s recursor R τ (as iterator). Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

20 Short List of related Papers I M.-D. Hernest and U. Kohlenbach. A complexity analysis of functional interpretations. Theoretical Computer Science, 338(1-3): , M.-D. Hernest. A comparison between two techniques of program extraction from classical proofs. In M. Baaz, J. Makovsky, and A. Voronkov, editors, CSL 2003: Extended Posters, vol. VIII of Kurt Gödel Society s Collegium Logicum, pp Springer Verlag, U. Kohlenbach and P. Oliva. Proof mining: a systematic way of analysing proofs in Mathematics. Proc. of the Steklov Inst. of Mathem., 242: , Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

21 Short List of related Papers II M.-D. Hernest, Light Functional Interpretation, LNCS 3634 (2005), pp , CSL U. Berger, W. Buchholz, and H. Schwichtenberg. Refined program extraction from classical proofs. Annals of Pure and Applied Logic, 114:3 25, C. Raffalli. Getting results from programs extracted from classical proofs. Theoretical Computer Science, 323(1-3):49 70, C. Paulin-Mohring and B. Werner. Synthesis of ML programs in the system Coq. Journal of Symbolic Computation, 15(5/6): , Mircea Dan HERNEST (LogiCal) Light Dialectica on Fibonacci DCM 06, Venice, 16 July / 19

Light Monotone Dialectica

Light Monotone Dialectica Light Monotone Dialectica Extraction of moduli of uniform continuity for closed terms from Goedel s T of type (IN IN) (IN IN) Mircea-Dan Hernest Project LogiCal Paris, France and GKLI Munich, Germany LFMTP

More information

Light Dialectica program extraction from a classical Fibonacci proof

Light Dialectica program extraction from a classical Fibonacci proof DCM 2006 Light Dialectica program extraction from a classical Fibonacci proof Mircea-Dan Hernest 1,2 Laboratoire d Informatique (LIX) École Polytechnique F-91128 Palaiseau - FRANCE Abstract We demonstrate

More information

Light Dialectica Program Extraction from a Classical Fibonacci Proof

Light Dialectica Program Extraction from a Classical Fibonacci Proof Electronic Notes in Theoretical Computer Science 171 (2007) 43 53 www.elsevier.com/locate/entcs Light Dialectica Program Extraction from a Classical Fibonacci Proof Mircea-Dan Hernest 1,2 Laboratoire d

More information

Unifying Functional Interpretations

Unifying Functional Interpretations Paulo Oliva pbo@dcs.qmul.ac.uk Queen Mary, University of London, UK Dagstuhl, January 11, 2004 p.1/22 History 1958. Gödel s Dialectica interpretation Relative consistency of PA p.2/22 History 1958. Gödel

More information

A NOTE ON ARITHMETIC IN FINITE TYPES. 1. Introduction

A 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 information

Kleene realizability and negative translations

Kleene 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 information

Informal Statement Calculus

Informal 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 information

A note on the monotone functional interpretation

A note on the monotone functional interpretation A note on the monotone functional interpretation Ulrich Kohlenbach Department of Mathematics Technische Universität Darmstadt Schlossgartenstraße 7, 64289 Darmstadt, Germany April 18, 2011 Abstract We

More information

Provably Total Functions of Arithmetic with Basic Terms

Provably 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 information

Proofs and computations

Proofs and computations (j.w.w. Kenji Miyamoto) Mathematisches Institut, LMU, München Leeds University, 7. March 2012 Formalization and extraction One can extract from a (constructive) proof of a formula with computational content

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano 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 information

The Peirce Translation and the Double Negation Shift

The Peirce Translation and the Double Negation Shift The Peirce Translation and the Double Negation Shift Martín Escardó 1 and Paulo Oliva 2 1 University of Birmingham, UK 2 Queen Mary University of London, UK Abstract. We develop applications of selection

More information

Dedicated to Helmut Schwichtenberg on his 60th Birthday

Dedicated to Helmut Schwichtenberg on his 60th Birthday UNIFORM HEYTING ARITHMETIC ULRICH BERGER Dedicated to Helmut Schwichtenberg on his 60th Birthday Abstract. We present an extension of Heyting Arithmetic in finite types called Uniform Heyting Arithmetic

More information

hal , version 1-21 Oct 2009

hal , version 1-21 Oct 2009 ON SKOLEMISING ZERMELO S SET THEORY ALEXANDRE MIQUEL Abstract. We give a Skolemised presentation of Zermelo s set theory (with notations for comprehension, powerset, etc.) and show that this presentation

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

A simple proof that super-consistency implies cut elimination

A simple proof that super-consistency implies cut elimination A simple proof that super-consistency implies cut elimination Gilles Dowek 1 and Olivier Hermant 2 1 École polytechnique and INRIA, LIX, École polytechnique, 91128 Palaiseau Cedex, France gilles.dowek@polytechnique.edu

More information

First-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 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 information

From pre-models to models

From 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 information

Between proof theory and model theory Three traditions in logic: Syntactic (formal deduction)

Between 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 information

Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus

Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus Forcing-based cut-elimination for Gentzen-style intuitionistic sequent calculus Hugo Herbelin 1 and Gyesik Lee 2 1 INRIA & PPS, Paris Université 7 Paris, France Hugo.Herbelin@inria.fr 2 ROSAEC center,

More information

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

Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time Realizable Extensions of Intuitionistic Analysis: Brouwer, Kleene, Kripke and the End of Time Joan Rand Moschovakis Occidental College, Emerita ASL Special Session on Intuitionism and Intuitionistic Logic

More information

Interpreting classical theories in constructive ones

Interpreting 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 information

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

Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Krivine s Intuitionistic Proof of Classical Completeness (for countable languages) Berardi Stefano Valentini Silvio Dip. Informatica Dip. Mat. Pura ed Applicata Univ. Torino Univ. Padova c.so Svizzera

More information

Basic Research in Computer Science BRICS RS U. Kohlenbach: A Note on Spector s Quantifier-Free Rule of Extensionality

Basic Research in Computer Science BRICS RS U. Kohlenbach: A Note on Spector s Quantifier-Free Rule of Extensionality BRICS Basic Research in Computer Science BRICS RS-99-20 U. Kohlenbach: A Note on Spector s Quantifier-Free Rule of Extensionality A Note on Spector s Quantifier-Free Rule of Extensionality Ulrich Kohlenbach

More information

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

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

The greatest common divisor: a case study for program extraction from classical proofs

The greatest common divisor: a case study for program extraction from classical proofs The greatest common divisor: a case study for program extraction from classical proofs U. Berger H. Schwichtenberg September 25, 2000 Yiannis Moschovakis suggested the following example of a classical

More information

Mathematical Logic. Helmut Schwichtenberg

Mathematical Logic. Helmut Schwichtenberg Mathematical Logic Helmut Schwichtenberg Mathematisches Institut der Universität München Wintersemester 2009/2010 Contents Chapter 1. Logic 1 1.1. Natural Deduction 1 1.2. Normalization 15 1.3. Soundness

More information

A refined calculus for Intuitionistic Propositional Logic

A refined calculus for Intuitionistic Propositional Logic A refined calculus for Intuitionistic Propositional Logic Mauro Ferrari 1, Camillo Fiorentini 2, Guido Fiorino 3 1 Dipartimento di Informatica e Comunicazione, Università degli Studi dell Insubria Via

More information

Proof mining and positive-bounded logic

Proof mining and positive-bounded logic Institute of Mathematics of the Romanian Academy & University of Bucharest September 12, 2016 Colloquium Logicum Hamburg, Germany Proof mining Proof mining (introduced and developed by U. Kohlenbach) aims

More information

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

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

MATH 1090 Problem Set #3 Solutions March York University

MATH 1090 Problem Set #3 Solutions March York University York University Faculties of Science and Engineering, Arts, Atkinson MATH 1090. Problem Set #3 Solutions Section M 1. Use Resolution (possibly in combination with the Deduction Theorem, Implication as

More information

Minimal logic for computable functionals

Minimal logic for computable functionals Minimal logic for computable functionals Helmut Schwichtenberg Mathematisches Institut der Universität München Contents 1. Partial continuous functionals 2. Total and structure-total functionals 3. Terms;

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

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

Type Theory and Constructive Mathematics. Type Theory and Constructive Mathematics Thierry Coquand. University of Gothenburg Type Theory and Constructive Mathematics Type Theory and Constructive Mathematics Thierry Coquand University of Gothenburg Content An introduction to Voevodsky s Univalent Foundations of Mathematics The

More information

Notation for Logical Operators:

Notation for Logical Operators: Notation for Logical Operators: always true always false... and...... or... if... then...... if-and-only-if... x:x p(x) x:x p(x) for all x of type X, p(x) there exists an x of type X, s.t. p(x) = is equal

More information

Logic Part II: Intuitionistic Logic and Natural Deduction

Logic Part II: Intuitionistic Logic and Natural Deduction Yesterday Remember yesterday? classical logic: reasoning about truth of formulas propositional logic: atomic sentences, composed by connectives validity and satisability can be decided by truth tables

More information

The Calculus of Inductive Constructions

The 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 information

Uniform Schemata for Proof Rules

Uniform Schemata for Proof Rules Uniform Schemata for Proof Rules Ulrich Berger and Tie Hou Department of omputer Science, Swansea University, UK {u.berger,cshou}@swansea.ac.uk Abstract. Motivated by the desire to facilitate the implementation

More information

Realizing the axiom of dependent choice

Realizing the axiom of dependent choice Realizing the axiom of dependent choice Jean-Louis Krivine PPS Group, University Paris 7, CNRS krivine@pps.jussieu.fr Edinburgh, March 26, 2003 1 The extended Curry-Howard correspondence We want to get

More information

Gödel s Functional ( Dialectica ) Interpretation

Gödel s Functional ( Dialectica ) Interpretation CHAPTER VI Gödel s Functional ( Dialectica ) Interpretation Jeremy Avigad Department of Philosophy, Carnegie Mellon University Pittsburgh, PA 15213 Solomon Feferman Departments of Mathematics and Philosophy,

More information

Chapter 3. Formal Number Theory

Chapter 3. Formal Number Theory Chapter 3. Formal Number Theory 1. An Axiom System for Peano Arithmetic (S) The language L A of Peano arithmetic has a constant 0, a unary function symbol, a binary function symbol +, binary function symbol,

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Decorating proofs. Helmut Schwichtenberg. joint work with Luca Chiarabini and Diana Ratiu Mathematisches Institut, LMU, München

Decorating proofs. Helmut Schwichtenberg. joint work with Luca Chiarabini and Diana Ratiu Mathematisches Institut, LMU, München joint work with Luca Chiarabini and Diana Ratiu Mathematisches Institut, LMU, München Leeds Symposium on Proof Theory and Constructivism, 3-16 July 2009 Natural deduction with non-computational connectives

More information

Introduction to dependent type theory. CIRM, May 30

Introduction 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 information

Semantics of intuitionistic propositional logic

Semantics of intuitionistic propositional logic Semantics of intuitionistic propositional logic Erik Palmgren Department of Mathematics, Uppsala University Lecture Notes for Applied Logic, Fall 2009 1 Introduction Intuitionistic logic is a weakening

More information

TRUTH TELLERS. Volker Halbach. Scandinavian Logic Symposium. Tampere

TRUTH 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 information

15414/614 Optional Lecture 3: Predicate Logic

15414/614 Optional Lecture 3: Predicate Logic 15414/614 Optional Lecture 3: Predicate Logic Anvesh Komuravelli 1 Why Predicate Logic? Consider the following statements. 1. Every student is younger than some instructor. 2. Not all birds can fly. Propositional

More information

Program Extraction in Church s Simple Theory of Types with Applications to Computable Analysis

Program Extraction in Church s Simple Theory of Types with Applications to Computable Analysis Program Extraction in Church s Simple Theory of Types with Applications to Computable Analysis Ulrich Berger Swansea University Computation and Correctness in Analysis (CCA) Nancy, 9 July 2013 1 / 36 A

More information

Proofs in classical logic as programs: a generalization of lambda calculus. A. Salibra. Università Ca Foscari Venezia

Proofs in classical logic as programs: a generalization of lambda calculus. A. Salibra. Università Ca Foscari Venezia Proofs in classical logic as programs: a generalization of lambda calculus A. Salibra Università Ca Foscari Venezia Curry Howard correspondence, in general Direct relationship between systems of logic

More information

The Curry-Howard Isomorphism

The 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 information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Clausal Presentation of Theories in Deduction Modulo

Clausal Presentation of Theories in Deduction Modulo Gao JH. Clausal presentation of theories in deduction modulo. JOURNAL OF COMPUTER SCIENCE AND TECHNOL- OGY 28(6): 1085 1096 Nov. 2013. DOI 10.1007/s11390-013-1399-0 Clausal Presentation of Theories in

More information

A Schütte-Tait style cut-elimination proof for first-order Gödel logic

A Schütte-Tait style cut-elimination proof for first-order Gödel logic A Schütte-Tait style cut-elimination proof for first-order Gödel logic Matthias Baaz and Agata Ciabattoni Technische Universität Wien, A-1040 Vienna, Austria {agata,baaz}@logic.at Abstract. We present

More information

4.4 Contracting Proofs to Programs

4.4 Contracting Proofs to Programs 4.4 Contracting Proofs to Programs 75 We close this section with the formal version of the proof above. Note the use of the conversion rule conv. [ x : nat; [ ~ 0 = 0; 0 = 0; F; s(pred(0)) = 0 ]; ~ 0 =

More information

COMP 409: Logic Homework 5

COMP 409: Logic Homework 5 COMP 409: Logic Homework 5 Note: The pages below refer to the text from the book by Enderton. 1. Exercises 1-6 on p. 78. 1. Translate into this language the English sentences listed below. If the English

More information

Contents Propositional Logic: Proofs from Axioms and Inference Rules

Contents Propositional Logic: Proofs from Axioms and Inference Rules Contents 1 Propositional Logic: Proofs from Axioms and Inference Rules... 1 1.1 Introduction... 1 1.1.1 An Example Demonstrating the Use of Logic in Real Life... 2 1.2 The Pure Propositional Calculus...

More information

Lecture Notes on Quantification

Lecture Notes on Quantification Lecture Notes on Quantification 15-317: Constructive Logic Frank Pfenning Lecture 5 September 8, 2009 1 Introduction In this lecture, we introduce universal and existential quantification As usual, we

More information

PROGRAM EXTRACTION IN EXACT REAL ARITHMETIC

PROGRAM EXTRACTION IN EXACT REAL ARITHMETIC PROGRAM EXTRACTION IN EXACT REAL ARITHMETIC KENJI MIYAMOTO AND HELMUT SCHWICHTENBERG Dedicated to John Tucker on occasion of his 60th birthday Abstract. The importance of an abstract approach to a computation

More information

A Note on Bootstrapping Intuitionistic Bounded Arithmetic

A Note on Bootstrapping Intuitionistic Bounded Arithmetic A Note on Bootstrapping Intuitionistic Bounded Arithmetic SAMUEL R. BUSS Department of Mathematics University of California, San Diego Abstract This paper, firstly, discusses the relationship between Buss

More information

Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10

Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10 Math 4606, Summer 2004: Inductive sets, N, the Peano Axioms, Recursive Sequences Page 1 of 10 Inductive sets (used to define the natural numbers as a subset of R) (1) Definition: A set S R is an inductive

More information

Notes on the Foundations of Constructive Mathematics

Notes on the Foundations of Constructive Mathematics Notes on the Foundations of Constructive Mathematics by Joan Rand Moschovakis December 27, 2004 1 Background and Motivation The constructive tendency in mathematics has deep roots. Most mathematicians

More information

Program extraction in exact real arithmetic

Program extraction in exact real arithmetic Under consideration for publication in Math. Struct. in Comp. Science Program extraction in exact real arithmetic K E N J I M I Y A M O T O and H E L M U T S C H W I C H T E N B E R G Mathematisches Institut,

More information

Normal Forms for First-Order Logic

Normal Forms for First-Order Logic Logic and Proof Hilary 2016 James Worrell Normal Forms for First-Order Logic In this lecture we show how to transform an arbitrary formula of first-order logic to an equisatisfiable formula in Skolem form.

More information

Reverse mathematics and uniformity in proofs without excluded middle

Reverse mathematics and uniformity in proofs without excluded middle Reverse mathematics and uniformity in proofs without excluded middle Jeffry L. Hirst jlh@math.appstate.edu Carl Mummert mummertcb@appstate.edu Appalachian State University Submitted for publication: 5/3/2006

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Fundamentals of Software Engineering

Fundamentals of Software Engineering Fundamentals of Software Engineering First-Order Logic Ina Schaefer Institute for Software Systems Engineering TU Braunschweig, Germany Slides by Wolfgang Ahrendt, Richard Bubel, Reiner Hähnle (Chalmers

More information

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

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Fast Growing Functions and Arithmetical Independence Results

Fast Growing Functions and Arithmetical Independence Results Fast Growing Functions and Arithmetical Independence Results Stanley S. Wainer (Leeds UK) Stanford, March 2013 1. Intro A Mathematical Incompleteness Are there any genuine mathematical examples of incompleteness?

More information

Systematic Construction of Natural Deduction Systems for Many-valued Logics: Extended Report

Systematic Construction of Natural Deduction Systems for Many-valued Logics: Extended Report Systematic Construction of Natural Deduction Systems for Many-valued Logics: Extended Report Matthias Baaz Christian G. Fermüller Richard Zach May 1, 1993 Technical Report TUW E185.2 BFZ.1 93 long version

More information

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure

More information

A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM

A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 100, Number 4, August 1987 A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM SAMUEL R. BUSS Abstract. We present two proofs,

More information

Lecture Notes on Sequent Calculus

Lecture Notes on Sequent Calculus Lecture Notes on Sequent Calculus 15-816: Modal Logic Frank Pfenning Lecture 8 February 9, 2010 1 Introduction In this lecture we present the sequent calculus and its theory. The sequent calculus was originally

More information

XII. Elementary Function

XII. Elementary Function XII. Elementary Function Yuxi Fu BASICS, Shanghai Jiao Tong University What is the class of arithmetic functions we use in mathematics? Computability Theory, by Y. Fu XII. Elementary Function 1 / 17 Definition

More information

TR : Binding Modalities

TR : Binding Modalities City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2012 TR-2012011: Binding Modalities Sergei N. Artemov Tatiana Yavorskaya (Sidon) Follow this and

More information

Two sources of explosion

Two sources of explosion Two sources of explosion Eric Kao Computer Science Department Stanford University Stanford, CA 94305 United States of America Abstract. In pursuit of enhancing the deductive power of Direct Logic while

More information

Ramsey s theorem for pairs and program extraction

Ramsey s theorem for pairs and program extraction Ramsey s theorem for pairs and program extraction Alexander P. Kreuzer (partly joint work with Ulrich Kohlenbach) Technische Universität Darmstadt, Germany Bertinoro, May 2011 A. Kreuzer (TU Darmstadt)

More information

Fundamentals of Software Engineering

Fundamentals of Software Engineering Fundamentals of Software Engineering First-Order Logic Ina Schaefer Institute for Software Systems Engineering TU Braunschweig, Germany Slides by Wolfgang Ahrendt, Richard Bubel, Reiner Hähnle (Chalmers

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

Propositional Logic: Syntax

Propositional Logic: Syntax Logic Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about time (and programs) epistemic

More information

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

An analysis of the constructive content of Henkin s proof of Gödel s completeness theorem DRAFT An analysis of the constructive content of Henkin s proof of Gödel s completeness theorem DRAFT Hugo Herbelin and Danko Ilik December 6, 2016 Abstract Gödel s completeness theorem for first-order logic

More information

Mathematical Logic. Iosif Petrakis

Mathematical Logic. Iosif Petrakis Mathematical Logic Iosif Petrakis Mathematisches Institut der Universität München Winter term 2017/2018 Contents Chapter 1. Constructive Mathematics and Classical Mathematics 1 1.1. The fundamental thesis

More information

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Bulletin of the Section of Logic Volume 45/1 (2016), pp 33 51 http://dxdoiorg/1018778/0138-068045103 Mirjana Ilić 1 AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Abstract

More information

2. Use quantifiers to express the associative law for multiplication of real numbers.

2. Use quantifiers to express the associative law for multiplication of real numbers. 1. Define statement function of one variable. When it will become a statement? Statement function is an expression containing symbols and an individual variable. It becomes a statement when the variable

More information

PROOF SIMPLIFICATION IN THE FRAMEWORK OF COHERENT LOGIC

PROOF SIMPLIFICATION IN THE FRAMEWORK OF COHERENT LOGIC Computing and Informatics, Vol. 20, 2001, 1 33, V 2014-Jul-1 PROOF SIMPLIFICATION IN THE FRAMEWORK OF COHERENT LOGIC Vesna Marinković Faculty of Mathematics University of Belgrade Studentski trg 16 11000

More information

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements

More information

Cylindrical Algebraic Decomposition in Coq

Cylindrical Algebraic Decomposition in Coq Cylindrical Algebraic Decomposition in Coq MAP 2010 - Logroño 13-16 November 2010 Assia Mahboubi INRIA Microsoft Research Joint Centre (France) INRIA Saclay Île-de-France École Polytechnique, Palaiseau

More information

Implicit Computational Complexity

Implicit Computational Complexity Implicit Computational Complexity Simone Martini Dipartimento di Scienze dell Informazione Università di Bologna Italy Bertinoro International Spring School for Graduate Studies in Computer Science, 6

More information

First-Order Intuitionistic Logic with Decidable Propositional Atoms

First-Order Intuitionistic Logic with Decidable Propositional Atoms First-Order Intuitionistic Logic with Decidable Propositional Atoms Alexander Sakharov alex@sakharov.net http://alex.sakharov.net Abstract First-order intuitionistic logic extended with the assumption

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

Truth values algebras and proof normalization

Truth values algebras and proof normalization Truth values algebras and proof normalization Gilles Dowek École polytechnique and INRIA, LIX, École polytechnique, 91128 Palaiseau Cedex, France http://lix.polytechnique.fr/ dowek/ Gilles.Dowek@polytechnique.edu

More information

Embedding the Classical in the Intuitionistic Continuum

Embedding the Classical in the Intuitionistic Continuum Embedding the Classical in the Intuitionistic Continuum Joan Rand Moschovakis Occidental College (Emerita) and MPLA UC Irvine April 4, 2014 Outline: 1. Intuitionistic vs. classical logic 2. Intuitionistic

More information

Predicate Logic - Undecidability

Predicate Logic - Undecidability CS402, Spring 2016 Undecidable Problems Does the following program halts? (1) N : n, total, x, y, z (2) n GetUserInput() (3) total 3 (4) while true (5) for x 1 to total 2 (6) for y 1 to total x 1 (7) z

More information

Proof Theory and Subsystems of Second-Order Arithmetic

Proof Theory and Subsystems of Second-Order Arithmetic Proof Theory and Subsystems of Second-Order Arithmetic 1. Background and Motivation Why use proof theory to study theories of arithmetic? 2. Conservation Results Showing that if a theory T 1 proves ϕ,

More information

Propositional and Predicate Logic - XIII

Propositional and Predicate Logic - XIII Propositional and Predicate Logic - XIII Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - XIII WS 2016/2017 1 / 22 Undecidability Introduction Recursive

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

More information

An Intuitively Complete Analysis of Gödel s Incompleteness

An 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 information

Logic II. Helmut Schwichtenberg. Mathematisches Institut der LMU, Sommersemester 2014

Logic II. Helmut Schwichtenberg. Mathematisches Institut der LMU, Sommersemester 2014 Logic II Helmut Schwichtenberg Mathematisches Institut der LMU, Sommersemester 2014 Contents Preface Preliminaries v vii Chapter 1. Logic 1 1.1. Natural deduction 2 1.2. Normalization 15 1.3. Soundness

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information