Logic as The Calculus of Computer Science

Similar documents
Two-Valued Logic Programs

Logic in Computer Science. Frank Wolter

Stable Models and Difference Logic

Adding Modal Operators to the Action Language A

(A 3 ) (A 1 ) (1) COMPUTING CIRCUMSCRIPTION. Vladimir Lifschitz. Department of Computer Science Stanford University Stanford, CA

The Modal Logic S4F, the Default Logic, and the Logic Here-and-There

Nested Epistemic Logic Programs

Computer Science and Logic A Match Made in Heaven

Splitting a Default Theory. Hudson Turner. University of Texas at Austin.

Hyperequivalence of programs and operators (Preliminary version)

2005 Springer Science+Business Media. Reprinted with permission.

2 1. INTRODUCTION We study algebraic foundations of semantics of nonmonotonic knowledge representation formalisms. The algebraic framework we use is t

Characterizing Causal Action Theories and Their Implementations in Answer Set Programming: Action Languages B, C and Beyond

Decision procedure for Default Logic

Epistemic Reasoning in Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Guarded resolution for Answer Set Programming

A Sequent Calculus for Skeptical Reasoning in Autoepistemic Logic

Loop Formulas for Disjunctive Logic Programs

Discrete Mathematics

Equivalence for the G 3-stable models semantics

Strong and uniform equivalence of nonmonotonic theories an algebraic approach

Strong and Uniform Equivalence in Answer-Set Programming: Characterizations and Complexity Results for the Non-Ground Case

Twelve Definitions of a Stable Model

Disjunctive Programs with Set Constraints

Logic Programs with Abstract Constraint Atoms: The Role of Computations

A Schema for Generating Update Semantics

A Denotational Semantics for Equilibrium Logic

Maximal Introspection of Agents

Change, Change, Change: three approaches

Seminar Topic Assignment

Logic Programs with Intensional Functions

Action Language BC: Preliminary Report

INTRODUCTION TO NONMONOTONIC REASONING

Reducts of propositional theories, satisfiability relations, and generalizations of semantics of logic programs

A Preference Semantics. for Ground Nonmonotonic Modal Logics. logics, a family of nonmonotonic modal logics obtained by means of a

cse541 LOGIC FOR COMPUTER SCIENCE

Reducing Propositional Theories in Equilibrium Logic to Logic Programs

System f2lp Computing Answer Sets of First-Order Formulas

First-Order Modular Logic Programs and their Conservative Extensions (Extended Abstract)

Chapter 2: Introduction to Propositional Logic

On the Logic and Computation of Partial Equilibrium Models

Representing Actions in Logic-based Languages

Computing Preferred Safe Beliefs

Multi-modal nonmonotonic logics of minimal knowledge

02 Propositional Logic

Declarative and Computational Properties. 2 Logic Programs with Aggregates

Level Mapping Induced Loop Formulas for Weight Constraint and Aggregate Programs

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

A Theory of Forgetting in Logic Programming

An assumption-based framework for. Programming Systems Institute, Russian Academy of Sciences

Strong and uniform equivalence of nonmonotonic theories an algebraic approach

A Probabilistic Extension of the Stable Model Semantics

Yet Another Proof of the Strong Equivalence Between Propositional Theories and Logic Programs

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

New insights on the intuitionistic interpretation of Default Logic

Many-Valued Non-Monotonic Modal Logics

Elimination of Disjunction and Negation in Answer-Set Programs under Hyperequivalence

Embracing Causality in Specifying the Indirect Effects of Actions*

An Approach in Logic-based Artificial Intelligence

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

I N F S Y S R E S E A R C H R E P O R T

Simple Random Logic Programs

Introduction to Kleene Algebra Lecture 14 CS786 Spring 2004 March 15, 2004

Logic Programs with Compiled Preferences

dl2asp: Implementing Default Logic via Answer Set Programming

Tableau vs. Sequent Calculi for Minimal Entailment

Partial Grounded Fixpoints

Minimal logic programs (extended report)

Loop Formulas for Circumscription

Lecture 1: Logical Foundations

Models. Models of Computation, Turing Machines, and the Limits of Turing Computation. Effective Calculability. Motivation for Models of Computation

An Abstract View on Modularity in Knowledge Representation

Handling Implication and Universal Quantification Constraints in FLUX

The Limit of Humanly Knowable Mathematical Truth

Computing Loops With at Most One External Support Rule

Deciding Equivalence between Extended Datalog Programs. A Brief Survey.

Negation. Logic and Deductive Databases. Xuegang Wang. School of Computer Studies. The University of Leeds

A Tarskian Informal Semantics for Answer Set Programming

State-Space Exploration. Stavros Tripakis University of California, Berkeley

CHAPTER 11. Introduction to Intuitionistic Logic

Eliminating Disjunction from Propositional Logic Programs under Stable Model Preservation

Generality and Equivalence Relations in Default Logic

Logic programs with monotone abstract constraint atoms

Automata Theory. Definition. Computational Complexity Theory. Computability Theory

Forgetting and Conflict Resolving in Disjunctive Logic Programming

Integrating State Constraints and Obligations in Situation Calculus

Argumentation with Abduction

An Independence Relation for Sets of Secrets

arxiv: v1 [cs.lo] 8 Jan 2013

Two New Definitions of Stable Models of Logic Programs with Generalized Quantifiers

Answer Set Programming from a Logical Point of View

Diagnosing Automatic Whitelisting for Dynamic Remarketing Ads Using Hybrid ASP

Fundamentals of Programming Languages I Introduction and Logics

A Meta-Programming Technique for Debugging Answer-Set Programs

Declarative Strategies for Agents with Incomplete Knowledge

Reconciling Situation Calculus and Fluent Calculus

Model Checking. Boris Feigin March 9, University College London

Default Reasoning in Action Domains with Conditional, Non-Local Effect Actions

Lloyd-Topor Completion and General Stable Models

Transcription:

1 Ottobre, 2007 1 Università di Napoli Federico II

What is a Logic? A Logic is a formalism with a sintax a semantics an inference mechanism for reasoning

Historical Diagram

The First Age of Logic: Symbolic Logic (500 B.C. - 19th Century) Originally, Logic dealt with arguments in the natural languages used by humans.

The First Age of Logic: Symbolic Logic (500 B.C. - 19th Century) The Surprise Paradox: Natural language is too ambiguous! It is needed a Symbolic Language.

The 2nd Age of Logic: Algebraic Logic (Mid to Late 19th Century) In 1847, George Boole attempted to formulate logic in terms of mathematical language.

The 3rd Age of Logic: Mathematical Logic (Late 19th Century to Mid 20th Century) As mathematical proofs became more sophisticated, paradoxes began to show up in them just as they did in natural language. Hilbert proposed logic for computing each mathematical problem. Gödel s Incompleteness Theorems proved that logic cannot prove every statement and it cannot prove its own consistency.

The 4th Age of Logic: Logic in Computer Science Logic occupacy a central place in computer science so that logic has been called the calculus of computer science.... Computer science started as Logic. (M. Y. Vardi) I expected that digital computing machines will eventually stimulate a considerable interest in symbolic logic.... The language in which one communicates with these machines... forms a sort of symbolic logic. (A. Turing)

Propositional Logic A formalism for modeling statements that are either true or false. Boolean Logic

First Order Logic A formalism for specifying properties of mathematical structures, such as graphs, Database System,...

Modal Logic A formalism for modeling necessity and possibility. Model Checking: ψ there is a deadlock Mψ, is it possible there will be a deadlock? L ψ, it is necessary there is no deadlock

Nonmonotonic Logics A Nonmonotonic Logic L is s.t. adding a new axiom to a theory T on L may cause the lost of a theorem proved in T. Access Control Policies: P = {..., aut(sogg, Act, Ogg, ) not aut(sogg, Act, Ogg, +),...} P aut(john, read, file, ) P {aut(john, read, file, +)} aut(john, read, file, )

Nonmonotonic Logics A Nonmonotonic Logic L is s.t. adding a new axiom to a theory T on L may cause the lost of a theorem proved in T. Commonsense Knowledge and Reasoning: My car is in garage...oops..! My car is not in garage

Impact of Logic in Computer Science Computer-Aided Verification (model checking) Database System (SQL, relational algebra) Computational Complexity (complexity and expressivity) Programming Languages (formal semantics, type theory, rewriting systems,...) Computer Security (access control policies, negotiation policies,...) Artificial Intelligence (commonsese knowledge and reasoning) Distributed Systems (domain description) Logic Programming (inference) Software Engineering (modeling). [7, 8, 2, 6, 19, 15, 4, 10, 16, 3, 9, 12, 5, 1, 13, 11, 14, 18, 17]

References I C. Baral. Knowledge Representation, Reasoning and Declarative Problem Solving. Cambridge University Press, Cambridge, 2003. L. C. Aiello and F. Massacci. Verifying security protocols as planning in logic programming. ACM Trans. Comput. Logic, 2(4):542 580, 2001. K. L. Clark. Negation as failure. In Logic and Data Bases, pages 293 322, 1977. T. Eiter, W. Faber, and M. Truszczynski, editors. Logic Programming and Nonmonotonic Reasoning, 6th International Conference, LPNMR 2001, Vienna, Austria, September 17-19, 2001, Proceedings, volume 2173 of Lecture Notes in Computer Science. Springer, 2001.

References II M.H. Van Emden and R.A. Kowalski. The semantics of predicate logic as a programming language. J. ACM, 23(4):733 742, 1976. M. Gabbrielli and G. Gupta, editors. Logic Programming, 21st International Conference, ICLP 2005, Sitges, Spain, October 2-5, 2005, Proceedings, volume 3668 of Lecture Notes in Computer Science. Springer, 2005. M. Gelfond and V. Lifschitz. The stable model semantics for logic programming. In Proc. of the 5th ICLP, pages 1070 1080. MIT Press, 1988. M. Gelfond and V. Lifschitz. Classical negation in logic programs and disjunctive databases. New Generation Computing, 9(3-4):365 386, 1991.

References III M. L. Ginsberg and D. E. Smith. Possible worlds and the qualification problem. In AAAI, pages 212 217, 1987. J. W. Lloyd. Foundations of Logic Programming, 1st Edition. Springer, 1984. W. Marek and M. Truszczynski. Autoepistemic logic. J. ACM, 38(3):587 618, 1991. J. McCarthy. Programs with common sense. In Proceedings of the Teddington Conference on the Mechanization of Thought Processes, pages 75 91, London, 1959. Her Majesty s Stationary Office.

References IV R. Reiter. A logic for default reasoning. Artificial Intelligence, 13:81 132, 1980. J. R. Shoenfield. Mathematical Logic. Series in Logic. Addison-Wesley, Reading, MA, 1967. P. Simons, I. Niemelä, and T. Soininen. Extending and implementing the stable model semantics. Artif. Intell., 138(1-2):181 234, 2002. P. J. Stuckey, editor. Logic Programming, 18th International Conference, ICLP 2002, Copenhagen, Denmark, July 29 - August 1, 2002, Proceedings, volume 2401 of Lecture Notes in Computer Science. Springer, 2002.

References V M.Y. Vardi. Logic as the calculus of computer science. Technical report, Rice University. M.Y. Vardi. A brief history of logic. Technical report, Rice University, 2003. M. De Vos and A. Provetti, editors. Answer Set Programming, Advances in Theory and Implementation, Proceedings of the 3rd Intl. ASP 05 Workshop, Bath, UK, September 27-29, 2005, volume 142 of CEUR Workshop Proceedings. CEUR-WS.org, 2005.