Light Monotone Dialectica

Size: px
Start display at page:

Download "Light Monotone Dialectica"

Transcription

1 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 06 Talk in Seattle, 16 August 2006 Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

2 Outline of this Talk 1 Introduction A seemingly simple game-problem of discrete mathematics Generalization and set-up for the Proof-theoretic machinery 2 Hereditarily Extensional Equality in computer system MinLog Term system, majorizability and Hereditarily Extensional Equality Weakly extensional monotonic Arithmetic for Göedel functionals 3 From Gödel s Dialectica to Light Monotone Dialectica The pure Göedel s functional Dialectica interpretation The Contraction Problem > Achilles heel for Dialectica! The Light Monotone Dialectica majorant extraction 4 Conclusions and Future work The human/computer outcome for our general game-problem Computer really necessary? Implementing Monotone Dialectica Work to be done > the real Light Monotone Dialectica Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

3 A game-problem of discrete mathematics 1 Let f, g, h : IN IN s.t. h fixed & n IN. f (n) h(n) g(n) h(n) Given k IN find L IN s.t. [ i L. f (i) = g(i)] [ j k. f (j) = g(j)] 2 Dummy answer L : k. Hence try to complicate the demand: f, g IN IN h. [ i L. f (i) = g(i) ] [ j k. f (f (j)) = g(g(j)) ] 3 Simple optimal answer max{k, h(0),..., h(k)}. But what about: f, g h. [ i L. f (i) = g(i) ] [ j k. f (f (f (j))) = g(g(g(j))) ] 4 Temptation max{k, h(0),..., h(k), h(h(0)),..., h(h(k))}. False, since f (j) h(j) f (f (j)) h(h(j)), hence f (f (0)) > h(h(j)) possible. 5 How to solve this? And what about the fully general case? f, g IN IN h. [ i L. f (i) = g(i) ] [ j k. f (m) (j) = g (m) (j) ] Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

4 Set-up for the Proof-theoretic machinery (1/2) 1 Extract moduli of uniform continuity for closed terms t m of Goedel s T of type (IN IN) (IN IN) where t m : λh IN IN, k IN. R IN IN (0)[λp, q. h (m) (p) + q](k + 1) 2 Hence t m (h, k) h (m) (0) + h (m) (1) h (m) (k). How??? Let P : f, g. [ i. f (i) = IN g(i) ] [ j. t m (f, j) = IN t m (g, j) ] 3 The above P is a Minimal Logic proof of (almost) t m t m. We apply on P a Light Monotone Dialectica extraction in MinLog. 4 Gödel s Dialectica would give an exact realizer t [f, g, j ] for i s.t. f, g j. f (t [f, g, j]) = IN g(t [f, g, j ]) t m (f, j) = IN t m (g, j) 5 If t maj λf, g, j. t then for k j, h maj h and h f, g one has (L : t(h, h, k)) t [f, g, j ] and therefore such an L is a solution: h f, g IN IN h k. [ i L. f (i) = g(i) ] [ j k. f (m) (j) = g (m) (j) ] Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

5 Set-up for the Proof-theoretic machinery (2/2) Start from proof of hereditarily extensional equality of t to itself. Hence a proof of t (IN IN) (IN IN) t in system Z 0 of Berger- Buchholz-Schwichtenberg, the base logic of machine system MinLog. Hence a Minimal Logic proof without use of Extensionality Axiom. Two extreme approaches: 1 First extract t by Gödel s Dialectica and then majorize it via Howard s algorithm (Kohlenbach s PhD thesis, JSL paper 92). 2 Directly extract t by producing a majorant for the closed extracted term at each of the Dialectica recursion step (Kohlenbach 93). None of the two efficient on the computer. Solution: use an intermediate approach > Extract partial majorants which are not necessarily closed terms, only simplify treatment of Contraction. Also use a Normalization during Extraction, i.e. NbE-normalize the extracted term of the conclusion of a Modus Ponens. (NdE) Huge impact of such Partial Evaluation. No solution without it!! Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

6 The term system a lambda-variant of Göedel s T 1 All finite types generated from IN and IB by the rule σ, τ (στ) 2 tt IB, ff IB equality = ININIB and inequality ININIB, maximum Max INININ 3 0 IN (zero), Suc ININ τ (INτ τ)inτ (successor) and Gödel s recursor Rτ And IBIBIB : λp, q. If IB p q ff Imp IBIBIB : λp, q. If IB p q tt 4 Combinators at all types are defined in terms of λ-abstraction: Σ : λx, y, z. x z (y z) Π : λx, y. x 5 at IB is the unique predicate symbol of WeZ m one IB argument 6 Extensionally defined equality and inequality (below σ {IB, IN}) s = IN t : at(= s t) s = IB t : at(s) at(t) s IN t : at( s t) s IB t : at(t) at(s) s = σ1...σ n σ t : x σ x n σn (s x 1... x n = σ t x 1... x n ) s σ1...σ n σ t : x σ x n σn (s x 1... x n σ t x 1... x n ) Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

7 Majorizability and Hereditarily Extensional Equality (1) x maj IN y : x IN y : at( x IN y IN ) x στ y z σ (x z τ y z) x maj στ y : z σ 1, zσ 2 (z 1 maj σ z 2 x z 1 maj τ y z 2 ) 0 maj IN 0, Suc maj ININ Suc, Σ maj Σ, Π maj Π and R M maj R WeZ m t maj στ t s maj σ s = t s maj τ t s x IN y : x = IN y : at(= x IN y IN ) x = στ y z σ (x z = τ y z) x στ y : z σ 1, zσ 2 (z 1 σ z 2 x z 1 τ y z 2 ) 0 IN 0, Suc ININ Suc, Σ Σ, Π Π and R R WeZ m t στ t s σ s = t s τ t s Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

8 System WeZ m > Implic. Introd. with Contraction 1 WeZ m - Weakly extensional Minimal Arithmetic with and Max 2 Minimal Arith. Heyting Arith. in all finite types HA ω \ A 3 WeZ m - underlying Logic is Natural Deduction, not Hilbert-style! 4 [u : A]... /B +, particular set of instances of A in the same A B parcel (assumption variable) u get discharged; If at least two A get discharged then one has logical Contraction; If moreover A contains at least one positive universal or a negative existential quantifier then one has a computationally relevant Contraction 5 Comp. Relevance relative to both Gödel and Monotone Dialectica {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) Same tuple z produced by 2 n + 1 m discharged instances of A If {T i } n+1 i=1 non-null (A is Dialectica relevant) Equalization is a must! Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

9 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 WeZ m.. A(tt) A(ff ) p IB A(p) A(0) z (A(z) A(Sucz)) (Boolean Induction Axiom) z A(z) R τ x y 0 = τ x R τ x y (Sucz) = τ y(z, R τ x y z) } : AxR τ Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

10 Göedel s functional Dialectica interpretation 1 A translation of proofs which includes a translation of formulas. 2 A(a) A D x y A D (x; y; a) with a all free vars of formula A 3 A D is quantifier-free for Göedel s Dialectica, since decidability needed > this no longer for Monotone setup Bounded Dialectica 4 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 get actually realized by terms in Gödel s T. 5 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 Dialectica: > use a simple common upper bound (maximum majorant) of the candidates = extract majorants Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

11 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 Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

12 Exact realizer synthesis by Dialectica Interpretation Extraction and Soundness Theorem: There exists an algorithm which, given at input a WeZ + proof P : {C i } n i=1 A [hence of the conclusion formula A, from the undischarged assumption formulas {C i } n i=1 ] 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 (this one names the free variable condition (FVC) for programs extracted by the Dialectica Interpretation ) [ x, y not occur free in the extracted terms {T i } n i=1 and T ] Notice that: Terms T and {T i } n i=1 are not necessarily closed!!! Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

13 Problem > Implication Introduction with Contraction [u : 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) Case: tuples {T i } n+1 i=1 are non-null! Recall that A D is quantifier-free 3) Since {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 ) one 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 Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

14 The Light Monotone Dialectica program extraction Majorant realizer synthesis by Light Monotone Dialectica Theorem: There ex. an algorithm which, given at input a WeZm + proof P : {C i (a i )} n i=1 A(a ) [hence of the conclusion formula A, whose free variables form the tuple a, from the undischarged assumption formulas {C i } n i=1 ] it will produce at output the following (a : a 1,..., a n, a ): 1 tuples of terms {T i [a]} n i=1 and T [a], with free variables among a 2 the tuples of variables {x i } n i=1 and y, all together with 3 the following verifying proof in WeZ m (below let x : x 1,..., x n ): Y 1,... Y n, X [ n i=1 (λa. T i) maj Y i (λa. T ) maj X a, x, y ( { n i=1 Ci D(x i ; Y i (a, x, y); a i )} A D (X(a, x); y; a) ) ] Variables x and y do not occur in P (they are all completely new) = x and y do not occur free in the extracted terms {T i } n i=1 and T. Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

15 Majorizability and Hereditarily Extensional Equality (2) x maj IN y : x IN y : at( x IN y IN ) x στ y z σ (x z τ y z) x maj στ y : z σ 1, zσ 2 (z 1 maj σ z 2 x z 1 maj τ y z 2 ) 0 maj IN 0, Suc maj ININ Suc, Σ maj Σ, Π maj Π and R M maj R WeZ m t maj στ t s maj σ s = t s maj τ t s x IN y : x = IN y : at(= x IN y IN ) x = στ y z σ (x z = τ y z) x στ y : z σ 1, zσ 2 (z 1 σ z 2 x z 1 τ y z 2 ) 0 IN 0, Suc ININ Suc, Σ Σ, Π Π and R R WeZ m t στ t s σ s = t s τ t s Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

16 The WeZ m proof at input & post-extraction ops. 1 Let t ρ be a closed term of Gödel s T. Then WeZ m t ρ t. 2 Let t (IN IN) (IN IN) be a closed T-term. Since WeZ m x IN IN, y IN IN [ x = IN IN y x IN IN y ] (due to weak extensionality + reflexivity) it immediately follows that WeZ m x IN IN, y IN IN [ x = IN IN y t(x) = IN IN t(y) ] 3 Let t[a] be a T-term with free vars a. There exists a corresponding T-term t [a] such that WeZ m λa. t maj λa. t. Very simple t construction: just replace each R in t with the corresponding R M. 4 If the type of a is IN ρ then a M maj a, hence t [a M ] maj t[a]. 5 For a of type IN ρ define a M (k) : Max ρ (a(0),..., a(k)) Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

17 MinLog computer output for our game-problem, m = 3 1 For t 3 : λh IN IN, k IN. R IN IN (0)[λp, q. h (3) (p) + q](k + 1) want f, g h. [ i L. f (i) = g(i) ] [ j k. f (f (f (j))) = g(g(g(j))) ] 2 The MinLog machine outputs in less than one minute: λh, k. max{k, h(0)..., h(k), max{h(0)... h(max{h(0)... h(k)})}} which immediately rewrites more humanly readable as L 3 : λh, k. max{k, h(0), h(1),..., h(max{k, h(0), h(1),..., h(k)})} 3 Recall that for m = 2 and m = 1 the (human) outcomes were L 2 : λh, k. max{k, h(0), h(1),..., h(k)} L 1 : λh, k. k Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

18 Final human solution for our general game-problem Pattern can be noticed (by the human!) in the solution of our problem for terms t m : λh, k. h (m) (0) h (m) (k), with h (m) (i) : h(h... (h(i))) s.t. h appears m times on the right side. t 1 (h, k) k t 2 (h, k) max{k, h(0),..., h( t 1 (h, k))} t 3 (h, k) max{k, h(0),..., h( t 2 (h, k))} Immediate inference of the generic (recursive) solution for m IN: t m+1 (h, k) max{k, h(0),..., h( t m (h, k))} Verify that t m is the optimal modulus of uniform continuity for t m! Now an easy exercise for the human! = See my PhD thesis :) Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

19 Was the Computer really necessary? 1 Maybe not, but what if the problem were more complex/tedious? 2 Certainly helpful for preventing the human error! Effectively! Implementing Monotone Dialectica 1 The light variant of Monotone Dialectica is the result of our implementation effort! Many operations which are easy for the human (mathematician) are not really that easy for the machine! 2 On the computer, the Goal is to produce programs in normal form! 3 Hence improve the Nbe-normalization by its own Partial Evaluation = Normalization during Extraction (NdE) NbE-normalize the term extracted for the conclusion of each Modus Ponens. 4 Only majorize at Contraction = produce a partial majorant which is transformed at the end by replacing each R with its corresp. R M. 5 Why? Well, some of the R may be eliminated during the partial NbE-normalization... Also use the more clever R M, with just 1 R. Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

20 A lot of Work to be done... 1 Completely formalize and explore the limits of Normalization during Extraction (NdE) generic optimization for (t n..(t 2 (t 1 t 0 ))..) 2 Completely formalize these ad-hoc optimizations of the computer implementation of Monotone Dialectica and combine with the light optimization brought by the use of quantifiers without comp. content 3 We suspect that the use of these ncm quantifiers may eliminate some of the comput. contractions in the Hered. Ext. Eq. extraction! This game-problem is already solved for a very particular case only! 4 Find other more interesting T-terms t m, for which the modulus of uniform continuity is far more difficult to find! 5 Find other more interesting examples for the Proof Mining by the Light (monotone) Dialectica on the Computer! 6 Improve the human-interaction side of our Dialectica extraction modules in MinLog, in order to render MinLog for Dialectica as an indispensable computer tool even for the more pure mathematically oriented Proof Mining! Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

21 Short List of related Papers I U. Kohlenbach. Proof Interpretations and the Computational Content of Proofs. Lecture Course, latest version in the author s web page. U. Kohlenbach and P. Oliva. Proof Mining: a systematic way of analysing proofs in Mathematics. Proc. of the Steklov Inst. of Mathem., 242: , U. Kohlenbach. Pointwise hereditary majorization and some applications. Arch. Math. Logic, 31: , U. Kohlenbach. Analysing proofs in Analysis. In Logic: from Foundations to Applications, Keele, 1993, European Logic Colloquium, pages Oxford University Press, Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

22 Short List of related Papers II M.-D. Hernest. Light Dialectica program extraction from a classical Fibonacci proof Proceedings of DCM@ICALP 06, ENTCS (2007), 10pp. M.-D. Hernest. Light Functional Interpretation. CSL In LNCS 3634 pp , July M.-D. Hernest and U. Kohlenbach. A complexity analysis of functional interpretations. Theoretical Computer Science, 338(1-3): , U. Berger. Uniform Heyting Arithmetic. Annals of Pure and Applied Logic, 133(1-3): , U. Berger, W. Buchholz, and H. Schwichtenberg. Refined program extraction from classical proofs. Annals of Pure and Applied Logic, 114:3 25, Mircea-Dan Hernest (LogiCal) Light Monotone Dialectica FLoC 06, Seattle, 16 Aug / 22

Light Dialectica program extraction from a classical Fibonacci proof

Light Dialectica program extraction from a classical Fibonacci proof 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

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

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

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

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

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

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

Gödel s Incompleteness Theorems

Gö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 information

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

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

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

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

CHAPTER 11. Introduction to Intuitionistic Logic

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

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY

Victoria Gitman and Thomas Johnstone. New York City College of Technology, CUNY Gödel s Proof Victoria Gitman and Thomas Johnstone New York City College of Technology, CUNY vgitman@nylogic.org http://websupport1.citytech.cuny.edu/faculty/vgitman tjohnstone@citytech.cuny.edu March

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

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

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017

3. The Logic of Quantified Statements Summary. Aaron Tan August 2017 3. The Logic of Quantified Statements Summary Aaron Tan 28 31 August 2017 1 3. The Logic of Quantified Statements 3.1 Predicates and Quantified Statements I Predicate; domain; truth set Universal quantifier,

More information

Introduction to Metalogic

Introduction to Metalogic Philosophy 135 Spring 2008 Tony Martin Introduction to Metalogic 1 The semantics of sentential logic. The language L of sentential logic. Symbols of L: Remarks: (i) sentence letters p 0, p 1, p 2,... (ii)

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

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

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula:

Examples: P: it is not the case that P. P Q: P or Q P Q: P implies Q (if P then Q) Typical formula: Logic: The Big Picture 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

More information

Nonclassical logics (Nichtklassische Logiken)

Nonclassical logics (Nichtklassische Logiken) Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter

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

Logic. Propositional Logic: Syntax. Wffs

Logic. Propositional Logic: Syntax. Wffs Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

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

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

A Constructive Analysis of Learning in Peano Arithmetic

A Constructive Analysis of Learning in Peano Arithmetic A Constructive Analysis of Learning in Peano Arithmetic Federico Aschieri Dipartimento di Informatica Università di Torino Italy School of Electronic Engineering and Computer Science Queen Mary, University

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

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

On Urquhart s C Logic

On Urquhart s C Logic On Urquhart s C Logic Agata Ciabattoni Dipartimento di Informatica Via Comelico, 39 20135 Milano, Italy ciabatto@dsiunimiit Abstract In this paper we investigate the basic many-valued logics introduced

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

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

Logic. Propositional Logic: Syntax

Logic. Propositional Logic: Syntax Logic Propositional Logic: Syntax Logic is a tool for formalizing reasoning. There are lots of different logics: probabilistic logic: for reasoning about probability temporal logic: for reasoning about

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

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

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

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

A Constructive Analysis of Learning in Peano Arithmetic

A Constructive Analysis of Learning in Peano Arithmetic A Constructive Analysis of Learning in Peano Arithmetic Federico Aschieri Dipartimento di Informatica Università di Torino Italy School of Electronic Engineering and Computer Science Queen Mary, University

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

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

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

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

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Mauro Ferrari 1, Camillo Fiorentini 2 1 DiSTA, Univ. degli Studi dell Insubria, Varese, Italy 2 DI, Univ.

More information

Logic: The Big Picture

Logic: The Big Picture Logic: The Big Picture A typical logic is described in terms of syntax: what are the legitimate formulas semantics: under what circumstances is a formula true proof theory/ axiomatization: rules for proving

More information

Gödel s Incompleteness Theorems by Sally Cockburn (2016)

Gödel s Incompleteness Theorems by Sally Cockburn (2016) Gödel s Incompleteness Theorems by Sally Cockburn (2016) 1 Gödel Numbering We begin with Peano s axioms for the arithmetic of the natural numbers (ie number theory): (1) Zero is a natural number (2) Every

More information

CITS2211 Discrete Structures Proofs

CITS2211 Discrete Structures Proofs CITS2211 Discrete Structures Proofs Unit coordinator: Rachel Cardell-Oliver August 13, 2017 Highlights 1 Arguments vs Proofs. 2 Proof strategies 3 Famous proofs Reading Chapter 1: What is a proof? Mathematics

More information

185.A09 Advanced Mathematical Logic

185.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 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

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

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

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

Semantic methods in proof theory. Jeremy Avigad. Department of Philosophy. Carnegie Mellon University. Semantic methods in proof theory Jeremy Avigad Department of Philosophy Carnegie Mellon University avigad@cmu.edu http://macduff.andrew.cmu.edu 1 Proof theory Hilbert s goal: Justify classical mathematics.

More information

Practice Test III, Math 314, Spring 2016

Practice Test III, Math 314, Spring 2016 Practice Test III, Math 314, Spring 2016 Dr. Holmes April 26, 2016 This is the 2014 test reorganized to be more readable. I like it as a review test. The students who took this test had to do four sections

More information

TR : Possible World Semantics for First Order LP

TR : Possible World Semantics for First Order LP City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2011 TR-2011010: Possible World Semantics for First Order LP Melvin Fitting Follow this and additional

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

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics

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

Lecture Notes on Combinatory Modal Logic

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

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof MCS-36: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, 010 Methods of Proof Consider a set of mathematical objects having a certain number of operations and relations

More information

COMP 2600: Formal Methods for Software Engineeing

COMP 2600: Formal Methods for Software Engineeing COMP 2600: Formal Methods for Software Engineeing Dirk Pattinson Semester 2, 2013 What do we mean by FORMAL? Oxford Dictionary in accordance with convention or etiquette or denoting a style of writing

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

Chapter 3. The Logic of Quantified Statements

Chapter 3. The Logic of Quantified Statements Chapter 3. The Logic of Quantified Statements 3.1. Predicates and Quantified Statements I Predicate in grammar Predicate refers to the part of a sentence that gives information about the subject. Example:

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

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

S4LP and Local Realizability

S4LP and Local Realizability S4LP and Local Realizability Melvin Fitting Lehman College CUNY 250 Bedford Park Boulevard West Bronx, NY 10548, USA melvin.fitting@lehman.cuny.edu Abstract. The logic S4LP combines the modal logic S4

More information

Manual of Logical Style

Manual of Logical Style Manual of Logical Style Dr. Holmes January 9, 2015 Contents 1 Introduction 2 2 Conjunction 3 2.1 Proving a conjunction...................... 3 2.2 Using a conjunction........................ 3 3 Implication

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

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

TR : Tableaux for the Logic of Proofs

TR : Tableaux for the Logic of Proofs City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2004 TR-2004001: Tableaux for the Logic of Proofs Bryan Renne Follow this and additional works

More information

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey. Major results: (wrt propositional logic) How to reason correctly. How to reason efficiently. How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague,

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

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

MAGIC Set theory. lecture 2

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

The Logic of Proofs, Semantically

The Logic of Proofs, Semantically The Logic of Proofs, Semantically Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: fitting@lehman.cuny.edu web page:

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

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

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically

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

Existence and Consistency in Bounded Arithmetic

Existence and Consistency in Bounded Arithmetic Existence and Consistency in Bounded Arithmetic Yoriyuki Yamagata National Institute of Advanced Science and Technology (AIST) Kusatsu, August 30, 2011 Outline Self introduction Summary Theories of PV

More information

Notes on induction proofs and recursive definitions

Notes on induction proofs and recursive definitions Notes on induction proofs and recursive definitions James Aspnes December 13, 2010 1 Simple induction Most of the proof techniques we ve talked about so far are only really useful for proving a property

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

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

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus

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

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning Logic Knowledge Representation & Reasoning Mechanisms Logic Logic as KR Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning Logical inferences Resolution and Theorem-proving Logic

More information

Supplementary Logic Notes CSE 321 Winter 2009

Supplementary Logic Notes CSE 321 Winter 2009 1 Propositional Logic Supplementary Logic Notes CSE 321 Winter 2009 1.1 More efficient truth table methods The method of using truth tables to prove facts about propositional formulas can be a very tedious

More information

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. Math 0413 Appendix A.0 Logic Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another. This type of logic is called propositional.

More information

Program Analysis Part I : Sequential Programs

Program Analysis Part I : Sequential Programs Program Analysis Part I : Sequential Programs IN5170/IN9170 Models of concurrency Program Analysis, lecture 5 Fall 2018 26. 9. 2018 2 / 44 Program correctness Is my program correct? Central question for

More information

22c:145 Artificial Intelligence

22c:145 Artificial Intelligence 22c:145 Artificial Intelligence Fall 2005 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2001-05 Cesare Tinelli and Hantao Zhang. a a These notes are copyrighted material and may not

More information

Logic for Computer Science - Week 5 Natural Deduction

Logic for Computer Science - Week 5 Natural Deduction Logic for Computer Science - Week 5 Natural Deduction Ștefan Ciobâcă November 30, 2017 1 An Alternative View of Implication and Double Implication So far, we have understood as a shorthand of However,

More information

CS 3110: Proof Strategy and Examples. 1 Propositional Logic Proof Strategy. 2 A Proof Walkthrough

CS 3110: Proof Strategy and Examples. 1 Propositional Logic Proof Strategy. 2 A Proof Walkthrough CS 3110: Proof Strategy and Examples 1 Propositional Logic Proof Strategy The fundamental thing you have to do is figure out where each connective is going to come from. Sometimes the answer is very simple;

More information

arxiv: v1 [math.lo] 24 May 2012

arxiv: v1 [math.lo] 24 May 2012 FROM BOLZANO-WEIERSTRASS TO ARZELÀ-ASCOLI arxiv:1205.5429v1 [math.lo] 24 May 2012 ALEXANDER P. KREUZER Abstract. We show how one can obtain solutions to the Arzelà-Ascoli theorem using suitable applications

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

Math 267a - Propositional Proof Complexity. Lecture #1: 14 January 2002

Math 267a - Propositional Proof Complexity. Lecture #1: 14 January 2002 Math 267a - Propositional Proof Complexity Lecture #1: 14 January 2002 Lecturer: Sam Buss Scribe Notes by: Robert Ellis 1 Introduction to Propositional Logic 1.1 Symbols and Definitions The language of

More information

Proof strategies, or, a manual of logical style

Proof strategies, or, a manual of logical style Proof strategies, or, a manual of logical style Dr Holmes September 27, 2017 This is yet another version of the manual of logical style I have been working on for many years This semester, instead of posting

More information

CPSC 121: Models of Computation. Module 6: Rewriting predicate logic statements

CPSC 121: Models of Computation. Module 6: Rewriting predicate logic statements CPSC 121: Models of Computation Pre-class quiz #7 is due Wednesday October 16th at 17:00. Assigned reading for the quiz: Epp, 4th edition: 4.1, 4.6, Theorem 4.4.1 Epp, 3rd edition: 3.1, 3.6, Theorem 3.4.1.

More information

Semantical study of intuitionistic modal logics

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

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock CS 3110 Lecture 19: Logic To Truth through Proof Prof. Clarkson Fall 2014 Today s music: Theme from Sherlock Review Current topic: How to reason about correctness of code Last week: informal arguments

More information