CS 357: Advanced Topics in Formal Methods Fall 2019 Lecture 7

Total Page:16

File Type:pdf, Size:1020Kb

CS 357: Advanced Topics in Formal Methods Fall 2019 Lecture 7 CS 357: Advanced Topics in Formal Methods Fall 2019 Lecture 7 Aleksandar Zelji´c (materials by Clark Barrett) Stanford University Logical Definitions SupposeΣ is a signature. AΣ -formula is a well-formed formula whose non-logical symbols are contained inΣ. LetΓ be a set ofΣ-formulas. We write j=M Γ[s] to signify that j=M φ[s] for every φ 2 Γ. IfΓ is a set ofΣ-formulas and φ is aΣ-formula, thenΓ logically implies φ, writtenΓ j= φ, iff for every model M ofΣ and every variable assignment s, if j=M Γ[s] then j=M φ[s]. We write j= φ as an abbreviation for f g j= φ. and φ are logically equivalent (written j= = j φ) iff j= φ and φ j= . AΣ-formula φ is valid, written j= φ iff ; j= φ (i.e. j=M φ[s] for every M and s). True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where dom(Q) = A. Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Examples Suppose that P is a unary predicate and Q a binary predicate. Which of the following are true? 1. 8 v1 Pv1 j= Pv2 True 2. Pv1 j= 8 v1 Pv1 False 3. 8 v1 Pv1 j= 9 v2 Pv2 True 4. 9 x 8 y Qxy j= 8 y 9 x Qxy True 5. 8 x 9 y Qxy j= 9 y 8 x Qxy False 6. j= 9 x (Px ! 8 y Py) True Which models satisfy the following sentences? 1. 8 x 8 y x = y Models with exactly one element. 2. 8 x 8 y Qxy Models( A; Q) where Q = A × A. 3. 8 x 9 y Qxy Models( A; Q) where dom(Q) = A. Proof The proof is by induction on well-formed formulas φ. 1. If φ is an atomic formula, then all variables in φ occur free. Thus s1 and s2 agree on all variables in φ. It follows that s1(t) = s2(t) for each term t in φ (technically we should prove this by induction too). The result follows. 2. If φ is( :α) or( α ! β), the result is immediate from the inductive hypothesis. 3. Suppose φ = 8 x . The variables free in φ are the same as those free in except for x. Thus, for any d in dom(M), s1(xjd) and s2(xjd) agree at all variables free in . The result follows from the inductive hypothesis. As a corollary of this theorem, we have that for sentences, satisfaction is independent of the variable assignment. Invariance of Truth Values Theorem Suppose s1 and s2 are variable assignments over a model M which agree at all variables (if any) which occur free in the wff φ. Then j=M φ[s1] iff j=M φ[s2]. As a corollary of this theorem, we have that for sentences, satisfaction is independent of the variable assignment. Invariance of Truth Values Theorem Suppose s1 and s2 are variable assignments over a model M which agree at all variables (if any) which occur free in the wff φ. Then j=M φ[s1] iff j=M φ[s2]. Proof The proof is by induction on well-formed formulas φ.
Recommended publications
  • The Deduction Rule and Linear and Near-Linear Proof Simulations
    The Deduction Rule and Linear and Near-linear Proof Simulations Maria Luisa Bonet¤ Department of Mathematics University of California, San Diego Samuel R. Buss¤ Department of Mathematics University of California, San Diego Abstract We introduce new proof systems for propositional logic, simple deduction Frege systems, general deduction Frege systems and nested deduction Frege systems, which augment Frege systems with variants of the deduction rule. We give upper bounds on the lengths of proofs in Frege proof systems compared to lengths in these new systems. As applications we give near-linear simulations of the propositional Gentzen sequent calculus and the natural deduction calculus by Frege proofs. The length of a proof is the number of lines (or formulas) in the proof. A general deduction Frege proof system provides at most quadratic speedup over Frege proof systems. A nested deduction Frege proof system provides at most a nearly linear speedup over Frege system where by \nearly linear" is meant the ratio of proof lengths is O(®(n)) where ® is the inverse Ackermann function. A nested deduction Frege system can linearly simulate the propositional sequent calculus, the tree-like general deduction Frege calculus, and the natural deduction calculus. Hence a Frege proof system can simulate all those proof systems with proof lengths bounded by O(n ¢ ®(n)). Also we show ¤Supported in part by NSF Grant DMS-8902480. 1 that a Frege proof of n lines can be transformed into a tree-like Frege proof of O(n log n) lines and of height O(log n). As a corollary of this fact we can prove that natural deduction and sequent calculus tree-like systems simulate Frege systems with proof lengths bounded by O(n log n).
    [Show full text]
  • Chapter 9: Initial Theorems About Axiom System
    Initial Theorems about Axiom 9 System AS1 1. Theorems in Axiom Systems versus Theorems about Axiom Systems ..................................2 2. Proofs about Axiom Systems ................................................................................................3 3. Initial Examples of Proofs in the Metalanguage about AS1 ..................................................4 4. The Deduction Theorem.......................................................................................................7 5. Using Mathematical Induction to do Proofs about Derivations .............................................8 6. Setting up the Proof of the Deduction Theorem.....................................................................9 7. Informal Proof of the Deduction Theorem..........................................................................10 8. The Lemmas Supporting the Deduction Theorem................................................................11 9. Rules R1 and R2 are Required for any DT-MP-Logic........................................................12 10. The Converse of the Deduction Theorem and Modus Ponens .............................................14 11. Some General Theorems About ......................................................................................15 12. Further Theorems About AS1.............................................................................................16 13. Appendix: Summary of Theorems about AS1.....................................................................18 2 Hardegree,
    [Show full text]
  • 5 Deduction in First-Order Logic
    5 Deduction in First-Order Logic The system FOLC. Let C be a set of constant symbols. FOLC is a system of deduction for # the language LC . Axioms: The following are axioms of FOLC. (1) All tautologies. (2) Identity Axioms: (a) t = t for all terms t; (b) t1 = t2 ! (A(x; t1) ! A(x; t2)) for all terms t1 and t2, all variables x, and all formulas A such that there is no variable y occurring in t1 or t2 such that there is free occurrence of x in A in a subformula of A of the form 8yB. (3) Quantifier Axioms: 8xA ! A(x; t) for all formulas A, variables x, and terms t such that there is no variable y occurring in t such that there is a free occurrence of x in A in a subformula of A of the form 8yB. Rules of Inference: A; (A ! B) Modus Ponens (MP) B (A ! B) Quantifier Rule (QR) (A ! 8xB) provided the variable x does not occur free in A. Discussion of the axioms and rules. (1) We would have gotten an equivalent system of deduction if instead of taking all tautologies as axioms we had taken as axioms all instances (in # LC ) of the three schemas on page 16. All instances of these schemas are tautologies, so the change would have not have increased what we could 52 deduce. In the other direction, we can apply the proof of the Completeness Theorem for SL by thinking of all sententially atomic formulas as sentence # letters. The proof so construed shows that every tautology in LC is deducible using MP and schemas (1){(3).
    [Show full text]
  • Knowing-How and the Deduction Theorem
    Knowing-How and the Deduction Theorem Vladimir Krupski ∗1 and Andrei Rodin y2 1Department of Mechanics and Mathematics, Moscow State University 2Institute of Philosophy, Russian Academy of Sciences and Department of Liberal Arts and Sciences, Saint-Petersburg State University July 25, 2017 Abstract: In his seminal address delivered in 1945 to the Royal Society Gilbert Ryle considers a special case of knowing-how, viz., knowing how to reason according to logical rules. He argues that knowing how to use logical rules cannot be reduced to a propositional knowledge. We evaluate this argument in the context of two different types of formal systems capable to represent knowledge and support logical reasoning: Hilbert-style systems, which mainly rely on axioms, and Gentzen-style systems, which mainly rely on rules. We build a canonical syntactic translation between appropriate classes of such systems and demonstrate the crucial role of Deduction Theorem in this construction. This analysis suggests that one’s knowledge of axioms and one’s knowledge of rules ∗[email protected] [email protected] ; the author thanks Jean Paul Van Bendegem, Bart Van Kerkhove, Brendan Larvor, Juha Raikka and Colin Rittberg for their valuable comments and discussions and the Russian Foundation for Basic Research for a financial support (research grant 16-03-00364). 1 under appropriate conditions are also mutually translatable. However our further analysis shows that the epistemic status of logical knowing- how ultimately depends on one’s conception of logical consequence: if one construes the logical consequence after Tarski in model-theoretic terms then the reduction of knowing-how to knowing-that is in a certain sense possible but if one thinks about the logical consequence after Prawitz in proof-theoretic terms then the logical knowledge- how gets an independent status.
    [Show full text]
  • An Integration of Resolution and Natural Deduction Theorem Proving
    From: AAAI-86 Proceedings. Copyright ©1986, AAAI (www.aaai.org). All rights reserved. An Integration of Resolution and Natural Deduction Theorem Proving Dale Miller and Amy Felty Computer and Information Science University of Pennsylvania Philadelphia, PA 19104 Abstract: We present a high-level approach to the integra- ble of translating between them. In order to achieve this goal, tion of such different theorem proving technologies as resolution we have designed a programming language which permits proof and natural deduction. This system represents natural deduc- structures as values and types. This approach builds on and ex- tion proofs as X-terms and resolution refutations as the types of tends the LCF approach to natural deduction theorem provers such X-terms. These type structures, called ezpansion trees, are by replacing the LCF notion of a uakfation with explicit term essentially formulas in which substitution terms are attached to representation of proofs. The terms which represent proofs are quantifiers. As such, this approach to proofs and their types ex- given types which generalize the formulas-as-type notion found tends the formulas-as-type notion found in proof theory. The in proof theory [Howard, 19691. Resolution refutations are seen LCF notion of tactics and tacticals can also be extended to in- aa specifying the type of a natural deduction proofs. This high corporate proofs as typed X-terms. Such extended tacticals can level view of proofs as typed terms can be easily combined with be used to program different interactive and automatic natural more standard aspects of LCF to yield the integration for which Explicit representation of proofs deduction theorem provers.
    [Show full text]
  • CHAPTER 8 Hilbert Proof Systems, Formal Proofs, Deduction Theorem
    CHAPTER 8 Hilbert Proof Systems, Formal Proofs, Deduction Theorem The Hilbert proof systems are systems based on a language with implication and contain a Modus Ponens rule as a rule of inference. They are usually called Hilbert style formalizations. We will call them here Hilbert style proof systems, or Hilbert systems, for short. Modus Ponens is probably the oldest of all known rules of inference as it was already known to the Stoics (3rd century B.C.). It is also considered as the most "natural" to our intuitive thinking and the proof systems containing it as the inference rule play a special role in logic. The Hilbert proof systems put major emphasis on logical axioms, keeping the rules of inference to minimum, often in propositional case, admitting only Modus Ponens, as the sole inference rule. 1 Hilbert System H1 Hilbert proof system H1 is a simple proof system based on a language with implication as the only connective, with two axioms (axiom schemas) which characterize the implication, and with Modus Ponens as a sole rule of inference. We de¯ne H1 as follows. H1 = ( Lf)g; F fA1;A2g MP ) (1) where A1;A2 are axioms of the system, MP is its rule of inference, called Modus Ponens, de¯ned as follows: A1 (A ) (B ) A)); A2 ((A ) (B ) C)) ) ((A ) B) ) (A ) C))); MP A ;(A ) B) (MP ) ; B 1 and A; B; C are any formulas of the propositional language Lf)g. Finding formal proofs in this system requires some ingenuity. Let's construct, as an example, the formal proof of such a simple formula as A ) A.
    [Show full text]
  • Propositional Logic: Part II - Syntax & Proofs
    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 ² Consistency & completeness 1 Language of Propositional Calculus Def: A propositional formula is constructed inductively from the symbols for ² propositional variables: p; q; r; : : : or p1; p2; : : : ² connectives: :; ^; _; !; $ ² parentheses: (; ) ² constants: >; ? by the following rules: 1. A propositional variable or constant symbol (>; ?) is a formula. 2. If Á and à are formulas, then so are: (:Á); (Á ^ Ã); (Á _ Ã); (Á ! Ã); (Á $ Ã) Note: Removing >; ? from the above provides the def. of sentential formulas in Rubin. Semantically > = T; 2 ? = F though often T; F are used directly in formulas when engineers abuse notation. 3 WFF Smackdown Propositional formulas are also called propositional sentences or well formed formulas (WFF). When we use precedence of logical connectives and associativity of ^; _; $ to drop (smackdown!) parentheses it is understood that this is shorthand for the fully parenthesized expressions. Note: To further reduce use of (; ) some def's of formula use order of precedence: ! ^ ! :; ^; _; instead of :; ; $ _ $ As we will see, PVS uses the 1st order of precedence. 4 BNF and Parse Trees The Backus Naur form (BNF) for the de¯nition of a propositional formula is: Á ::= pj?j>j(:Á)j(Á ^ Á)j(Á _ Á)j(Á ! Á) Here p denotes any propositional variable and each occurrence of Á to the right of ::= represents any formula constructed thus far. We can apply this inductive de¯nition in reverse to construct a formula's parse tree.
    [Show full text]
  • First-Order Logic in a Nutshell Syntax
    First-Order Logic in a Nutshell 27 numbers is empty, and hence cannot be a member of itself (otherwise, it would not be empty). Now, call a set x good if x is not a member of itself and let C be the col- lection of all sets which are good. Is C, as a set, good or not? If C is good, then C is not a member of itself, but since C contains all sets which are good, C is a member of C, a contradiction. Otherwise, if C is a member of itself, then C must be good, again a contradiction. In order to avoid this paradox we have to exclude the collec- tion C from being a set, but then, we have to give reasons why certain collections are sets and others are not. The axiomatic way to do this is described by Zermelo as follows: Starting with the historically grown Set Theory, one has to search for the principles required for the foundations of this mathematical discipline. In solving the problem we must, on the one hand, restrict these principles sufficiently to ex- clude all contradictions and, on the other hand, take them sufficiently wide to retain all the features of this theory. The principles, which are called axioms, will tell us how to get new sets from already existing ones. In fact, most of the axioms of Set Theory are constructive to some extent, i.e., they tell us how new sets are constructed from already existing ones and what elements they contain. However, before we state the axioms of Set Theory we would like to introduce informally the formal language in which these axioms will be formulated.
    [Show full text]
  • Boolean Logic
    Math 1090 Part one: Boolean Logic Saeed Ghasemi York University 18th June 2018 Saeed Ghasemi (York University) Math 1090 18th June 2018 1 / 97 Alphabets of Boolean Logic 0 00 1 Symbols for variables. We denote them by p; q; r;::: or p ; q ; p0; r12 and so on. 2 Symbols for constants. There are two of them, \>" (read \top" or \true") and ? (read \bottom" or \false"). 3 Brackets: \(" and \)". 4 Boolean connectives: :, ^, _, ! and ≡ We will denote the alphabet of propositional (Boolean) logic by V. Some textbooks use less connectives e.g., only : and ^, the other three connectives can be defined using these two. However out alphabet V would contain all five connectives. Saeed Ghasemi (York University) Math 1090 18th June 2018 2 / 97 Definition Given an alphabet A (i.e. a set of symbols) a string (or expression or word) over A is a finite ordered sequence of symbols in A. 0 We use letters A; B; C; A ; B0 ::: to denote strings. Examples If A = fa; b; c; 0; 1g then aaab01, ba1, 01b11 are strings. Note that ab 6= ba since the order matters. These are strings over V pq !:p0? ((p()_ ≡ r ^ rq)(p> The concatenation of two strings A and B is the new string AB. The empty string which we will denote by λ is the unique string such that λA = Aλ = A for any string A. Note that the notion of equality \=" is not part of our alphabet V. It comes from \metatheory" or \metamathematics". Saeed Ghasemi (York University) Math 1090 18th June 2018 3 / 97 Well-formed formulas Definition A string over A is a well-formed formula (wff in short) if it is obtained by applying the following three steps finitely many times 1 Every variable and constant symbol is a wff (these are called \atomic formulas").
    [Show full text]
  • Chapter 5. Axiomatics in the Last Chapter We Introduced Notions of Sentential Logic That Correspond to Logical Truth and Logically Valid Argument Pair
    Chapter 5. Axiomatics In the last chapter we introduced notions of sentential logic that correspond to logical truth and logically valid argument pair. In this chapter we introduce the notions of a proof of A and a derivation of A from , which correspond to a demonstration of a truth and a deduction of a consequence from assumptions. A demonstration is meant to make evident that its conclusion is true. It starts with evident truths and proceeds by the application of rules of inference that evidently transmit truth. A deduction is meant to make evident that its conclusion follows from its assumptions. It starts either with evident truths or with assumed truths and proceeds by the application of rules of inference that transmits the property of following from. We take an axiom system to be a generation scheme for formulas. The basis elements of the scheme are axioms and the rules are rules of inference. (This notion of axiom system will be extended subsequently.) A proof of A in an axiom system is simply a record of generation of A in that generational scheme. A derivation of A from is a record of generation of A from , i.e., a record of generation of A in the scheme obtained by adding the members of to the axiom system as basis elements. A is a theorem in an axiom system S if there is a proof of A in S. A is derivable from in S if there is a derivation of A from . (Here and elsewhere, reference to the axiom system is omitted when it is understood from context.) We sometimes say that the argument pair ,A is provable to indicate that A is derivable from .
    [Show full text]
  • Deductive Systems in Traditional and Modern Logic
    Deductive Systems in Traditional and Modern Logic • Urszula Wybraniec-Skardowska and Alex Citkin Deductive Systems in Traditional and Modern Logic Edited by Urszula Wybraniec-Skardowska and Alex Citkin Printed Edition of the Special Issue Published in Axioms www.mdpi.com/journal/axioms Deductive Systems in Traditional and Modern Logic Deductive Systems in Traditional and Modern Logic Editors Alex Citkin Urszula Wybraniec-Skardowska MDPI • Basel • Beijing • Wuhan • Barcelona • Belgrade • Manchester • Tokyo • Cluj • Tianjin Editors Alex Citkin Urszula Wybraniec-Skardowska Metropolitan Telecommunications Cardinal Stefan Wyszynski´ USA University in Warsaw, Department of Philosophy Poland Editorial Office MDPI St. Alban-Anlage 66 4052 Basel, Switzerland This is a reprint of articles from the Special Issue published online in the open access journal Axioms (ISSN 2075-1680) (available at: http://www.mdpi.com/journal/axioms/special issues/deductive systems). For citation purposes, cite each article independently as indicated on the article page online and as indicated below: LastName, A.A.; LastName, B.B.; LastName, C.C. Article Title. Journal Name Year, Article Number, Page Range. ISBN 978-3-03943-358-2 (Pbk) ISBN 978-3-03943-359-9 (PDF) c 2020 by the authors. Articles in this book are Open Access and distributed under the Creative Commons Attribution (CC BY) license, which allows users to download, copy and build upon published articles, as long as the author and publisher are properly credited, which ensures maximum dissemination and a wider impact of our publications. The book as a whole is distributed by MDPI under the terms and conditions of the Creative Commons license CC BY-NC-ND.
    [Show full text]
  • Two Deductive Systems for the Constructive Logic S4, a Formal Verification
    Two deductive systems for the constructive logic S4, a formal verification Lourdes del Carmen González-Huesca1,∗ Favio E. Miranda-Perea1,† and P. Selene Linares-Arévalo1‡ Departamento de Matemáticas, Facultad de Ciencias UNAM, Circuito Exterior S/N, Cd. Universitaria 04510, CdMx, México Abstract We present a proof of the equivalence between two deductive systems for the con- structive modal logic S4. On one side, an axiomatic characterization inspired by Hakli and Negri’s system of derivations from assumptions for modal logic K, a Hilbert-style for- malism designed to ensure the validity of the deduction theorem. On the other side, the judgmental reconstruction given by Pfenning and Davies by means of a so-called dual natu- ral deduction approach that makes a distinction between valid, true and possible formulas. Both systems and the proof of their equivalence are formally verified using the Coq proof assistant. 1 Introduction The relevance of modal logic in philosophy and mathematics is well established. Moreover, its importance in computer science has come of age. For instance, the monadic and computational interpretations of modal logic [4,2] for various type theories are deeply related to concurrent and distributed computations [20, 34]. These applications entail the need for a verification process which nowadays cannot be thought of without the help of a proof assistant. To be able to carry out serious verification tasks with help of these software programs, we need to provide them with an implementation of deductive methodologies akin to human (mathematical) thinking. This poses a problem in the case of modal reasoning, where the typical deductive systems in the literature are axiomatic or elaborated sequent calculi (see for example [28]).
    [Show full text]