The discussion of Chapter 1 will be split into two sessions; the first will cover 1.1 and 1.2; the second will cover 1.3, 1.4, and 1.5.

Similar documents
Lecture 5. Logic I. Statement Logic

Propositional Logic. Part I

Note that in this definition, n + m denotes the syntactic expression with three symbols n, +, and m, not to the number that is the sum of n and m.

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Automated Reasoning. Natural Deduction in First-Order Logic

LING 130: Quantified Noun Phrases

Fundamental mathematical techniques reviewed: Mathematical induction Recursion. Typically taught in courses such as Calculus and Discrete Mathematics.

1. Logic as a subject matter is the study of logics, understood as models of acceptable inference patterns

Formal Verification. Lecture 10

Introduction to dependent types in Coq

Goals: Define the syntax of a simple imperative language Define a semantics using natural deduction 1

Towards a Logical Reconstruction of Relational Database Theory

LECTURE 8: SETS. Software Engineering Mike Wooldridge

Lecture 4: January 12, 2015

(Refer Slide Time 3:31)

F15: Formalizing definiteness

AN INTRODUCTION TO FUZZY SETS Analysis and Design. Witold Pedrycz and Fernando Gomide

Lectures 20, 21: Axiomatic Semantics

An Annotated Language

Type Systems COMP 311 Rice University Houston, Texas

This is already grossly inconvenient in present formalisms. Why do we want to make this convenient? GENERAL GOALS

Typing Control. Chapter Conditionals

logic with quantifiers (informally)

Semantics and Pragmatics of NLP Propositional Logic, Predicates and Functions

CSC 501 Semantics of Programming Languages

COMPUTATIONAL SEMANTICS WITH FUNCTIONAL PROGRAMMING JAN VAN EIJCK AND CHRISTINA UNGER. lg Cambridge UNIVERSITY PRESS

3.7 Denotational Semantics

EXTENSIONS OF FIRST ORDER LOGIC

Name: CSCI E-220: Artificial Intelligence Midterm Exam, Fall Term 2001

Knowledge Representation

Functional Programming. Big Picture. Design of Programming Languages

CITS2211 Discrete Structures Logic

3.4 Deduction and Evaluation: Tools Conditional-Equational Logic

Hoare Logic. COMP2600 Formal Methods for Software Engineering. Rajeev Goré

MITOCW watch?v=kz7jjltq9r4

Definition: A context-free grammar (CFG) is a 4- tuple. variables = nonterminals, terminals, rules = productions,,

Introductory logic and sets for Computer scientists

Programming Languages Third Edition

An Evolution of Mathematical Tools

1 Introduction. 2 Set-Theory Formalisms. Formal Semantics -W2: Limitations of a Set-Theoretic Model SWU LI713 Meagan Louie August 2015

Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5

Warm-Up Problem. Let L be the language consisting of as constant symbols, as a function symbol and as a predicate symbol. Give an interpretation where

Back to the knights and knaves island

Understanding Recursion

Computation Club: Gödel s theorem

Propositional Logic Formal Syntax and Semantics. Computability and Logic

X-KIF New Knowledge Modeling Language

Mathematically Rigorous Software Design Review of mathematical prerequisites

CSC242: Intro to AI. Lecture 10. Tuesday, February 26, 13

Proseminar on Semantic Theory Fall 2013 Ling 720 An Algebraic Perspective on the Syntax of First Order Logic (Without Quantification) 1

Lecture 5 - Axiomatic semantics

6.001 Notes: Section 6.1

(Refer Slide Time: 01.26)

Logic as a framework for NL semantics. Outline. Syntax of FOL [1] Semantic Theory Type Theory

CS233:HACD Introduction to Relational Databases Notes for Section 4: Relational Algebra, Principles and Part I 1. Cover slide

Introduction to Logic Programming

Software Paradigms (Lesson 6) Logic Programming

Knowledge Representation and Reasoning Logics for Artificial Intelligence

Chapter 3 (part 3) Describing Syntax and Semantics

Denotational Semantics of a Simple Imperative Language Using Intensional Logic

1. true / false By a compiler we mean a program that translates to code that will run natively on some machine.

Propositional Logic. Andreas Klappenecker

Types, Expressions, and States

Overview. CS389L: Automated Logical Reasoning. Lecture 6: First Order Logic Syntax and Semantics. Constants in First-Order Logic.

First Order Predicate Logic CIS 32

COMP 410 Lecture 1. Kyle Dewey

LING 510, Lab 3 September 23, 2013

Linguistics and Philosophy 23: , Is Compositionality Formally Vacuous? Francis Jeffry Pelletier

The three faces of homotopy type theory. Type theory and category theory. Minicourse plan. Typing judgments. Michael Shulman.

Introduction to Axiomatic Semantics

6.001 Notes: Section 8.1

CSC242: Intro to AI. Lecture 8 LOGIC

Lecture 3: Constructing the Natural Numbers

Introduction & Review

Higher-Order Logic. Specification and Verification with Higher-Order Logic

Lisp History. Lisp and Prolog Background. Lisp Use. Lisp Availability

15-819M: Data, Code, Decisions

Lecture 11 Lecture 11 Nov 5, 2014

Scheme: Data. CS F331 Programming Languages CSCE A331 Programming Language Concepts Lecture Slides Monday, April 3, Glenn G.

M. Snyder, George Mason University LAMBDA CALCULUS. (untyped)

Chapter 2 & 3: Representations & Reasoning Systems (2.2)

Defining Functions. CSc 372. Comparative Programming Languages. 5 : Haskell Function Definitions. Department of Computer Science University of Arizona

Nano-Lisp The Tutorial Handbook

Lecture 6: Sequential Sorting

Starting Boolean Algebra

Knowledge Representation

Foundations, Reasoning About Algorithms, and Design By Contract CMPSC 122

Chapter 4 Fuzzy Logic

AXIOMS FOR THE INTEGERS

Propositional Calculus: Boolean Functions and Expressions. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

INF3580/4580 Semantic Technologies Spring 2017

Lecture Notes on Data Representation

Formal Methods in Software Engineering. Lecture 07

CSCI1410 Fall 2018 Assignment 3: Knowledge Representation and Reasoning

Com S 541. Programming Languages I

Introduction to Parallel Computing Errata

6. Hoare Logic and Weakest Preconditions

CS422 - Programming Language Design

COMS 1003 Fall Introduction to Computer Programming in C. Bits, Boolean Logic & Discrete Math. September 13 th

Declarative programming. Logic programming is a declarative style of programming.

Transcription:

1

The discussion of Chapter 1 will be split into two sessions; the first will cover 1.1 and 1.2; the second will cover 1.3, 1.4, and 1.5. 2

http://memory alpha.org/wiki/file:surak_tos.jpg. Copyright Paramount/CBS. Actually, Vulcan logic isn t going to help us here at all. 3

Priest, Graham. Logic: A very Short Introduction. Oxford, 2000. 4

5

Example from: Gowers, ed. Princeton Companion to Mathematics, page 14. Simple (syntax) relative to natural languages, that is. 6

http://www.cse.unsw.edu.au/~billw/cs9414/notes/nlp/seminterp/seminterp 2009.html 7

8

The symbols mentioned here seem to correspond to the Alpha and the Omega sets of a propositional calculus. 9

The family/3 and child/2 functors are particularly awkward first examples; they shows, though, how you could use functors to build a list of arbitrary length. 10

11

This definition of an alphabet isn t actually called out by number in the book. While Nilsson includes the connectives/quantifiers/aux in the alphabet, I can t find where that is actually used. 12

13

1) grab the predicates; 2) grab the basic operators; 3) include quantifiersactually, not Fis in the set of wff even if G isn t. 14

THIS SLIDE SHOULD PROBABLY COME LATER AS A SUMMARY 15

http://www.iayl.org/site/scientific_board/semantics/semantics_200704187.html 16

The meaning of a logic formula is simply a truth value: either true or false. Definitely a getting there is half the fun situation! 17

18

In linguistic terms, the interpretation establishes the reference from a word/symbol to the thing itself or at least to the model of the thing itself. Okay, for the predicate thing, I finally found something I couldn t do in Equation Editor. 19

You might think of a bound variable as being bound to servitude searching through the set of all possible values 20

Extending a valuation with a new mapping is used in the semantics for quantification 21

It appears that for variables and functors, the valuation function may need to be applied multiple times. For constants, nothing changes; the interpretation is sufficient to provide meaning. 22

There does not seem to be a definition 1.5 in the book. 23

Sections 1.1, 1.2: Logic formulas (syntax), Semantics of Formulas Big ideas: Logic, Inference, and Formal Logic; Syntax; Semantics 24

25

The discussion of Chapter 1 will be split into two sessions; the first will cover 1.1 and 1.2; the second will cover 1.3, 1.4, and 1.5. 26

http://www.fieldstonealliance.org/client/tools_you_can_use/07 27 05_Logic_Models.cfm 27

Language is awkward here. I m used to model as a verb: the world exists and I try to model it in functions. 28

29

30

Consequence, equivalence, and inference 31

32

33

34

Barbara H. Partee, Distinguished University Professor Emerita of Linguistics and Philosophy University of Massachusetts Ling 726: Mathematical Linguistics, Lecture 10 Model Theory // V. Borschev and B. Partee, October 23, 2001 people.umass.edu/partee/726_01/lectures/lecture10.pdf 35

Might want to skip this slide if running short on time. Timothy J. McGrew (Western Michigan University, Philosophy Department): http://homepages.wmich.edu/~mcgrew/logiprob.htm By the same tightened notion of consequence any conclusion from an empty set of premises is also logically true. 36

http://www.zazzle.co.uk/think_substitution_cryptography_dancing_men_tshirt 235708411090292608 A substitution cipher is a far simpler sort of substitution that we re going to be looking at. 37

A substitution seems to be essentially the same as the state as discussed in CSC 501. Application of a substitution is like an operation of the state function. Warning: Nilsson uses the format X/t but I found many writings online that reverse that: Theorem: For all formulas, I = {t1/x1,...,tn/xn} iff I{t1/x1,..., tn/xn} =. 38

It s easier to look at application of composition first. Note that composition of substitutions is not commutative. Honestly, Nilsson didn t do too well with composition. The version on page 15 had an error and its replacement in the errata is still hard to understand. I ve modified it somewhat (substitution is simultaneous; (Y) is not affected by Y/b.) Examples from 2009 lecture notes for CS 141, Intro to AI taught by Amy Greenwald at Brown University. http://www.cs.brown.edu/courses/cs141/old/2009/lectures/first_order_logic.pdf 39

END WITH THIS SLIDE!! 40