Agent-Based HOL Reasoning 1

Size: px
Start display at page:

Download "Agent-Based HOL Reasoning 1"

Transcription

1 Agent-Based HOL Reasoning 1 Alexander Steen Max Wisniewski Christoph Benzmüller Freie Universität Berlin 5th International Congress on Mathematical Software (ICMS 2016) 1 This work has been supported by the DFG under grant BE 2501/11-1 (Leo-III).

2 Talk outline 1. Automated Theorem Proving 2. Higher-Order Logic 3. Agents 4. Leo-III Prover, Agent-Based HOL Reasoning, ICMS

3 Automated Theorem Proving (ATP) ATP as computer-assisted reasoning No human interaction needed Autonomous proof search Output of result/proof Translate problem to formal representation... underlying theory as axioms... claim/goal as conjecture System result: Theorem, counter satisfiable,... and a proof? Further approaches: Interactive Theorem Proving, Semi-Interactive... Agent-Based HOL Reasoning, ICMS

4 Automated Theorem Proving (ATP) ATP as computer-assisted reasoning No human interaction needed Autonomous proof search Output of result/proof Translate problem to formal representation... underlying theory as axioms... claim/goal as conjecture System result: Theorem, counter satisfiable,... and a proof? Further approaches: Interactive Theorem Proving, Semi-Interactive... Agent-Based HOL Reasoning, ICMS

5 Automated Theorem Proving (ATP) ATP as computer-assisted reasoning No human interaction needed Autonomous proof search Output of result/proof Translate problem to formal representation... underlying theory as axioms... claim/goal as conjecture System result: Theorem, counter satisfiable,... and a proof? Further approaches: Interactive Theorem Proving, Semi-Interactive... Agent-Based HOL Reasoning, ICMS ,

6 Recent successes in Automated Deduction Proof of Four color theorem [AppelHaken, 1976] [Gonthier, 2005] Proof of Kepler s conjecture (Flyspeck project) [Hales et al., 2014] Formal inspection (verification) of Gödel s Ontological Argument and various versions of it [BenzmüllerWoltzenlogel Paleo, IJCAI,2016] Agent-Based HOL Reasoning, ICMS

7 Formalization: Hands on More concrete application example Cantor s surjective theorem: There exists no surjective function f from a set to its power set What is an appropriate formalization? Can it be proved automatically? Agent-Based HOL Reasoning, ICMS

8 Formalization: Hands on More concrete application example Cantor s surjective theorem: There exists no surjective function f from a set to its power set What is an appropriate formalization? Can it be proved automatically? Agent-Based HOL Reasoning, ICMS

9 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Agent-Based HOL Reasoning, ICMS

10 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Type of truth-values Agent-Based HOL Reasoning, ICMS

11 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Type of individuals Agent-Based HOL Reasoning, ICMS

12 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Terms defined by (α T) s, t ::=p α X α Formulae of HOL are those terms with type o Semantics well-understood (not mentioned here) Agent-Based HOL Reasoning, ICMS

13 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Terms defined by (α T) s, t ::=p α X α (λx α.s β ) α β (s α β t α ) β Formulae of HOL are those terms with type o Semantics well-understood (not mentioned here) Agent-Based HOL Reasoning, ICMS

14 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Terms defined by (α T) s, t ::=p α X α (λx α.s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( α X α.s o ) o Formulae of HOL are those terms with type o Semantics well-understood (not mentioned here) Agent-Based HOL Reasoning, ICMS

15 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Terms defined by (α T) s, t ::=p α X α (λx α.s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o Π α (α o) o (λx α. s o ) α o Formulae of HOL are those terms with type o Semantics well-understood (not mentioned here) Agent-Based HOL Reasoning, ICMS

16 Higher Order Logic (HOL) Due to Alonzo Church s Simple type theory (a typed λ-calculus) [Church, J.Symb.L., 1940] Simple types T generated by base types and Typically, base types are o and i Terms defined by (α T) s, t ::=p α X α (λx α.s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( α X α.s o ) o Formulae of HOL are those terms with type o Semantics well-understood (not mentioned here) Agent-Based HOL Reasoning, ICMS

17 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set Agent-Based HOL Reasoning, ICMS

18 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set Agent-Based HOL Reasoning, ICMS

19 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set Agent-Based HOL Reasoning, ICMS

20 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set F ι (ι o). Y ι o. X ι. F X = Y Agent-Based HOL Reasoning, ICMS

21 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set F ι (ι o). Y ι o. X ι. F X = Y Agent-Based HOL Reasoning, ICMS

22 Why HOL? Why HOL? (Pragmatically) expressive language Concise expressions Higher-order quantification Anonymous functions ( built-in comprehension) Allows easy representation of common notions (e.g. induction principle) Allows encoding of various non-classical logics (e.g. modal logics, free logic,...) Previous example There exists no surjective function from a set to its power set F ι (ι o). Y ι o. X ι. F X = Y Agent-Based HOL Reasoning, ICMS

23 Call the Agents Reasoning in HOL is involved Complicated routines (some of those undecidable) Different (orthogonal) reasoning techniques Tableaux methods (Satallax) Resolution methods (LEO-II) First-order encoding methods (tptp_isabelle) Paramodulation methods (?) Not (yet) clear, if there s a superior approach Agent-Based HOL Reasoning, ICMS

24 Call the Agents Reasoning in HOL is involved Complicated routines (some of those undecidable) Different (orthogonal) reasoning techniques Tableaux methods (Satallax) Resolution methods (LEO-II) First-order encoding methods (tptp_isabelle) Paramodulation methods (?) Not (yet) clear, if there s a superior approach Agent-Based HOL Reasoning, ICMS

25 Call the Agents Reasoning in HOL is involved Complicated routines (some of those undecidable) Different (orthogonal) reasoning techniques Tableaux methods (Satallax) Resolution methods (LEO-II) First-order encoding methods (tptp_isabelle) Paramodulation methods (?) Not (yet) clear, if there s a superior approach Why not combine them all? Have the best of all worlds! Motivation of Leo-III Employ specialists as independent agents Let them find a proof cooperatively Independence allows parallel execution. Agent-Based HOL Reasoning, ICMS

26 Architecture of Leo-III Shared blackboard architecture Independent agents collaboratively acting on it Agents may be internal or external Coordination of agents by combinatorical auction game scheduling Agent-Based HOL Reasoning, ICMS

27 Current state of Leo-III Built around a paramodulation-based HOL calculus... currently as sequential loop At any point the loop may request assistance from external agents Internal agents Normalization variants Relevance filtering (pre-processing) Sequential loops Goal state checker External agents Leo-II Satallax exemplary every TPTP-compatible prover can be used Agent-Based HOL Reasoning, ICMS

28 Current state of Leo-III Built around a paramodulation-based HOL calculus... currently as sequential loop At any point the loop may request assistance from external agents Internal agents Normalization variants Relevance filtering (pre-processing) Sequential loops Goal state checker External agents Leo-II Satallax exemplary every TPTP-compatible prover can be used Agent-Based HOL Reasoning, ICMS

29 Current state of Leo-III Built around a paramodulation-based HOL calculus... currently as sequential loop At any point the loop may request assistance from external agents Internal agents Normalization variants Relevance filtering (pre-processing) Sequential loops Goal state checker External agents Leo-II Satallax exemplary every TPTP-compatible prover can be used Agent-Based HOL Reasoning, ICMS

30 First assessment First assessment is positive... Competed in this year s CADE ATP System Competition (CASC) Experimental paramodulation calculus seems feasible Cooperation with external provers beneficial Agent-Based HOL Reasoning, ICMS

31 First assessment First assessment is positive... Competed in this year s CADE ATP System Competition (CASC) Experimental paramodulation calculus seems feasible Cooperation with external provers beneficial... but Poor parameter settings No first-order cooperation yet A lot of things to do until competitive Agent-Based HOL Reasoning, ICMS

32 Live Demo Demo Agent-Based HOL Reasoning, ICMS

33 Modifications Sequential loop agents only for the current version Split internal saturation into more fine-grained agent tasks Use machine learning techniques for coordination of agents, search space traversal Include more specialist systems/external agents: First-order provers SAT/SMT solvers for internal reasoning assistance Consistency checkers (e.g. nitpick) Unification specialists Agent-Based HOL Reasoning, ICMS

34 Modifications Sequential loop agents only for the current version Split internal saturation into more fine-grained agent tasks Use machine learning techniques for coordination of agents, search space traversal Include more specialist systems/external agents: First-order provers SAT/SMT solvers for internal reasoning assistance Consistency checkers (e.g. nitpick) Unification specialists Agent-Based HOL Reasoning, ICMS

35 Perspective Leo-III s underlying datastructure/architecture framework as a stand-alone package For the implementation of HO reasoners on top of it Easily extensible by agent-based design Already available! On the long run: Reasoning-as-a-service for domain specific tools Many non-classical logics through internal embedding into HOL Machine learning components could also be re-used by applications Natural language processing Algebra systems,... Agent-Based HOL Reasoning, ICMS

36 Perspective Leo-III s underlying datastructure/architecture framework as a stand-alone package For the implementation of HO reasoners on top of it Easily extensible by agent-based design Already available! On the long run: Reasoning-as-a-service for domain specific tools Many non-classical logics through internal embedding into HOL Machine learning components could also be re-used by applications Natural language processing Algebra systems,... Agent-Based HOL Reasoning, ICMS

37 Conclusion and Further work Conclusion Presented Leo-III as an agent-based blackboard proving system Based on (polymorphic) higher-order logic Flexible (ad-hoc) inclusion of specialist systems LeoPARD accessible for own developments Further work Split internal saturation into more fine-grained agent tasks Do experiments to find good parameters Lots of technical improvements Implementation of/connection to more external specialists Better proof output Agent-Based HOL Reasoning, ICMS

The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure

The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure Alexander Steen Freie Universität Berlin RuleML Webinar September 29th 0 jww C. Benzmüller, T. Gleißner Talk

More information

Is it Reasonable to Employ Agents in Automated Theorem Proving?

Is it Reasonable to Employ Agents in Automated Theorem Proving? Is it Reasonable to Employ Agents in Automated Theorem Proving? Max Wisniewski 1 and Christoph Benzmüller 1 1 Dept. of Mathematics and Computer Science, Freie Universität Berlin, Germany {m.wisniewski,

More information

Gödel s Proof of God s Existence

Gödel s Proof of God s Existence Gödel s Proof of God s Existence Christoph Benzmüller and Bruno Woltzenlogel Paleo Square of Opposition Vatican, May 6, 2014 A gift to Priest Edvaldo in Piracicaba, Brazil Christoph Benzmüller and Bruno

More information

LCF + Logical Frameworks = Isabelle (25 Years Later)

LCF + Logical Frameworks = Isabelle (25 Years Later) LCF + Logical Frameworks = Isabelle (25 Years Later) Lawrence C. Paulson, Computer Laboratory, University of Cambridge 16 April 2012 Milner Symposium, Edinburgh 1979 Edinburgh LCF: From the Preface the

More information

Formal verification of IA-64 division algorithms

Formal verification of IA-64 division algorithms Formal verification of IA-64 division algorithms 1 Formal verification of IA-64 division algorithms John Harrison Intel Corporation IA-64 overview HOL Light overview IEEE correctness Division on IA-64

More information

Combining and Automating Classical and Non-Classical Logics in Classical Higher-Order Logics

Combining and Automating Classical and Non-Classical Logics in Classical Higher-Order Logics Annals of Mathematics and Artificial Intelligence (pre-final version) The final publication is available at www.springerlink.com Combining and Automating Classical and Non-Classical Logics in Classical

More information

Systematic Verification of the Modal Logic Cube in Isabelle/HOL

Systematic Verification of the Modal Logic Cube in Isabelle/HOL Systematic Verification of the Modal Logic Cube in Isabelle/HOL Christoph Benzmüller Maximilian Claus Dep. of Mathematics and Computer Science, Freie Universität Berlin, Germany c.benzmueller m.claus@fu-berlin.de

More information

Church and Curry: Combining Intrinsic and Extrinsic Typing

Church and Curry: Combining Intrinsic and Extrinsic Typing Church and Curry: Combining Intrinsic and Extrinsic Typing Frank Pfenning Dedicated to Peter Andrews on the occasion of his retirement Department of Computer Science Carnegie Mellon University April 5,

More information

Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL

Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL Alexander Steen 1, Max Wisniewski 1, and Christoph Benzmüller 1 Freie Universität Berlin, Berlin, Germany a.steen m.wisniewski

More information

Classical First-Order Logic

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

More information

Computational Logic and the Quest for Greater Automation

Computational Logic and the Quest for Greater Automation Computational Logic and the Quest for Greater Automation Lawrence C Paulson, Distinguished Affiliated Professor for Logic in Informatics Technische Universität München (and Computer Laboratory, University

More information

Designing and Evaluating Generic Ontologies

Designing and Evaluating Generic Ontologies Designing and Evaluating Generic Ontologies Michael Grüninger Department of Industrial Engineering University of Toronto gruninger@ie.utoronto.ca August 28, 2007 1 Introduction One of the many uses of

More information

Computer Proof Assistants and Univalent Foundations of Mathematics

Computer Proof Assistants and Univalent Foundations of Mathematics Nov. 16, 2014, CMA2014, Kuwait. Computer Proof Assistants and Univalent Foundations of Mathematics by Vladimir Voevodsky from the Institute for Advanced Study in Princeton, NJ. Kepler s Conjecture. In

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

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness

Requirements Validation. Content. What the standards say (*) ?? Validation, Verification, Accreditation!! Correctness and completeness Requirements Validation Requirements Management Requirements Validation?? Validation, Verification, Accreditation!! Check if evrything is OK With respect to what? Mesurement associated with requirements

More information

An Introduction to Proof Assistants

An Introduction to Proof Assistants An Introduction to Proof Assistants Patrick Schnider Student Seminar in Combinatorics: Mathematical Software, ETH Zürich 1 Motivation The development of proof assistants was motivated by the use of computers

More information

26. Januar Introduction to Computational Semantics

26. Januar Introduction to Computational Semantics 1 Lehrstuhl für Künstliche Intelligenz Institut für Informatik Friedrich-Alexander-Universität Erlangen-Nürnberg 26. Januar 2006 1 Slides are mainly due to J. Bos and P. Blackburn course on An Introduction

More information

Utilizing Church s Type Theory as a Universal Logic 1

Utilizing Church s Type Theory as a Universal Logic 1 Utilizing Church s Type Theory as a Universal Logic 1 Christoph Benzmüller Freie Universität Berlin Presentation at TU Wien, October 31, 2012 1 This work has been funded by the DFG under grants BE 2501/6-1,

More information

Modular Architecture for Proof Advice AITP Components

Modular Architecture for Proof Advice AITP Components Modular Architecture for Proof Advice AITP Components Cezary Kaliszyk 03 April 2016 University of Innsbruck, Austria Talk Overview AI over formal mathematics Premise selection overview The methods tried

More information

Interactive Theorem Provers

Interactive Theorem Provers Interactive Theorem Provers from the perspective of Isabelle/Isar Makarius Wenzel Univ. Paris-Sud, LRI July 2014 = Isabelle λ β Isar α 1 Introduction Notable ITP systems LISP based: ACL2 http://www.cs.utexas.edu/users/moore/acl2

More information

The Legacy of Hilbert, Gödel, Gentzen and Turing

The Legacy of Hilbert, Gödel, Gentzen and Turing The Legacy of Hilbert, Gödel, Gentzen and Turing Amílcar Sernadas Departamento de Matemática - Instituto Superior Técnico Security and Quantum Information Group - Instituto de Telecomunicações TULisbon

More information

02 Propositional Logic

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

Computer-Checked Meta-Logic

Computer-Checked Meta-Logic 1 PART Seminar 25 February 2015 Computer-Checked Meta-Logic Jørgen Villadsen jovi@dtu.dk Abstract Over the past decades there have been several impressive results in computer-checked meta-logic, including

More information

Automated theorem proving in algebra

Automated theorem proving in algebra Automated theorem proving in algebra David Stanovský Charles University in Prague Czech Republic stanovsk@karlin.mff.cuni.cz http://www.karlin.mff.cuni.cz/ stanovsk Beograd, November 2009 David Stanovský

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

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

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

Matching Logic: Syntax and Semantics

Matching Logic: Syntax and Semantics Matching Logic: Syntax and Semantics Grigore Roșu 1 and Traian Florin Șerbănuță 2 1 University of Illinois at Urbana-Champaign, USA grosu@illinois.edu 2 University of Bucharest, Romania traian.serbanuta@unibuc.ro

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

System Description: ara An Automatic Theorem Prover for Relation Algebras

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

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

via Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello

via Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello in University of Cambridge 2 / 23 in in In this lecture, whenever I use the word topos, I really mean Grothendieck topos. Recall that a Grothendieck topos can be seen as: a generalized space a mathematical

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

Automated and Human Proofs in General Mathematics: An Initial Comparison

Automated and Human Proofs in General Mathematics: An Initial Comparison Automated and Human Proofs in General Mathematics: An Initial Comparison Jesse Alama 1, Daniel Kühlwein 2, and Josef Urban 2 24 January 2012, Cambridge Semantics and Syntax: A Legacy of Alan Turing (1)

More information

The Curry-Howard Isomorphism

The Curry-Howard Isomorphism The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09

More information

Interactive Theorem Proving in Industry

Interactive Theorem Proving in Industry 1 Interactive Theorem Proving in Industry John Harrison Intel Corporation 16 April 2012 2 Milner on automation and interaction I wrote an automatic theorem prover in Swansea for myself and became shattered

More information

Automata Theory. Definition. Computational Complexity Theory. Computability Theory

Automata Theory. Definition. Computational Complexity Theory. Computability Theory Outline THEORY OF COMPUTATION CS363, SJTU What is Theory of Computation? History of Computation Branches and Development Xiaofeng Gao Dept. of Computer Science Shanghai Jiao Tong University 2 The Essential

More information

Formalization of Mathematics: why Algebraic Topology?

Formalization of Mathematics: why Algebraic Topology? Formalization of Mathematics: why Algebraic Topology? Julio Rubio Universidad de La Rioja Departamento de Matemáticas y Computación MAP Spring School 2012 Sophia Antipolis, March 12th-16th, 2012 Partially

More information

Modal Logics. Most applications of modal logic require a refined version of basic modal logic.

Modal Logics. Most applications of modal logic require a refined version of basic modal logic. Modal Logics Most applications of modal logic require a refined version of basic modal logic. Definition. A set L of formulas of basic modal logic is called a (normal) modal logic if the following closure

More information

Theorem Proving for Verification

Theorem Proving for Verification 0 Theorem Proving for Verification John Harrison Intel Corporation CAV 2008 Princeton 9th July 2008 1 Formal verification Formal verification: mathematically prove the correctness of a design with respect

More information

The Formal Proof Susan Gillmor and Samantha Rabinowicz Project for MA341: Appreciation of Number Theory Boston University Summer Term

The Formal Proof Susan Gillmor and Samantha Rabinowicz Project for MA341: Appreciation of Number Theory Boston University Summer Term The Formal Proof Susan Gillmor and Samantha Rabinowicz Project for MA341: Appreciation of Number Theory Boston University Summer Term 1 2009 Instructor: Kalin Kostadinov The Formal Proof 2 A proof verifies

More information

Mathematics, Proofs and Computation

Mathematics, Proofs and Computation Mathematics, Proofs and Computation Madhu Sudan Harvard December 16, 2016 TIMC: Math, Proofs, Computing 1 of 25 Logic, Mathematics, Proofs Reasoning: Start with body of knowledge. Add to body of knowledge

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

Pei Wang( 王培 ) Temple University, Philadelphia, USA

Pei Wang( 王培 ) Temple University, Philadelphia, USA Pei Wang( 王培 ) Temple University, Philadelphia, USA Artificial General Intelligence (AGI): a small research community in AI that believes Intelligence is a general-purpose capability Intelligence should

More information

Vinter: A Vampire-Based Tool for Interpolation

Vinter: A Vampire-Based Tool for Interpolation Vinter: A Vampire-Based Tool for Interpolation Kryštof Hoder 1, Andreas Holzer 2, Laura Kovács 2, and Andrei Voronkov 1 1 University of Manchester 2 TU Vienna Abstract. This paper describes the Vinter

More information

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Bachelor Seminar - first talk Advisor: Chad Brown Supervisor: Gert Smolka Department of Computer Science Saarland University October

More information

The roots of computability theory. September 5, 2016

The roots of computability theory. September 5, 2016 The roots of computability theory September 5, 2016 Algorithms An algorithm for a task or problem is a procedure that, if followed step by step and without any ingenuity, leads to the desired result/solution.

More information

SAT/SMT/AR Introduction and Applications

SAT/SMT/AR Introduction and Applications SAT/SMT/AR Introduction and Applications Ákos Hajdu Budapest University of Technology and Economics Department of Measurement and Information Systems 1 Ákos Hajdu About me o PhD student at BME MIT (2016

More information

Formal Logic and Deduction Systems

Formal Logic and Deduction Systems Formal Logic and Deduction Systems Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Formal Logic and Deduction Systems MFES

More information

Nonclassical logics (Nichtklassische Logiken)

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

More information

Learning Goals of CS245 Logic and Computation

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

More information

Recursion Theory. Joost J. Joosten

Recursion Theory. Joost J. Joosten Recursion Theory Joost J. Joosten Institute for Logic Language and Computation University of Amsterdam Plantage Muidergracht 24 1018 TV Amsterdam Room P 3.26, +31 20 5256095 jjoosten@phil.uu.nl www.phil.uu.nl/

More information

Undecidability in Epistemic Planning

Undecidability in Epistemic Planning Undecidability in Epistemic Planning Thomas Bolander, DTU Compute, Tech Univ of Denmark Joint work with: Guillaume Aucher, Univ Rennes 1 Bolander: Undecidability in Epistemic Planning p. 1/17 Introduction

More information

λ Slide 1 Content Exercises from last time λ-calculus COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification

λ Slide 1 Content Exercises from last time λ-calculus COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Content COMP 4161 NICTA Advanced Course Advanced Topics in Software Verification Toby Murray, June Andronick, Gerwin Klein λ Slide 1 Intro & motivation, getting started [1] Foundations & Principles Lambda

More information

Temporal Logic - Soundness and Completeness of L

Temporal Logic - Soundness and Completeness of L Temporal Logic - Soundness and Completeness of L CS402, Spring 2018 Soundness Theorem 1 (14.12) Let A be an LTL formula. If L A, then A. Proof. We need to prove the axioms and two inference rules to be

More information

Towards a Mechanised Denotational Semantics for Modelica

Towards a Mechanised Denotational Semantics for Modelica Towards a Mechanised Denotational Semantics for Modelica Simon Foster Bernhard Thiele Jim Woodcock Peter Fritzson Department of Computer Science, University of York PELAB, Linköping University 3rd February

More information

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem

Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem Lecture 11: Gödel s Second Incompleteness Theorem, and Tarski s Theorem Valentine Kabanets October 27, 2016 1 Gödel s Second Incompleteness Theorem 1.1 Consistency We say that a proof system P is consistent

More information

Seamless Model Driven Development and Tool Support for Embedded Software-Intensive Systems

Seamless Model Driven Development and Tool Support for Embedded Software-Intensive Systems Seamless Model Driven Development and Tool Support for Embedded Software-Intensive Systems Computer Journal Lecture - 22nd June 2009 Manfred Broy Technische Universität München Institut für Informatik

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

Automating Access Control Logics in Simple Type Theory with LEO-II

Automating Access Control Logics in Simple Type Theory with LEO-II Automating Access Control Logics in Simple Type Theory with LEO-II Christoph Benzmüller Abstract Garg and Abadi recently proved that prominent access control logics can be translated in a sound and complete

More information

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

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

More information

Combining Deduction and Algebraic Constraints for Hybrid System Analysis

Combining Deduction and Algebraic Constraints for Hybrid System Analysis Combining Deduction and Algebraic Constraints for Hybrid System Analysis André Platzer University of Oldenburg, Department of Computing Science, Germany Verify 07 at CADE 07 André Platzer (University of

More information

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics

Dynamic Semantics. Dynamic Semantics. Operational Semantics Axiomatic Semantics Denotational Semantic. Operational Semantics Dynamic Semantics Operational Semantics Denotational Semantic Dynamic Semantics Operational Semantics Operational Semantics Describe meaning by executing program on machine Machine can be actual or simulated

More information

A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions

A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions Fernando Bobillo Miguel Delgado Juan Gómez-Romero Department of Computer Science and Artificial Intelligence University

More information

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Outline. 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 information

Higher-Order Automated Theorem Provers

Higher-Order Automated Theorem Provers Higher-Order Automated Theorem Provers Christoph Benzmüller Department of Mathematics and Computer Science Freie Universität Berlin, Germany c.benzmueller@fu-berlin.de 1 Introduction The automation of

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

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

CS187 - Science Gateway Seminar for CS and Math

CS187 - Science Gateway Seminar for CS and Math CS187 - Science Gateway Seminar for CS and Math Fall 2013 Class 3 Sep. 10, 2013 What is (not) Computer Science? Network and system administration? Playing video games? Learning to use software packages?

More information

Mappings For Cognitive Semantic Interoperability

Mappings For Cognitive Semantic Interoperability Mappings For Cognitive Semantic Interoperability Martin Raubal Institute for Geoinformatics University of Münster, Germany raubal@uni-muenster.de SUMMARY Semantic interoperability for geographic information

More information

Research Statement Christopher Hardin

Research Statement Christopher Hardin Research Statement Christopher Hardin Brief summary of research interests. I am interested in mathematical logic and theoretical computer science. Specifically, I am interested in program logics, particularly

More information

Evidential Paradigm and Intelligent Mathematical Text Processing

Evidential Paradigm and Intelligent Mathematical Text Processing Evidential Paradigm and Intelligent Mathematical Text Processing Alexander Lyaletski 1, Anatoly Doroshenko 2, Andrei Paskevich 1,3, and Konstantin Verchinine 3 1 Taras Shevchenko Kiev National University,

More information

Proof Theory and Subsystems of Second-Order Arithmetic

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

More information

Analogical Reasoning with SMT and HDTP

Analogical Reasoning with SMT and HDTP Analogical Reasoning with SMT and HDTP Angela Schwering, Ulf Krumnack, Kai-Uwe Kühnberger, Helmar Gust {aschweri krumnack kkuehnbe hgust}@uos.de Institute of Cognitive Science University of Osnabrück;

More information

Automated Reasoning Lecture 5: First-Order Logic

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

Uniform Schemata for Proof Rules

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

More information

6. Logical Inference

6. 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 information

Higher-Order Aspects and Context in SUMO

Higher-Order Aspects and Context in SUMO Higher-Order Aspects and Context in SUMO Christoph Benzmüller 1, Freie Universität Berlin, Germany Adam Pease Articulate Software, Angwin, CA, USA Abstract This article addresses the automation of higher-order

More information

Higher-Order Aspects and Context in SUMO

Higher-Order Aspects and Context in SUMO Higher-Order Aspects and Context in SUMO Christoph Benzmüller 1, Freie Universität Berlin, Germany Adam Pease Rearden Commerce, Foster City, CA, USA Abstract This article addresses the automation of higher-order

More information

Last Time. Inference Rules

Last Time. Inference Rules Last Time When program S executes it switches to a different state We need to express assertions on the states of the program S before and after its execution We can do it using a Hoare triple written

More information

Intel s Successes with Formal Methods

Intel s Successes with Formal Methods 0 Intel s Successes with Formal Methods John Harrison Intel Corporation Software, Science & Society World Forestry Center, Portland OR December 5, 2003 1 Bugs in computer systems Most modern computer systems

More information

Mathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. Chiara Ghidini. FBK-IRST, Trento, Italy Introduction to Reasoning and Automated Reasoning. Hilbert-style Propositional Reasoning. FBK-IRST, Trento, Italy Deciding logical consequence Problem Is there an algorithm to determine whether a formula

More information

Abstractions and Decision Procedures for Effective Software Model Checking

Abstractions and Decision Procedures for Effective Software Model Checking Abstractions and Decision Procedures for Effective Software Model Checking Prof. Natasha Sharygina The University of Lugano, Carnegie Mellon University Microsoft Summer School, Moscow, July 2011 Lecture

More information

Linguistics and logic of common mathematical language I. Peter Koepke and Merlin Carl, Mathematical Institute Universität Bonn

Linguistics and logic of common mathematical language I. Peter Koepke and Merlin Carl, Mathematical Institute Universität Bonn The NAPROCHE Project Linguistics and logic of common mathematical language I Peter Koepke and Merlin Carl, Mathematical Institute Universität Bonn Mathematical texts are formulated in a semi-formal language,

More information

Logic in Computer Science. Frank Wolter

Logic in Computer Science. Frank Wolter Logic in Computer Science Frank Wolter Meta Information Slides, exercises, and other relevant information are available at: http://www.liv.ac.uk/~frank/teaching/comp118/comp118.html The module has 18 lectures.

More information

Connection method - Scholarpedia

Connection method - Scholarpedia Connection method From Scholarpedia Wolfgang Bibel and Christoph Kreitz (2009), Scholarpedia, 4(1):6816. revision #56298 [link to/cite this article] Curator: Dr. Wolfgang Bibel, Professor emer., Darmstadt

More information

Combining Induction Axioms By Machine

Combining Induction Axioms By Machine Combining Induction Axioms By Machine Christoph Walther Technische Hochschule Darmstadt Fachbereich Informatik, AlexanderstraBe 10 D 6100 Darmstadt Germany Abstract The combination of induction axioms

More information

Beyond First-Order Logic

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

More information

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

Propositions as Types

Propositions as Types Propositions as Types Martin Pfeifhofer & Felix Schett May 25, 2016 Contents 1 Introduction 2 2 Content 3 2.1 Getting Started............................ 3 2.2 Effective Computability And The Various Definitions.......

More information

1. A motivation for algebraic approaches to logics

1. A motivation for algebraic approaches to logics Andrzej W. Jankowski AN ALGEBRAIC APPROACH TO LOGICS IN RESEARCH WORK OF HELENA RASIOWA AND CECYLIA RAUSZER 1. A motivation for algebraic approaches to logics To realize the importance of the research

More information

Inductive Theorem Proving

Inductive Theorem Proving Introduction Inductive Proofs Automation Conclusion Automated Reasoning P.Papapanagiotou@sms.ed.ac.uk 11 October 2012 Introduction Inductive Proofs Automation Conclusion General Induction Theorem Proving

More information

Propositional Logic: Logical Agents (Part I)

Propositional Logic: Logical Agents (Part I) Propositional Logic: Logical Agents (Part I) This lecture topic: Propositional Logic (two lectures) Chapter 7.1-7.4 (this lecture, Part I) Chapter 7.5 (next lecture, Part II) Next lecture topic: First-order

More information

Using Gentzen system techniques with existing automated theorem provers and rewriting tools

Using Gentzen system techniques with existing automated theorem provers and rewriting tools Using Gentzen system techniques with existing automated theorem provers and rewriting tools Peter Jipsen Chapman Univ, Orange, CA March 6, 2008 Peter Jipsen (Chapman Univ, Orange, CA) Implementing Gentzen

More information

COMP 2600: Formal Methods for Software Engineeing

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

More information

Valentin Goranko Stockholm University. ESSLLI 2018 August 6-10, of 29

Valentin Goranko Stockholm University. ESSLLI 2018 August 6-10, of 29 ESSLLI 2018 course Logics for Epistemic and Strategic Reasoning in Multi-Agent Systems Lecture 5: Logics for temporal strategic reasoning with incomplete and imperfect information Valentin Goranko Stockholm

More information

Can we measure the difficulty of an optimization problem?

Can we measure the difficulty of an optimization problem? 1 / 22 Can we measure the difficulty of an optimization problem? *, Tom Everitt**, and Marcus Hutter*** * Dept. of Electrical and Electronic Engineering The University of Melbourne ** Department of Mathematics

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

Formal Verification of Mathematical Algorithms

Formal Verification of Mathematical Algorithms Formal Verification of Mathematical Algorithms 1 Formal Verification of Mathematical Algorithms John Harrison Intel Corporation The cost of bugs Formal verification Levels of verification HOL Light Formalizing

More information

Going Polymorphic TH1 Reasoning for Leo-III

Going Polymorphic TH1 Reasoning for Leo-III Kalpa Publications in Computing Volume 1, 2017, Pages 100 112 LPAR-21S: IWIL Workshop and LPAR Short Presentations Going Polymorphic TH1 Reasoning for Leo-III Alexander Steen 1, Max Wisniewski 1, and Christoph

More information