Foundations of TIL; method of analysis

Slides:



Advertisements
Similar presentations
The Logic of Quantified Statements
Advertisements

10 October 2006 Foundations of Logic and Constraint Programming 1 Unification ­An overview Need for Unification Ranked alfabeths and terms. Substitutions.
Rigorous Software Development CSCI-GA Instructor: Thomas Wies Spring 2012 Lecture 11.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 1: (Part 2): The Foundations: Logic and Proofs.
Computability and Complexity 8-1 Computability and Complexity Andrei Bulatov Logic Reminder.
C. Varela; Adapted w/permission from S. Haridi and P. Van Roy1 Declarative Computation Model Kernel language semantics Carlos Varela RPI Adapted with permission.
Programming Language Semantics Mooly SagivEran Yahav Schrirber 317Open space html://
1 Section 1.1 Logic. 2 Proposition Statement that is either true or false –can’t be both –in English, must contain a form of “to be” Examples: –Cate Sheller.
Semantics with Applications Mooly Sagiv Schrirber html:// Textbooks:Winskel The.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 6 Limitations of propositional logic Introduction to predicate logic Symbols, terms and formulae, Parse.
FIRST ORDER LOGIC Levent Tolga EREN.
Synthetic concepts a priori
Composition and Substitution: Learning about Language from Algebra Ken Presting University of North Carolina at Chapel Hill.
SAT and SMT solvers Ayrat Khalimov (based on Georg Hofferek‘s slides) AKDV 2014.
Questions, Answers and Presuppositions Marie Duží & Martina Číhalová.
1st-order Predicate Logic (FOL)
Formal Methods in SE Lecture 20. Agenda 2  Relations in Z Specification Formal Methods in SE.
CMPF144 FUNDAMENTALS OF COMPUTING THEORY Module 5: Classical Logic.
Pattern-directed inference systems
Uni-Log 1  -reduction by value A plea for  -reduction by value Marie Duží.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Albert Gatt LIN3021 Formal Semantics Lecture 4. In this lecture Compositionality in Natural Langauge revisited: The role of types The typed lambda calculus.
Formal Semantics of Programming Languages 虞慧群 Topic 1: Introduction.
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Transparent intensional logic, -rule and Compositionality Marie Duží VSB-Technical University Ostrava
1 Logic Our ability to state invariants, record preconditions and post- conditions, and the ability to reason about a formal model depend on the logic.
Albert Gatt LIN3021 Formal Semantics Lecture 3. Aims This lecture is divided into two parts: 1. We make our first attempts at formalising the notion of.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
Formal Semantics of Programming Languages 虞慧群 Topic 2: Operational Semantics.
Operational Semantics Mooly Sagiv Tel Aviv University Sunday Scrieber 8 Monday Schrieber.
Of 29 lecture 15: description logic - introduction.
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Operational Semantics Mooly Sagiv Reference: Semantics with Applications Chapter 2 H. Nielson and F. Nielson
Logics for Data and Knowledge Representation ClassL (part 1): syntax and semantics.
CENG 424-Logic for CS Introduction Based on the Lecture Notes of Konstantin Korovin, Valentin Goranko, Russel and Norvig, and Michael Genesereth.
Transparent Intensional Logic TIL
Logic.
Natural language processing Lecture 7
2. The Logic of Compound Statements Summary
Lecture 4 Natural Language Processing
Advanced Algorithms Analysis and Design
Natural Language processing
ece 720 intelligent web: ontology and beyond
Formal Modeling Concepts
Lecture 3 Natural Language Processing
Computer Science Department
Procedural Semantics of TIL
CLASSICAL LOGIC and FUZZY LOGIC
LOGIC & MAS The pilot project conducted at the Research Laboratory of Intelligent Systems (LabIS – ) The main goal: Research of.
CSCI 3310 Mathematical Foundation of Computer Science
Lecture 6 Three kinds of context
Propositional Calculus: Boolean Algebra and Simplification
Logics for Data and Knowledge Representation
1st-order Predicate Logic (FOL)
Lesson 5 Relations, mappings, countable and uncountable sets
TIL: notional attitudes of seeking and finding
Computer Security: Art and Science, 2nd Edition
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
Foundations of Discrete Mathematics
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Natural Language Processing (Transparent Intensional Logic)
Lecture 4 Natural Language Processing
Lecture 3 Natural Language Processing
Natural language processing Lecture 7
Natural language processing Logic of attitudes
Marie Duží Natural Language processing de dicto, de re, ambiguities in natural language Marie Duží
Lecture 9; Anaphora resolution; -reduction by value
Natural Language Processing (Transparent Intensional Logic) TIL
1st-order Predicate Logic (FOL)
Presentation transcript:

Foundations of TIL; method of analysis Marie Duží http://www.cs.vsb.cz/duzi/

Semantic schema Expression expresses constructs object denotes meaning (construction) constructs object TIL Ontology of objects: ramified hierarchy of types

Basic notions Construction Variables x, y, p, w, t, … v-construct Trivialization 0X refers to the object X Composition [F A1 … An] application of a function Closure [x1…xn X] declaration of a function Execution 1X, Double Execution 2X Simple theory of types (non-procedural objects) Base: {, , , } Functional types: (1…n) Partial functions (1 …  n)  

Basic notions The denoted object can be: Typical extensions: The denoted object is always a function, possibly of zero arity, i.e. an atomic object like individual, truth-value, number The denoted object can be: (PWS-)intension: (), frequently (()), or  for short Extension: a function whose domain is not  Construction (i.e. meaning of another embedded expression) nothing (partiality) Typical extensions: -sets are modelled by their characteristic functions: () Relations(-in-extension) are of type () Typical intensions: Properties of individuals/(), individual offices (roles)/, propositions/, relations-in-intension between individuals/(), attributes/() …

Basic notions, notation propositional-logic connectives (truth-value functions): implication (), conjunction (), disjunction () and equivalence () are functions of type (), negation () is of type (). We can use infix notation without Trivialization For instance, instead of ‘[0 [0 p q] [0q]]’ we can write ‘[[p  q]  q]’. For relations of -identity, =/(), we also use infix notation without Trivialization and without the subscript . For instance, let =/() be the identity of individuals, =(())/() the identity of propositions; a, b v , P v (). Then instead of [0 [0= a b] [0=(()) [wt [Pwt a]] [wt [Pwt b]]]] we will simply write [[a = b]  [wt [Pwt a] = wt [Pwt b]]].

Basic notions, notation Quantifiers (total functions) ,  / (()). Let x v , B v , hence x B(x) v (), then [0 x B(x)] v-constructs T, if x B(x) v-constructs the whole type , otherwise F, [0 x B(x)] v-constructs T, if x B(x) v-constructs a non-empty set of elements of type , otherwise F. Notation: x B(x), x B(x) Singularizers (partial functions) I / (()). [0I x B(x)] v-constructs the only -element of the set v-constructed by x B(x), if this set is a singleton, otherwise undefined. Notation: x B(x) reads „the only x, such that B“

Example „the only man to run 100 m under 9 s“ Man/(), Time/(()), Run/(), I/(()): the only…, the whole expression denotes . wt [0I x [[0Manwt x]  [0Time t [0Runwt x 0100]] < 09]] ()  ()   (()) ()   ()  (())  ()  ()  

Ramified hierarchy of types T1 (types of order 1) – non-procedural objects, simple theory of types Cn (constructions of order n) Let x be a variable that ranges over a type of order n. Then x is a construction of order n over B. Let X is an object of a type of order n. Then 0X, 1X, 2X are constructions of order n over B. Let X, X1, ..., Xm (m > 0) be constructions of order n over B. Then [X X1... Xm] is a construction of order n over B. Let x1, ..., xm, X (m > 0) be constructions of order n over B. Then [x1...xm X] is a construction of order n over B. Nothing else … Tn+1 (types of order n + 1) Let n is a collection of all constructions of order n over B. Then n and every type of order n are types of order n + 1 over B. If , 1,...,m (m > 0) are types of order n + 1 over B, then ( 1 ... m), is a type of order n + 1 over B.

examples, notation: C/ v  0+/1  (), x /1 v  [0+ x 01]/1 v  x [0+ x 01]/1 v () successor function [x [0+ x 01] 05] /1 v  the number 6 [0: x 00]/1 v  nothing x [0: x 00]/1 v () degenerate function Let Improper/(1) be the set of constructions of order 1 which are v-improper for every valuation v. Hence Improper is an extensional object belonging to (1), which is a type of order 2. Then [0Improper 0[0: x 00]] /2   is an element of 2, which is a type of order 3, though it v- constructs the truth-value T, the object of a type of order 1.

examples Let Arithmetic be the set of unary arithmetic functions defined on natural numbers; hence Arithmetic / (()); and let x v , where  is the type of natural numbers. Then the Composition [0Aritmetic [x [0+ x 01]]]   belongs to 1, the type of order 2, and it constructs T, because the Closure [x [0+ x 01]]  () constructs the unary successor function, which is an arithmetic function.

Examples Composition [0Aritmetic 2c]/3 v  v-constructs the truth-value T, if the variable c/2 v 1 v-constructs for instance the Closure [x [0+ x 01]]. Double Execution 2c v-constructs what is v-constructed by the Closure, which is an arithmetic successor function; The Composition [0Aritmetic 2c] is an object belonging to 3, which is a type of order 4; variable c v-constructs the Closure [x [0+ x 01]] belonging to 1, hence c belongs to 2, which is a type of order 3; Double Execution raises the order of a construction, hence 2c belongs to 3, which is a type of order 4. Thus the whole Composition [0Aritmetic 2c] belongs to 3, a type of order 4.

Method of analysis Assing types to objects that are mentioned by the expression E, i.e. to the objects denoted by subexpressions of E Compose constructions of objects ad 1) to construct the object denoted by E Semantically simple expressions (including idioms) are furnished with Trivialization of the denoted object as their meaning Type checking usually by drawing a derivation tree

Example: ‘The Mayor of Ostrava’ Types: Mayor_of/((())) – abbr. (): attribute; Ostrava/, Mayor_of_Ostrava/(()) – abbr.  Synthesis: wt [0Mayor_ofwt 0Ostrava] Type checking: w t [[[0Mayor_of w] t] 0Ostrava] ((()))  (())  ()   () (()) abbreviated as  (individual office)

“The Mayor of Ostrava is rich” Additional type: Rich/() Synthesis: wt [0Richwt wt [0Mayor_ofwt 0Ostrava]]wt] Type checking (derivation tree; shortened): w t [[[0Richwt wt [0Mayor_ofwt 0Ostrava]]wt] ()   () (()) abbr.  (proposition)

Paradoxes The US President is the husband of Melania Hillary wanted to become the US president –––––––––––––––––––––––––––––––––––––––– Hillary wanted to become the husband of Melania wt [0= w’t’ [0Presw’t’ 0USA]wt w’t’ [0Husbandw’t’ 0Melania]wt] wt [0Wantwt 0Hillary w’t’ [0Presw’t’ 0USA]] =/(); Pres(-of), Husband(-of)/(); Usa, Melania/; w’t’ [0Presw’t’ 0USA], w’t’ [0Husbandw’t’ 0Melania]  ; Want(ed-to-become)/() Substitution of another office for the presidential one is invalid; the first premise establishes identity of individuals rather than offices; two different offices happen to be co-occupied by the same holder In the second premise Hillary is related to the office rather than its value (individual)

Paradoxes Oidipus seeks the murderer of his father Oidipus is the murderer of his father ––––––––––––––––––––––––––––––––– ??? Oidipus seeks Oidipus wt [0Seekwt 0Oidipus w’t’ [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]] wt [0= 0Oidipus w’t’ [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]wt] =/(); Murderer(-of), Father(-of)/(); Oidipus/; [0Fatherw’t’ 0Oidipus]  ; [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]  ; w’t’ [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]  ; Seek/() Substitution of the individual Oidipus for the office (role) of the murderer is invalid; 1st premise: Oidipus is related to the whole office (role); he wants to know who occupies the office (plays the role of the murderer) 2nd premise: Oidipus happens to be the holder of the office

Intensional vs. extensional occurence Confusing intensional (de dicto) and extensional (de re) occurrences  paradoxes Extensional: the value of the function (office) is an object of predication wt [0= w’t’ [0Presw’t’ 0USA]wt w’t’ [0Husbandw’t’ 0Melania]wt] wt [0= 0Oidipus w’t’ [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]wt] de re Intensional: the whole function (office) is an object of predication wt [0Wantwt 0Hillary w’t’ [0Presw’t’ 0USA]] wt [0Seekwt 0Oidipus w’t’ [0Murdererw’t’ [0Fatherw’t’ 0Oidipus]]] de dicto

paradoxes John calculates 2 + 5 2 + 5 = 49 ––––––––––––––––– ??? ––––––––––––––––– ??? John calculates 49 wt [0Calculatewt 0John 0[0+ 02 05]] hyperint. [0= [0+ 02 05] [0 049]] Types. Calculate/(1); John/; +/(); /(); =/(); 0[0+ 02 05]/2  1; [0+ 02 05], [0 049]/1  ; 1st premise. John is related to the very construction that he wants to execute 2nd premise. Two different constructions produce the same value (number) Substitution is invalid

Summary Confusing different levels of abstraction yields paradoxes Hyperintensional context; construction is an object of predication Intensional context; produced function is an object of predication Extensional context; value of the produced function is an object of predication