Modal Nonassociative Lambek Calculus with Assumptions: Complexity and Context-Freeness

Size: px
Start display at page:

Download "Modal Nonassociative Lambek Calculus with Assumptions: Complexity and Context-Freeness"

Transcription

1 Modal Nonassociative Lambek Calculus with Assumptions: Complexity and Context-Freeness Zhe Lin Institute of Logic and Cognition, Sun Yat-sen University, Guangzhou, China Faculty of Mathematics and Computer Science Adam Mickiewicza University, Poznàn, Poland Abstract. We prove that the consequence relation of the Nonassociative Lambek Calculus with S4-modalities (NL S4) is polynomial time decidable and categorial grammars based on NL S4 with finitely many assumptions generate context-free languages. This extends earlier results of Buszkowski [3] for NL and Plummer [16][17] for a weaker version of NL S4 without assumptions. 1 Introduction and Preliminaries Nonassociative Lambek Calculus NL is a type logical system for categorial grammars, introduced in Lambek [10] as a nonassociative version of Syntactic Calculus of Lambek [9]. Both systems are regarded now as basic logics for Type-Logical Grammar (categorial grammar). In a sense, NL is a purely substructural logic, since its sequent system admits no structural rules. Syntactic Calculus, now called the Lambek calculus (L), admits one structural rule (Associativity). Moortgat [12] studies NL with unary modalities, (also several pairs i, i ) as a system which enables one to use certain structure postulates in a controlled way. For instance, one can admit a restricted permutation ( A) B = B ( A) or restricted contraction ( A) ( A) A instead of their unrestricted forms A B, A A A. This follows the usage of exponentials!,? in Linear Logic (Girard [5]). Pentus [14] proves that categorial grammars based on L, (L-grammars), generate precisely all (ε-free) context-free languages. Analogous results for NLgrammars are due to Buszkowski [1] (the product-free NL) and Kandulski [8]. Jäger [7] provides a new proof for NL, which employs a special form of interpolation (of subtrees of the antecedent tree by single formulae). Buszkowski [3] refines Jäger s interpolation to prove that the consequence relation of NL is polynomial time decidable and categorial grammar, based on NL with finitely many assumptions, generate context-free languages. Buszkowski and Farulewki [4] extend the method to Full NL, i.e. NL with additives, with distribution (of respect to, and conversely) and finitely many assumptions, proving the context-freeness. A.-H. Dediu, H. Fernau, and C. Martín-Vide (Eds.): LATA 2010, LNCS 6031, pp , c Springer-Verlag Berlin Heidelberg 2010

2 Modal Nonassociative Lambek Calculus with Assumptions 415 These results are seemingly in conflict with the known facts that the consequence relation for L is undecidable and categorial grammars based on L with assumptions can generate all recursively enumerable languages (Buszkowski [2][3]). Pentus [15] shows that the provability problem for the pure L is NP-complete. Plummer [16][17] employs Jäger s method with refinements of Buszkowski [3] to prove the context-freeness of categorial grammars, based on NL with modalities,, satisfying the axioms: T: A A, 4: A A. He also claims (without proof) the polynomial time decidability of the resulting system. A key idea of Plummer s work is to replace the above axioms with some corresponding structural rules. Here we extend Plummer s result for systems with assumptions. Precisely, we consider the system NL S4 in the sense of Moortgat [12], which admits T, 4, and K: (A B) A B, but our results remain valid for the system with 4, T only (NL S4 in the sense of Plummer [16]). We prove that the consequence relation for NL S4 with finitely many assumptions is polynomial time decidable and categorial grammars based on it generate precisely the (ε-free) context-free languages. Let us recall the sequent system of NL. Formulae (types) are formed out of atomic types p, q, r...by means of three binary operation symbols (product), \ (right residuation), / (left residuation). Formulae are denoted by A, B, C,... Formula trees (formula-structures) are recursively defined as follows: (i) every formula is a formula-tree, (ii)ifγ, Δ are formula-trees, then (Γ Δ) isaformulatree. Sequents are of the form Γ A such that Γ is a formula tree and A is a formula. One admits the axioms: (Id) A A and the inference rules (\L) Δ A; Γ [B] C Γ [Δ (A\B)] C (\R) A Γ B Γ A\B Γ [A] C; (/L) Δ B (/R) Γ B A Γ [(A/B) Δ] C Γ A/B Γ [A B] C ( L) ( R) Γ A; Δ B Γ [A B] C Γ Δ A B (CUT) Δ A; Γ [A] B Γ [Δ] B The cut-elimination theorem for NL is proved by Lambek [10]. It yields the decidability and the subformula property of NL. However, the cut-elimination theorem does not hold if we affix new non-logical assumptions of the form

3 416 Z. Lin A B. In section 2, we introduce a purely syntactic method based on the cut-elimination theorem in some restricted form to prove a subformula property in some extended form, for systems with finitely many non-logical assumptions. This method is new and ensensially different from the model-theoretic method proposed by Buszkowski [3][4]. We describe the formalism of NL S4. Formulae (types) are formed out of atomic types p, q, r... by means of three binary operation symbols, \, / and two unaryoperation symbols,. Formula trees (formula-structures) are recursively defined as follow: (i) every formula is a formula-tree, (ii) ifγ, Δ are formulatrees, then (Γ Δ) is a formula-tree, (iii) ifγ is a formula-tree, then Γ is a formula-tree. Sequents are of the form Γ A such that Γ is a formula tree and A is a formula. The sequent system of NL S4 is obtained by extending NL with inference rules for the unary modalities and structural rules corresponding to axioms 4, T, K. The following are sequent rules for the unary modalities: ( L) Γ [ A ] B Γ [ A] B Γ A ( R) Γ A Γ [A] B ( L) Γ [ A ] B A ( R) Γ Γ A The following are structural rules corresponding to axioms 4, T, K: (4) Γ [ Δ ] A Γ [ Δ ] A (T) Γ [ Δ ] A Γ [Δ] A (K) Γ [ Δ 1 Δ 2 ] A Γ [ Δ 1 Δ 2 ] A. Our interest in modal postulates and non-logical assumptions can be motivated in various way. First, in linguistic practice, different phenomena may require different sets of structure postulates. For instance, let us consider an NP (noun phrase) such as the man who Mary met today, (an example from Versmissen [18]). In Lambek notation, there is no suitable type assigned to the relative pronoun who in this noun phrase. The solution proposed by Morrill [13] is to assign to who the single type (N\N)/(S/ NP). One also assigns NP/N to the, N to man, NP to Mary, N\(S/NP) to met,ands\s to today. The sequent NP/N N (N\N)/(S/ NP) NP NP\(S/NP) S\S NP, corresponding to the noun phrase the man who Mary met today is derivable in systems enriched with postulate T and B A A B. Moreexamples can be found in Morrill [13]. Second, there are many evidences for the usefulness of non-logical assumptions in linguistics. For example, Lambek [11] uses axioms of the form π i π to express the inclusion of the class of pronouns in i th Person in the class of pronouns. Further, in the Lambek calculus we can not transform S\(S/S) (the type of sentence conjunction) to VP\(VP/VP) (the type of verb phrase conjunction), however, we can add the sequent S\(S/S) VP\(VP/VP) as an assumption.

4 Modal Nonassociative Lambek Calculus with Assumptions NL S4 Enriched with Non-logical Assumptions We assume that non-logical assumptions are of the form A B. ForasetΦof formulae A B, NL S4 (Φ) denotes the system of NL S4 with all formulae from Φ as assumptions. Usually, if we can prove the cut-elimination theorem for a system then we immediately get the subformula property: all formulae in a cut-free derivation are subformulae of the endsequent formulae. (CUT) is a legal rule in NL S4 (Φ), and the cut-elimination theorem does not hold for NL S4 (Φ). Hence we can not obtain the standard subformula property for NL S4 (Φ). Here we consider the extended subformula property (see [3]). We introduce a restricted cut rule, Φ- restricted cut, where Φ is the set of assumptions. By Φ-restricted cut, we mean the following rules: (Φ CUT) Γ 2 A Γ 1 [B] C Γ 1 [Γ 2 ] C where A B is an assumption in Φ. We describe another Genzten style presentation of NL S4 (Φ), denoted by NL r S4 (Φ): Axioms of NLr S4 (Φ) are (Id) A A. The inference rules of NLr S4 (Φ) are simply the rules of NL S4 (Φ) together with the Φ-restricted cut given above. By S Γ A, we denote: the sequent Γ A is provable in system S. Lemma 1. If A B Φ then NL r S4 (Φ) A B. Proof: Assume A B Φ. We apply Φ-restricted cut to axioms A A and B B and get A B. Hence NL r S4 (Φ) A B. We provide a proof of the cut-elimination theorem for NL r S4 (Φ). Theorem 2. Every sequent which is provable in NL r S4 (Φ) can be proved also in (Φ) without (CUT). NL r S4 Proof: We must prove: if both premises of (CUT) are provable in NL r S4 (Φ) without (CUT), then the conclusion of (CUT) is provable in NL r S4 (Φ) without (CUT). The proof can be arranged as follows. We apply induction (i): on D(A), the complexity of (CUT) formula A, i.e. the total number of occurrences of symbols in A. For each case, we apply induction (ii): on R(CUT), the rank of (CUT), i.e. the total number of sequents appearing in the proofs of both premises of (CUT). Let us consider one case A = A. Others can be treated similarly. We write the premises of (CUT) as Γ 2 A and Γ 1 [A] B obtained by rules R i (i= 1, 2), respectively. We switch on induction (ii). Three subcases arise. 1. Γ 2 A or Γ 1 [A] B is an axiom (Id). If Γ 2 A is a axiom then Γ 2 = A, and Γ 2 [A] B equals Γ 1 [Γ 2 ] B. IfΓ 1 [A] B is a axiom then Γ 2 A equals Γ 1 [Γ 2 ] B. 2. R 1 R orr 2 L. The thesis follows from the induction hypothesis (ii). We show two typical cases. Others can be treated similarly.

5 418 Z. Lin 2a Let Γ 2 A arise by Φ-restricted cut with premises Γ 2 C and D A. We replace Γ 2 C D A (Φ CUT) Γ 2 A Γ 1 [Γ 2 ] B where C D is an assumption, by... Γ 1 [A] B (CUT).... Γ 2 C D A Γ [ A] B Γ 1 [D] B Γ 1 [Γ 2 ] B (CUT ) (Φ CUT) where C D is an assumption. Clearly R(CUT ) < R(CUT). Hence Γ 1 [D] B is provable without (CUT), by the hypothesis of induction (ii). Then, Φ-restricted cut yields Γ 1 [Γ 2 ] B. Γ 1 [Γ 2 ] B 2b Let Γ 1 [A] B arise by Φ-restricted cut. Similarly, we can first apply (CUT) to Γ A and the premise of Γ 1 [A] C which contains cut formula A. After that, we apply Φ-restricted cut to the conclusion of the new (CUT) and the other premise of Γ 1 [A] B. The thesis follows from the induction hypothesis (ii). 3. R 1 = R andr 2 = L. We replace Γ 2 A Γ 1 [ A ] B Γ 2 A ( R) Γ 1 [ A ] B Γ 1 [Γ 2 ] B where Γ 2 = Γ 2,by ( L) (CUT) Γ 2 A Γ 1 [ A ] B Γ 1 [ Γ 2 ] B (CUT ) where Γ 2 = Γ 2.SinceD(A ) < D(A) then Γ 1 [Γ 2 ] B is provable in NL r S4 (Φ) without (CUT) by the hypothesis of induction (i). Let π be a cut free proof in NL r S4 (Φ). By π+, we mean a proof obtained from π by replacing all occurrences of Φ-restricted cut by two applications of (CUT) as follows: Γ 2 A A B... (CUT) Γ 2 B Γ 1 [B] C (CUT) Γ 1 [Γ 2 ] C where A B is a nonlogical assumption in Φ. Obviously, π + is a proof in NL S4 (Φ). Hence we get the following corollary. Corollary 3. For any sequent Γ A provable in NL S4 (Φ), there exists a proof of Γ A such that all formulae appearing in the proof are subformulae of formulae in Φ or Γ A.

6 Proof: above. Modal Nonassociative Lambek Calculus with Assumptions 419 Follows from Lemma 1, Theorem 2, and the construction of π + given Let T be a finite set of formulae, closed under subformulae which contains all formulae appearing in Φ. By a T-sequent, we mean a sequent Γ A such that all formulae appearing in Γ and A belong to T. Corollary 4. For any T -sequent Γ A provable in NL S4 (Φ), there is a proof of Γ A in NL S4 (Φ) such that all sequents appearing in this proof are T -sequents. Proof: Immediate from Corollary 3. 3 Main Results Here after, we assume that Φ is finite. T denotes a finite set of formulae containing all formulae in Φ and closed under subformulae. Let T = { A A T }, T = T T, T = { A A T } and T = T T.Asequentissaidtobe basic if it is a T -sequent of the form A B C, A B, or A B. We describe an effective procedure producing all basic sequents provable in NL S4 (Φ). Let S 0 consist of all T -sequents from Φ, allt -sequents of the form (Id), and all T -sequents of the form: A A, A A, A A. A (A\B) B, (A/B) B A, A B A B. Assume S n has already been defined. S n+1 is S n enriched with all sequents arising by the following rules: (R1) if ( A B) S n and A T then ( A B) S n+1, (R2) if ( A B) S n and B T then (A B) S n+1, (R3) if ( A B C) S n and C T then (A B C) S n+1, (R4) if ( A B) S n then (A B) S n+1, (R5) if (A B C) S n and A B T then (A B C) S n+1, (R6) if (A B C) S n and (A\C) T then (B A\C) S n+1, (R7) if (A B C) S n and (C/B) T then (A C/B) S n+1, (R8) if (A B) S n and ( B C) S n then ( A C) S n+1, (R9) if (A B) S n and (D B C) S n then (D A C) S n+1, (R10) if (A B) S n and (B D C) S n then (A D C) S n+1, (R11) if (Γ B) S n and (B C) S n then (Γ C) S n+1,

7 420 Z. Lin Obviously, S n S n+1, for all n 0. For any n 0, S n is a finite set of basic sequents. S T is defined as the union of all S n. Due to the definition of basic sequents, there are only finitely many basic sequents. Since S T is a set of basic sequents, hence it must be finite. This yields: there exists k 0such that S k = S k+1 and S T = S k. S T is closed under rules (R1)-(R11). The rules (R1), (R2), (R3), (R4), (R5), (R6), (R7) are ( L), ( R),(K),(T),( L), (\R), (/R) restricted to basic sequents, and (R8)-(R11) in fact describe the closure of basic sequents under (CUT). (R5)-(R7) and (R9)-(R11) are the same as in [3]. Lemma 5. S T can be constructed in polynomial time. Proof: Let n denote the cardinality of T. The total number of basic sequents of the form A B, A B, anda B C are no more than n 2, n 2,and n 3 respectively. Therefore there are at most m = n 3 +2 n 2 basic sequents. Hence we can construct S 0 in time O(n 3 ). The construction of S n+1 from S n requires at most 6 (m 2 n) +m 2 +6 m 3 steps. It follows that the time of this construction of S n+1 is O(m 3 ). Since the least k satisfying S T = S k does not exceed m. Thus we can construct S T in polynomial time, in time O(m 4 ). By S(T ), we denote the system whose axioms are all sequents from S T and whose only inference rule is (CUT). Clearly, every proof in S(T ) consists of T -sequents. By S(T ) Γ A we denote: Γ A is provable in S(T ). Lemma 6. Every basic sequent provable in S(T ) belongs to S T. Proof: We proceed by induction on the length of its proof in S(T ). For the base case, the claim is trivial. For the inductive case, we assume that s is a basic sequent provable in S(T ) such that s is obtained from premises s 1 and s 2 by (CUT). Since s is a basic sequent, clearly, s 1 and s 2 must be basic sequents. By the induction hypothesis, s 1 and s 2 belong to S(T ). Hence s belongs to S T, by (R8)-(R11). We prove two interpolation lemmas for S(T ). Lemma 7. If S(T ) Γ [Δ] A then there exists D T such that S(T ) Δ D and S(T ) Γ [D] A. Proof: We proceed by induction on the proofs in S(T ). Base case: Γ [Δ] A belongs to S T. We consider three subcases. First, if Γ = Δ = B then D = A and the claim stands. Second, if Γ = B, Δ = BorΔ= B then D = B or D = A, respectively. Third, if Γ = B C, and either Δ = B, or Δ = C, thend = B or D = C, respectively. Inductive case: Assume Γ [Δ] A is the conclusion of (CUT) whose both premises are Δ B and Γ [B] A such that Γ [Δ] =Γ [Δ ]. Then three cases arise.

8 Modal Nonassociative Lambek Calculus with Assumptions Δ is a substructure of Δ. Assume Δ = Δ [Δ ], Γ [B] =Γ [Δ [B]]. Hence there exists D T satisfying S(T ) Δ [B] D and S(T ) Γ [D] A by the induction hypothesis. We have S(T ) Δ D from S(T ) Δ B and S(T ) Δ [B] D, by (CUT). 2. Δ is a substructure of Δ. Assume Δ = Δ [Δ] andγ [B] =Γ [Δ [B]]. By the induction hypothesis, it is easy to obtain S(T ) Δ D and S(T ) Δ [D] B for some D T, which yields S(T ) Γ [D] A by (CUT). 3. Δ and Δ do not overlap. Hence Γ [B] mustcontainsδ. Assume Γ [B] = Γ [B,Δ]. By the induction hypothesis, there exists a D T such that S(T ) Γ [B,D] A and S(T ) Δ D. By (CUT), S(T ) Γ [Δ,D] A, which means S(T ) Γ [D] A. Lemma 8. If S(T ) Γ [ Δ ] A, then there exists D T such that S(T ) Δ D and S(T ) Γ [ D] A. Proof: Assume S(T ) Γ [ Δ ] A. By Lemma 7, there exists D T such that S(T ) Γ [D] A and S(T ) Δ D. Again by Lemma 7, we get S(T ) D D and S(T ) Δ D,forsomeD T.Weconsidertwo possibilities. If D T,then D T.Weget S(T ) D D, by Lemma 3.9 and (R1). Since D D and D D belong to S T,weget D D S T. Hence by two applications of (R4), D D S T, which yields S(T ) D D. By applying (CUT) to S(T ) Γ [D] A and S(T ) D D, weget S(T ) Γ [ D ] A. Again S(T ) Δ D and S(T ) D D,so we get S(T ) Δ D. Therefore the claim holds. If D does not belong to T,thenD = D for some D T. Hence S(T ) D Dand S(T ) Δ D. Due to Lemma 6, D Dbelongs to S T. It yields: D D belongs to S (T ),by(r4).hence S(T ) D D. Then, by (CUT), S(T ) Γ [ D ] A. Therefore the claim stands. For any T -sequent Γ A, byγ T A we mean: Γ A has a proof in NL S4 (Φ) consisting of T -sequents only. Lemma 9. For any T -sequent Γ A, Γ T A iff S(T ) Γ A. Proof: The if part is easy. Notice that all T -seuqents which are axioms of NL S4 (Φ) belong to S T. The only if part is proved by showing that all inference rules of NL S4 (Φ), restricted to T -sequents, are admissible in S(T ). The rules (CUT), (\L), (/L) (\R) (/R) ( L) ( R) are settled by Buszkowski[3]. Here we provide full arguments for ( L), ( R), ( L), ( R), (4), (T), (K). 1. For ( L), assume S(T ) Γ [ A ] B and A T. By Lemma 7, there exists D T such that S(T ) Γ [D] B and S(T ) A D. Since S(T ) A D is a basic sequent, then by Lemma 6, A D S T. By (R1), we get A D S T, which yields S(T ) A D. Hence S(T ) Γ [ A] B, by(cut).

9 422 Z. Lin 2. For ( R), assume S(T ) Γ A and A T.Since S(T ) A A, we get S(T ) Γ A, by (CUT). 3. For ( L), assume Γ [A] S(T ) B and A T.Since S(T ) A A, we get S(T ) Γ [ A ] B, by (CUT). 4. For ( R), assume S(T ) Γ B and B T. By Lemma 7, there exists D T such that S(T ) D B and Γ S(T ) D. Then D B S T, by Lemma 6. By (R2), D B S T, which yields D S(T ) B. Hence we get S(T ) Γ B, by (CUT). 5. For (4), assume S(T ) Γ [ Δ ] A. ByLemma8thereexists D T such that S(T ) Γ [ D] A and S(T ) Δ D. Since S(T ) D D, we get S(T ) D D, by (CUT). Hence S(T ) Γ [ Δ ] A, by two applications of (CUT). 6. For (T), assume S(T ) Γ [ Δ ] A. By Lemma 8, there exists D T such that S(T ) Γ [ D] A and S(T ) Δ D. Clearly, S(T ) Γ [Δ] A, by (CUT). 7. For (K), assume S(T ) Γ [ Δ 1 Δ 2 ] A. By Lemma 7, there exists D T such that S(T ) Γ [D] A and S(T ) Δ 1 Δ 2 D. Then, by applying Lemma 7 twice, we get S(T ) Δ 1 D 1, S(T ) Δ 2 D 2 and S(T ) D 1 D 2 D, forsomed 1,D 2 T. By the proof of case 1, we get S(T ) D 1 D 2 D. We consider three possibilities. First, D T. By Lemma 6, we obtain D 1 D 2 D S T. Hence, by (R3), S(T ) D 1 D 2 D. Since S(T ) D D, weget S(T ) D 1 D 2 D, by (CUT). Then, by three applications of (CUT), we get S(T ) Γ [ Δ 1 Δ 2 ] A. Second, D T but D T. Assume D = D,forsomeD T.Since S(T ) D D, by the proof for case 5, we obtain S(T ) D D. Then, due to the proof for case 4, we get S(T ) D D. Hence S(T ) D D, which yields S(T ) D 1 D 2 D. Since D 1 D 1 S T and D 2 D 2 S T, then, by rule (R4), D 1 D 1 S T and D 2 D 2 S T. Hence S(T ) D 1 D 2 D, by (CUT). We get S(T ) Γ [ Δ 1 Δ 2 ] A, by (CUT). Third, D T, but D T. Then, D = D,forsomeD T. Since S(T ) D D, clearly, we get S(T ) D D. Again, S(T ) D 1 D 2 D. Hence S(T ) Γ [ Δ 1 Δ 2 ] A, by several applications of (CUT). We define an operator on formula structure recursively as follows: (i) A = A, for any formula A. (ii) (Γ 1 Γ 2 ) = Γ 1 Γ 2, for any formula structures Γ 1 and Γ 2.(iii) ( Γ ) = (Γ ), for any formula structure Γ. Now we are ready to prove the main results of this paper. Theorem 10. If Φ is finite, then NL S4 (Φ) is decidable in polynomial time. Proof: Let Φ be a finite set of non-logical assumptions and Γ A be a sequent. Clearly, NLS4(Φ) Γ A can be checked in polynomial time if and only

10 Modal Nonassociative Lambek Calculus with Assumptions 423 if NLS4(Φ) Γ A can be checked in polynomial time. Let n be the number of logical constants and atoms occurring in Γ A and in sequents for Φ. The number of subformulae of any formula is equal to the number of logical constants and atoms in it. Hence T can be constructed in time O(n 2 ), and T contains at most n elements. It yields that we can construct T in time O(n 2 ). Since T T, by Corollary 4, NLS4(Φ) Γ A is provable in NL S4 (Φ) iff Γ T A. By Lemma 10, Γ T A iff S(T ) Γ A. SinceΓ A is a basic sequent, we get S(T ) Γ A iff Γ A S T, by Lemma 6. Hence Γ A is provable in NL S4 (Φ) iff Γ A S T. Besides, by Lemma 5, S T can be constructed in polynomial time. Consequently, NLS4(Φ) Γ A can be checked in time polynomial with respect to n. An NL S4 (Φ)-grammar over an alphabet Σ is a pair L, D, wherel, the lexicon, is a finite relation between strings from Σ + and formulae of NL S4 (Φ), and D F is a finite set of designated formulae (types). By s(γ ), we denote a string obtained from a formula structure Γ by dropping all binary and unary operators, and, respectively, and corresponding parentheses (). A language L(G) generated by a NL S4 (Φ)-grammar G = L, D is defined as a set of strings a 1 a n,wherea i Σ +,1 i n, andn 1, satisfying the following condition: there exist formulae A 1,...,A n,s,andformulae structure Γ such that for all 1 i n a i,a i L, S D,and NLS4(Φ) Γ S where s(γ )=A 1 A n. Notice that for NL S4 (Φ)-grammars the definition of L(G) can be modified by assuming that Γ does not contain. ForifΓ A is provable in NL S4 (Φ), then Γ B is provable in NL S4 (Φ), where Γ arises from Γ by dropping all. Theorem 11. Every language generated by an NL S4 (Φ)-grammar is contextfree. Proof: Let Φ be a finite set of sequents of the form A B, G 1 = L, D be an NL S4 (Φ)-grammar, and T be the set of all subformulae of formulae in D and all subformulae of formulae appearing in L. WeconstructT as above. Now we construct an equivalent CFG (context-free grammar) G 2, in the following way. The terminal elements of G 2 are lexical items of G 1. The non-terminals are all types from T and a fresh non-terminal S. Productions are {A B B A S T } {A B, C B C S T } {A v v, A L} {S A A D}. If v 1...v m is generated by G 1, then there is a NL S4 (Φ)-derivable sequent Γ B where B is a designated type, s(γ )=A 1 A m,and v i,a i Lfor 1 i m. WegetS G 2 B by the construction of G 2. Due to Lemma 9 and the construction of G 2,weobtainS G 2 A 1 A m which leads to S G 2 v 1...v m. Hence v 1 v m is generated by G 2. Now suppose v 1 v m is generated by G 2,whichmeansS G 2 v 1 v n. Then, there exists a B Dsuch that B G 2 A 1 A n where v i,a i L, 1 i m. Hence, by the construction of G 2, there exists a formula structure Γ such that s(γ )=A 1 A n and S(T ) Γ B. By Lemma 9, NLS4(Φ) Γ B. Therefore v 1 v m is generated by G 1.

11 424 Z. Lin Obviously, we can easily obtain the same results for systems without K (NL S4 in the sense of Plummer [16][17]). The inclusion of the class of ε-free context free languages in the class of NL S4 (Φ)-recognizable languages can be easily established. Every context-free language is generated by some NL-grammars (see [8]). Since neither the lexicon nor designated formulae contain modal operators, by Corollary 4, these NL-grammars can be conceived of as an NL S4 (Φ)-grammars, where Φ is empty. Hence NL S4 (Φ)-grammars generate exactly the ε-free contextfree languages. 4 Variants In [6], grammars based on L enriched with structural rules (K 1 ), (K 2 )are shown to surpass the context-free languages. Plummer [16][17] conjectures that structural rules (K 1 ), (K 2 ) extend the generative capacity of NL. However the situation is different for system with 4 and T. We consider a system NL S4,which admits 4, T, and K 1 : (A B) A B K 2 : (A B) A B The sequent system of NL S4 is obtained by extending NL S4 without (K) with the following rules corresponding to axioms K 1 K 2 (K 1 ) Γ [ Δ 1 Δ 2 ] A Γ [ Δ 1 Δ 2 ] A, (K 2) Γ [Δ 1 Δ 2 ] A Γ [ Δ 1 Δ 2 ] A The main results in section 3 can be easily extended to NL S4 (Φ), NL S4 (Φ) with finitely many non-logical assumptions Φ, utilizing the technique presented in section 3. We outline the proof as follows. It is easy to prove the analogues of theorem 2 for NL S4 (Φ). Then we modify the construction of S(T ). We replace rule (R3) by the following two rules: (R3.1) if A B C S n and C T then A B C S n +1, (R3.2) if A B C S n and C T then A B C S n +1. TheproofoftheanalogueofLemma9issimilartotheproofofLemma9in section 3, except for replacing Δ 1 Δ 2 by Δ 1 Δ 2 or Δ 1 Δ 2 and D 1 D 2 by D 1 D 2 or D 1 D 2. The remainder of the proof goes without changes. 5 Conclusion This article shows that the consequence relation of NL S4 or NL S4 are polynomial time decidable, and the categorial grammars based on NL S4 (Φ) or NL S4 (Φ) generate context-free languages. The basic idea of proof is adapted from Buszkowski [3]. However the proof of the extended subformula property is different. We introduce the Φ-restricted cut and prove the cut-elimination theorem for systems enriched with finitely many assumptions.

12 Modal Nonassociative Lambek Calculus with Assumptions 425 References 1. Buszkowski, W.: Some decision problems in the theory of syntactic categories. Zeitschrift für mathematische Logik und Grundlagen der Mathematik 28, (1982) 2. Buszkowski, W.: Generative Capacity of Nonassociative Lambek Calculus. Bulletin of Polish Academy of Sciences 34, (1986) 3. Buszkowski, W.: Lambek Calculus with Nonlogical Axioms. In: Casadio, C., Scott, P.J., Seely, R.A. (eds.) Languages and Grammars Studies in Mathematical Linguistics and Natural Language. Lecture Notes, pp CSLI, Stanfor (2005) 4. Buszkowski, W., Farulewki, M.: Nonassociative Lambek Calculus with Additives and Context-Free Languages. In: Grumberg, O., Kaminski, M., Katz, S., Wintner, S. (eds.) Languages: From Formal to Natural. LNCS, vol. 5533, pp Springer, Heidelberg (2009) 5. Girard, J.Y.: Linear Logic. Theoretical Computer Science 50, (1987) 6. Jäger, G.: On the generative capacity of multi-modal categorial grammars. Research on Language and Computation 1, (2003) 7. Jäger, G.: Residuation, Structural Rules and Context Freeness. Journal of Logic, Language and Informationn 13, (2004) 8. Kandulski, M.: The equivalence of Nonassociative Lambek Categorial Grammars and Context-free Grammars. Zeitschrift für mathematische Logik und Grundlagen der Mathematik 52, (1988) 9. Lambek, J.: The mathematics of sentence structure. American Mathematical Monthly 65, (1958) 10. Lambek, J.: On the calculus of syntactic types. In: Structure of Language and Its Mathematical Aspects, pp American Mathematical Society, Providence (1961) 11. Lambek, J.: Type Grammars as Pregroups. Grammars 4, (2001) 12. Moortgat, M.: Multimodal linguistic inference. Journal of Logic, Language and Information 5, (1996) 13. Morrill, G.: Intensionality and boundedness. Linguistics and Philosopliy 13, (1990) 14. Pentus, M.: Lambek grammars are context-free. In: Proceedings of the 8th Annual IEEE Symposium on Logic in Computer Science, pp (1993) 15. Pentus, M.: Lambek calculus is NP-complete. Theoretical Computer Science 357, (2006) 16. Plummer, A.: S4 enriched multimodal categorial grammars are context-free. Theoretical Computer Science 388, (2007) 17. Plummer, A.: S4 enriched multimodal categorial grammars are context-free: Corrigendum. Theoretical Computer Science 403, (2008) 18. Versmissen, J.: Grammatical Composition: Modes, Models, Modalities. PhD thesis, Universiteit Utrecht (1996)

System BV is NP-complete

System BV is NP-complete System BV is NP-complete Ozan Kahramanoğulları 1,2 Computer Science Institute, University of Leipzig International Center for Computational Logic, TU Dresden Abstract System BV is an extension of multiplicative

More information

CHAPTER 7 GENERAL PROOF SYSTEMS

CHAPTER 7 GENERAL PROOF SYSTEMS CHAPTER 7 GENERAL PROOF SYSTEMS 1 Introduction Proof systems are built to prove statements. They can be thought as an inference machine with special statements, called provable statements, or sometimes

More information

Introduction. W. Buszkowski Type Logics in Grammar

Introduction. W. Buszkowski Type Logics in Grammar W. Buszkowski Type Logics in Grammar Introduction Type logics are logics whose formulas are interpreted as types. For instance, A B is a type of functions (procedures) which send inputs of type A to outputs

More information

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements.

This asserts two sets are equal iff they have the same elements, that is, a set is determined by its elements. 3. Axioms of Set theory Before presenting the axioms of set theory, we first make a few basic comments about the relevant first order logic. We will give a somewhat more detailed discussion later, but

More information

Correspondence analysis for strong three-valued logic

Correspondence analysis for strong three-valued logic Correspondence analysis for strong three-valued logic A. Tamminga abstract. I apply Kooi and Tamminga s (2012) idea of correspondence analysis for many-valued logics to strong three-valued logic (K 3 ).

More information

Full and Complete Binary Trees

Full and Complete Binary Trees Full and Complete Binary Trees Binary Tree Theorems 1 Here are two important types of binary trees. Note that the definitions, while similar, are logically independent. Definition: a binary tree T is full

More information

Non-deterministic Semantics and the Undecidability of Boolean BI

Non-deterministic Semantics and the Undecidability of Boolean BI 1 Non-deterministic Semantics and the Undecidability of Boolean BI DOMINIQUE LARCHEY-WENDLING, LORIA CNRS, Nancy, France DIDIER GALMICHE, LORIA Université Henri Poincaré, Nancy, France We solve the open

More information

Regular Languages and Finite Automata

Regular Languages and Finite Automata Regular Languages and Finite Automata 1 Introduction Hing Leung Department of Computer Science New Mexico State University Sep 16, 2010 In 1943, McCulloch and Pitts [4] published a pioneering work on a

More information

Mathematical Induction

Mathematical Induction Mathematical Induction In logic, we often want to prove that every member of an infinite set has some feature. E.g., we would like to show: N 1 : is a number 1 : has the feature Φ ( x)(n 1 x! 1 x) How

More information

CS 103X: Discrete Structures Homework Assignment 3 Solutions

CS 103X: Discrete Structures Homework Assignment 3 Solutions CS 103X: Discrete Structures Homework Assignment 3 s Exercise 1 (20 points). On well-ordering and induction: (a) Prove the induction principle from the well-ordering principle. (b) Prove the well-ordering

More information

INCIDENCE-BETWEENNESS GEOMETRY

INCIDENCE-BETWEENNESS GEOMETRY INCIDENCE-BETWEENNESS GEOMETRY MATH 410, CSUSM. SPRING 2008. PROFESSOR AITKEN This document covers the geometry that can be developed with just the axioms related to incidence and betweenness. The full

More information

Reading 13 : Finite State Automata and Regular Expressions

Reading 13 : Finite State Automata and Regular Expressions CS/Math 24: Introduction to Discrete Mathematics Fall 25 Reading 3 : Finite State Automata and Regular Expressions Instructors: Beck Hasti, Gautam Prakriya In this reading we study a mathematical model

More information

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce

More information

Handout #1: Mathematical Reasoning

Handout #1: Mathematical Reasoning Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

More information

Lights and Darks of the Star-Free Star

Lights and Darks of the Star-Free Star Lights and Darks of the Star-Free Star Edward Ochmański & Krystyna Stawikowska Nicolaus Copernicus University, Toruń, Poland Introduction: star may destroy recognizability In (finitely generated) trace

More information

Relations: their uses in programming and computational specifications

Relations: their uses in programming and computational specifications PEPS Relations, 15 December 2008 1/27 Relations: their uses in programming and computational specifications Dale Miller INRIA - Saclay & LIX, Ecole Polytechnique 1. Logic and computation Outline 2. Comparing

More information

ON THE DEGREE OF MAXIMALITY OF DEFINITIONALLY COMPLETE LOGICS

ON THE DEGREE OF MAXIMALITY OF DEFINITIONALLY COMPLETE LOGICS Bulletin of the Section of Logic Volume 15/2 (1986), pp. 72 79 reedition 2005 [original edition, pp. 72 84] Ryszard Ladniak ON THE DEGREE OF MAXIMALITY OF DEFINITIONALLY COMPLETE LOGICS The following definition

More information

The Halting Problem is Undecidable

The Halting Problem is Undecidable 185 Corollary G = { M, w w L(M) } is not Turing-recognizable. Proof. = ERR, where ERR is the easy to decide language: ERR = { x { 0, 1 }* x does not have a prefix that is a valid code for a Turing machine

More information

A Propositional Dynamic Logic for CCS Programs

A Propositional Dynamic Logic for CCS Programs A Propositional Dynamic Logic for CCS Programs Mario R. F. Benevides and L. Menasché Schechter {mario,luis}@cos.ufrj.br Abstract This work presents a Propositional Dynamic Logic in which the programs are

More information

C H A P T E R Regular Expressions regular expression

C H A P T E R Regular Expressions regular expression 7 CHAPTER Regular Expressions Most programmers and other power-users of computer systems have used tools that match text patterns. You may have used a Web search engine with a pattern like travel cancun

More information

Introduction to Automata Theory. Reading: Chapter 1

Introduction to Automata Theory. Reading: Chapter 1 Introduction to Automata Theory Reading: Chapter 1 1 What is Automata Theory? Study of abstract computing devices, or machines Automaton = an abstract computing device Note: A device need not even be a

More information

CS 3719 (Theory of Computation and Algorithms) Lecture 4

CS 3719 (Theory of Computation and Algorithms) Lecture 4 CS 3719 (Theory of Computation and Algorithms) Lecture 4 Antonina Kolokolova January 18, 2012 1 Undecidable languages 1.1 Church-Turing thesis Let s recap how it all started. In 1990, Hilbert stated a

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

Computability Theory

Computability Theory CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Computability Theory This section is partly inspired by the material in A Course in Mathematical Logic by Bell and Machover, Chap 6, sections 1-10.

More information

A Geometry of Oriented Curves *

A Geometry of Oriented Curves * ftp://ftp.informatik.uni-hamburg.de/pub/unihh/informatik/wsv/trorientedcurves.pdf A Geometry of Oriented Curves * Lars Kulik & Carola Eschenbach Report from the project 'Axiomatics of Spatial Concepts'

More information

MATH10040 Chapter 2: Prime and relatively prime numbers

MATH10040 Chapter 2: Prime and relatively prime numbers MATH10040 Chapter 2: Prime and relatively prime numbers Recall the basic definition: 1. Prime numbers Definition 1.1. Recall that a positive integer is said to be prime if it has precisely two positive

More information

COFINAL MAXIMAL CHAINS IN THE TURING DEGREES

COFINAL MAXIMAL CHAINS IN THE TURING DEGREES COFINA MAXIMA CHAINS IN THE TURING DEGREES WEI WANG, IUZHEN WU, AND IANG YU Abstract. Assuming ZF C, we prove that CH holds if and only if there exists a cofinal maximal chain of order type ω 1 in the

More information

There is no degree invariant half-jump

There is no degree invariant half-jump There is no degree invariant half-jump Rod Downey Mathematics Department Victoria University of Wellington P O Box 600 Wellington New Zealand Richard A. Shore Mathematics Department Cornell University

More information

Automata and Formal Languages

Automata and Formal Languages Automata and Formal Languages Winter 2009-2010 Yacov Hel-Or 1 What this course is all about This course is about mathematical models of computation We ll study different machine models (finite automata,

More information

A first step towards modeling semistructured data in hybrid multimodal logic

A first step towards modeling semistructured data in hybrid multimodal logic A first step towards modeling semistructured data in hybrid multimodal logic Nicole Bidoit * Serenella Cerrito ** Virginie Thion * * LRI UMR CNRS 8623, Université Paris 11, Centre d Orsay. ** LaMI UMR

More information

Homework until Test #2

Homework until Test #2 MATH31: Number Theory Homework until Test # Philipp BRAUN Section 3.1 page 43, 1. It has been conjectured that there are infinitely many primes of the form n. Exhibit five such primes. Solution. Five such

More information

Classical BI. (A Logic for Reasoning about Dualising Resources) James Brotherston Cristiano Calcagno

Classical BI. (A Logic for Reasoning about Dualising Resources) James Brotherston Cristiano Calcagno Classical BI (A Logic for Reasoning about Dualising Resources) James Brotherston Cristiano Calcagno Dept. of Computing, Imperial College London, UK {jbrother,ccris}@doc.ic.ac.uk Abstract We show how to

More information

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!

HOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)! Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following

More information

x < y iff x < y, or x and y are incomparable and x χ(x,y) < y χ(x,y).

x < y iff x < y, or x and y are incomparable and x χ(x,y) < y χ(x,y). 12. Large cardinals The study, or use, of large cardinals is one of the most active areas of research in set theory currently. There are many provably different kinds of large cardinals whose descriptions

More information

Basic Probability Concepts

Basic Probability Concepts page 1 Chapter 1 Basic Probability Concepts 1.1 Sample and Event Spaces 1.1.1 Sample Space A probabilistic (or statistical) experiment has the following characteristics: (a) the set of all possible outcomes

More information

Turing Machines: An Introduction

Turing Machines: An Introduction CIT 596 Theory of Computation 1 We have seen several abstract models of computing devices: Deterministic Finite Automata, Nondeterministic Finite Automata, Nondeterministic Finite Automata with ɛ-transitions,

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

NP-Completeness and Cook s Theorem

NP-Completeness and Cook s Theorem NP-Completeness and Cook s Theorem Lecture notes for COM3412 Logic and Computation 15th January 2002 1 NP decision problems The decision problem D L for a formal language L Σ is the computational task:

More information

Math 223 Abstract Algebra Lecture Notes

Math 223 Abstract Algebra Lecture Notes Math 223 Abstract Algebra Lecture Notes Steven Tschantz Spring 2001 (Apr. 23 version) Preamble These notes are intended to supplement the lectures and make up for the lack of a textbook for the course

More information

Diagonalization. Ahto Buldas. Lecture 3 of Complexity Theory October 8, 2009. Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach.

Diagonalization. Ahto Buldas. Lecture 3 of Complexity Theory October 8, 2009. Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach. Diagonalization Slides based on S.Aurora, B.Barak. Complexity Theory: A Modern Approach. Ahto Buldas Ahto.Buldas@ut.ee Background One basic goal in complexity theory is to separate interesting complexity

More information

Mathematical Induction

Mathematical Induction Mathematical Induction (Handout March 8, 01) The Principle of Mathematical Induction provides a means to prove infinitely many statements all at once The principle is logical rather than strictly mathematical,

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Mathematical Induction. Lecture 10-11

Mathematical Induction. Lecture 10-11 Mathematical Induction Lecture 10-11 Menu Mathematical Induction Strong Induction Recursive Definitions Structural Induction Climbing an Infinite Ladder Suppose we have an infinite ladder: 1. We can reach

More information

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson

Mathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement

More information

MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis

MATHEMATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Logic and Computer Science - Phokion G. Kolaitis LOGIC AND COMPUTER SCIENCE Phokion G. Kolaitis Computer Science Department, University of California, Santa Cruz, CA 95064, USA Keywords: algorithm, Armstrong s axioms, complete problem, complexity class,

More information

Jaakko Hintikka Boston University. and. Ilpo Halonen University of Helsinki INTERPOLATION AS EXPLANATION

Jaakko Hintikka Boston University. and. Ilpo Halonen University of Helsinki INTERPOLATION AS EXPLANATION Jaakko Hintikka Boston University and Ilpo Halonen University of Helsinki INTERPOLATION AS EXPLANATION INTERPOLATION AS EXPLANATION In the study of explanation, one can distinguish two main trends. On

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us

More information

Which Semantics for Neighbourhood Semantics?

Which Semantics for Neighbourhood Semantics? Which Semantics for Neighbourhood Semantics? Carlos Areces INRIA Nancy, Grand Est, France Diego Figueira INRIA, LSV, ENS Cachan, France Abstract In this article we discuss two alternative proposals for

More information

! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs

!  # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs ,!0((,.+#$),%$(-&.& *,2(-$)%&2.'3&%!&, Logics for Data and Knowledge Representation Alessandro Agostini agostini@dit.unitn.it University of Trento Fausto Giunchiglia fausto@dit.unitn.it The Logic of Descriptions!$%&'()*$#)

More information

Generating models of a matched formula with a polynomial delay

Generating models of a matched formula with a polynomial delay Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic

More information

An example of a computable

An example of a computable An example of a computable absolutely normal number Verónica Becher Santiago Figueira Abstract The first example of an absolutely normal number was given by Sierpinski in 96, twenty years before the concept

More information

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch

6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010. Class 4 Nancy Lynch 6.045: Automata, Computability, and Complexity Or, Great Ideas in Theoretical Computer Science Spring, 2010 Class 4 Nancy Lynch Today Two more models of computation: Nondeterministic Finite Automata (NFAs)

More information

A NOTE ON INITIAL SEGMENTS OF THE ENUMERATION DEGREES

A NOTE ON INITIAL SEGMENTS OF THE ENUMERATION DEGREES A NOTE ON INITIAL SEGMENTS OF THE ENUMERATION DEGREES THEODORE A. SLAMAN AND ANDREA SORBI Abstract. We show that no nontrivial principal ideal of the enumeration degrees is linearly ordered: In fact, below

More information

Quotient Rings and Field Extensions

Quotient Rings and Field Extensions Chapter 5 Quotient Rings and Field Extensions In this chapter we describe a method for producing field extension of a given field. If F is a field, then a field extension is a field K that contains F.

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

8 Divisibility and prime numbers

8 Divisibility and prime numbers 8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express

More information

Determination of the normalization level of database schemas through equivalence classes of attributes

Determination of the normalization level of database schemas through equivalence classes of attributes Computer Science Journal of Moldova, vol.17, no.2(50), 2009 Determination of the normalization level of database schemas through equivalence classes of attributes Cotelea Vitalie Abstract In this paper,

More information

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without

More information

(IALC, Chapters 8 and 9) Introduction to Turing s life, Turing machines, universal machines, unsolvable problems.

(IALC, Chapters 8 and 9) Introduction to Turing s life, Turing machines, universal machines, unsolvable problems. 3130CIT: Theory of Computation Turing machines and undecidability (IALC, Chapters 8 and 9) Introduction to Turing s life, Turing machines, universal machines, unsolvable problems. An undecidable problem

More information

Fundamentele Informatica II

Fundamentele Informatica II Fundamentele Informatica II Answer to selected exercises 1 John C Martin: Introduction to Languages and the Theory of Computation M.M. Bonsangue (and J. Kleijn) Fall 2011 Let L be a language. It is clear

More information

Fixed-Point Logics and Computation

Fixed-Point Logics and Computation 1 Fixed-Point Logics and Computation Symposium on the Unusual Effectiveness of Logic in Computer Science University of Cambridge 2 Mathematical Logic Mathematical logic seeks to formalise the process of

More information

Summary Last Lecture. Automated Reasoning. Outline of the Lecture. Definition sequent calculus. Theorem (Normalisation and Strong Normalisation)

Summary Last Lecture. Automated Reasoning. Outline of the Lecture. Definition sequent calculus. Theorem (Normalisation and Strong Normalisation) Summary Summary Last Lecture sequent calculus Automated Reasoning Georg Moser Institute of Computer Science @ UIBK Winter 013 (Normalisation and Strong Normalisation) let Π be a proof in minimal logic

More information

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r. CHAPTER 2 Logic 1. Logic Definitions 1.1. Propositions. Definition 1.1.1. A proposition is a declarative sentence that is either true (denoted either T or 1) or false (denoted either F or 0). Notation:

More information

k, then n = p2α 1 1 pα k

k, then n = p2α 1 1 pα k Powers of Integers An integer n is a perfect square if n = m for some integer m. Taking into account the prime factorization, if m = p α 1 1 pα k k, then n = pα 1 1 p α k k. That is, n is a perfect square

More information

LEARNING OBJECTIVES FOR THIS CHAPTER

LEARNING OBJECTIVES FOR THIS CHAPTER CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. Finite-Dimensional

More information

JOINING UP TO THE GENERALIZED HIGH DEGREES

JOINING UP TO THE GENERALIZED HIGH DEGREES PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 138, Number 8, August 2010, Pages 2949 2960 S 0002-9939(10)10299-8 Article electronically published on March 29, 2010 JOINING UP TO THE GENERALIZED

More information

8 Primes and Modular Arithmetic

8 Primes and Modular Arithmetic 8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.

More information

Grammars with Regulated Rewriting

Grammars with Regulated Rewriting Grammars with Regulated Rewriting Jürgen Dassow Otto-von-Guericke-Universität Magdeburg Fakultät für Informatik Lecture in the 5 th PhD Program Formal Languages and Applications PhD Program Formal Languages

More information

Model 2.4 Faculty member + student

Model 2.4 Faculty member + student Model 2.4 Faculty member + student Course syllabus for Formal languages and Automata Theory. Faculty member information: Name of faculty member responsible for the course Office Hours Office Number Email

More information

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors.

The Prime Numbers. Definition. A prime number is a positive integer with exactly two positive divisors. The Prime Numbers Before starting our study of primes, we record the following important lemma. Recall that integers a, b are said to be relatively prime if gcd(a, b) = 1. Lemma (Euclid s Lemma). If gcd(a,

More information

Properties of Stabilizing Computations

Properties of Stabilizing Computations Theory and Applications of Mathematics & Computer Science 5 (1) (2015) 71 93 Properties of Stabilizing Computations Mark Burgin a a University of California, Los Angeles 405 Hilgard Ave. Los Angeles, CA

More information

Automata and Computability. Solutions to Exercises

Automata and Computability. Solutions to Exercises Automata and Computability Solutions to Exercises Fall 25 Alexis Maciel Department of Computer Science Clarkson University Copyright c 25 Alexis Maciel ii Contents Preface vii Introduction 2 Finite Automata

More information

Query Order and NP-Completeness 1 Jack J.Dai Department of Mathematics Iowa State University Ames, Iowa 50011 U.S.A. Jack H.Lutz Department of Computer Science Iowa State University Ames, Iowa 50011 U.S.A.

More information

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.

Page 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p. Page 331, 38.2 Assignment #11 Solutions Factor the following positive integers into primes. a. 25 = 5 2. b. 4200 = 2 3 3 5 2 7. c. 10 10 = 2 10 5 10. d. 19 = 19. e. 1 = 1. Page 331, 38.4 Suppose a is a

More information

ON UNIQUE FACTORIZATION DOMAINS

ON UNIQUE FACTORIZATION DOMAINS ON UNIQUE FACTORIZATION DOMAINS JIM COYKENDALL AND WILLIAM W. SMITH Abstract. In this paper we attempt to generalize the notion of unique factorization domain in the spirit of half-factorial domain. It

More information

Lecture 2: Universality

Lecture 2: Universality CS 710: Complexity Theory 1/21/2010 Lecture 2: Universality Instructor: Dieter van Melkebeek Scribe: Tyson Williams In this lecture, we introduce the notion of a universal machine, develop efficient universal

More information

Degrees that are not degrees of categoricity

Degrees that are not degrees of categoricity Degrees that are not degrees of categoricity Bernard A. Anderson Department of Mathematics and Physical Sciences Gordon State College banderson@gordonstate.edu www.gordonstate.edu/faculty/banderson Barbara

More information

CLASSICAL BI: ITS SEMANTICS AND PROOF THEORY

CLASSICAL BI: ITS SEMANTICS AND PROOF THEORY Logical Methods in Computer Science Vol. 6 (3:3) 2010, pp. 1 42 www.lmcs-online.org Submitted Aug. 1, 2009 Published Jul. 20, 2010 CLASSICAL BI: ITS SEMANTICS AND PROOF THEORY JAMES BROTHERSTON a AND CRISTIANO

More information

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S.

Lemma 5.2. Let S be a set. (1) Let f and g be two permutations of S. Then the composition of f and g is a permutation of S. Definition 51 Let S be a set bijection f : S S 5 Permutation groups A permutation of S is simply a Lemma 52 Let S be a set (1) Let f and g be two permutations of S Then the composition of f and g is a

More information

Likewise, we have contradictions: formulas that can only be false, e.g. (p p).

Likewise, we have contradictions: formulas that can only be false, e.g. (p p). CHAPTER 4. STATEMENT LOGIC 59 The rightmost column of this truth table contains instances of T and instances of F. Notice that there are no degrees of contingency. If both values are possible, the formula

More information

Paraphrasing controlled English texts

Paraphrasing controlled English texts Paraphrasing controlled English texts Kaarel Kaljurand Institute of Computational Linguistics, University of Zurich kaljurand@gmail.com Abstract. We discuss paraphrasing controlled English texts, by defining

More information

Learning Automata and Grammars

Learning Automata and Grammars WDS'11 Proceedings of Contributed Papers, Part I, 125 130, 2011. ISBN 978-80-7378-184-2 MATFYZPRESS Learning Automata and Grammars P. Černo Charles University, Faculty of Mathematics and Physics, Prague,

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

Cartesian Products and Relations

Cartesian Products and Relations Cartesian Products and Relations Definition (Cartesian product) If A and B are sets, the Cartesian product of A and B is the set A B = {(a, b) :(a A) and (b B)}. The following points are worth special

More information

The Settling Time Reducibility Ordering and 0 2 Setting

The Settling Time Reducibility Ordering and 0 2 Setting THE SETTLING TIME REDUCIBILITY ORDERING AND 0 2 SETS BARBARA F. CSIMA Abstract. The Settling Time reducibility ordering gives an ordering on computably enumerable sets based on their enumerations. The

More information

The compositional semantics of same

The compositional semantics of same The compositional semantics of same Mike Solomon Amherst College Abstract Barker (2007) proposes the first strictly compositional semantic analysis of internal same. I show that Barker s analysis fails

More information

Handout NUMBER THEORY

Handout NUMBER THEORY Handout of NUMBER THEORY by Kus Prihantoso Krisnawan MATHEMATICS DEPARTMENT FACULTY OF MATHEMATICS AND NATURAL SCIENCES YOGYAKARTA STATE UNIVERSITY 2012 Contents Contents i 1 Some Preliminary Considerations

More information

On strong fairness in UNITY

On strong fairness in UNITY On strong fairness in UNITY H.P.Gumm, D.Zhukov Fachbereich Mathematik und Informatik Philipps Universität Marburg {gumm,shukov}@mathematik.uni-marburg.de Abstract. In [6] Tsay and Bagrodia present a correct

More information

o-minimality and Uniformity in n 1 Graphs

o-minimality and Uniformity in n 1 Graphs o-minimality and Uniformity in n 1 Graphs Reid Dale July 10, 2013 Contents 1 Introduction 2 2 Languages and Structures 2 3 Definability and Tame Geometry 4 4 Applications to n 1 Graphs 6 5 Further Directions

More information

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

The Classes P and NP

The Classes P and NP The Classes P and NP We now shift gears slightly and restrict our attention to the examination of two families of problems which are very important to computer scientists. These families constitute the

More information

Lecture 13 - Basic Number Theory.

Lecture 13 - Basic Number Theory. Lecture 13 - Basic Number Theory. Boaz Barak March 22, 2010 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that A divides B, denoted

More information

CS510 Software Engineering

CS510 Software Engineering CS510 Software Engineering Propositional Logic Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Scott A. Carr Slides inspired by Xiangyu Zhang http://nebelwelt.net/teaching/15-cs510-se

More information

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees University of Ostrava Institute for Research and Applications of Fuzzy Modeling Reasoning in Description Logic with Semantic Tableau Binary Trees Alena Lukasová Research report No. 63 2005 Submitted/to

More information

Pushdown automata. Informatics 2A: Lecture 9. Alex Simpson. 3 October, 2014. School of Informatics University of Edinburgh als@inf.ed.ac.

Pushdown automata. Informatics 2A: Lecture 9. Alex Simpson. 3 October, 2014. School of Informatics University of Edinburgh als@inf.ed.ac. Pushdown automata Informatics 2A: Lecture 9 Alex Simpson School of Informatics University of Edinburgh als@inf.ed.ac.uk 3 October, 2014 1 / 17 Recap of lecture 8 Context-free languages are defined by context-free

More information

Lecture 1: Course overview, circuits, and formulas

Lecture 1: Course overview, circuits, and formulas Lecture 1: Course overview, circuits, and formulas Topics in Complexity Theory and Pseudorandomness (Spring 2013) Rutgers University Swastik Kopparty Scribes: John Kim, Ben Lund 1 Course Information Swastik

More information

Categorial Type Logics

Categorial Type Logics Categorial Type Logics Michael Moortgat Utrecht Institute of Linguistics, OTS Excerpt from Chapter Two in J. van Benthem and A. ter Meulen (eds.) Handbook of Logic and Language. Elsevier, 1997. Contents

More information

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

WRITING PROOFS. Christopher Heil Georgia Institute of Technology WRITING PROOFS Christopher Heil Georgia Institute of Technology A theorem is just a statement of fact A proof of the theorem is a logical explanation of why the theorem is true Many theorems have this

More information

No: 10 04. Bilkent University. Monotonic Extension. Farhad Husseinov. Discussion Papers. Department of Economics

No: 10 04. Bilkent University. Monotonic Extension. Farhad Husseinov. Discussion Papers. Department of Economics No: 10 04 Bilkent University Monotonic Extension Farhad Husseinov Discussion Papers Department of Economics The Discussion Papers of the Department of Economics are intended to make the initial results

More information

1 = (a 0 + b 0 α) 2 + + (a m 1 + b m 1 α) 2. for certain elements a 0,..., a m 1, b 0,..., b m 1 of F. Multiplying out, we obtain

1 = (a 0 + b 0 α) 2 + + (a m 1 + b m 1 α) 2. for certain elements a 0,..., a m 1, b 0,..., b m 1 of F. Multiplying out, we obtain Notes on real-closed fields These notes develop the algebraic background needed to understand the model theory of real-closed fields. To understand these notes, a standard graduate course in algebra is

More information