Logik für Informatiker Logic for computer scientists

Similar documents
/ The Logic of Atomic Sentences. Remember

Three Acts of the Mind

COMP Intro to Logic for Computer Scientists. Lecture 2

QUANTIFICATION IN AFRICAN LOGIC. Jonathan M. O. Chimakonam Ph.D Department of Philosophy University of Calabar, Nigeria

1 HW1 is due now. 2 HW2 & HW3 are due next Tuesday. 3 We are trying to find space to hold the sections. 4 Our TA (Theo Korzukhin) has an office hour

The Language of First-Order Predicate Logic

PHIL12A Section answers, 20 April 2011

CPSC 121: Models of Computation. Module 1: Propositional Logic

How to Write a Review

Introduction p. 1 The Elements of an Argument p. 1 Deduction and Induction p. 5 Deductive Argument Forms p. 7 Truth and Validity p. 8 Soundness p.

Nissim Francez: Proof-theoretic Semantics College Publications, London, 2015, xx+415 pages

Articulating Medieval Logic, by Terence Parsons. Oxford: Oxford University Press,

Lecture 24: Motivating Modal Logic, Translating into It

Formalising arguments

Multiple Quantifiers. Multiple uses of a single quantifier. Chapter 11

Formalizing Irony with Doxastic Logic

QUESTIONS AND LOGICAL ANALYSIS OF NATURAL LANGUAGE: THE CASE OF TRANSPARENT INTENSIONAL LOGIC MICHAL PELIŠ

Conceptions and Context as a Fundament for the Representation of Knowledge Artifacts

THE SUBSTITUTIONAL ANALYSIS OF LOGICAL CONSEQUENCE

Dynamic Semantics! (Part 1: Not Actually Dynamic Semantics) Brian Morris, William Rose

ARISTOTLE ON SCIENTIFIC VS NON-SCIENTIFIC DISCOURSE. Philosophical / Scientific Discourse. Author > Discourse > Audience

An Introduction to Formal Logic

Philosophy Department Expanded Course Descriptions Fall, 2007

Corcoran, J George Boole. Encyclopedia of Philosophy. 2nd edition. Detroit: Macmillan Reference USA, 2006

Survey of Knowledge Base Content

On Judgements and Propositions

THE SUBSTITUTIONAL ANALYSIS OF LOGICAL CONSEQUENCE

Chapter 4. Predicate logic allows us to represent the internal properties of the statement. Example:

The Embedding Problem for Non-Cognitivism; Introduction to Cognitivism; Motivational Externalism

Chapter 3. Boolean Algebra and Digital Logic

Rhetoric - The Basics

Knowledge Representation

SCIENTIFIC KNOWLEDGE AND RELIGIOUS RELATION TO REALITY

Encoders and Decoders: Details and Design Issues

What is Character? David Braun. University of Rochester. In "Demonstratives", David Kaplan argues that indexicals and other expressions have a

ENCYCLOPEDIA DATABASE

Peirce's Remarkable Rules of Inference

Logica & Linguaggio: Tablaux

Non-Classical Logics. Viorica Sofronie-Stokkermans Winter Semester 2012/2013

Ideas of Language from Antiquity to Modern Times

Brain Computer Music Interfacing Demo

An Introduction to PHP. Slide 1 of :31:37 PM]

Background to Gottlob Frege

MATH 195: Gödel, Escher, and Bach (Spring 2001) Notes and Study Questions for Tuesday, March 20

Modeling Digital Systems with Verilog

1/14/2019. How to prepare a paper for final format. V4 Seminars for Young Scientists on Publishing Techniques in the Field of Engineering Science

Representation and Discourse Analysis

Social conditions affect our perceptions, our actions, and our relationships.

Reply to Stalnaker. Timothy Williamson. In Models and Reality, Robert Stalnaker responds to the tensions discerned in Modal Logic

Language and Mind Prof. Rajesh Kumar Department of Humanities and Social Sciences Indian Institute of Technology, Madras

Predication and Ontology: The Categories

6.034 Notes: Section 4.1

The PeRIPLO Propositional Interpolator

Real-Time Systems Dr. Rajib Mall Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Sequential Logic and Clocked Circuits

Types of Literature. Short Story Notes. TERM Definition Example Way to remember A literary type or

IGE104: LOGIC AND MATHEMATICS FOR DAILY LIVING

DEPARTMENT OF ELECTRICAL &ELECTRONICS ENGINEERING DIGITAL DESIGN

Two-Dimensional Semantics the Basics

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

ELCT201: DIGITAL LOGIC DESIGN

Lesson 91: Food (20-25 minutes)

Logisim: A graphical system for logic circuit design and simulation

Argumentation and persuasion

Lesson 10 November 10, 2009 BMC Elementary

Mathematical Principles of Fuzzy Logic

Chapter 27. Inferences for Regression. Remembering Regression. An Example: Body Fat and Waist Size. Remembering Regression (cont.)

Singular Propositions, Abstract Constituents, and Propositional Attitudes

Some Basic Concepts. Highlights of Chapter 1, 2, 3.

Topics in Linguistic Theory: Propositional Attitudes

UML BY EXAMPLE BY GHINWA JALLOUL DOWNLOAD EBOOK : UML BY EXAMPLE BY GHINWA JALLOUL PDF

Kant s Logic Revisited

ECS 15: Introduction to Computers Midterm November 6, 2013

The Philosophy of Language. Frege s Sense/Reference Distinction

CSC 373: Algorithm Design and Analysis Lecture 17

Haskell Brooks Curry was born on 12 September 1900 at Millis, Massachusetts and died on 1 September 1982 at

Fight Club and the friendship of Tyler Dyrden. The movie Fight Club begins with its narrator, also the main character,

Theories of linguistics

SUMMER SESSION II. August 6 - September 14, 2007

The Aristotle Index: Measuring Complexity in the Twenty-First Century. John N. Warfield

The Function Is Unsaturated

The Bias-Variance Tradeoff

Sequentielle Schaltelemente

MODULE 4. Is Philosophy Research? Music Education Philosophy Journals and Symposia

From Pythagoras to the Digital Computer: The Intellectual Roots of Symbolic Artificial Intelligence

First Order Logic. Xiaojin Zhu Computer Sciences Department University of Wisconsin, Madison. [Based on slides from Burr Settles]

D Latch (Transparent Latch)

Chapter 18: Supplementary Formal Material

Chapter 12. Synchronous Circuits. Contents

MC9211 Computer Organization

On Meaning. language to establish several definitions. We then examine the theories of meaning

LAB 3 Verilog for Combinational Circuits

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Disquotation, Conditionals, and the Liar 1

In Defense of the Contingently Nonconcrete

Digital Circuits I and II Nov. 17, 1999

CSEE 6861 CAD of Digital Systems Handout: Lecture #5

Conditional Probability and Bayes

RAPID SOC PROOF-OF-CONCEPT FOR ZERO COST JEFF MILLER, PRODUCT MARKETING AND STRATEGY, MENTOR GRAPHICS PHIL BURR, SENIOR PRODUCT MANAGER, ARM

Eleventh Grade Language Arts Curriculum Pacing Guide

Transcription:

Logik für Informatiker for computer scientists WiSe 2011/12

Language, proof and logic LPL book detailed introduction into first-order logic with many exercises Boole construct truth tables Tarski s world evaluate logical formulas within a blocks world Fitch construct proofs Grinder gives automatic feedback to your solutions requires purchase of the CD (ca. 13 EUR) or the book (ca. 25 EUR, with CD) Platform for exercises: logic.informatik.uni-bremen.de also reachable via www.informatik.uni-bremen.de/agbkb/lehre/ws11-12/logik/

The formal language PL1 PL1 is the formal language of first-order predicate logic Why do we need a formal language? Slides from Prof. Barbara König, Universität Duisburg-Essen http://jordan.inf.uni-due.de/teaching/ss2010/logik/folien/ folien.pdf

The language of PL1: individual constants Individual constants are symbols that denote a person, thing, object Examples: Numbers: 0, 1, 2, 3,... Names: Max, Claire Formal constants: a, b, c, d, e, f, n1, n2 Each individual constant must denote an existing object No individual constant can denote more than one object An object can have 0, 1, 2, 3... names

The language of PL1: predicate symbols Predicate symbols denote a property of objects, or a relation between objects Each predicate symbol has an arity that tell us how many objects are related Examples: Arity 0: Gate0 is low, A, B,... Arity 1: Cube, Tet, Dodec, Small, Medium, Large Arity 2: Smaller, Larger, LeftOf, BackOf, SameSize, Adjoins... Arity 3: Between

The interpretation of predicate symbols In Tarski s world, predicate symbols have a fixed interpretation, that not always completely coindices with the natural language interpretation In other PL1 languages, the interpretation of predicate symbols may vary. For example, may be an ordering of numbers, strings, trees etc. Usually, the binary symbol = has a fixed interpretation: equality

Atomic sentences in propositional logic (Boole): propositional symbols: a, b, c,... in PL1 (Tarski s world): application of predicate symbols to constants: Larger(a,b) the order of arguments matters: Larger(a,b) vs. Larger(b,a) Atomic sentences denote truth values (true, false)

Function symbols Function symbols lead to more complex terms that denote objects. Examples: father, mother +, -, *, / This leads to new terms denoting objects: father(max) 3*(4+2) mother(father(max)) This also leads to new atomic sentences: Larger(father(max),max) 2<3*(4+2)

al validity; satisfiability A sentence A is a logically valid, if it is true in all circumstances. A sentence A is a satisfiable, if it is true in at least one circumstance. A circumstance is in propositional logic: a valuation of the atomic formulas in the set { true, false } in Tarski s world: a block world

Consequences...

al consequence A sentence B is a logical consequence of A 1,..., A n, if all circumstances that make A 1,..., A n true also make B true. In symbols: A 1,..., A n = B. A 1,..., A n are called premises, B is called conclusion. In this case, it is a valid argument to infer B from A 1,... A n. If also A 1,... A n are true, then the valid argument is sound.

al consequence A sentence B is a logical consequence of A 1,..., A n, if all circumstances that make A 1,..., A n true also make B true. In symbols: A 1,..., A n = B. A 1,..., A n are called premises, B is called conclusion. In this case, it is a valid argument to infer B from A 1,... A n. If also A 1,... A n are true, then the valid argument is sound.

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)

al consequence examples All men are mortal. Socrates is a man. So, Socrates is mortal. (valid, sound) All rich actors are good actors. Brad Pitt is a rich actor. So he must be a good actor. (valid, but not sound) All rich actors are good actors. Brad Pitt is a good actor. So he must be a rich actor. (not valid)