Functors for the Piagetian Robotics Paper

Size: px
Start display at page:

Download "Functors for the Piagetian Robotics Paper"

Transcription

1 Functors or the Piagetian Robotics Paper Joshua Taylor 1 and Selmer Bringsjord 1,2 tayloj@cs.rpi.edu, selmer@rpi.edu Rensselaer AI & Reasoning (RAIR) Lab Department o Cognitive Science 2 Department o Computer Science 1 Rensselaer Polytechnic Institute (RPI) Troy NY USA April 22, Introduction We describe three unctors that map proos dierent logical systems. The languages under consideration the propositional calculus (L PC ), the irst-order predicate calculus (L FOL ) and a subset thereo (L FOL ), the propositional modal logic S5 (L S5 ), and the description logic ALC, (L ALC ) (Schmidt-Schauß & Smolka 1991). Functor 1 The irst unctor maps sentences and proos o L FOL to sentences and proos o L PC. The translation o ormulae is based on the Barwise & Etchemendy s (1999) truth-unction orm algorithm. Functor 2 The second unctor maps sentences and proos o L S5 to sentences and proos o L FOL. The translation rom the ormulae o L S5 to those o L FOL is based on reiying modal ormulae and by quantiying over possible worlds [cite... ]. Functor 3 The third unctor maps sentences o L ALC and the products o a decision procedure or L ALC to the sentences and proos o L FOL. We assume no amiliarity with category theory, and deine the concepts that we use. We present speciic grammars or the logical languages that we use, but do assume a general amiliarity with logic, ormal semantics, natural deduction, and sequent calculus based reasoning. 2 Formal Preliminaries A category C consists o two disjoint collections: a collection o objects, and a collection o arrows. Associated with each arrow is a domain and a codomain each o which is an object o the category. An arrow whose domain is A and codomain is B denoted : A B. For any arrows : A B and g : B C in C, there is a composite g : A C. For each object A in C, there is an identity arrow, 1 A : A A. The arrows o a category satisy associativity, i.e., or : A B, g : B C, and h : C D, h (g ) = (h g) Furthermore, composition with identity is such that or : A B, composition with 1 A and 1 B satisies 1 A = = 1 B. TODO: Deine subcategories too. Functors are mappings between categories. A unctor F : C 1 C 2 between categories C 1 and C 2 maps the object and arrows o C 1 to the objects and arrows o C 2, respectively, satisying the ollowing constraints. The domain and codomain o the mapping o an arrow are exactly the mapping o the domain and codomain o ; that is, or arrow : A B, the domain and codomain o F ( ) are F (A) and F (B). The mapping o a composition is exactly the composition o mappings; that is, F (g ) = F (g) F ( ). Finally, the mapping o an identity arrow o an object is the identity arrow o the mapping o the object; that is, F (1 A ) = 1 F (A). 1

2 Atomic Propositions Compound Propositions Form Syntax Form Syntax True Negation φ False Conjunction φ ψ Propositional Variables P 1, P 2,... Disjunction φ ψ Implication φ ψ Co-implication φ ψ Figure 1: Syntax o the Propositional Calculus, where φ and ψ represent arbitrary propositions. In practice, propositional variables may be replaced by mnemonics, e.g., r or P 4. Deductive calculi can be expressed as categories, where objects are sentences o the language on which a calculus operates, and arrows are deductions, or proos, within the calculus, subject to several restrictions. For each sentence φ in the language there must be a proo o φ rom φ (and one such proo designated as the identity arrow, 1 φ ), proos can be composed, and proo composition is associative. The axioms and inerence rules o the deductive calculus deine what other arrows will be present in the category. 3 Four Deductive Systems We now describe our languages and their deductive calculi as categories. Some symbols are used in the ormulae o multiple logical languages. Strictly speaking, each language has its own version o the symbol; we subscribe symbols with their language when necessary. For instance PC belongs to L PC ; FOL to L FOL. When there is no danger o conusion, we simply use. 3.1 Propositional Calculus The irst treat the propositional calculus. The syntax o sentences in L PC is shown in Figure 1. These sentences are the objects o C PC. We present the arrows o C PC schematically in Figure 2 (and will continue this practice or other categories). The schematic notation indicates that should the category satisy the conditions atop the line, it contains the arrows described below. The irst two schemata address the requirement that categories contain identity arrows or each o their objects and that their arrows compose. Since the arrows o C PC are proos, we take as the identity arrow or a sentence φ the simple proo o φ rom φ by reiteration, reitφ. Proos compose, and we use the standard notation or composition. Thus, the irst two schemata ensure that C PC is a category. The remaining schemata correspond to Fitch-style inerence rules, ollowing the convention o Barwise & Etchemendy s (1999) Language, Proo, and Logic. Using the arrow schemata, we may iner the presence o arrows. For instance, Figure 3 demonstrates the existence o a proo o P R rom (P Q) (Q R), i.e., that there is an arrow to the ormer rom the latter. 3.2 First-Order Predicate Calculus The next logical language and deductive calculus we treat is the irst-order predicate calculus, L FOL. We call this category C FOL. The syntax o sentences in L FOL is given in Figure 4. These sentences are the objects o C FOL. The arrows o C FOL are generated by the schemata or C PC, given in Figure 2, with the addition o those generated by the schemata shown in Figure 5. The new schemata correspond to inerence rules or handling the quantiied ormulae and equality. We also note the subcategory C FOL whose objects are the objects o C FOL and whose arrows are only those generated by Figure Propositional S5 We now turn propositional S5. Its syntax includes that o L PC, but adds sentences φ and φ, read, respectively, necessarily φ and possibly φ. C S5 s, like C FOL, includes C PC s arrow schemata. Modal logics are characterized by 2

3 φ reit φ φ [reit] φ ψ ψ g ρ φ g ρ [ ] 1 φ1... n φn intro 1,..., n φ1... φ n [ intro] φ 1... φ n elim (i) φ i [ elim] φ i intro φ 1,...,,...,φ n φ1... φ i... φ n [ intro] 1 δ1... δ n 2 δ1 φ... elim 1,..., n+1 φ n+1 δn φ [ elim] φ intro φ [ intro] φ elim φ [ elim] φ g φ intro,g [ intro] elim φ [ elim] φ 1... φ n ψ intro (i) φ 1... φ i 1 φ i+1... φ n φ i ψ [ intro] φ ψ intro φ ψ [ intro] φ ψ g φ elim,g ψ [ elim] φ ψ g ψ φ intro,g φ ψ [ intro] φ ψ (or ψ φ) elim,g φ g ψ [ elim] Figure 2: Arrow schemata o C PC. a P (P Q) (Q R) b P (P Q) (Q R) c P (P Q) (Q R) d P (P Q) (Q R) e P (P Q) (Q R) P (P Q) (Q R) g (P Q) (Q R) reitp (P Q) (Q R) P (P Q) (Q R) elim a(1) P elim a(2) P Q elim c,b Q elim a(3) Q R elim e,d R intro (1) P R Figure 3: Demonstration o an arrow (P Q) (Q R) P R. 3

4 Terms Quantiied Formulae Type Syntax Type Syntax Variable v 1, v 2,... Universal Quantiication v i φ(v i ) Function Application i n(τ 1,...,τ n ) Existential Quantiication v i φ(v i ) Atomic Formulae Compound Formulae Type Syntax Type Syntax True Negation φ False Conjunction φ ψ Predicate Application p n i (τ 1,...,τ n ) Disjunction φ ψ Identity τ 1 = τ 2 Implication φ ψ Co-implication φ ψ Figure 4: Syntax o First-Order Predicate Calculus. φ and ψ are arbitrary ormulae, τ i an arbitrary term. Constants are denoted by applications o nullary unctions i 0 (ater which parentheses may be omitted). Sentences are precisely those ormulae in which no variable appears without the scope o a quantiier. In practice we will use mnemonics or unctions and predicate symbols, e.g., MotherO or 4 1 and Likes or p2 78. = intro n n = n [= intro] φ g n = m (or m = n) = elim,g φ[n m] [= elim] φ [ intro] intro,c,x x φ[c x] where c does not appear in x φ elim,c φ[x c] [ elim] φ intro,c,x x φ[c x] [ intro] x φ g φ[x c] ψ [ elim] elim,g ψ where c does not appear in or ψ Figure 5: Additional arrow schemata or C FOL. 4

5 φ nec φ [nec] (φ ψ) dist φ,ψ φ ψ [dist] φ T φ φ [T] φ 5 φ φ [5] Figure 6: Arrow schemata or S5 s characteristic rule s and axioms. Concept Descriptions Description Type Syntax Semantics Top (Universal Concept) I Bottom (Empty Concept) /0 Atomic Concept A A I Negation (Complement) C I \C I Intersection C D C I D I Union C D C I D I Value Restriction R.C {x y (x,y) R I y C I } Existential Restriction R.C {x y (x,y) R I y C I } Axioms Name Syntax Semantics Concept Subsumption C D C I D I Concept Equivalence C D C I = D I Concept Membership C(a) a I C I Role Membership (R(a,b)) ((a I,b I ) R I ) Figure 7: Syntax and semantics o ALC concept descriptions and axioms. A is a an atomic concept name, C and D are any concept names, R and S role names, and a and b object names. their rules and axioms; S5, speciically, by the necessitation rule, distribution axiom, T, and 5. These, which complete the schemata o C S5, are given in Figure Description Logic Description logics are named or their ocus on concept and role descriptions. A concept represents a set o individuals within the domain o an interpretation. An interpretation I is a non-empty set I, called the interpretation s domain, and a unction, ( ) I, mapping atomic concept names to subsets o the domain and role names to subsets o I I. The syntax and semantics or the language ALC are given in Figure 7. There are several techniques or reasoning within description logics, the most common o which are tableau algorithms. The structure o description logics is such that eicient tableau algorithms can be designed that decide the satisiability o a set o axioms. These algorithms determine whether or not there is an interpretation that satisies each axiom o a set, but do not produce object-level proos. We briely describe a tableau algorithm that decides ALC satisiability. The tableau algorithm determines whether a set o axioms is satisiable. Tableau rules speciy ways o augmenting the set and splitting the satisiability decision procedure recursively Each o the ollowing rules can be applied to a set o axioms A to produce one or more new sets A, A,..., with the relationship that i any o the new sets are satisiable, A is satisiable, but i every new set is unsatisiable, A is unsatisiable. 5

6 Σ reit Σ Σ [reit] Σ Γ Σ g Γ g [ ] {C(a), C(a)} Σ clash 1 C(a),Σ /0 [clash 1 ] { (a)} Σ clash 2 (a),σ /0 [clash 2 ] {C(a), D(a), (C D)(a)} Σ /0 {(C D)(a)} Σ /0 [ ] {C(a), (C D)(a)} Σ /0 {D(a), (C D)(a)} Σ g /0 {(C D)(a)} Σ,g /0 [ ] {R(a,b), C(b), R.C(a)} Σ /0 { R.C(a)} Σ /0 (b not appearing in Σ) [ ] {C(b), R.C(a), R(a,b)} Σ /0 { R.C(a), R(a,b)} Σ /0 [ ] Figure 8: Arrow schemata or C ALC. (C 1 C 2 )(x) A C 1 (x) A or C 2 (x) A A {C 1 (x),c 2 (x)} A [ -rule] (C 1 C 2 )(x) A C 1 (x) A C 2 (x) A A {C 1 (x)} A A {C 2 (x)} A [ -rule] R.C(x) A no y such that R(x,y) A,C(y) A A {C(a)} A or a new name y [ -rule] R.C(x) A R(x,y) A C(y) A A {C(y)} A [ -rule] A set is contains a clash when, or some individual a and concept description C, it contains C(a) and C(a). I a set does not contain a clash, and none o the rules can be applied to it, it is satisiable. The rules are applied nondeterministically to an initial set o interest, until the set is shown satisiable or unsatisiable. Discuss rewriting into normal orm. Discuss issues with cyclic deinitions. The decision procedure just described is not a deductive calculus, being concerned with determining the satisiability o sets o axioms rather than ormulae that ollow a set. However, we can create a deductive calculus rom the tableau algorithm, and then construct a category based on it. We develop calculus and category in parallel. The objects o the calculus are the same as the objects on which the tableau rules operate, i.e., sets o ALC axioms. Eight arrow schemata, given in Figure 8, generate the arrows o the category. The irst pair, reit and, guarantee that C ALC is a category. The next two clash rules guarantee that, or any concept C and individual a, any set containing C(a) and ( C)(a) is unsatisiable, as is any set containing (a). The remaining rules correspond to the tableau algorithm rules. Recall that the tableau algorithm produces rom a set A a number o new assertion boxes A,A,... such that i each o A,A,... is unsatisiable, then A is unsatisiable. Each o the arrow schemata captures the notion that i every set generated by a tableau rule is unsatisiable, then the input o the tableau is also unsatisiable. For instance, the -rule applies to a set A containing (C D)(a), but neither C(a) nor D(a), and generates A = {C(a)} A and A = {D(a)} A, such that i both A and A are unsatisiable, then A is unsatisiable, and this relationship is captured by the schema. Figure 9 compares tableau-based and arrow-based demonstrations o inconsistency. 4 Functors We now construct three unctors between the our categories just described. Particularly, F 1 : C FOL C PC, F 2 : C S5 C FOL, and F 3 : C ALC C FOL. For each unctor, we deine the mapping between objects, and then show that or each arrow in the source category, there is a corresponding arrow in the target category, and based on the correspondence, we deine the mapping o arrows. 4.1 F 1 : C FOL C PC F 1 maps the objects and arrows o C FOL to the objects and arrows o C PC. The objects o C FOL are exactly the objects o C FOL, i.e., the sentences o L FOL. F 1 maps each sentence o L FOL to its truth-unctional orm, speciied in 6

7 1 ( C D)(b), ( R.C R. D)(a), R(a,b) 3 ( R.C)(a) -rule 2 ( C)(b), D(b) -rule -rule 4 ( R. D)(a) 5 C(b) -rule -rule 6 ( D)(b) a b c d e {( D)(b), ( R. D)(a), C(b), D(b), ( C D)(b), ( R.C R. D)(a), R(a,b)} {( R. D)(a), C(b), D(b), ( C D)(b), ( R.C R. D)(a), R(a,b)} {C(b), ( R.C)(a), C(b), D(b), ( C D)(b), ( R.C R. D)(a), R(a,b)} {( R.C)(a), C(b), D(b), ( C D)(b), ( R.C R. D)(a), R(a,b)} { C(b), D(b), ( C D)(b), ( R.C R. D)(a), R(a,b)} {( C D)(b), ( R.C R. D)(a), R(a,b)} clash 1 D(b) /0 a /0 clash 1 C(b) /0 c /0 d,b /0 e /0 Figure 9: Comparison o tableau and arrow demonstrations o unsatisiability. In the tableau demonstration, wherein each box represents the set o its contents and those o its ancestors, boxes 5 and 6 contain clashes, and close each branch o the tableau, and showing that 1 is unsatisiable. The arrow demonstration starts with the unsatisiability o the ully expanded sets, and de-expands the sets into the original set, carrying the unsatisiability result along the way. 7

8 Object mapping o F 1 Sentence Type C FOL object C PC object Sentence Type C FOL object C PC object True (False) ( ) ( ) Negation φ F 1 (φ) Predicate Application p n i (τ 1,...,τ n ) P p n i (τ 1,...,τ n ) Conjunction φ ψ F 1 (φ) F 1 (ψ) Identity τ 1 = τ 2 P τ1 =τ 2 Disjunction φ ψ F 1 (φ) F 1 (ψ) Universal Quantiication x φ(x) P x φ(x) Implication φ ψ F 1 (φ) F 1 (ψ) Existential Quantiication x φ(x) P x φ(x) Co-implication φ ψ F 1 (φ) F 1 (ψ) Figure 10: F 1 maps sentences o L FOL to their truth-unctional orm. Each predicate application, identity, and quantiication is mapped to its own unique propositional variable. Object mapping o F 2, by F 2 (w,φ) Sentence Type C S5 object C FOL object Sentence Type C S5 object C FOL object True (False) ( ) ( ) Negation φ F 2 (w,φ) Conjunction φ ψ F 2 (w,φ) F 2 (w,ψ) Disjunction φ ψ F 2 (w,φ) F 2 (w,ψ) Implication φ ψ F 2 (w,φ) F 2 (w,ψ) Co-implication φ ψ F 2 (w,φ) F 2 (w,ψ) Necessity φ w F 2 (w,φ) Possibility φ w F 2 (w,φ) Figure 11: Object mapping o F 2. F 2 (φ) is a special case o the more general translation, F 2 (w,φ), with respect to a particular world w, where the world is w. We present here the more general F 2. Figure 10. Since, by deinition, the arrows o C FOL are generated by the same schemata as the arrows o C PC, F 1 simply maps each arrow o C FOL to its counterpart in C PC. 4.2 F 2 : C S5 C FOL F 2, which maps the sentences and proos o L S5 to sentences and proos o L FOL is based on encoding the Kripke semantics o S5 in the irst-order predicate calculus. Kripke semantics speciy a set o possible worlds, a privileged element representing the real world, and an accessibility relation over the worlds. Each world provides an interpretation or modal ormulae, subject to the constraint that φ is true in a world w when φ exactly when φ is true in every world accessible rom w. Under these semantics, the various modal logics can be classiied based on the structure o their accessibility relations. The translation o propositional modal sentences into irst-order sentences is based on taking the universe o discourse as possible worlds, designating a particular constant the real world, and parameterizing propositional variables over worlds by converting the propositional variables into singulary predicates. We let w denote the real world, and R(w 1,w 2 ) that w 2 is accessible rom w 1. As an example, the modal propositional ormula (P Q) would be translated w R(w,w) P(w) Q(w). S5 is characterized by total accessibility between worlds, so the quantiied ormulae in translations may replace the conditional whose antecedent is an accessibility claim by its consequent. The complete translation o sentences is given in Figure 11. Some o the arrows o C S5 are generated by schemata shared with C PC, and these arrows are mapped to their appropriate counterparts. That the arrows introduced to capture the modal inerence rules and axioms have counterparts in C FOL requires demonstration. We now show that nec, dist, T, and 5 have counterparts in C FOL. The knowledge generalization rule nec is derived in Figure 12, but as the only schema with preconditions, deserves some note. First, we assume that the initial arrow : S5 φ has a counterpart in C FOL. Since this counterpart necessarily has FOL as its domain, w cannot appear in its domain and so is a candidate or intro, generalizing rom w to a universally quantiied w. The counterpart to dist is a proo showing that x φ(x) ψ(x) = x φ(x) x ψ(x), whose existence is demonstrated in Figure 13. T is the simplest arrow to map. The translation o φ airms that the world-respecting translation o φ holds in every world w, and the translation o φ that is holds in the actual world, w, so T s counterpart is based on elim. Figure 14 gives the derivation. 5 s counterpart is an arrow to xφ(x) rom y x φ(x). The derivation is given in Figure 15. 8

9 S5 φ a FOL F 2 ( ) F 2 (w,φ) b FOL intro a,w w F 2 (w,φ) F 2 ( S5 ) F 2 ( ) nec F 2 ( φ) Figure 12: Demonstration that F 2 ( nec ) is well deined. a b c d e g h w F 2 (w,φ) F 2 (w,ψ) F 2 ( (φ ψ)) reit ( w F2 (w,φ)) ( w F 2 (w,φ) F 2 (w,ψ)) elim a(2) elim b,w elim a(1) elim d,w elim c,e intro,w,w intro g(1) dist φ,ψ F 2 ( ) F 2 ( φ ψ) w F 2 (w,φ) F 2 (w,ψ) F 2 (w,φ) F 2 (w,ψ) w F 2 (w,φ) F 2 (w,φ) F 2 (w,ψ) w F 2 (w,ψ) w F 2 (w,φ) w F 2 (w,ψ) Figure 13: Demonstration that F 2 ( dist ) is well deined. a b w F 2 (w,φ) w F 2 (w,φ) F 2 ( φ) reit w F 2 (w,φ) elim a(w ) F 2 ( ) T φ w F 2 (w,φ) F 2 (w,φ) F 2 (φ) Figure 14: Demonstration that F 2 ( T ) is well deined. a b c d e w F 2 (w,φ) w w F 2 (w,φ) w F 2 (w,φ) w w F 2 (w,φ) w w F 2 (w,φ) w F 2 (w,φ) w w F 2 (w,φ) w w F 2 (w,φ) F 2 ( φ) reit w F 2 (w,φ) w w F 2 (w,φ) w F 2 (w,φ) w w F 2 (w,φ) elim a(1) w F 2 (w,φ) intro b(1) w F 2 (w,φ) w F 2 (w,φ) elim a(1) w w F 2 (w,φ) elim d,c,x w F 2 (w,φ) or any x F 2 ( 5 φ ) F 2 ( φ) Figure 15: Demonstration that F 2 ( 5 ) is well deined. 9

10 Object Translation o F 3 Type C S5 object C FOL object Empty Set /0 Singleton Set {φ} F 3 (φ) General Set Σ F 3 (φ) F 3 (Σ\{φ}) where φ is the minimum element o Σ Axiom Translation F 3 Type ALC axiom C FOL sentence Type ALC axiom C FOL sentence Subsumption C D x F 3 (C,x) F 3 (D,x) Concept Membership C(a) F 3 (C,c a) Equivalence C D x F 3 (C,x) F 3 (D,x) Role Membership R(a,b) F 3 (R,c a,c b ) Concept and Role Membership Translation F 3 x Type Arguments C FOL ormula Type Arguments C FOL ormula Top/Bottom /, x / Negation C, x F 3 (C,x) Atomic A, x P A (x) Role R, x, y P R (x,y) Value R.C, x y F 3 (R,x,y) F 3 (C,y) Existential R.C, x y F 3 (R,x,y) F 3 (C,y) Intersection C D, x F 3 (C,x) F 3 (D,x) Union C D, x F 3 (C,x) F 3 (D,x) Figure 16: The object mapping o F 3. Axiom sets are mapped to conjunctions, atomic concept and role names A and R to predicate symbols P A and P R respectively, and individual name a to constant symbol c a. 4.3 F 3 : C ALC C FOL Our third unctor, F 3, maps rom the description logic ALC to a subset o irst-order logic. The correspondence o ALC, as well as o other description logics, to ragments o irst-order logic is well-established. While the expressions themselves have a well deined mapping to the ormulae o irst-order logic, the tableaux produced do not have immediate correspondents in natural deduction style proo calculi. (There are, o course, tableaux algorithms or irst-order logic; to these the tableaux produced or description logics can be more readily mapped.) The object mapping o F 3 is straightorward. It is based on translating concept names as singulary predicates, role names as binary relations, individual names as constant symbols; complex concept constructors are translated recursively by auxiliary unctions F 3 and F 3. The auxiliary conjunctions and alse symbol introduced in Section 3.4 are mapped to conjunctions and the alse symbol o C FOL. The ull translation is given schematically in Figure 16. As with the other unctors, we present derivations o the correspondents or the arrow schemata o C ALC ormally and in prose. The clash arrow s counterpart is easily derived. The translation o a conjunction containing both C(x) and C(x) will contain as conjuncts both F 3 (C(x)) and F 3 (C(x)). Arrows or elim and intro quickly produce FOL to which ALC maps. This is given ormally in Figure 17. The -rule is a bit more complex ormally, but is intuitively simple, being primarily an application o elim. The derivation is shown in Figure 18. The arrow corresponding to the -rule is a special instance o proo by cases, the method which elim captures. A derivation is shown in Figure 19 The -rule has been recast as an arrow schema similar to elim, and the correspondence in C FOL is given in Figure 20. The -rule corresponds, roughly, to C FOL s elim. A derivation is given in Figure 21. In each o these ormal derivations, the bulk o the work is in breaking down and rebuilding conjunctions in n arbitrary order. Since ALC directly is equivalent to a ragment o irst-order logic, it is not surprising that the tableau algorithms match so closely inerence rules or irst-order logic. 10

11 a F 3 ({C(a), ( C)(a)} Σ) b F 3 ({C(a), ( C)(a)} Σ) c F 3 ({C(a), ( C)(a)} Σ) d F 3 ({C(a), ( C)(a)} Σ) reit F 3 ({C(a), ( C)(a)} Σ) φ 1... φ n where φ i = F 3 (C(a)), and φ j = F 3 (( C)(a)) elim a(i) P C (c a ) elim a( j) P C (c a ) intro b,c F 3 ({C(a), ( C)(a)} Σ) F 3 ( clash 1 ) F 3 (/0) a F 3 ({ (a)} Σ) b F 3 ({ (a)} Σ) reit φ 1... φ n where φ i = F 3 ( (a)) = elim a(i) F 3 ({ (a)} Σ) F 3 ( clash 2 ) F 3 (/0) Figure 17: Demonstration that F 3 ( clash 1 ) and F 3 ( clash 2 ) are well deined. {C(a), D(a), (C D)(a)} Σ /0 a F 3 ({C(a), D(a), (C D)(a)} Σ) F 3 ( ) b F 3 ({(C D)(a)} Σ) reit ψ 1... ψ n ψ1... ψ n where ψ i = F 3 ((C D)(a)) c x=1,...,n F 3 ({(C D)(a)} Σ) elim b(x) ψ x d F 3 ({(C D)(a)} Σ) elim c i (1) F 3 (C(a)) e F 3 ({(C D)(a)} Σ) elim c i (2) F 3 (D(a)) F 3 ({(C D)(a)} Σ) intro F 3 ({C(a), D(a), (C D)(a)} Σ) g F 3 ({(C D)(a)} Σ) a F 3 ({(C D)(a)} Σ) F 3 ( ) F 3 (/0) Figure 18: Demonstration that F 3 ( ) is well deined. In, intro is parameterized by the appropriate permutation o (a subset o) c 1,..., c n, d, and e. {C(a), (C D)(a)} Σ /0 C(a), D(a) Σ {D(a), (C D)(a)} Σ g /0 a φ 1... φ n1 F 3 ( ) where φ i = F 3 (C(a)) b ψ 1... ψ n2 F 3 (g) where ψ j = F 3 (D(a)) c F 3 ({(C D)(a)} Σ) d F 3 ({(C D)(a)} Σ) e F 3 ({(C D)(a)} Σ) F 3 ({(C D)(a)} Σ) intro a(i) intro b( j) F 3 (C(a)) F 3 (D(a)) reit ρ 1... ρ n3 ρ1... ρ n3 where ρ k = F 3 ((C D)(a)) = F 3 (C(a)) F 3 (D(a)) elim e(k) elim,c,d g F 3 ({(C D)(a)} Σ) F 3 ({(C D)(a)} Σ) F 3 ( ) F 3 (/0) F 3 (C(a)) F 3 (D(a)) Figure 19: Demonstration that F 3 ( ) is well deined. 11

12 {R(a,b), C(b), R.C(a)} Σ a F 3 ({R(a,b), C(b), R.C(a)} Σ) b (F 3 (R(a,b)) F 3 (C(b))) F 3 ({ R.C(a)} Σ) c d e g x=1,...,n h i j F 3 ({ R.C(a)} Σ) k l m F 3 ({ R.C(a)} Σ) F 3 ( ) F 3 (/0) /0 b not appearing in Σ F 3 ( ) reit elim b(1) F 3 (R(a,b)) F 3 (C(b)) elim c(1) F 3 (R(a,b)) elim c(2) F 3 (C(b)) elim b(2) ψ 1... ψ n elim (x) ψ x intro F 3 ({R(a,b), C(b), R.C(a)} Σ) a i intro j(1) F 3 ({R(a,b), C(b)}) reit φ 1... φ n φ1... φ n where φ j = F 3 ( R.C(a)) elim l( j) F 3 ( R.C(a)) elim m,l Figure 20: Demonstration that F 3 ( ) is well deined. Step h is parameterized by a permutation o (a subset o) d, e, and g 1,..., g n. {C(b), R.C(a), R(a,b)} Σ a F 3 ({C(b), R.C(a), R(a,b)} Σ) b F 3 ({ R.C(a), R(a,b)} Σ) c x=1,...,n F 3 ({ R.C(a), R(a,b)} Σ) d F 3 ({ R.C(a), R(a,b)} Σ) e F 3 ({ R.C(a), R(a,b)} Σ) F 3 ({ R.C(a), R(a,b)} Σ) g F 3 ({ R.C(a), R(a,b)} Σ) h F 3 ({ R.C(a), R(a,b)} Σ) F 3 ({ R.C(a), R(a,b)} Σ) /0 F 3 ( ) reit φ 1... φ n φ1... φ n where φ i = F 3 ( R.C(a)), φ j = F 3 (R(a,b)) elim b(x) elim c i (b) elim b( j) elim d,e intro φ x F 3 (R(a,b)) F 3 (C(b)) F 3 (R(a,b)) F 3 (C(b)) F 3 ({ R.C(a), R(a,b), C(b)} Σ) a g F 3 ( ) F 3 (/0) Figure 21: Demonstration that F 3 ( ) is well deined. In g, intro is parameterized by an appropriate permutation o (a subset o) c 1,...,c n, and. 12

13 Reerences Awodey, S. (2006), Category Theory, number 49 in Oxord Logic Guides, Oxord University Press. Barr, M. & Wells, C. (1999), Category Theory or Computing Science, third edn, Les Publications CRM, Montréal. Barwise, J. & Etchemendy, J. (1999), Language, Proo, and Logic, Seven Bridges, New York, NY. Konyndyk, K. (1986), Introductory Modal Logic, University o Notre Dame Press, Notre Dame, IN. Lambek, J. & Scott, P. J. (1986/1988), Introduction to higher order categorical logic, number 7 in Cambridge studies in advanced mathematics, irst paperback edn, Cambridge University Press. Schmidt-Schauß, M. & Smolka, G. (1991), Attributive concept descriptions with complements, Artiicial Intelligence 48(1),

Propositional Logic Review

Propositional Logic Review Propositional Logic Review UC Berkeley, Philosophy 142, Spring 2016 John MacFarlane The task of describing a logical system comes in three parts: Grammar Describing what counts as a formula Semantics Defining

More information

Fuzzy Description Logics

Fuzzy Description Logics Fuzzy Description Logics 1. Introduction to Description Logics Rafael Peñaloza Rende, January 2016 Literature Description Logics Baader, Calvanese, McGuinness, Nardi, Patel-Schneider (eds.) The Description

More information

Chapter 2 Background. 2.1 A Basic Description Logic

Chapter 2 Background. 2.1 A Basic Description Logic Chapter 2 Background Abstract Description Logics is a family of knowledge representation formalisms used to represent knowledge of a domain, usually called world. For that, it first defines the relevant

More information

On Axiomatic Rejection for the Description Logic ALC

On Axiomatic Rejection for the Description Logic ALC On Axiomatic Rejection for the Description Logic ALC Hans Tompits Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Joint work with Gerald Berger Context The

More information

The First-Order Theory of Ordering Constraints over Feature Trees

The First-Order Theory of Ordering Constraints over Feature Trees Discrete Mathematics and Theoretical Computer Science 4, 2001, 193 234 The First-Order Theory o Ordering Constraints over Feature Trees Martin Müller 1 and Joachim Niehren 1 and Ral Treinen 2 1 Programming

More information

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms

Phase 1. Phase 2. Phase 3. History. implementation of systems based on incomplete structural subsumption algorithms History Phase 1 implementation of systems based on incomplete structural subsumption algorithms Phase 2 tableau-based algorithms and complexity results first tableau-based systems (Kris, Crack) first formal

More information

A generalization of modal definability

A generalization of modal definability A generalization of modal definability Tin Perkov Polytechnic of Zagreb Abstract. Known results on global definability in basic modal logic are generalized in the following sense. A class of Kripke models

More information

Foundations of Mathematics

Foundations of Mathematics Foundations of Mathematics Andrew Monnot 1 Construction of the Language Loop We must yield to a cyclic approach in the foundations of mathematics. In this respect we begin with some assumptions of language

More information

Lecture 2: Syntax. January 24, 2018

Lecture 2: Syntax. January 24, 2018 Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified

More information

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION

KRIPKE S THEORY OF TRUTH 1. INTRODUCTION KRIPKE S THEORY OF TRUTH RICHARD G HECK, JR 1. INTRODUCTION The purpose of this note is to give a simple, easily accessible proof of the existence of the minimal fixed point, and of various maximal fixed

More information

A Tableau Calculus for Minimal Modal Model Generation

A Tableau Calculus for Minimal Modal Model Generation M4M 2011 A Tableau Calculus for Minimal Modal Model Generation Fabio Papacchini 1 and Renate A. Schmidt 2 School of Computer Science, University of Manchester Abstract Model generation and minimal model

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33

CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer

More information

are well-formed, provided Φ ( X, x)

are well-formed, provided Φ ( X, x) (October 27) 1 We deine an axiomatic system, called the First-Order Theory o Abstract Sets (FOTAS) Its syntax will be completely speciied Certain axioms will be iven; but these may be extended by additional

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello. logic s Lectures 17-20: logic in 2 / 40 logic s Interpreting first-order logic in In Logic, first-order s are a wide class of formal s used for talking about structures of any kind (where the restriction

More information

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic

The Importance of Being Formal. Martin Henz. February 5, Propositional Logic The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

CATEGORIES. 1.1 Introduction

CATEGORIES. 1.1 Introduction 1 CATEGORIES 1.1 Introduction What is category theory? As a irst approximation, one could say that category theory is the mathematical study o (abstract) algebras o unctions. Just as group theory is the

More information

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

More information

The Curry-Howard Isomorphism

The Curry-Howard Isomorphism The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09

More information

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic set theory. Chapter Why axiomatic set theory? Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its

More information

Propositional Logic: Syntax

Propositional Logic: Syntax 4 Propositional Logic: Syntax Reading: Metalogic Part II, 22-26 Contents 4.1 The System PS: Syntax....................... 49 4.1.1 Axioms and Rules of Inference................ 49 4.1.2 Definitions.................................

More information

GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS

GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS CHRIS HENDERSON Abstract. This paper will move through the basics o category theory, eventually deining natural transormations and adjunctions

More information

Automated Synthesis of Tableau Calculi

Automated Synthesis of Tableau Calculi Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound

More information

Midterm II Sample Questions

Midterm II Sample Questions Midterm II Sample Questions 15-317 Constructive Logic Frank Penning November 7, 2017 Name: Sample Solution Andrew ID: p Instructions This exam is closed book, closed notes. You have 80 minutes to complete

More information

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January )

Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January ) Notes on Propositional and First-Order Logic (CPSC 229 Class Notes, January 23 30 2017) John Lasseter Revised February 14, 2017 The following notes are a record of the class sessions we ve devoted to the

More information

Syntactic Characterisations in Model Theory

Syntactic Characterisations in Model Theory Department of Mathematics Bachelor Thesis (7.5 ECTS) Syntactic Characterisations in Model Theory Author: Dionijs van Tuijl Supervisor: Dr. Jaap van Oosten June 15, 2016 Contents 1 Introduction 2 2 Preliminaries

More information

Module 5 K and Equivalent Systems

Module 5 K and Equivalent Systems Module 5 K and Equivalent Systems G. J. Mattey July 8, 2010 Contents 1 The Semantical System KI 2 1.1 Specification of KI....................................... 2 1.2 Semantical Properties and Relations

More information

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

Chapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011

Chapter 2. Assertions. An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Chapter 2 An Introduction to Separation Logic c 2011 John C. Reynolds February 3, 2011 Assertions In this chapter, we give a more detailed exposition of the assertions of separation logic: their meaning,

More information

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called,

More information

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.7, 5.5) TOPICS Sets and Functions Propositional and Predicate Logic Logical Operators and Truth Tables Logical Equivalences and Inference

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Truth-Functional Logic

Truth-Functional Logic Truth-Functional Logic Syntax Every atomic sentence (A, B, C, ) is a sentence and are sentences With ϕ a sentence, the negation ϕ is a sentence With ϕ and ψ sentences, the conjunction ϕ ψ is a sentence

More information

The Lambek-Grishin calculus for unary connectives

The Lambek-Grishin calculus for unary connectives The Lambek-Grishin calculus for unary connectives Anna Chernilovskaya Utrecht Institute of Linguistics OTS, Utrecht University, the Netherlands anna.chernilovskaya@let.uu.nl Introduction In traditional

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics irst Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Logic Recap You should already know the basics of irst Order Logic (OL) It s a prerequisite of this course!

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

Prefixed Tableaus and Nested Sequents

Prefixed Tableaus and Nested Sequents Prefixed Tableaus and Nested Sequents Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: melvin.fitting@lehman.cuny.edu

More information

Propositional and Predicate Logic - V

Propositional and Predicate Logic - V Propositional and Predicate Logic - V Petr Gregor KTIML MFF UK WS 2016/2017 Petr Gregor (KTIML MFF UK) Propositional and Predicate Logic - V WS 2016/2017 1 / 21 Formal proof systems Hilbert s calculus

More information

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion) Arguments and Proofs For the next section of this course, we will study PROOFS. A proof can be thought of as the formal representation of a process of reasoning. Proofs are comparable to arguments, since

More information

Logics for Data and Knowledge Representation

Logics for Data and Knowledge Representation Logics for Data and Knowledge Representation 4. Introduction to Description Logics - ALC Luciano Serafini FBK-irst, Trento, Italy October 9, 2012 Origins of Description Logics Description Logics stem from

More information

cis32-ai lecture # 18 mon-3-apr-2006

cis32-ai lecture # 18 mon-3-apr-2006 cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem

More information

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel

7. Propositional Logic. Wolfram Burgard and Bernhard Nebel Foundations of AI 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard and Bernhard Nebel Contents Agents that think rationally The wumpus world Propositional logic: syntax and semantics

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Wolfram Burgard, Maren Bennewitz, and Marco Ragni Albert-Ludwigs-Universität Freiburg Contents 1 Agents

More information

An Introduction to Description Logics

An Introduction to Description Logics An Introduction to Description Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, 21.11.2013 Marco Cerami (UPOL) Description Logics 21.11.2013

More information

Topics in Logic and Proofs

Topics in Logic and Proofs Chapter 2 Topics in Logic and Proofs Some mathematical statements carry a logical value of being true or false, while some do not. For example, the statement 4 + 5 = 9 is true, whereas the statement 2

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 7. Propositional Logic Rational Thinking, Logic, Resolution Joschka Boedecker and Wolfram Burgard and Bernhard Nebel Albert-Ludwigs-Universität Freiburg May 17, 2016

More information

Infinite Truth-Functional Logic

Infinite Truth-Functional Logic 28 Notre Dame Journal of Formal Logic Volume 29, Number 1, Winter 1988 Infinite Truth-Functional Logic THEODORE HAILPERIN What we cannot speak about [in K o or fewer propositions] we must pass over in

More information

Propositional logic (revision) & semantic entailment. p. 1/34

Propositional logic (revision) & semantic entailment. p. 1/34 Propositional logic (revision) & semantic entailment p. 1/34 Reading The background reading for propositional logic is Chapter 1 of Huth/Ryan. (This will cover approximately the first three lectures.)

More information

RELATIONS BETWEEN PARACONSISTENT LOGIC AND MANY-VALUED LOGIC

RELATIONS BETWEEN PARACONSISTENT LOGIC AND MANY-VALUED LOGIC Bulletin of the Section of Logic Volume 10/4 (1981), pp. 185 190 reedition 2009 [original edition, pp. 185 191] Newton C. A. da Costa Elias H. Alves RELATIONS BETWEEN PARACONSISTENT LOGIC AND MANY-VALUED

More information

Handbook of Logic and Proof Techniques for Computer Science

Handbook of Logic and Proof Techniques for Computer Science Steven G. Krantz Handbook of Logic and Proof Techniques for Computer Science With 16 Figures BIRKHAUSER SPRINGER BOSTON * NEW YORK Preface xvii 1 Notation and First-Order Logic 1 1.1 The Use of Connectives

More information

SEPARATED AND PROPER MORPHISMS

SEPARATED AND PROPER MORPHISMS SEPARATED AND PROPER MORPHISMS BRIAN OSSERMAN The notions o separatedness and properness are the algebraic geometry analogues o the Hausdor condition and compactness in topology. For varieties over the

More information

On Modal Logics of Partial Recursive Functions

On Modal Logics of Partial Recursive Functions arxiv:cs/0407031v1 [cs.lo] 12 Jul 2004 On Modal Logics of Partial Recursive Functions Pavel Naumov Computer Science Pennsylvania State University Middletown, PA 17057 naumov@psu.edu June 14, 2018 Abstract

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Modal Logics Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg May 2 & 6, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

Proof Theoretical Studies on Semilattice Relevant Logics

Proof Theoretical Studies on Semilattice Relevant Logics Proof Theoretical Studies on Semilattice Relevant Logics Ryo Kashima Department of Mathematical and Computing Sciences Tokyo Institute of Technology Ookayama, Meguro, Tokyo 152-8552, Japan. e-mail: kashima@is.titech.ac.jp

More information

5. And. 5.1 The conjunction

5. And. 5.1 The conjunction 5. And 5.1 The conjunction To make our logical language more easy and intuitive to use, we can now add to it elements that make it able to express the equivalents of other sentences from a natural language

More information

Towards a Flowchart Diagrammatic Language for Monad-based Semantics

Towards a Flowchart Diagrammatic Language for Monad-based Semantics Towards a Flowchart Diagrammatic Language or Monad-based Semantics Julian Jakob Friedrich-Alexander-Universität Erlangen-Nürnberg julian.jakob@au.de 21.06.2016 Introductory Examples 1 2 + 3 3 9 36 4 while

More information

Finite Dimensional Hilbert Spaces are Complete for Dagger Compact Closed Categories (Extended Abstract)

Finite Dimensional Hilbert Spaces are Complete for Dagger Compact Closed Categories (Extended Abstract) Electronic Notes in Theoretical Computer Science 270 (1) (2011) 113 119 www.elsevier.com/locate/entcs Finite Dimensional Hilbert Spaces are Complete or Dagger Compact Closed Categories (Extended bstract)

More information

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking Jaromír Malenko and Petr Štěpánek Charles University, Malostranske namesti 25, 11800 Prague, Czech Republic, Jaromir.Malenko@mff.cuni.cz,

More information

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations

Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations Existential Second-Order Logic and Modal Logic with Quantified Accessibility Relations preprint Lauri Hella University of Tampere Antti Kuusisto University of Bremen Abstract This article investigates

More information

Marie Duží

Marie Duží Marie Duží marie.duzi@vsb.cz 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: 1. a language 2. a set of axioms 3. a set of deduction rules ad 1. The definition of a language

More information

Lecture 7. Logic. Section1: Statement Logic.

Lecture 7. Logic. Section1: Statement Logic. Ling 726: Mathematical Linguistics, Logic, Section : Statement Logic V. Borschev and B. Partee, October 5, 26 p. Lecture 7. Logic. Section: Statement Logic.. Statement Logic..... Goals..... Syntax of Statement

More information

Logical Structures in Natural Language: First order Logic (FoL)

Logical Structures in Natural Language: First order Logic (FoL) Logical Structures in Natural Language: First order Logic (FoL) Raffaella Bernardi Università degli Studi di Trento e-mail: bernardi@disi.unitn.it Contents 1 How far can we go with PL?................................

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit: Three days of interesting talks & workshops from industry experts across Australia Explore new computing topics Network with students & employers in Brisbane Price: $25 (incl. T-Shirt, morning tea and

More information

Description Logics. Deduction in Propositional Logic. franconi. Enrico Franconi

Description Logics. Deduction in Propositional Logic.   franconi. Enrico Franconi (1/20) Description Logics Deduction in Propositional Logic Enrico Franconi franconi@cs.man.ac.uk http://www.cs.man.ac.uk/ franconi Department of Computer Science, University of Manchester (2/20) Decision

More information

cse541 LOGIC FOR COMPUTER SCIENCE

cse541 LOGIC FOR COMPUTER SCIENCE cse541 LOGIC FOR COMPUTER SCIENCE Professor Anita Wasilewska Spring 2015 LECTURE 2 Chapter 2 Introduction to Classical Propositional Logic PART 1: Classical Propositional Model Assumptions PART 2: Syntax

More information

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity.

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity. MacLane: Categories or Working Mathematician 1 Categories, Functors, and Natural Transormations 1.1 Axioms or Categories 1.2 Categories Discrete categories. A category is discrete when every arrow is an

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic

Mathematics 114L Spring 2018 D.A. Martin. Mathematical Logic Mathematics 114L Spring 2018 D.A. Martin Mathematical Logic 1 First-Order Languages. Symbols. All first-order languages we consider will have the following symbols: (i) variables v 1, v 2, v 3,... ; (ii)

More information

Uncertainty in Description Logics: a Lattice-based Approach

Uncertainty in Description Logics: a Lattice-based Approach Uncertainty in Description Logics: a Lattice-based Approach Umberto Straccia ISTI-CNR Via G. Moruzzi 1, I-56124 Pisa ITALY Umberto.Straccia@isti.cnr.it Abstract It is generally accepted that knowledge

More information

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Overview. Knowledge-Based Agents. Introduction. COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR Last time Expert Systems and Ontologies oday Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof theory Natural

More information

CS 361 Meeting 28 11/14/18

CS 361 Meeting 28 11/14/18 CS 361 Meeting 28 11/14/18 Announcements 1. Homework 9 due Friday Computation Histories 1. Some very interesting proos o undecidability rely on the technique o constructing a language that describes the

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation Algebraizing Hybrid Logic Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation etzanis@science.uva.nl May 1, 2005 2 Contents 1 Introduction 5 1.1 A guide to this thesis..........................

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Part Two: The Basic Components of the SOFL Specification Language

Part Two: The Basic Components of the SOFL Specification Language Part Two: The Basic Components of the SOFL Specification Language SOFL logic Module Condition Data Flow Diagrams Process specification Function definition and specification Process decomposition Other

More information

TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY

TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY Bulletin of the Section of Logic Volume 37:3/4 (2008), pp. 223 231 Tomasz Jarmużek TABLEAU SYSTEM FOR LOGIC OF CATEGORIAL PROPOSITIONS AND DECIDABILITY Abstract In the article we present an application

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

1.1 Language and Logic

1.1 Language and Logic c Oksana Shatalov, Fall 2017 1 1.1 Language and Logic Mathematical Statements DEFINITION 1. A proposition is any declarative sentence (i.e. it has both a subject and a verb) that is either true or false,

More information

Identity. "At least one dog has fleas" is translated by an existential quantifier"

Identity. At least one dog has fleas is translated by an existential quantifier Identity Quantifiers are so-called because they say how many. So far, we've only used the quantifiers to give the crudest possible answers to the question "How many dogs have fleas?": "All," "None," "Some,"

More information

A simple proof that super-consistency implies cut elimination

A simple proof that super-consistency implies cut elimination A simple proof that super-consistency implies cut elimination Gilles Dowek 1 and Olivier Hermant 2 1 École polytechnique and INRIA, LIX, École polytechnique, 91128 Palaiseau Cedex, France gilles.dowek@polytechnique.edu

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci

5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci 5-valued Non-deterministic Semantics for The Basic Paraconsistent Logic mci Arnon Avron School of Computer Science, Tel-Aviv University http://www.math.tau.ac.il/ aa/ March 7, 2008 Abstract One of the

More information

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas. 1 Chapter 1 Propositional Logic Mathematical logic studies correct thinking, correct deductions of statements from other statements. Let us make it more precise. A fundamental property of a statement is

More information

Qualifying Exam Logic August 2005

Qualifying Exam Logic August 2005 Instructions: Qualifying Exam Logic August 2005 If you signed up for Computability Theory, do two E and two C problems. If you signed up for Model Theory, do two E and two M problems. If you signed up

More information

LING 501, Fall 2004: Laws of logic and the definitions of the connectives

LING 501, Fall 2004: Laws of logic and the definitions of the connectives LING 501, Fall 2004: Laws of logic and the definitions of the connectives Modified October 24, adding a test yourself section at the end. Modified October 21, correcting errors noted in class on October

More information

3 Propositional Logic

3 Propositional Logic 3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists

More information

7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and

7 RC Simulates RA. Lemma: For every RA expression E(A 1... A k ) there exists a DRC formula F with F V (F ) = {A 1,..., A k } and 7 RC Simulates RA. We now show that DRC (and hence TRC) is at least as expressive as RA. That is, given an RA expression E that mentions at most C, there is an equivalent DRC expression E that mentions

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Logic, General Intelligence, and Hypercomputation and beyond...

Logic, General Intelligence, and Hypercomputation and beyond... Logic, General Intelligence, and Hypercomputation and beyond... Selmer Bringsjord Rensselaer AI & Reasoning (RAIR) Lab Department of Cognitive Science Department of Computer Science Rensselaer Polytechnic

More information

SEPARATED AND PROPER MORPHISMS

SEPARATED AND PROPER MORPHISMS SEPARATED AND PROPER MORPHISMS BRIAN OSSERMAN Last quarter, we introduced the closed diagonal condition or a prevariety to be a prevariety, and the universally closed condition or a variety to be complete.

More information

Propositional natural deduction

Propositional natural deduction Propositional natural deduction COMP2600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2016 Major proof techniques 1 / 25 Three major styles of proof in logic and mathematics Model

More information

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Semantic Networks and Description Logics II: Description Logics Terminology and Notation Bernhard Nebel, Felix Lindner, and Thorsten Engesser November 23, 2015

More information

PL: Truth Trees. Handout Truth Trees: The Setup

PL: Truth Trees. Handout Truth Trees: The Setup Handout 4 PL: Truth Trees Truth tables provide a mechanical method for determining whether a proposition, set of propositions, or argument has a particular logical property. For example, we can show that

More information

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic Dieter Fensel and Dumitru Roman www.sti-innsbruck.at Copyright 2008 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction 2 Propositional Logic

More information