Uniform Schemata for Proof Rules
|
|
- Clement Snow
- 5 years ago
- Views:
Transcription
1 Uniform Schemata for Proof Rules Ulrich Berger and Tie Hou Department of omputer Science, Swansea University, UK Abstract. Motivated by the desire to facilitate the implementation of interactive proof systems with rich sets of proof rules, we present a uniform system of rule schemata to generate proof rules for different styles of logical calculi. The system requires only one schema for each logical operator to generate introduction and elimination rules in natural deduction and sequent calculus style. In addition, the system supports program extraction from proofs by generating realizers for the proof rules automatically. Keywords: Proof calculi, Semantics and logic of computation, Realizability 1 Introduction In mathematical logic, specifically in proof-theory, one usually tries to be minimalistic regarding the design of a logical calculus, that is, one tries to find a minimal number of complete proof rules. The reason is that when reasoning about a logical calculus one often argues by induction on the construction of proofs, which generates a proof case for each proof rule. However, if one reasons with a logical calculus, for example within an interactive theorem prover, one is interested in a calculus that provides a rich set of rules in order to allow convenient and fast proof development. In fact, in current interactive proof systems one usually finds proof rules that correspond to natural deduction style, sequent style, or combinations and variants thereof. The main motivation for this work is to provide a systematic approach to a concise and efficient implementation of logical calculi with such rich sets of proof rules. We introduce a uniform system of rule schemata, which directly express the meaning of logical operators and which, in a uniform way, allow to derive the rules of different styles of proof calculi, such as sequent calculus and natural deduction, but also further rules that are used in interactive proof assistants. Surprisingly, the approach requires only one schema for each logical operator. The introduction and elimination rules of natural deduction as well as left and right rules in sequent calculus are derived automatically. Moreover, our system is able to automatically derive realizers of intuitionistic proof rules, thus facilitating the implementation of proof systems that support program extraction from proofs, such as oq [4] and Minlog [7]. We are currently developing a prototype of such a proof system using rule schemata as a basis of the implementation.
2 2 U. Berger, T. Hou An additional advantage of rule schemata is the fact that they are built on a data structure of finitary sets, a generalization of finite sets. Finitary sets have the structure of a monad and can therefore be very conveniently implemented and manipulated in a programming language that supports monads and provides a special syntax for them. 2 Rule Schemata and their associated generating rules Briefly, the global strategy is as follows. First we introduce rule schemata, from which we derive generating rules. These generating rules are different rules that correspond to different styles of proving e.g. sequent calculus, or natural deduction or the mixture of these two. Then from generating rules we obtain the real rules in the proof system by instantiation and adding side formulas. 2.1 Finitary sets The premise and conclusion of a rule schema will be a set of sets of sequents. For propositional logic finite sets would suffice, but in order to deal with quantifiers the notion of finiteness needs to be slightly extended. Let us assume we are given a class of objects e, called expressions, for which the notions of free variable and substitution e[x/t] are defined, where t is a tuple of objects called terms. A finitary set of expressions, f-set for short, is of the form E x. where E is a finite set and x is finite tuple of variables called abstractions. The intended meaning of E x is the set {e[t/x] e E, t terms }. In E x all free occurrences of the variables x in E are bound. In fact, regarding free and bound variables E x is analogous to the lambda abstraction λx.e. Using this analogy, we can define a notion of substitution for f-sets, hence f-sets can be regarded as expressions again, and the notion of an f-set of f-sets makes sense. The passage from expressions to f-sets of expression gives rise to a functor which has the additional structure of a monad [8]. The monadic structure greatly facilitates the implementation of f-sets in functional languages, such as Haskell, that support monads and provide a concise and intuitive syntax [11] for them. We took advantage of this syntax in our prototype implementation, but will not use it here, because there is no space to explain it, and we wish to keep the paper accessible to readers unfamiliar with it. The union of two f-sets is defined as E x F y = (E F ) xy where w.l.o.g. it is assumed that the tuples x and y are disjoint and don t create undesired bindings. Note that any finite set of expressions can be viewed as an f-set of expression (with an empty tuple of abstractions).
3 Uniform Schemata for Proof Rules Rule schemata We consider first-order formulas,, P (t), A B, A B, A B, x A, x A, where and are symbols for truth and falsity, P ranges of predicate symbols of fixed arities, and t ranges over finite vectors of first-order terms built from variables, constants and function symbols. An atomic proposition is a predicate symbol of arity 0. We identify an atomic proposition P with the formula P (). An instance of a formula is obtained by substituting each constant by a term, each function symbol f by a function abstraction λx. s (that is, replacing each occurrence of a subterm f(t) by s[t/x]), and each predicate symbol P by a comprehension term {x A} (that is, replacing each occurrence of a subformula P (t) by A[t/x]). A sequent, S = A, consists of a finite set of formulas called antecedent, and a formula A called succedent of S. We write a sequent {A 1,..., A n } B as A 1,..., A n B and identify a formula A with the sequent A. A sequent S = A 1,..., A n B represents the formula [S] = A 1... A n B. For an f-set of sequents X = {S 1,..., S n } x we define the formulas X = x([s1 ]... [S n ]), X = x([s1 ]... [S n ]). For an f-set of f-sets of sequents, X = {X 1,..., X n } x, we define the formulas X = x( X1... X n ), X = x( X1... X n ). The general form of a rule schema (schema for short) is X Y where X and Y are f-sets of f-sets of sequents. The schema (1) represents the formula X Y. (1) 2.3 Schemata for Intuitionistic Logic The rule schemata for intuitionistic logic consist of a defining schema for each logical operator plus a structural schema Ax that corresponds to an axiom or assumption rule, {{A, B}} {{A B}} {{A}, {B}} {{A B}} {{A B}} {{A B}} {{P (x)} x } {{ x P (x)}} {{P (x)}} x {{ x P (x)}} (2) {{}} {{ }} {} {{ }} Ax {{}} {} where A, B are different atomic propositions and P is a unary predicate symbol.
4 4 U. Berger, T. Hou Theorem 1 (Soundness of Rule Schemata for Intuitionistic Logic). The schemata for intuitionistic logic (2) are logically valid. The formulas represented by defining schemata are of the form where is the formula in the schema s conclusion. The schema Ax represents the formula. Remark. If we regard schemata as formulas in a meta-logic, the defining schemata in (2) can be viewed as definitions of the logical operators in a meta-logic (where in this paper we refrain from distinguishing between operators from the metalogic and the object-logic). This is similar to categorical logic [6, 5] where one defines the logical operators through appropriate adjunctions. In categorical logic one can use the categorical laws to derive logical proof rules. Similarly, we will use the laws of an intuitionistic meta-logic to derive (in Sect. 2.5 and 2.6) proof rules of the object-logic. What we gain is the fact that the meta-logic can be formalized with a minimal set of rules, but the resulting proof rules of the objectlogic will have a rich set of rules. 2.4 Invertible Rule Schemata We call an f-set of f-sets of sequents X dualizable and define its dual δx if one of the following two conditions holds: (1) X = {{S 1,..., S n } x }, with δx = {{S 1 },..., {S n }} x. (2) X = {{S 1 },..., {S n }} x, with δx = {{S 1,..., S n } x }. learly, if X is dualizable, then δx is dualizable, and δδx is the same as X. A rule schema X Y is invertible if the sets X and Y are both dualizable. In this case the inverse is defined as δy δx Theorem 2. If X is an invertible f-set of f-sets of sequents, then X is equivalent to δx, and X is equivalent to δx. Hence the inverse of an invertible scheme represents the converse implication represented by the original scheme. learly, the schemata for intuitionistic logic (2) are invertible, with inverses {{A B}} {{A}, {B}} {{A B}} {{A, B}} {{A B}} {{A B}} {{ x P (x)}} {{ xp (x)}} {{P (x)}} x {{P (x)} x } (3) {{ }} {} {{ }} {{}} Ax {{}} {} Note that the schema Ax is identical to its inverse Ax.
5 Uniform Schemata for Proof Rules Generating rules We describe two ways (Rules 1, 2) of associating with a schema a generating rule. There will also be Rules v1, v2 which produce variants of generating rules. The general form of a generating rule is X S (4) where X is a f-set of sequents and S is a sequent. (4) represents the formula X S If X = {S 1,..., S n } x then we will display the generating rule (4) usually as S 1... S n x S Below, denotes an atomic proposition not occurring in X, Y. We associate with a schema E x F y where E and F are finite sets of f-sets of sequents, generating rules according to the following Rules 1, 2: Rule 1 associates with any f-set X E and f-sets (F 1 ) u1,..., (F n ) un F, where the F i are finite sets of formulas (i.e. sequents with empty antecedents), the generating rule X {A 1,..., A n A 1 F 1,..., A n F n } u1,...,u n. Note that the abstractions x and y are discarded. Rule 2 associates with X E and { A} F the generating rule X A Rules v1 allows to produce variants of a given generating rule by moving formulas from the premise to the antecedent of the conclusion. More precisely, let a generating rule of the form X A be given, where is a finite (not just finitary) set of formulas, i.e the elements of are sequents with empty antecedent. We transform this into X A
6 6 U. Berger, T. Hou Rule v2 transforms a generating rule X A into the variant X {A } From the construction of the generating rules associated with schemata one immediately sees: Theorem 3 (Soundness of the Rules 1, 2, v1, v2). The generating rule associated with a schema by rules 1 and 2 are intuitionistically implied by the schema. Rules v1, v2 produce equivalent generating rules in the sense that the sets of instances of formulas they represent are equivalent in intuitionistic logic. 2.6 Proof rules A proof rule is a set of rules of the form 1 A 1... n A n A A generating rule generates a proof rule by adding side formulas and instantiating predicate symbols. More precisely, a generating rule 1 A 1... n A n x A generates the proof rule consisting of the rules Γ 1 A 1... Γ n A n Γ A where Γ is a finite set of formulas (the side formulas) not containing x free, and the primed s and As are instances of the s and As leaving x unchanged.. 3 Deriving the rules of natural deduction and sequent calculus We now discuss the generating rules associated with the schemata (2) and their inverses (3) and show that all logical rules of intuitionistic natural deduction and sequent calculus are generated. We omit the defining schema for and its inverse since their generating rules are less interesting and are largely subsumed by the schema Ax. Note also that the defining schema for has no associated generating rule (but the inverse of this schema does have generating rules). {{A, B}} {{A B}}. By Rules 1, 2, v1, v2 we have the generating rules
7 and the variants 1.1 B A B A 2.1 B A A B 1 A B A B Uniform Schemata for Proof Rules 7 2 A A B B A B A B A B A B 1.3 A B A, B 2.3 A, B A B 2 corresponds to the -introduction rule of natural deduction, which is the same as the -right rule of sequent calculus. 1.3 corresponds to the inverse of the -left rule in sequent calculus. 2.3 is the axiom of -introduction. To give an example of a generated proof rule, the proof rules corresponding to 2 consists of all rules of the form Γ A Γ B. Γ A B where Γ ranges over an arbitrary finite set of formulas and A, B range over arbitrary formulas. In the following we only show a selection of generating rules concentrating on those that correspond to proof rules in natural deduction and sequent calculus. {{A B}} {{A}, {B}}. We have the generating rules A, B A B A B A A B B which are the -left rule of sequent calculus and the -elimination rules of natural deduction. {{A}, {B}} {{A B}}. Only the generating rules derived from Rule 2 are of interest: A A B B A B These are the -introduction rules of natural deduction, which are the same as the -right rules of sequent calculus. {{A B}} {{A, B}}. We have the generating rules A B A B A B A B which are the -elimination rule in natural deduction and the -left rule in sequent calculus. {{A B}} {{A B}}. Only the generating rule from Rule 2, A B A B, is interesting. It corresponds to -introduction in natural deduction which is the same as the -right rule in the sequent calculus. {{A B}} {{A B}}. The generating rules of interest are
8 8 U. Berger, T. Hou A B B A A B A B A B A B which are -elimination in natural deduction a.k.a. modus ponens, the inverse of -introduction, and (obtained from the former generating rule by applying rules v2 and then v1) the -left rule of sequent calculus. {{P (x)} x } P (x). By Rule 2, we have x, which is the -introduction {{ x P (x)}} x P (x) rule of natural deduction and the -right rule of the sequent calculus. The corresponding proof rule is where A(x) is an arbitrary formula and Γ A(x) Γ x A(x) Γ is a finite set of formulas not containing x free. {{ x P (x)}} P (x). By Rules 1 and v1, we have x, which is {{P (x)}} x x P (x) x P (x) the -left rule of the sequent calculus. By Rule 2, we have, which is P (x) the -elimination rule of natural deduction. The corresponding proof rules are Γ, A(t) Γ, x A(x) Γ x A(x) Γ A(t) {{P (x)}} x x P (x). By Rules 1 and v1, we have. By Rule 2, {{ x P (x)}} P (x) P (x) we have, which is the -introduction rule of natural deduction and x P (x) the -right rule of the sequent calculus. The corresponding proof rules are Γ, x A(x) Γ, A(t) Γ A(t) Γ x A(x). {{ x P (x)}}. By Rule 1, we have x P (x) P (x) x, which is the {{P (x)} x } P (x) -elimination rule of natural deduction. By Rule v1, we have x x P (x) which is the -left rule of sequent calculus. The corresponding proof rules are Γ x A(x) Γ, A(x) where Γ and must not contain x free. Ax {{ }} {{}} {{}} {}. By Rule 1, we have. By Rules 1 and v1, we have assumption rule. By Rules 1 and v2, we have rule. Γ, A(x) Γ, x A(x),, which is the efq rule.., which is the axiom or, which is the cut
9 Uniform Schemata for Proof Rules 9 Theorem 4 (ompleteness of Schemata for Minimal Logic). The propositional rule schemata are complete for minimal Natural Deduction and Sequent alculus in the sense that every axiom or rule of these calculi is an instance of a generating rule derived from one of the schemata (2) or their inverses (3) by the Rule 1, 2, v1, v2. 4 Realizability In addition to the generation of proof rules, schemata allow to automatically generate realizers for proof rules. Regarding the notion of realizability we refer to [10] and [2]. From a programming perspective, the most interesting aspect of realizability is the Soundness Theorem stating that from an intuitionistic proof of a formula A one can extract a realizer of A which can be viewed as solution to the computational problem specified by A. The Soundness Theorem is based on the fact that the proof rules of intuitionistic logic, more precisely, the formulas they represent, are realizable. Therefore, the main building blocks of an implementation of program extraction based on realizability are (implementations of) realizers of proof rules. Since the proof rules of intuitionistic logic and their inverses all represent formulas of the form A A, they are trivially realized by the identity function. The Rules 1, 2, v1, v2 correspond to simple transformations of realizers (one can view them as the programs extracted from the proof of the Soundness Theorem for these rules (Thm 3)). Rule 1, which is based on the fact that distributes over is realized by a cascade of case analyses. The remaining rules are realized by simple combinations of projections, currying and uncurrying. Applying these transformations to the identity function one obtains realizers of the derived generating rules and hence realizers of the corresponding proof rules. 5 onclusion We presented a uniform system of rule schemata for intuitionistic first-order logic and showed how to derive generating rules corresponding to the usual proof rules of natural deduction and sequent calculus as well as realizers thereof. The main motivation for this work is to obtain a framework facilitating the implementation of logic and program extraction from proofs. Rule schemata are not restricted to first-order logic. In our prototype we apply them to an intuitionistic version of hurch s Simple Theory of Types [3] extended by inductive and coinductive definitions (to be detailed in a forthcoming publication). In hurch s Simple Theory of Types (which essentially is higher-order logic) one can view predicate constants as higher-type variables and write the collection of schemata 2 as a single f-set with A, B, P as abstracted variables. Something similar can be done for the derived generating rules and proof rules. This has the advantage that the process of instantiation of formulas and rules is covered by f-sets as well. One can also give a defining schema for
10 10 U. Berger, T. Hou Leibniz equality {{P (x) P (y)} P } {{x = y}} from which the expected proof rules can be derived. Our rule schemata have some resemblance with the hypersequent calculus [9, 1]. A hypersequent is a finite set of sequents, hence the premise of a rule in hypersequent calculus can be viewed as a set of sets of sequents. Note however, that a hypersequent is always interpreted disjunctively, while in the context of schemata the interpretation of an f-set of sequents depends on whether it appears in the premise or conclusion of a schema. Note also that the hypersequent calculus is a proof calculus where sequents are replaced by hypersequents while rule schemata are seeds for proof rules based on ordinary sequents. It is conceivable though that rule schemata based on hypersequents can be developed leading to a compact representation of the rules of the hypersequent calculus. References 1. Avron, A.: A constructive analysis of RM. Journal of Symbolic Logic, 52(4), (1987) 2. Berger, U., Seisenberger, M.: Proofs, programs, processes. Theory of omputing Systems 51(3), (2012) 3. hurch, A.: A Formulation of the Simple Theory of Types. The Journal of Symbolic Logic 5(2), (1940) 4. The oq Proof Assistant Jacobs, B.: ategorical logic and type theory. Studies in Logic and the Foundations of Mathematics 141, North Holland, Elsevier (1999) 6. Lawvere, W.: Functorial semantics of algebraic theories and some algebraic problems in the context of functorial semantics of algebraic theories. Ph.D. thesis, olumbia University, Republished in: Reprints in Theory and Applications of ategories, 5, (2004) 7. The Minlog System Moggi, E.: Notions of omputation and Monads. Information and omputation 93(1), (1991) 9. Pottinger, G.: Uniform cut-free formulations of T, S4 and S5 (abstract). Journal of Symbolic Logic 48, 900 (1983) 10. Schwichtenberg, H., Wainer, S. S.: Proofs and omputations, ambridge University Press (2012) 11. Wadler, P.: omprehending monads. Mathematical Structures in omputer Science, 2, (1992)
Canonical Calculi: Invertibility, Axiom expansion and (Non)-determinism
Canonical Calculi: Invertibility, Axiom expansion and (Non)-determinism A. Avron 1, A. Ciabattoni 2, and A. Zamansky 1 1 Tel-Aviv University 2 Vienna University of Technology Abstract. We apply the semantic
More information185.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 informationOutline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics
Introduction Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010 Arnd Poetzsch-Heffter ( Software Technology Group Fachbereich
More informationHypersequent 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 informationPropositional 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 informationIntroduction 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 information02 Propositional Logic
SE 2F03 Fall 2005 02 Propositional Logic Instructor: W. M. Farmer Revised: 25 September 2005 1 What is Propositional Logic? Propositional logic is the study of the truth or falsehood of propositions or
More informationForcing-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 informationNotation 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 informationhal , 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 informationOn 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 informationDisplay calculi in non-classical logics
Display calculi in non-classical logics Revantha Ramanayake Vienna University of Technology (TU Wien) Prague seminar of substructural logics March 28 29, 2014 Revantha Ramanayake (TU Wien) Display calculi
More informationMathematics 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 informationExtended Abstract: Reconsidering Intuitionistic Duality
Extended Abstract: Reconsidering Intuitionistic Duality Aaron Stump, Harley Eades III, Ryan McCleeary Computer Science The University of Iowa 1 Introduction This paper proposes a new syntax and proof system
More information03 Review of First-Order Logic
CAS 734 Winter 2014 03 Review of First-Order Logic William M. Farmer Department of Computing and Software McMaster University 18 January 2014 What is First-Order Logic? First-order logic is the study of
More informationTR : 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 informationEvaluation 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 informationOn 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 informationLogic 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 informationPř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 information3 Propositional Logic
3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists
More informationA 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 informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationThe Importance of Being Formal. Martin Henz. February 5, Propositional Logic
The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets
More informationLecture Notes on Cut Elimination
Lecture Notes on Cut Elimination 15-317: Constructive Logic Frank Pfenning Lecture 10 October 5, 2017 1 Introduction The entity rule of the sequent calculus exhibits one connection between the judgments
More informationAN 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 informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationInterpolation via translations
Interpolation via translations Walter Carnielli 2,3 João Rasga 1,3 Cristina Sernadas 1,3 1 DM, IST, TU Lisbon, Portugal 2 CLE and IFCH, UNICAMP, Brazil 3 SQIG - Instituto de Telecomunicações, Portugal
More informationPropositional Logic: Syntax
4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................
More informationCut-Elimination and Quantification in Canonical Systems
A. Zamansky A. Avron Cut-Elimination and Quantification in Canonical Systems Abstract. Canonical propositional Gentzen-type systems are systems which in addition to the standard axioms and structural rules
More informationNonclassical 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 informationCHAPTER 10. Gentzen Style Proof Systems for Classical Logic
CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning
More informationOverview of Logic and Computation: Notes
Overview of Logic and Computation: Notes John Slaney March 14, 2007 1 To begin at the beginning We study formal logic as a mathematical tool for reasoning and as a medium for knowledge representation The
More informationA 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 informationAdjunction Based Categorical Logic Programming
.. Wesleyan University March 30, 2012 Outline.1 A Brief History of Logic Programming.2 Proof Search in Proof Theory.3 Adjunctions in Categorical Proof Theory.4 Connective Chirality and Search Strategy
More informationKrivine 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 informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More informationLecture 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 informationAutomated Support for the Investigation of Paraconsistent and Other Logics
Automated Support for the Investigation of Paraconsistent and Other Logics Agata Ciabattoni 1, Ori Lahav 2, Lara Spendier 1, and Anna Zamansky 1 1 Vienna University of Technology 2 Tel Aviv University
More information6. Logical Inference
Artificial Intelligence 6. Logical Inference Prof. Bojana Dalbelo Bašić Assoc. Prof. Jan Šnajder University of Zagreb Faculty of Electrical Engineering and Computing Academic Year 2016/2017 Creative Commons
More informationIntroduction to Metalogic
Introduction to Metalogic Hans Halvorson September 21, 2016 Logical grammar Definition. A propositional signature Σ is a collection of items, which we call propositional constants. Sometimes these propositional
More informationGeneral methods in proof theory for modal logic - Lecture 1
General methods in proof theory for modal logic - Lecture 1 Björn Lellmann and Revantha Ramanayake TU Wien Tutorial co-located with TABLEAUX 2017, FroCoS 2017 and ITP 2017 September 24, 2017. Brasilia.
More informationThe 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 informationFirst-Order Logic. Chapter Overview Syntax
Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts
More informationSemantical 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 informationNon-classical Logics: Theory, Applications and Tools
Non-classical Logics: Theory, Applications and Tools Agata Ciabattoni Vienna University of Technology (TUV) Joint work with (TUV): M. Baaz, P. Baldi, B. Lellmann, R. Ramanayake,... N. Galatos (US), G.
More informationA CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5
THE REVIEW OF SYMBOLIC LOGIC Volume 1, Number 1, June 2008 3 A CUT-FREE SIMPLE SEQUENT CALCULUS FOR MODAL LOGIC S5 FRANCESCA POGGIOLESI University of Florence and University of Paris 1 Abstract In this
More informationINDUCTION AND RECURSION
INDUCTION AND RECURSION Jorma K. Mattila LUT, Department of Mathematics and Physics 1 Induction on Basic and Natural Numbers 1.1 Introduction In its most common form, mathematical induction or, as it is
More informationPrefixed Tableaus and Nested Sequents
Prefixed Tableaus and Nested Sequents Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: melvin.fitting@lehman.cuny.edu
More informationPropositional and Predicate Logic - V
Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus
More informationUNIFORM PROOFS AS A FOUNDATION FOR LOGIC PROGRAMMING. Computer and Information Science Department University of Pennsylvania, Philadelphia, PA 19104
UNIFORM PROOFS AS A FOUNDATION FOR LOGIC PROGRAMMING Dale Miller Gopalan Nadathur Frank Pfenning Andre Scedrov Computer and Information Science Department University of Pennsylvania, Philadelphia, PA 19104
More informationACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)
ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted
More informationChapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011
Chapter 2 An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Assertions In this chapter, we give a more detailed exposition of the assertions of separation logic: their meaning,
More informationFROM AXIOMS TO STRUCTURAL RULES, THEN ADD QUANTIFIERS.
FROM AXIOMS TO STRUCTURAL RULES, THEN ADD QUANTIFIERS. REVANTHA RAMANAYAKE We survey recent developments in the program of generating proof calculi for large classes of axiomatic extensions of a non-classical
More informationThe Method of Socratic Proofs for Normal Modal Propositional Logics
Dorota Leszczyńska The Method of Socratic Proofs for Normal Modal Propositional Logics Instytut Filozofii Uniwersytetu Zielonogórskiego w Zielonej Górze Rozprawa doktorska napisana pod kierunkiem prof.
More informationOn Sequent Calculi for Intuitionistic Propositional Logic
On Sequent Calculi for Intuitionistic Propositional Logic Vítězslav Švejdar Jan 29, 2005 The original publication is available at CMUC. Abstract The well-known Dyckoff s 1992 calculus/procedure for intuitionistic
More informationcis32-ai lecture # 18 mon-3-apr-2006
cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem
More informationFundamentals 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 informationThe 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 informationFundamentals 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 informationConsequence Relations and Natural Deduction
Consequence Relations and Natural Deduction Joshua D. Guttman Worcester Polytechnic Institute September 9, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations
More informationImplementing Proof Systems for the Intuitionistic Propositional Logic
Implementing Proof Systems for the Intuitionistic Propositional Logic Veronica Zammit Supervisor: Dr. Adrian Francalanza Faculty of ICT University of Malta May 27, 2011 Submitted in partial fulfillment
More informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More informationFirst-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 informationFirst Order Logic: Syntax and Semantics
CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday
More informationApplied 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 informationJUXTAPOSITION: A NEW WAY TO COMBINE LOGICS
JUXTAPOSITION: A NEW WAY TO COMBINE LOGICS JOSHUA B. SCHECHTER Abstract. This paper develops a new framework for combining propositional logics, called juxtaposition. Several general metalogical theorems
More informationKleene 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 informationA 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 informationPropositional Logic: Deductive Proof & Natural Deduction Part 1
Propositional Logic: Deductive Proof & Natural Deduction Part 1 CS402, Spring 2016 Shin Yoo Deductive Proof In propositional logic, a valid formula is a tautology. So far, we could show the validity of
More information5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci
5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci Arnon Avron School of Computer Science, Tel-Aviv University http://www.math.tau.ac.il/ aa/ March 7, 2008 Abstract One of the
More informationMAI0203 Lecture 7: Inference and Predicate Calculus
MAI0203 Lecture 7: Inference and Predicate Calculus Methods of Artificial Intelligence WS 2002/2003 Part II: Inference and Knowledge Representation II.7 Inference and Predicate Calculus MAI0203 Lecture
More informationSoftware Engineering using Formal Methods
Software Engineering using Formal Methods First-Order Logic Wolfgang Ahrendt 26th September 2013 SEFM: First-Order Logic 130926 1 / 53 Install the KeY-Tool... KeY used in Friday s exercise Requires: Java
More informationPropositional Logic. Fall () Propositional Logic Fall / 30
Propositional Logic Fall 2013 () Propositional Logic Fall 2013 1 / 30 1 Introduction Learning Outcomes for this Presentation 2 Definitions Statements Logical connectives Interpretations, contexts,... Logically
More informationA Finitely Axiomatized Formalization of Predicate Calculus with Equality
A Finitely Axiomatized Formalization of Predicate Calculus with Equality Note: This is a preprint of Megill, A Finitely Axiomatized Formalization of Predicate Calculus with Equality, Notre Dame Journal
More informationAutomated Synthesis of Tableau Calculi
Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound
More informationMINIMAL FROM CLASSICAL PROOFS
MINIML FROM LSSIL PROOFS HELMUT SHWIHTENERG ND HRISTOPH SENJK bstract. Let be a formula without implications, and Γ consist of formulas containing disjunction and falsity only negatively and implication
More information1. Propositional Calculus
1. Propositional Calculus Some notes for Math 601, Fall 2010 based on Elliott Mendelson, Introduction to Mathematical Logic, Fifth edition, 2010, Chapman & Hall. 2. Syntax ( grammar ). 1.1, p. 1. Given:
More informationMarie 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 informationCS 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 informationMathematical 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 informationProgram 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 information3.2 Reduction 29. Truth. The constructor just forms the unit element,. Since there is no destructor, there is no reduction rule.
32 Reduction 29 32 Reduction In the preceding section, we have introduced the assignment of proof terms to natural deductions If proofs are programs then we need to explain how proofs are to be executed,
More informationLecture 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 information02 The Axiomatic Method
CAS 734 Winter 2005 02 The Axiomatic Method Instructor: W. M. Farmer Revised: 11 January 2005 1 What is Mathematics? The essence of mathematics is a process consisting of three intertwined activities:
More informationInducing syntactic cut-elimination for indexed nested sequents
Inducing syntactic cut-elimination for indexed nested sequents Revantha Ramanayake Technische Universität Wien (Austria) IJCAR 2016 June 28, 2016 Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination
More informationPropositional Calculus - Deductive Systems
Propositional Calculus - Deductive Systems Moonzoo Kim CS Division of EECS Dept. KAIST moonzoo@cs.kaist.ac.kr http://pswlab.kaist.ac.kr/courses/cs402-07 1 Deductive proofs (1/3) Suppose we want to know
More informationSubtractive Logic. To appear in Theoretical Computer Science. Tristan Crolard May 3, 1999
Subtractive Logic To appear in Theoretical Computer Science Tristan Crolard crolard@ufr-info-p7.jussieu.fr May 3, 1999 Abstract This paper is the first part of a work whose purpose is to investigate duality
More informationGeneralised elimination rules and harmony
Generalised elimination rules and harmony Roy Dyckhoff Based on joint work with Nissim Francez Supported by EPSR grant EP/D064015/1 St ndrews, May 26, 2009 1 Introduction Standard natural deduction rules
More informationPropositional Logics and their Algebraic Equivalents
Propositional Logics and their Algebraic Equivalents Kyle Brooks April 18, 2012 Contents 1 Introduction 1 2 Formal Logic Systems 1 2.1 Consequence Relations......................... 2 3 Propositional Logic
More informationNotes on Propositional and First-Order Logic (CPSC 229 Class Notes, January )
Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January 23 30 2017) John Lasseter Revised February 14, 2017 The following notes are a record of the class sessions we ve devoted to the
More informationAutomated Reasoning Lecture 5: First-Order Logic
Automated Reasoning Lecture 5: First-Order Logic Jacques Fleuriot jdf@inf.ac.uk Recap Over the last three lectures, we have looked at: Propositional logic, semantics and proof systems Doing propositional
More informationIntelligent Agents. First Order Logic. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 19.
Intelligent Agents First Order Logic Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 19. Mai 2015 U. Schmid (CogSys) Intelligent Agents last change: 19. Mai 2015
More informationThe Skolemization of existential quantifiers in intuitionistic logic
The Skolemization of existential quantifiers in intuitionistic logic Matthias Baaz and Rosalie Iemhoff Institute for Discrete Mathematics and Geometry E104, Technical University Vienna, Wiedner Hauptstrasse
More informationPropositional 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 informationSystem Description: ara An Automatic Theorem Prover for Relation Algebras
System Description: ara An Automatic Theorem Prover for Relation Algebras Carsten Sinz Symbolic Computation Group, WSI for Computer Science, Universität Tübingen, D-72076 Tübingen, Germany sinz@informatik.uni-tuebingen.de
More informationHigher Order Containers
Higher Order Containers Thorsten Altenkirch 1, Paul Levy 2, and Sam Staton 3 1 University of Nottingham 2 University of Birmingham 3 University of Cambridge Abstract. Containers are a semantic way to talk
More informationA MODAL EXTENSION OF FIRST ORDER CLASSICAL LOGIC Part I
Bulletin of the Section of Logic Volume 32/4 (2003), pp. 165 177 George Tourlakis 1 Francisco Kibedi A MODAL EXTENSION OF FIRST ORDER CLASSICAL LOGIC Part I Abstract We formalize a fragment of the metatheory
More informationPropositional Logic: Review
Propositional Logic: Review Propositional logic Logical constants: true, false Propositional symbols: P, Q, S,... (atomic sentences) Wrapping parentheses: ( ) Sentences are combined by connectives:...and...or
More informationAn Introduction to Proof Theory
CHAPTER I An Introduction to Proof Theory Samuel R. Buss Departments of Mathematics and Computer Science, University of California, San Diego La Jolla, California 92093-0112, USA Contents 1. Proof theory
More information