Intensional Logic Lecture 8 Syntactic formalisms for natural language parsing FI MU autumn 2011 2 Outline ● Overview ● Intension vs. extension ● Intensional semantics and possible worlds ● Montague's Intensional Logic ● First-order Intensional Logic 3 Logics ● Standard Logics ➢ Propositional logic ➢ First-order predicate logic ➢ Higher-order predicate logic ● Non-standard Logics ➢ Categorical logic, Combinatory logic, Conditional logic, Constructive logic, Cumulative logic, Deontic logic, Dynamic logic, Epistemic logic, Erotetic logic, Free logic, Fuzzy logic, Infinitary logic, Intensional logic, Intuitionistic logic, Linear logic, Many-valued logic, Modal logic, Non-monotonic logic, Paraconsistent logic, Partial logic, Prohairetic logic, Quantum logic, Relevant logic, Stoic logic, Substance logic, Substructural logic, Temporal (tense) logic 4 Overview in Intensional Logic (LI) ● Approach to predicate logic extending first-order logic – Quantifiers that range over the individuals of a universe (extensions) – Additional quantifiers that range over terms that may have such individuals as their value (intensions) 5 ● The distinction between extensional and intensional entities is parallel to the distinction between comprehension and denotation by the Port-Royal connotation and denotation by J.S.Mill. sense and reference by Frege intension and extension by Carnap. The essential dichotomy is that between what a term means and what it denotes. 6 ● logical analysis can penetrate into varying depths of the language: sentences regarded as atomic, or splitting them to predicates applied to individual terms, or even revealing such fine logical structures like modal, temporal, dynamic, epistemic ones. 7 ● Different types of intensional phenomena in IL : – modal logic→probability logic of arithmetic and dynamic logic of computation – epistemic logic→ knowledge and belief – deontic logic→ obligation and permission – temporal logic→tense 8 Intensional logic ➢ Theory of logical systems, where there are expressions, whose extension is not uniquely defined by the extensions of their subexpressions, but by their intensions. ⇒ The truth value of logically composed expressions is not simply a logical function of the truth values of their subexpressions. 9 Examples: Sentences containing “always” indicate an intensional context. In general: “indexical expressions” “The president of the Republic of France is always the first state representative.” and “Nicolas Sarkozy is president of the Republic of France.” “⇒ Nicolas Sarkozy is always the first state representative.” ? 10 ➢ Intensional logics are systems that distinguish an expression’s intension (i.e. sense, meaning) from its extension (reference, denotation). ➢ Reason: Capture the logical “behavior” of intensional expressions, which create contexts which violate standard principles of logic, most notably the law of substitution of identities: “From a = b and P(a) it follows that P(b)” ⇒ Intensional logics provide an analysis of meaning. 11 Another example: “obviously” A: Scott is the author of Waverley. B: Obviously Scott is Scott. but obviously Scott is not (necessarily) the author of Waverley. Modality: If A and B are both true, “it is necessary that A” may have a truth value different from “it is necessary that B”. Example If A “7 = the number of world miracles” (A is a contingent truth), and B “7 = 7”. ( Modal Logic)⇒ 12 Examples of Intensional Logics • Modal logic (ontic, deontic, epistemic) • Temporal logic (mellontic) • Relevance logic, logic of “strict implication”, “logic of entailment” • Counterfactual conditionals Intensional contexts are signaled by, e.g. • “It is necessary, that. . . ” (ontic modal logic) • “Thou shalt. . . ” (deontic modal logic) • “x believes, that. . . ” (epistemic modal logic) • “Always. . . ” (temporal logic) • “. . . follows from. . . ” (logic of entailment, relevance logic) • “If Rattle had been conducting, I would have gone to the concert.” (counterfactual conditionals) 13 ● Intensional logic ➢ attempts to study both designation and meaning ➢ investigate the relationships between them. extension intension 14 Intension vs. Extension ● Extension Semantic values can be attributed to expressions in basic categories: the reference of an individual name (the "designated" object named by that) is called its extension; and as for sentences, their truth value is called intension. 15 ● Intension any property or quality connoted by a word, phrase or other symbol. In the case of a word, it is often implied by the word's definition. Intension is analogous to the signified, extension to the referent. The intension thus links the signifier to the sign's extension. Without intension of some sort, words can have no meaning. 16 ● More about Intensions Def. Of Intension in Possible World: The intension of an expression A is the function which assigns to every possible world the extension of A in that world. I.e., the intension of an expression determines its extensions in all possible worlds, and vice versa. Two expressions have the same intension iff they have the same extension in any possible world. More precisely: Assumption: For a set of possible worlds I there is one and the same unique domain of individuals U. The intension of a nominator a is the function which determines for each possible world i ∈ I the object which a denotes. 17 We interpret proper names as standard names, i.e. they denote the same object in all possible worlds: Example: “Barack Obama” vs. “The president of the United States” ➢ The intension of a predicator p is the function which assigns for each possible world i I∈ the extension of p in i. ➢ The intension of a sentence A is the function which assigns for each possible world i I∈ the truth value of A in i. 18 Natural language semantics: Toward intensional semantics ➢ Extensional semantics that models the meaning of sentences based on the extensions of linguistic expressions is limited and cannot handle these intensional constructions. ● What is common in these intensional constructions is that they call for a consideration of extensions that an expression may have in circumstances other than the one in which it is evaluated. This is called an INTENSION of a linguistic expression. ● In order to get at the intensions, we need to consider alternative ways in which the world might have been, alternative sets of circumstances, or POSSIBLE WORLDS. ● The framework that models the meaning of sentences based on the intensions of linguistic expressions is called INTENSIONAL SEMANTICS or POSSIBLE-WORLDS SEMANTICS. 19 Intensions and Possible Worlds ● Traditional viewpoint: An extensional interpretation (as for FOL) fixes the truth values of sentences in our world. ● Carnap’s idea: Generalize interpretations in a way that they fix the truth values of sentences in all “possible worlds”. 20 Possible world: Possible states (state of affairs) and state combinations s.t. every complete state description describes a possible world. ➢ “Complete” wrt. the class of objects and the class of predicators: For each object or system of objects, resp., and for each predicator it is determined whether the predicator applies or not. ➢ The notion of “possible world” has been introduced by Leibniz; in modern logic it is used as a model theoretic term. Possible worlds are constituents of model structures used to interpret a language, in particular modal concepts — necessity and possibility. 21 ● Possible Worlds and Intensions Possible worlds are possible circumstances in which some (or all) events or states are different from what they in fact are in the actual circumstance. w1 w2 w3 Mat and Sue are funny Sue is tall Stevenson is the pres. of MU Sue, Pete and John are funny Sue is tall Anderson is the pres. of MU Mat and Pete are funny Sue is not tall Anderson is the pres. of MU 22 ● W is a set of all possible worlds. W = {w1, w2, w3, …} ● The intension of a sentence S: proposition (e.g., Mat is funny) The set of possible worlds in which it is true. Function from possible worlds to truth values. P = w1 → 1 w2 → 0 w3 → 1 w4 → 0 . . 23 ● Possible Worlds and Intensions (cont.) The intension of a VP: property (e.g., is funny) Function from possible worlds to sets of individuals is funny w1 → {Mat, Sue} w2 → {Sue, Pete, John} w3 → {Mat, Pete} w4 → {Sue, John, Pete} . . = 24 ● The intension of a NP: individual concept (e.g., the president of MU) Function from possible worlds to individuals the president of MU = w1 → Stevenson w2 → Anderson w3 → Anderson w4 → Pete . . 25 ● Possible Worlds, Tense and Intensions ➢ To incorporate tense, we need to consider possible worlds at different times. That is, we will want to consider not just possible worlds, but possible world-time pairs (circumstances). W = {< w1 , i1 >, < w1 , i2 >, ..., < w2 , i5 >, ..., < w3 , i4 >, ...} 26 ➢ Proposition: a set of possible world-time pairs, or a function from possible world-time pairs to truth values. Mat is funny = < w1 , i1 > → 1 < w1 , i2 > → 0 < w2 , i1 > → 1 < w3 , i3 > → 0 . . . 27 ● Possible Worlds, Tense and Intensions (cont.) ➢ Property: a function from possible world-time pairs to sets of individuals. ➢ Individual concept: a function from possible world-time pairs to individuals. < w1 , i1 > → {Mat, Sue} < w1 , i2 >→ {Sue, Pete, John} < w2 , i1 > → {Mat, Pete} < w3 , i3 > → {Sue, John, Pete} . . =is funny the president of SFU < w1 , i1 > → Stevenson < w1 , i2 >→ Anderson < w2 , i1 > → Anderson < w3 , i3 > → Pete . . = 28 ● Possible Worlds, Tense and Intensions (cont.) ➢ Structural properties of propositions in terms of set-theoretic operations 1. p entails q =df p ⊆ q 2. p is equivalent to q =df p = q 3. p and q are contradictory =df p ∩ q = ; (there is no world-time pair in which p and q are both true) 4. ¬p =df {< w, i >∈ W : < w, i > ∉ p} (the world-time pairs in which p is not true) 5. p ^ q =df p ∩ q = {< w, i > ∈ W : < w, i > ∈ p and < w, i > ∈ q} 6. p ∨ q =df p ∪ q = {< w, i > ∈ W : < w, i > ∈ p or < w, i > ∈ q} 7. p is possible =df p ≠ Ø (there is at least one world-time pair in which p is true 8. p is necessary =df p = W (there is no world-time pair in which p is false) 29 Montague's Intensional Logic ● Montague, R. (1930-1970) ● IL lies at the heart of a Montague style natural language semantics: representation of properties, relations and propositions → possible worlds 30 ● Montague semantics : developed as a powerful tool for model-theoretic treatments of the semantics of English and other natural languages : had a profound influence in linguistics : intensional phenomena as at the core of the way language worlds 31 ● In Montague semantics, : intensionality is a ubiquitous phenomenon, there are not only operators, but also intensional verbs, adjectives, adverbs, and so on. Montague grammar : developed for an important new sub-disciplines of linguistics, by using intensional logic and possible worlds semantics to give a precise semantics for constructions of natural language. 32 The types of Montague’s IL are as follows: Basic types: e (entities), t (truth values), s (possible world-point in time pair) ● Functional types: If a,b are types, then is a type (the type of functions from a-type things to b-type things.) ● Intensional types: If a is any type, then is a type (the type of functions from possible worlds to things (extensions) of type a.) 33 Syntactic rules of IL The set of meaningful expressions of type a, called MEa, is defined recursively as follows: 1. Every variable of type a is in MEa. 2. Every constant of type a is in MEa. 3. If α ∈ MEa and u is a variable of type b, then λuα ∈ ME. 4. If α ∈ ME and β ∈ MEa, then α(β) ∈ MEb. 5. If α and β are both in MEa, then α = β ∈ MEt. 6.-10. If φ and ψ are in MEt, then the following are also in MEt: 6. ¬ φ 7. [φ∨ ψ] 8. [φ∧ ψ] 9. [φ→ ψ] 10. [φ↔ ψ] 34 11. If φ ∈ MEt and u is a variable of any type, then ∀uφ ∈ MEt. 12. If φ ∈ MEt and u is a variable of any type, then ∃uφ ∈ MEt. 13. If φ ∈ MEt, then □φ ∈ MEt. 14. If φ ∈ MEt, then Fφ ∈ MEt. 15. If φ ∈ MEt, then Pφ ∈ MEt. 16. If α ∈ MEa, then ˆα ∈ ME. 17. If α ∈ ME, then ˇα ∈ MEa. 35 Semantics of IL A. Model A model for ILis an ordered quintuple such that A, W and T are non-empty sets, < is a linear ordering on the set T, and F is a function that assigns to each non-logical constant of IL of type a an intension. The set of possible denotations of type a is defined as follows (where a and b are any types): 1. De is A 2. Dt is {1, 0} 3. D = DbDa 4. D = DaWxT 36 B. Semantic rules of IL The function F will assign to each non-logical constant of IL of type a a member of D. The semantic rules of IL define recursively for any expression a, the extension of a with respect to model M, w ∈ W, t T and value assignment g, denoted [a]M,w,t,g, as follows: 1. If a is a non-logical constant, then [a]M,w,t,g= [F(a)]( ). 2. If a is a variable, then [a]M,w,t,g= g(a). 3. If α ∈ MEa and u is a variable of type b, then [λuα]M,w,t,g is that function h with domain Db such that for any object x in that domain, h(x) = [α]M,w,t,g’ where g’ is that value assignment exactly like g with the possible difference that g’(u) is the object x. 4. If α ∈ ME, and β ∈ MEa, then [α(β)] M,w,t,gis [α]M,w,t,g([β]M,w,t,g). 5. If α and β are in MEa, then [α = β]M,w,t,gis 1 if and only if [α] M,w,t,g is the same as [β]M,w,t,g. 6. If φ ∈ MEt, then [ ¬ φ ]M,w,t,g 1 if and only if [φ ]M,w,t,g 0, and [ ¬ φ]M,w,t,g 0 otherwise. 37 7.-10. If φ and ψ are in MEt, then [φ ∧ ψ]M,w,t,g 1 if and only if both [φ ]M,w,t,g and [ψ]M,w,t,g are 1. (The definitions for the other truth-functional connectives of [φ ∨ ψ], [φ → ψ], and [φ ↔ ψ] are the usual ones, paralling this definition.) 11. If φ ∈ MEt and u is a variable, then [∀uφ]M,w,t,g is 1 if and only if [φ ]M,w,t,g’ is 1 for all g’ exactly like g except possibly for the value assigned to u. 12. If φ ∈ MEt and u is a variable, then [∃uφ ]M,w,t,g is 1 if and only if [φ ]M,w,t,g’ is 1 for some value assignment g’ exactly like g except possibly for the value assigned to u. 13. If φ ∈ MEt, then [□φ]M,w,t,g is 1 if and only if [φ ]M,w’,t’,g is 1 for all w’ in W and all t’ in T. 14. If φ ∈ MEt, then [Fφ ]M,w,t,g is 1 if and only if [φ ]M,w,t’,g is 1 for some t’ in T such that t in W x T, h() is [α]M,w’,t’,g. 17. If α ∈ ME, then [ˇα]M,w,t,g is [α]M,w,t,g(). 38 First-order Intensional Logic (FOIL) ● Fitting, M (2003, 2006) ● Extending the Intensional Logic of Montague ● Depending on a choice of the underlying propositional modal logic ● Two types of variable: x, y,... object variables f, g........intension variables ● Each relation symbol has a type ● Type is an n-tuple whose entities are in {O, I} ● Atomic formula: P(α1,.....αn) ex: <λx, Φ> (f) <λx, y.Φ> (f,g) 39 Example: Q: predicate is-an-important-book <λx, Q(x)>(f) is true <λx, ◻Q(x)>(f) is true (?) ◻<λx,Q(x)>(f) is true 40 Ontology-based FOIL ● Jiang, F., Sui, Y., Cao, C. (2008) ● Ontologies are introduced to restrain the modal logic frames and models ● ontology-based first-order modal logic, which can solve the problem of rigid assignment for variables in Kripke semantics ● the language of our ontology-based first-order intensional logic is different from that of FOIL – do not use the mechanism of predicate abstraction – admit two kinds of constant symbols in their language 41 ● axiomatization of ontology-based FOIL 1. All classical tautologies; 2. K □(φ ψ) (⊃ ⊃ □φ ⊃ □ψ); 3. Axioms for T, K4, S4, etc., as desired; 4. αφ(α) → φ(β), where β is free for α in φ (and α and β are the same type variables);∀ 5. α(ψ → φ(α)) → (ψ → αφ(α)), where α is not free in ψ;∀ ∀ 6. x= x; 7. x= y → (P(..., x, ...) ≡ P(..., y, ...)), where P is a relation symbol of type ...,O, ...; 8. x= y → □x = y; 9. ¬(x = y) → □¬(x = y).