Encoding Induction in Correctness Proofs of Program Transformations as a Termination Problem

Size: px
Start display at page:

Download "Encoding Induction in Correctness Proofs of Program Transformations as a Termination Problem"

Transcription

1 Encoding Induction in Correctness Proofs of Program Transformations as a Termination Problem Conrad Rau, David Sabel and Manfred Schmidt-Schauß Goethe-University, Frankfurt am Main, Germany WST 2012, Obergurgl, Austria

2 Introduction and Motivation Motivation: Automate correctness proofs of program transformations Programming language: Core language, modelled as extended λ-calculus Correctness of program transformations: Based on contextual equivalence Correctness proof uses: Diagrams (already automated) Induction (automate through a termination proof) vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 2/14

3 Related and Own Work Schmidt-Schauß, Schütz, Sabel, 2008 Extended λ-calculus LR and correctness of program transformations via diagrams; manual proofs Wells, Plump and Kamareddine, 2003 Diagrams to show meaning preservation R., Schmidt-Schauß, 2010, 2011 Compute diagrams in extended λ-calculi Fuhs, Giesl, Plücker, Schneider-Kamp, Falke, 2009 Termination of integer term rewriting vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 3/14

4 Program Calculus, Contextual Equivalence Definition (Program calculus (E, C, sr, A)) E: Set of expressions C: Set of contexts sr E E: Reduction relation, usually labeled sr,l A E: Set of answers Example (Extended λ-calculus: LR) call-by-need λ-calculus, core language of pure Haskell Convergence: e iff e sr, a where a A (also called termination) Definition (Contextual Equivalence for (E, C, sr, A)) Contextual approximation: e 1 c e 0 C C : C[e 1 ] = C[e 0 ] Contextual equivalence: e 1 c e 0 e 1 c e 0 e 0 c e 1 vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 4/14

5 Program Transformations Definition (Program Transformation, Correctness) A Program transformation: e 1 T e0 = e 1 c e 0 Focus on c, since c = c c T is called convergence preserving iff e 1 T (E E) is correct iff T e0 e 1 = e 0 context-closed for T iff convergence preservation of T implies T c R(T ) T (e.g. := {(R[e 1 ], R[e 0 ]) e 1 e0, R R}) Focus on c. p., since T can easily be context-closed vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 5/14

6 Proving Convergence Preservation Prove convergence preservation for T, i.e. e 1 T e0 e 1 = e 0 : e 1 e 2. sr,l 2 T e 0 e 2. a 1 a 0 sr,l 2 sr,l m Outline of Convergence Preservation Proof for T T e0 e 1, e 0 E with e 1 sr,l T 1 Determine all overlaps e 2 e 1 e0 and join them into: Sets of diagrams 2 Construct converging reduction sequence for e 0 using the diagram sets vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 6/14

7 Forking and Answer Diagrams Diagram for : T Rewrite rule S L S R on abstract reduction sequences (ARSs) 1 concrete sequence: a e n... T e 1 e 0 1 abstract sequence: A e n... T e 1 e 0 + denotes transitive closure of reductions Forking diagram:... T T... T sr,l m... Finite representation of overlaps and joining sequences Represent set of rewrite rules on concrete sequences sr,l 1 Answer diagram: A T A sr,ln... DF ( T ), DA( T ): Sets of diagrams (i.e. rewriting systems) vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 7/14

8 Complete Sets of Diagrams Example (Diagrams for is,llet ) DF DF sr,a is,llet sr,a A is,llet A sr,lll,+ is,llet sr,lll,+ is,llet sr,a sr,a sr,llet sr,a is,llet sr,a is,llet is,llet sr,lll,+ sr,lll,+ is,llet Definition (Complete Diagram Set for T ) DF ( ) T is complete, if every ARS of the form A sr,ln... T is rewritable by a diagram in DF ( ) T DA( T ) is complete, if every sequence A T is rewritable by a diagram in DA( T ) vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 8/14

9 Proving Correctness through Induction Construct an evaluation through diagram application and induction vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

10 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

11 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

12 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 e 2 sr,l 2. a 1 vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

13 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 e 2 sr,l 2. a 1 is,llet sr,a sr,a vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

14 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 sr,l 2. a 1 is,llet sr,a sr,a vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

15 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 is,llet e 1 e0 e 2 sr,l 2 sr,l 2.. a 1 is,llet sr,a sr,a a 1 vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

16 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 is,llet e 1 e0 e 2 sr,l 2 sr,l 2.. a 1 is,llet sr,a sr,a a 1 is,llet sr,a sr,a is,llet vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

17 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 is,llet e 1 e0 is,llet e 2 e 2 sr,l 2 sr,l 2.. a 1 is,llet sr,a sr,a a 1 is,llet sr,a sr,a is,llet vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

18 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 sr,l 2. a 1 is,llet sr,a sr,a is,llet e 1 e0 is,llet e 2 e 2 sr,l 2 I.H.. a 1 a 0 sr,a is,llet sr,a is,llet vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

19 Proving Correctness through Induction Construct an evaluation through diagram application and induction a 1 is,llet e0 A is,llet A is,llet e 1 e0 sr,l 1 e 2 is,llet e 1 e0 is,llet e 2 e 2 sr,l 2 sr,l 2. I.H.. a a 1 a 0 1 is,llet is,llet sr,a sr,a sr,a sr,a is,llet Rewriting by diagrams, termination by induction vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 9/14

20 Proving Correctness by Termination Lemma Let DF ( T ) and DA( T ) be complete sets of diagrams for T. If DF ( T ) DA( T ) terminates, then T is convergence preserving. Theorem Let T be context-closed for T and DF ( ), T DA( ) T be complete sets of diagrams. T Let T be context-closed for and DF ( ), T DA( ) T be complete sets of diagrams. If DF ( ) T DA( ) T and DF ( ) T DA( ) T terminate, then T c. vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 10/14

21 Automation of Correctness Proof DF ( T ) DA( T ) is a rewriting system on ARSs that characterizes the convergence preservation of T Encode complete sets of diagrams into TRSs Those TRSs can be automatically tested for termination (e.g. by AProVE) Thus automating a critical part of the correctness proof vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 11/14

22 Introduction Calculus & Program Transformations Proving Correctness Encoding Conclusion Example: Encoding DF ( is,seq ) DA( is,seq ) DF ( is,seq ) sr,a is,seq sr,a is,seq sr,a sr,a sr,seq sr,a sr,cp is,seq sr,a is,seq is,seq sr,cp is,seq is,seq TRS isseq(sra(x)) sra(x) isseq(srseq(x)) srseq(x) isseq(srcp(x)) srcp(x) isseq(sra(srseq(x))) sra(x) isseq(srseq(srseq(x))) srseq(x) isseq(srcp(srseq(x))) srcp(x) isseq(sra(x)) sra(isseq(x)) isseq(srseq(x)) srseq(isseq(x)) isseq(srcp(x)) srcp(isseq(x)) isseq(srcp(x)) srcp(isseq(isseq(x))) DA( is,seq ) A is,seq A TRS isseq(a) A Termination of DF ( is,seq ) DA( is,seq ) was shown using AProVE vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 12/14

23 Introduction Calculus & Program Transformations Proving Correctness Encoding Conclusion Example: Encoding Transitive Closure of Reductions sr,lll,+ is,llet sr,lll,+ isllet(d(x)) E(x) Transitive closure of reductions: Infinite sets of diagrams Contract sequence of lll-reductions into the transitive closure srlll(x) D(x) srlll(d(x)) D(x) Expand transitive closure into sequence of lll-reductions E(x) srlll(x) E(x) E(srlll(x)) isllet(srlll(srlll(a))) isllet(d(a)) E(A) E(srlll(A))... vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 13/14

24 Introduction Calculus & Program Transformations Proving Correctness Encoding Conclusion Example: Encoding Transitive Closure of Reductions sr,lll,+ is,llet sr,lll,+ isllet(d(x)) E(x) Transitive closure of reductions: Infinite sets of diagrams Contract sequence of lll-reductions into the transitive closure srlll(x) D(x) srlll(d(x)) D(x) Expand transitive closure into sequence of lll-reductions E(x) srlll(x) E(x) E(srlll(x)) Naive approach introduces non-termination isllet(srlll(srlll(a))) isllet(d(a)) E(A) E(srlll(A))... vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 13/14

25 Introduction Calculus & Program Transformations Proving Correctness Encoding Conclusion Example: Encoding Transitive Closure of Reductions sr,lll,+ is,llet sr,lll,+ isllet(d(x)) E(x) isllet(d(x)) E(k, x) Transitive closure of reductions: Infinite sets of diagrams Contract sequence of lll-reductions into the transitive closure srlll(x) D(x) srlll(d(x)) D(x) Expand transitive closure into sequence of lll-reductions E(x) srlll(x) Naive approach introduces E(x) E(srlll(x)) non-termination E(0, x) x CITRS approach E(k, x) E(k 1, srlll(x)) if k > 0 isllet(srlll(srlll(a))) E(k, A) E(k 1, srlll(a))... srlll k (A) vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 13/14

26 Results and Further Work Results Automation of a critical part in correctness proofs: Manual induction is replaced by automatic termination proofs All diagrams from Schmidt-Schauß, Schütz, Sabel, 2008 (LR-calculus) could be shown as terminating by AProVE Method is independent of program calculus Future Work Extend the method to diagrams in other program calculi Connect an automated termination prover with the diagram calculator to complete the tool for automated correctness proofs of program transformations vid Sabel Correctness Proofs of Program Transformations as a Termination Problem C. Rau, D. Sabel, M. Schmidt-Schauß 14/14

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Conrad Rau and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach

More information

Appendix of Safety of Nöcker s Strictness Analysis

Appendix of Safety of Nöcker s Strictness Analysis Under consideration for publication in J. Functional Programming 1 Appendix of Safety of Nöcker s Strictness Analysis Manfred Schmidt-Schauß, David Sabel Institut für Informatik, Johann Wolfgang Goethe-Universität,

More information

Solutions to Exercises. Solution to Exercise 2.4. Solution to Exercise 2.5. D. Sabel and M. Schmidt-Schauß 1

Solutions to Exercises. Solution to Exercise 2.4. Solution to Exercise 2.5. D. Sabel and M. Schmidt-Schauß 1 D. Sabel and M. Schmidt-Schauß 1 A Solutions to Exercises Solution to Exercise 2.4 We calculate the sets of free and bound variables: FV ((λy.(y x)) (λx.(x y)) (λz.(z x y))) = FV ((λy.(y x)) (λx.(x y)))

More information

A Call-by-Need Lambda-Calculus with Locally Bottom-Avoiding Choice: Context Lemma and Correctness of Transformations

A Call-by-Need Lambda-Calculus with Locally Bottom-Avoiding Choice: Context Lemma and Correctness of Transformations A Call-by-Need Lambda-Calculus with Locally Bottom-Avoiding Choice: Context Lemma and Correctness of Transformations David Sabel and Manfred Schmidt-Schauß Research group for Artificial Intelligence and

More information

Another Proof for the Recursive Path Ordering

Another Proof for the Recursive Path Ordering Another Proof for the Recursive Path Ordering Nachum Dershowitz School of Computer Science, Tel Aviv University Ramat Aviv, Israel nachum.dershowitz@cs.tau.ac.il Abstract Yet another proof of well-foundedness

More information

Applicative May- and Should-Simulation in the Call-by-Value Lambda Calculus with AMB

Applicative May- and Should-Simulation in the Call-by-Value Lambda Calculus with AMB Applicative May- and Should-Simulation in the Call-by-Value Lambda Calculus with AMB Manfred Schmidt-Schauß and David Sabel Goethe University, Frankfurt, Germany {schauss,sabel}@ki.informatik.uni-frankfurt.de

More information

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018

Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 9 Ana Bove April 19th 2018 Recap: Regular Expressions Algebraic representation of (regular) languages; R, S ::= a R + S RS R......

More information

Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus

Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus Congruence of Bisimulation in a Non-Deterministic Call-By-Need Lambda Calculus Matthias Mann Johann Wolfgang Goethe-Universität, Frankfurt, Germany Congruence of Bisimulation p. 1/21 Lambda Calculi and

More information

Finite Automata and Formal Languages TMV026/DIT321 LP4 2012

Finite Automata and Formal Languages TMV026/DIT321 LP4 2012 Finite Automata and Formal Languages TMV26/DIT32 LP4 22 Lecture 7 Ana Bove March 27th 22 Overview of today s lecture: Regular Expressions From FA to RE Regular Expressions Regular expressions (RE) are

More information

First-Order Formative Rules

First-Order Formative Rules First-Order Formative Rules Carsten Fuhs 1 and Cynthia Kop 2 1 University College London, Dept. of Computer Science, London WC1E 6BT, UK 2 University of Innsbruck, Institute of Computer Science, 6020 Innsbruck,

More information

Polynomial Interpretations with Nega Coefficients. Lecture Notes in Computer Science,

Polynomial Interpretations with Nega Coefficients. Lecture Notes in Computer Science, JAIST Reposi https://dspace.j Title Polynomial Interpretations with Nega Coefficients Author(s)Hirokawa, Nao; Middeldorp, Aart Citation Lecture Notes in Computer Science, 3 185-198 Issue Date 2004 Type

More information

Maximal Termination. 1 Introduction. Carsten Fuhs 1, Jürgen Giesl 1, Aart Middeldorp 2, Peter Schneider-Kamp 1, René Thiemann 2, and Harald Zankl 2

Maximal Termination. 1 Introduction. Carsten Fuhs 1, Jürgen Giesl 1, Aart Middeldorp 2, Peter Schneider-Kamp 1, René Thiemann 2, and Harald Zankl 2 Maximal Termination Carsten Fuhs 1, Jürgen Giesl 1, Aart Middeldorp 2, Peter Schneider-Kamp 1, René Thiemann 2, and Harald Zankl 2 1 LuFG Informatik 2, RWTH Aachen University, Germany 2 Institute of Computer

More information

Most General Unifiers in Generalized Nominal Unification

Most General Unifiers in Generalized Nominal Unification Most General Unifiers in Generalized Nominal Unification Yunus D K Kutz 1 and Manfred Schmidt-Schauß 2 1 Goethe-University Frankfurt am Main, Germany, kutz@kiinformatikuni-frankfurtde 2 Goethe-University

More information

Proving Termination by Bounded Increase

Proving Termination by Bounded Increase Proving Termination by Bounded Increase Jürgen Giesl, René Thiemann, Stephan Swiderski, and Peter Schneider-Kamp LuFG Informatik, RWTH Aachen, Germany, {giesl,thiemann,swiderski,psk}@informatik.rwth-aachen.de

More information

Termination Graphs for Java Bytecode. Marc Brockschmidt, Carsten Otto, Christian von Essen, Jürgen Giesl

Termination Graphs for Java Bytecode. Marc Brockschmidt, Carsten Otto, Christian von Essen, Jürgen Giesl Aachen Department of Computer Science Technical Report Termination Graphs for Java Bytecode Marc Brockschmidt, Carsten Otto, Christian von Essen, Jürgen Giesl ISSN 0935 3232 Aachener Informatik-Berichte

More information

Disproving Termination with Overapproximation

Disproving Termination with Overapproximation Disproving Termination with Overapproximation Byron Cook Carsten Fuhs Kaustubh Nimkar Peter O Hearn University College London Microsoft Research FMCAD 2014, Lausanne, Switzerland, 24 October 2014 Proving

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

Section 8.4 Closures of Relations

Section 8.4 Closures of Relations Section 8.4 Closures of Relations Definition: The closure of a relation R with respect to property P is the relation obtained by adding the minimum number of ordered pairs to R to obtain property P. In

More information

On Rewrite Constraints and Context Unification

On Rewrite Constraints and Context Unification On Rewrite Constraints and Context Unification Joachim Niehren 1,2,3 Universität des Saarlandes, Postfach 15 11 50, D-66041 Saarbrücken, Germany Sophie Tison 1,2 LIFL, Unicersité Lille 1, F-59655 Villeneuve

More information

Termination of LCTRSs

Termination of LCTRSs Termination of LCTRSs Cynthia Kop 1 1 Department of Computer Science, University of Innsbruck Technikerstraße 21a, 6020 Innsbruck, Austria Cynthia.Kop@uibk.ac.at Abstract Logically Constrained Term Rewriting

More information

Finite Automata and Formal Languages

Finite Automata and Formal Languages Finite Automata and Formal Languages TMV26/DIT32 LP4 2 Lecture 6 April 5th 2 Regular expressions (RE) are an algebraic way to denote languages. Given a RE R, it defines the language L(R). Actually, they

More information

Properties of Context-Free Languages

Properties of Context-Free Languages Properties of Context-Free Languages Seungjin Choi Department of Computer Science and Engineering Pohang University of Science and Technology 77 Cheongam-ro, Nam-gu, Pohang 37673, Korea seungjin@postech.ac.kr

More information

Notes on Confluence of Ultra-Weakly-Left-Linear SDCTRSs via a Structure-Preserving Transformation

Notes on Confluence of Ultra-Weakly-Left-Linear SDCTRSs via a Structure-Preserving Transformation Notes on Confluence of Ultra-Weakly-Left-Linear SDCTRSs via a Structure-Preserving Transformation Naoki Nishida Nagoya University IWC 2016, Obergurgl, Austria, September 8 9, 2016 Oriented Conditional

More information

Equational Logic. Chapter 4

Equational Logic. Chapter 4 Chapter 4 Equational Logic From now on First-order Logic is considered with equality. In this chapter, I investigate properties of a set of unit equations. For a set of unit equations I write E. Full first-order

More information

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Developing Modal Tableaux and Resolution Methods via First-Order Resolution Developing Modal Tableaux and Resolution Methods via First-Order Resolution Renate Schmidt University of Manchester Reference: Advances in Modal Logic, Vol. 6 (2006) Modal logic: Background Established

More information

Algorithms for Extended Alpha-Equivalence and Complexity

Algorithms for Extended Alpha-Equivalence and Complexity Algorithms for Extended Alpha-Equivalence and Complexity Manfred Schmidt-Schauß, Conrad Rau, and David Sabel Goethe-Universität, Frankfurt, Germany {schauss,rau,sabel}@ki.informatik.uni-frankfurt.de Abstract

More information

Theorem 4.18 ( Critical Pair Theorem ) A TRS R is locally confluent if and only if all its critical pairs are joinable.

Theorem 4.18 ( Critical Pair Theorem ) A TRS R is locally confluent if and only if all its critical pairs are joinable. 4.4 Critical Pairs Showing local confluence (Sketch): Problem: If t 1 E t 0 E t 2, does there exist a term s such that t 1 E s E t 2? If the two rewrite steps happen in different subtrees (disjoint redexes):

More information

Type Preservation as a Confluence Problem

Type Preservation as a Confluence Problem Type Preservation as a Confluence Problem Aaron Stump, Garrin Kimmell, and Ruba El Haj Omar Computer Science The University of Iowa astump@acm.org Computer Science The University of Iowa gkimmell@cs.uiowa.edu

More information

Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings

Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings Extending Abramsky s Lazy Lambda Calculus: (Non)-Conservativity of Embeddings Manfred Schmidt-Schauß 1, Elena Machkasova 2, and David Sabel 1 1 Goethe-Universität, Frankfurt, Germany schauss,sabel@ki.informatik.uni-frankfurt.de

More information

Mechanizing and Improving Dependency Pairs

Mechanizing and Improving Dependency Pairs Mechanizing and Improving Dependency Pairs Jürgen Giesl (giesl@informatik.rwth-aachen.de), René Thiemann (thiemann@informatik.rwth-aachen.de) and Peter Schneider-Kamp (psk@informatik.rwth-aachen.de) LuFG

More information

A Refined Tableau Calculus with Controlled Blocking for the Description Logic SHOI

A Refined Tableau Calculus with Controlled Blocking for the Description Logic SHOI A Refined Tableau Calculus with Controlled Blocking for the Description Logic Mohammad Khodadadi, Renate A. Schmidt, and Dmitry Tishkovsky School of Computer Science, The University of Manchester, UK Abstract

More information

Proving and Disproving Termination of Higher-Order Functions

Proving and Disproving Termination of Higher-Order Functions Proving and Disproving Termination of Higher-Order Functions Jürgen Giesl, René Thiemann, Peter Schneider-Kamp LuFG Informatik II, RWTH Aachen, Ahornstr. 55, 52074 Aachen, Germany {giesl thiemann psk}@informatik.rwth-aachen.de

More information

Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq

Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq Simulation in the Call-by-Need Lambda-Calculus with Letrec, Case, Constructors, and Seq Manfred Schmidt-Schauss 1 and David Sabel 1 and Elena Machkasova 2 1 Dept. Informatik und Mathematik, Inst. Informatik,

More information

Introduction to Abstract Interpretation. ECE 584 Sayan Mitra Lecture 18

Introduction to Abstract Interpretation. ECE 584 Sayan Mitra Lecture 18 Introduction to Abstract Interpretation ECE 584 Sayan Mitra Lecture 18 References Patrick Cousot,RadhiaCousot:Abstract Interpretation: A Unified Lattice Model for Static Analysis of Programs by Construction

More information

COSE212: Programming Languages. Lecture 1 Inductive Definitions (1)

COSE212: Programming Languages. Lecture 1 Inductive Definitions (1) COSE212: Programming Languages Lecture 1 Inductive Definitions (1) Hakjoo Oh 2017 Fall Hakjoo Oh COSE212 2017 Fall, Lecture 1 September 4, 2017 1 / 9 Inductive Definitions Inductive definition (induction)

More information

Observational Semantics for a Concurrent Lambda Calculus with Reference Cells and Futures

Observational Semantics for a Concurrent Lambda Calculus with Reference Cells and Futures Observaional Semanics for a Concurren Lambda Calculus wih Reference Cells and Fuures David Sabel J. W. Goehe-Universiy Frankfur, Germany join work wih: Joachim Niehren (Lille, France), Manfred Schmid-Schauß

More information

Simulation in the Call-by-Need Lambda-Calculus with letrec

Simulation in the Call-by-Need Lambda-Calculus with letrec Simulation in the Call-by-Need Lambda-Calculus with letrec Manfred Schmidt-Schauss 1 and David Sabel 1 and Elena Machkasova 2 1 Dept. Informatik und Mathematik, Inst. Informatik, J.W. Goethe-University,

More information

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

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

More information

AP Calculus BC. Chapter 3: Derivatives 3.3: Rules for Differentiation

AP Calculus BC. Chapter 3: Derivatives 3.3: Rules for Differentiation AP Calculus BC Chapter 3: Derivatives 3.3: Rules for Differentiation Essential Question & Why: Essential Question: How can I (easily) differentiate a polynomial or rational function? Why? Polynomial functions

More information

How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi

How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi How to Prove Similarity a Precongruence in Non-Deterministic Call-by-Need Lambda Calculi Matthias Mann and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach 11

More information

Regular Expressions [1] Regular Expressions. Regular expressions can be seen as a system of notations for denoting ɛ-nfa

Regular Expressions [1] Regular Expressions. Regular expressions can be seen as a system of notations for denoting ɛ-nfa Regular Expressions [1] Regular Expressions Regular expressions can be seen as a system of notations for denoting ɛ-nfa They form an algebraic representation of ɛ-nfa algebraic : expressions with equations

More information

Computational Models #1

Computational Models #1 Computational Models #1 Handout Mode Nachum Dershowitz & Yishay Mansour March 13-15, 2017 Nachum Dershowitz & Yishay Mansour Computational Models #1 March 13-15, 2017 1 / 41 Lecture Outline I Motivation

More information

SAT Solving for Argument Filterings

SAT Solving for Argument Filterings SAT Solving for Argument Filterings Michael Codish 1, Peter Schneider Kamp 2, Vitaly Lagoon 3, René Thiemann 2, and Jürgen Giesl 2 1 Dept. of Computer Science, Ben-Gurion University, Israel, mcodish@cs.bgu.ac.il

More information

A Constructor-Based Reachability Logic for Rewrite Theories

A Constructor-Based Reachability Logic for Rewrite Theories A Constructor-Based Reachability Logic for Rewrite Theories Stephen Skeirik, Andrei Stefanescu, Jose Meseguer October 10th, 2017 Outline 1 Introduction 2 Reachability Logic Semantics 3 The Invariant Paradox

More information

3.17 Semantic Tableaux for First-Order Logic

3.17 Semantic Tableaux for First-Order Logic 3.17 Semantic Tableaux for First-Order Logic There are two ways to extend the tableau calculus to quantified formulas: using ground instantiation using free variables Tableaux with Ground Instantiation

More information

Correctness of an STM Haskell Implementation

Correctness of an STM Haskell Implementation Correctness of an STM Haskell Implementation Manfred Schmidt-Schauss and David Sabel Goethe-University, Frankfurt, Germany Technical Report Frank-50 Research group for Artificial Intelligence and Software

More information

Modularity of Confluence: A Simplified Proof

Modularity of Confluence: A Simplified Proof 1 Modularity of Confluence: A Simplified Proof Jan Willem Klop 1,2,5,6 Aart Middeldorp 3,5 Yoshihito Toyama 4,7 Roel de Vrijer 2 1 Department of Software Technology CWI, Kruislaan 413, 1098 SJ Amsterdam

More information

Formalization of Rewriting in PVS

Formalization of Rewriting in PVS Formalization of Rewriting in PVS Mauricio Ayala-Rincón Grupo de Teoria da Computação, Universidade de Brasília (UnB) Brasília D.F., Brazil Research funded by Brazilian Research Agencies: CNPq, CAPES and

More information

7. Prime Numbers Part VI of PJE

7. Prime Numbers Part VI of PJE 7. Prime Numbers Part VI of PJE 7.1 Definition (p.277) A positive integer n is prime when n > 1 and the only divisors are ±1 and +n. That is D (n) = { n 1 1 n}. Otherwise n > 1 is said to be composite.

More information

Outline. Overview. Introduction. Well-Founded Monotone Algebras. Monotone algebras. Polynomial Interpretations. Dependency Pairs

Outline. Overview. Introduction. Well-Founded Monotone Algebras. Monotone algebras. Polynomial Interpretations. Dependency Pairs Overview Lecture 1: Introduction, Abstract Rewriting Lecture 2: Term Rewriting Lecture 3: Combinatory Logic Lecture 4: Termination Lecture 5: Matching, Unification Lecture 6: Equational Reasoning, Completion

More information

Proof Theoretical Reasoning Lecture 3 Modal Logic S5 and Hypersequents

Proof Theoretical Reasoning Lecture 3 Modal Logic S5 and Hypersequents Proof Theoretical Reasoning Lecture 3 Modal Logic S5 and Hypersequents Revantha Ramanayake and Björn Lellmann TU Wien TRS Reasoning School 2015 Natal, Brasil Outline Modal Logic S5 Sequents for S5 Hypersequents

More information

Simply Typed Lambda Calculus

Simply Typed Lambda Calculus Simply Typed Lambda Calculus Language (ver1) Lambda calculus with boolean values t ::= x variable x : T.t abstraction tt application true false boolean values if ttt conditional expression Values v ::=

More information

Efficiently Deciding Uniqueness of Normal Forms and Unique Normalization for Ground TRSs 1

Efficiently Deciding Uniqueness of Normal Forms and Unique Normalization for Ground TRSs 1 Efficiently Deciding Uniqueness of Normal Forms and Unique Normalization for Ground TRSs 1 Bertram Felgenhauer University of Innsbruck, Austria 5th International Workshop on Confluence Obergurgl 2016-09-08

More information

Computational Logic for Computer Science

Computational Logic for Computer Science Motivation: formalization - proofs & deduction Computational proofs - logic & deduction Formal proofs Pr Computational Logic for Computer Science Mauricio Ayala-Rinco n & Fla vio L.C. de Moura Grupo de

More information

Reasoning with Higher-Order Abstract Syntax and Contexts: A Comparison

Reasoning with Higher-Order Abstract Syntax and Contexts: A Comparison 1 Reasoning with Higher-Order Abstract Syntax and Contexts: A Comparison Amy Felty University of Ottawa July 13, 2010 Joint work with Brigitte Pientka, McGill University 2 Comparing Systems We focus on

More information

Mathematical Induction

Mathematical Induction Mathematical Induction MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Mathematical Induction Fall 2014 1 / 21 Outline 1 Mathematical Induction 2 Strong Mathematical

More information

Observational Semantics for a Concurrent Lambda Calculus with Reference Cells and Futures

Observational Semantics for a Concurrent Lambda Calculus with Reference Cells and Futures Replace this file with prentcsmacro.sty for your meeting, or with entcsmacro.sty for your meeting. Both can be found at the ENTCS Macro Home Page. Observational Semantics for a Concurrent Lambda Calculus

More information

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr Semantic Equivalences and the Verification of Infinite-State Systems Richard Mayr Department of Computer Science Albert-Ludwigs-University Freiburg Germany Verification of Infinite-State Systems 1 c 2004

More information

Pattern Matching of Compressed Terms and Contexts and Polynomial Rewriting

Pattern Matching of Compressed Terms and Contexts and Polynomial Rewriting Pattern Matching of Compressed Terms and Contexts and Polynomial Rewriting Manfred Schmidt-Schauß 1 Institut für Informatik Johann Wolfgang Goethe-Universität Postfach 11 19 32 D-60054 Frankfurt, Germany

More information

Extended Abstract: Reconsidering Intuitionistic Duality

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

FS Properties and FSTs

FS Properties and FSTs FS Properties and FSTs Chris Dyer Algorithms for NLP 11-711 Announcements HW1 has been posted; due in class in 2 weeks Goals of Today s Lecture Understand properties of regular languages Understand Brzozowski

More information

Initial experiments on deriving a complete HOL simplification set

Initial experiments on deriving a complete HOL simplification set Initial experiments on deriving a complete HOL simplification set Cezary Kaliszyk and Thomas Sternagel {cezary.kaliszyk,thomas.sternagel}@uibk.ac.at University of Innsbruck, Innsbruck, Austria Abstract

More information

Decreasing Diagrams: Two Labels Suffice

Decreasing Diagrams: Two Labels Suffice Decreasing Diagrams: Two Labels Suffice Jan Willem Klop 1,2 Jörg Endrullis 1 Roy Overbeek 1 Presented by Bertram Felgenhauer 3 1 Vrije Universiteit Amsterdam, the Netherlands 2 Centrum Wiskunde & Informatica,

More information

A REWRITING VIEW OF SIMPLE TYPING

A REWRITING VIEW OF SIMPLE TYPING A REWRITING VIEW OF SIMPLE TYPING AARON STUMP, HANS ZANTEMA, GARRIN KIMMELL, AND RUBA EL HAJ OMAR Computer Science, The University of Iowa e-mail address: astump@acm.org Department of Computer Science,

More information

Equational Reasoning and Completion. Dominik Klein

Equational Reasoning and Completion. Dominik Klein Equational Reasoning and Completion by Dominik Klein submitted to Japan Advanced Institute of Science and Technology in partial fulfillment of the requirements for the degree of Doctor of Philosophy Supervisor:

More information

Graphs, matroids and the Hrushovski constructions

Graphs, matroids and the Hrushovski constructions Graphs, matroids and the Hrushovski constructions David Evans, School of Mathematics, UEA, Norwich, UK Algebra, Combinatorics and Model Theory, Koç University, Istanbul August 2011. ACMT () August 2011

More information

mu-term: A Tool for Proving Termination of Context-Sensitive Rewriting

mu-term: A Tool for Proving Termination of Context-Sensitive Rewriting mu-term: A Tool for Proving Termination of Context-Sensitive Rewriting Salvador Lucas DSIC, Universidad Politécnica de Valencia Camino de Vera s/n, E-46022 Valencia, Spain e.mail: slucas@dsic.upv.es Abstract.

More information

Generalized and Formalized Uncurrying

Generalized and Formalized Uncurrying Generalized and Formalized Uncurrying Christian Sternagel and René Thiemann Institute of Computer Science, University of Innsbruck, Austria {christian.sternagel rene.thiemann}@uibk.ac.at Abstract Uncurrying

More information

Automated Reasoning Lecture 17: Inductive Proof (in Isabelle)

Automated Reasoning Lecture 17: Inductive Proof (in Isabelle) Automated Reasoning Lecture 17: Inductive Proof (in Isabelle) Jacques Fleuriot jdf@inf.ed.ac.uk Recap Previously: Unification and Rewriting This time: Proof by Induction (in Isabelle) Proof by Mathematical

More information

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Université de Lorraine, LORIA, CNRS, Nancy, France Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Introduction Linear logic introduced by Girard both classical and intuitionistic separate

More information

Aachen. Automated Termination Analysis for Logic Programs with Cut. Department of Computer Science. Technical Report

Aachen. Automated Termination Analysis for Logic Programs with Cut. Department of Computer Science. Technical Report Aachen Department of Computer Science Technical Report Automated Termination Analysis for Logic Programs with Cut Peter Schneider-Kamp, Jürgen Giesl, Thomas Ströder, Alexander Serebrenik, René Thiemann

More information

Harnessing First Order Termination Provers Using Higher Order Dependency Pairs

Harnessing First Order Termination Provers Using Higher Order Dependency Pairs Harnessing First Order Termination Provers Using Higher Order Dependency Pairs Carsten Fuhs 1 and Cynthia Kop 2 1 RWTH Aachen University, LuFG Informatik 2, 52056 Aachen, Germany fuhs@informatik.rwth-aachen.de

More information

Mathematics 222 (A1) Midterm Examination May 24, 2002

Mathematics 222 (A1) Midterm Examination May 24, 2002 Mathematics (A) Midterm Examination May 4, 00 Department of Mathematical and Statistical Sciences University of Alberta Instructor: I. E. Leonard Time: 70 Minutes. There were 5 children in the Emergency

More information

Polynomial Equality Testing for Terms with Shared Substructures

Polynomial Equality Testing for Terms with Shared Substructures Polynomial Equality Testing for Terms with Shared Substructures Manfred Schmidt-Schauß Fachbereich Informatik, J.-W.-Goethe-Universität, Postfach 11 19 32, D-60054 Frankfurt,Germany Tel: (+49)69-798-28597,

More information

THE INVERSE FUNCTION THEOREM

THE INVERSE FUNCTION THEOREM THE INVERSE FUNCTION THEOREM W. PATRICK HOOPER The implicit function theorem is the following result: Theorem 1. Let f be a C 1 function from a neighborhood of a point a R n into R n. Suppose A = Df(a)

More information

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson A Theorem Prover for Intuitionistic Propositional Logic Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson Introduction Semantics and Syntax Sequent Rules Implementation Experimental Results Contents

More information

Non- -overlappings TRSs are UN. Stefan Kahrs and Connor Smith University of Kent

Non- -overlappings TRSs are UN. Stefan Kahrs and Connor Smith University of Kent Non- -overlappings TRSs are UN Stefan Kahrs and Connor Smith University of Kent This is about: When is the equational theory of a TRS consistent (CON), when does it have unique normal forms (UN), How can

More information

Propositional and Predicate Logic - V

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

Term Rewriting with Logical Constraints

Term Rewriting with Logical Constraints Term Rewriting with Logical Constraints Cynthia Kop and Naoki Nishida This is a pre-publishing copy of the published paper, which includes an appendix and corrections, and is more spatially verbose in

More information

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

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability Salil Vadhan September 20, 2012 Reading: Sipser, 1.3 and The Diagonalization Method, pages 174 178 (from just before Definition

More information

Homological Processing of Biomedical digital images: automation and certification 1

Homological Processing of Biomedical digital images: automation and certification 1 Homological Processing of Biomedical digital images: automation and certification 1 Jónathan Heras, Gadea Mata, María Poza and Julio Rubio Department of Mathematics and Computer Science University of La

More information

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications NICTA Advanced Course Theorem Proving Principles, Techniques, Applications λ 1 CONTENT Intro & motivation, getting started with Isabelle Foundations & Principles Lambda Calculus Higher Order Logic, natural

More information

Properties of Regular Languages. BBM Automata Theory and Formal Languages 1

Properties of Regular Languages. BBM Automata Theory and Formal Languages 1 Properties of Regular Languages BBM 401 - Automata Theory and Formal Languages 1 Properties of Regular Languages Pumping Lemma: Every regular language satisfies the pumping lemma. A non-regular language

More information

Logical Closure Properties of Propositional Proof Systems

Logical Closure Properties of Propositional Proof Systems of Logical of Propositional Institute of Theoretical Computer Science Leibniz University Hannover Germany Theory and Applications of Models of Computation 2008 Outline of Propositional of Definition (Cook,

More information

Chapter 5. Finite Automata

Chapter 5. Finite Automata Chapter 5 Finite Automata 5.1 Finite State Automata Capable of recognizing numerous symbol patterns, the class of regular languages Suitable for pattern-recognition type applications, such as the lexical

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

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

Lecture Notes: Axiomatic Semantics and Hoare-style Verification

Lecture Notes: Axiomatic Semantics and Hoare-style Verification Lecture Notes: Axiomatic Semantics and Hoare-style Verification 17-355/17-665/17-819O: Program Analysis (Spring 2018) Claire Le Goues and Jonathan Aldrich clegoues@cs.cmu.edu, aldrich@cs.cmu.edu It has

More information

Solutions Manual. Selected odd-numbers problems from. Chapter 3. Proof: Introduction to Higher Mathematics. Seventh Edition

Solutions Manual. Selected odd-numbers problems from. Chapter 3. Proof: Introduction to Higher Mathematics. Seventh Edition Solutions Manual Selected odd-numbers problems from Chapter 3 of Proof: Introduction to Higher Mathematics Seventh Edition Warren W. Esty and Norah C. Esty 5 4 3 2 1 2 Section 3.1. Inequalities Chapter

More information

Introduction to Turing Machines

Introduction to Turing Machines Introduction to Turing Machines Deepak D Souza Department of Computer Science and Automation Indian Institute of Science, Bangalore. 12 November 2015 Outline 1 Turing Machines 2 Formal definitions 3 Computability

More information

Regular Languages. Problem Characterize those Languages recognized by Finite Automata.

Regular Languages. Problem Characterize those Languages recognized by Finite Automata. Regular Expressions Regular Languages Fundamental Question -- Cardinality Alphabet = Σ is finite Strings = Σ is countable Languages = P(Σ ) is uncountable # Finite Automata is countable -- Q Σ +1 transition

More information

Gerwin Klein, June Andronick, Ramana Kumar S2/2016

Gerwin Klein, June Andronick, Ramana Kumar S2/2016 COMP4161: Advanced Topics in Software Verification {} Gerwin Klein, June Andronick, Ramana Kumar S2/2016 data61.csiro.au Content Intro & motivation, getting started [1] Foundations & Principles Lambda

More information

BASIC MATHEMATICAL TECHNIQUES

BASIC MATHEMATICAL TECHNIQUES CHAPTER 1 ASIC MATHEMATICAL TECHNIQUES 1.1 Introduction To understand automata theory, one must have a strong foundation about discrete mathematics. Discrete mathematics is a branch of mathematics dealing

More information

Constructing Lower Bounds on the Derivational Complexity of Rewrite Systems

Constructing Lower Bounds on the Derivational Complexity of Rewrite Systems Constructing Lower Bounds on the Derivational Complexity of Rewrite Systems Dieter Hofbauer, BA Nordhessen, Germany Johannes Waldmann, HTWK Leipzig, Germany Proof Theory and Rewriting, Obergurgl, March

More information

A Semantic Criterion for Proving Infeasibility in Conditional Rewriting

A Semantic Criterion for Proving Infeasibility in Conditional Rewriting A Semantic Criterion for Proving Infeasibility in Conditional Rewriting Salvador Lucas and Raúl Gutiérrez DSIC, Universitat Politècnica de València, Spain 1 Introduction In the literature about confluence

More information

Homework 3, solutions

Homework 3, solutions Homework 3, solutions Problem 1. Read the proof of Proposition 1.22 (page 32) in the book. Using simialr method prove that there are infinitely many prime numbers of the form 3n 2. Solution. Note that

More information

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods

NICTA Advanced Course. Theorem Proving Principles, Techniques, Applications. Gerwin Klein Formal Methods NICTA Advanced Course Theorem Proving Principles, Techniques, Applications Gerwin Klein Formal Methods 1 ORGANISATORIALS When Mon 14:00 15:30 Wed 10:30 12:00 7 weeks ends Mon, 20.9.2004 Exceptions Mon

More information

Proving Termination by Bounded Increase. Jürgen Giesl, René Thiemann, Stephan Swiderski, Peter Schneider-Kamp

Proving Termination by Bounded Increase. Jürgen Giesl, René Thiemann, Stephan Swiderski, Peter Schneider-Kamp Aachen Department of Computer Science Technical Report Proving Termination by Bounded Increase Jürgen Giesl, René Thiemann, Stephan Swiderski, Peter Schneider-Kamp ISSN 0935 3232 Aachener Informatik Berichte

More information

KBO Orientability. Harald Zankl Nao Hirokawa Aart Middeldorp. Japan Advanced Institute of Science and Technology University of Innsbruck

KBO Orientability. Harald Zankl Nao Hirokawa Aart Middeldorp. Japan Advanced Institute of Science and Technology University of Innsbruck KBO Orientability Harald Zankl Nao Hirokawa Aart Middeldorp Japan Advanced Institute of Science and Technology University of Innsbruck KBO Orientability 1/32 Reference JAR 2009 Harald Zankl, Nao Hirokawa,

More information