Academia.edu no longer supports Internet Explorer.
To browse Academia.edu and the wider internet faster and more securely, please take a few seconds to upgrade your browser.
We present a formal syntax of approximate formulas suited for the logic with counting quantifiers SOLP. This logic was studied by us in [1] where, among other properties, we showed: (i) In the presence of a built–in (linear) order, SOLP can describe NP–complete problems and fragments of it capture classes like P and NL; (ii) weakening the ordering relation to an almost order we can separate meaningful fragments, using a combinatorial tool adapted to these languages. The purpose of the approximate formulas presented here, is to provide a syntactic approximation to logics contained in SOLP with built-in order, that should be complementary of the semantic approximation based on almost orders, by producing approximating logics where problems are described within a small counting error. We state and prove a Bridge Theorem that links expressibility in fragments of SOLP over almostordered structures to expressibility with respect to approximate formulas for the corresponding fragments over...
We formulate a formal syntax of approximate formulas for the logic with count- ing quantifiers, SOLP, studied by us in (1), where we showed the following facts: (i) In the presence of a built-in (linear) order, SOLP can describe NP-complete problems and fragments of it capture classes like P and NL; (ii) weakening the or- dering relation to an almost order (in the sense of (7)) we can separate meaningful fragments, using a combinatorial tool suited for these languages. The purpose of the approximate formulas is to provide a syntactic approx- imation to logics contained in SOLP with built-in order, that should be com- plementary of the semantic approximation based on almost orders, by producing approximating logics where problems are described within a small counting error. We introduce a concept of strong expressibility based on approximate formulas, and show that for many fragments of SOLP with built-in order, including ones that capture P and NL, expressibility and strong expressi...
Logic Journal of IGPL, 2008
This paper presents a syntax of approximate formulae suited for the logic with counting quantifiers SOLP. This logic was formalised by us in where, among other properties, we showed the following facts: (i) In the presence of a built-in (linear) order, SOLP can describe NP-complete problems and some of its fragments capture the classes P and NL; (ii) weakening the ordering relation to an almost order we can separate meaningful fragments, using a combinatorial tool adapted to these languages.
Lecture Notes in Computer Science, 2004
We present a probability logic (essentially a first order language extended with quantifiers that count the fraction of elements in a model that satisfy a first order formula) which, on the one hand, captures uniform circuit classes such as AC 0 and TC 0 over arithmetic models, namely, finite structures with linear order and arithmetic relations, and, on the other hand, their semantics, with respect to our arithmetic models, can be closely approximated by giving interpretations of their formulas on finite structures where all relations (including the order) are restricted to be "modular" (i.e. to act subject to an integer modulo). In order to give a precise measure of the proximity between satisfaction of a formula in an arithmetic model and satisfaction of the same formula in the "approximate" model, we define the approximate formulas and work on a notion of approximate truth. We also indicate how to enhance the expressive power of our probability logic in order to capture polynomial time decidable queries, There are various motivations for this work. As of today, there is not known logical description of any computational complexity class below NP which does not requires a built-in linear order. Also, it is widely recognized that many model theoretic techniques for showing definability in logics on finite structures become almost useless when order is present. Hence, if we want to obtain significant lower bound results in computational complexity via the logical description we ought to find ways of by-passing the ordering restriction. With this work we take steps towards understanding how well can we approximate, without a true order, the expressive power of logics that capture complexity classes on ordered structures.
2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS), 2018
Descriptive Complexity has been very successful in characterizing complexity classes of decision problems in terms of the properties definable in some logics. However, descriptive complexity for counting complexity classes, such as FP and #P, has not been systematically studied, and it is not as developed as its decision counterpart. In this paper, we propose a framework based on Weighted Logics to address this issue. Specifically, by focusing on the natural numbers we obtain a logic called Quantitative Second Order Logics (QSO), and show how some of its fragments can be used to capture fundamental counting complexity classes such as FP, #P and FPSPACE, among others. We also use QSO to define a hierarchy inside #P, identifying counting complexity classes with good closure and approximation properties, and which admit natural complete problems. Finally, we add recursion to QSO, and show how this extension naturally captures lower counting complexity classes such as #L.
Journal of Logic and Computation, 2006
We present a second order logic of proportional quantifiers, SOLP, which is essentially a first order language extended with quantifiers that act upon second order variables of a given arity r, and count the fraction of elements in a subset of r-tuples of a model that satisfy a formula. Our logic is capable of expressing proportional versions of different problems of complexity up to NP-hard as, for example, the problem of deciding if at least a fraction 1/n of the set of vertices of a graph form a clique; and fragments within our logic capture complexity classes as NL and P, with auxiliary ordering relation. When restricted to monadic second order variables our logic of proportional quantifiers admits a semantic approximation based on almost linear orders, which is not as weak as other known logics with counting quantifiers (restricted to almost orders), for it does not has the bounded number of degrees property. Moreover, we show that in this almost ordered setting different fragments of this logic vary in their expressive power, and show the existence of an infinite hierarchy inside our monadic language. We extend our inexpressibility result over almost ordered structure to a fragment of SOLP, that in the presence of full order captures P. To obtain all our inexpressibility results we developed combinatorial games appropriate for these logics, whose application could go beyond the almost ordered models and hence are interesting by themselves.
Lecture Notes in Computer Science, 2002
In classical logic, existential and universal quantifiers express that there exists at least one individual satisfying a formula, or that all individuals satisfy a formula. In many logics, these quantifiers have been generalized to express that, for a non-negative integer § , at least § individuals or all but § individuals satisfy a formula. In modal logics, graded modalities generalize standard existential and universal modalities in that they express, e.g., that there exist at least § accessible worlds satisfying a certain formula. Graded modalities are useful expressive means in knowledge representation; they are present in a variety of other knowledge representation formalisms closely related to modal logic. A natural question that arises is how the generalization of the existential and universal modalities affects the decidability problem for the logic and its computational complexity, especially when the numbers in the graded modalities are coded in binary. In this paper we study the graded¨-calculus, which extens graded modal logic with fixed-point operators, or, equivalently, extends classical¨-calculus with graded modalities. We prove that the decidability problem for graded¨-calculus is EXPTIME-complete-not harder than the decidability problem for¨-calculus, even when the numbers in the graded modalities are coded in binary. © , at least © individuals or all but © individuals satisfy a formula. For example, predicate logic has been extended with so-called counting quantifiers and [GOR97,GMV99,PST00]. In modal logics, graded modalities [Fin72,vdHD95,Tob01] generalize standard existential and universal modalities in that they express, e.g., that there exist at least © accessible worlds satisfying a certain formula. In description logics, number restrictions have always played a central role; e.g., they are present in almost all knowledge-representation systems based on description logic [PSMB 91,BFH 94,Hor98,HM01]. Indeed, in a typical such system, one can describe cars as those vehicles having at least four wheels, and bicyles as those vehicles having exactly two wheels. A natural question that arises is how the generalization of the existential and universal quantifiers affects the decidability problem for the logic and its computational complexity. The complexity of a variety of description logics with different forms of number restrictions has been investigated; see, e.g. [DLNdN91,HB91,DL94b,BBH96,BS99,Tob00]. It turned out that, in many cases, one can extend a logic with these forms of counting quantifiers without increasing its computational complexity. On the other hand, in some cases the extension makes the logic much more complex. A prominent example is the guarded fragment of first order logic, which becomes undecidable when extended with a very weak form of counting quantifiers (global functionality conditions on binary relations) [Grä99]. When investigating the complexity of a logic with a form of counting quantifiers, one must decide how the numbers in these quantifiers contribute to the length of a formula, i.e., to the input of a decision procedure. Assuming that these numbers are coded in unary (i.e.,
Electronic Colloquium on Computational Complexity, 2011
Two graphs with adjacency matrices A and B are isomorphic if there exists a permutation matrix P for which the identity P T AP = B holds. Multiplying through by P and relaxing the permutation matrix to a doubly stochastic matrix leads to the linear programming relaxation known as fractional isomorphism. We show that the levels of the Sherali-Adams (SA) hierarchy of linear programming relaxations applied to fractional isomorphism interleave in power with the levels of a well-known color-refinement heuristic for graph isomorphism called the Weisfeiler-Lehman algorithm, or equivalently, with the levels of indistinguishability in a logic with counting quantifiers and a bounded number of variables. This tight connection has quite striking consequences. For example, it follows immediately from a deep result of Grohe in the context of logics with counting quantifiers, that a fixed number of levels of SA suffice to determine isomorphism of planar and minor-free graphs. We also offer applications both in finite model theory and polyhedral combinatorics. First, we show that certain properties of graphs, such as that of having a flow-circulation of a prescribed value, are definable in the infinitary logic with counting with a bounded number of variables. Second, we exploit a lower bound construction due to Cai, Fürer and Immerman in the context of counting logics to give simple explicit instances that show that the SA relaxations of the vertex-cover and cut polytopes do not reach their integer hulls for up to Ω(n) levels, where n is the number of vertices in the graph.
2006
Several propositional fragments have been considered so far as target languages for knowledge compilation and used for improving computational tasks from major AI areas (like inference, diagnosis and planning); among them are the ordered binary decision diagrams, prime implicates, prime implicants, "formulae" in decomposable negation normal form. On the other hand, the validity problem val(QPROP P S ) for Quantified Boolean Formulae (QBF) has been acknowledged for the past few years as an important issue for AI, and many solvers have been designed. In this paper, the complexity of restrictions of the validity problem for QBF obtained by imposing the matrix of the input QBF to belong to propositional fragments used as target languages for compilation, is identified. It turns out that this problem remains hard (PSPACE-complete) even under severe restrictions on the matrix of the input. Nevertheless some tractable restrictions are pointed out.
Logica Yearbook, 2021
FDE is a logic that captures relevant entailment between implication-free formulae and admits of an intuitive informational interpretation as a 4-valued logic in which “a computer should think”. However, the logic is co-NP complete, and so an idealized model of how an agent can think. We address this issue by shifting to signed formulae where the signs express imprecise values associated with two distinct bipartitions of the set of standard 4 values. Thus, we present a proof system which consists of linear operational rules and only two branching structural rules, the latter expressing a generalized rule of bivalence. This system naturally leads to defining an infinite hierarchy of tractable depth-bounded approximations to FDE. Namely, approximations in which the number of nested applications of the two branching rules is bounded.
Many computational settings are concerned with finding (all) models of a first-order logic theory for a fixed, finite domain. In this paper, we present a method to compute from a given theory and finite domain an approximate structure: a structure that approximates all models. We show confluence of this method and investigate its complexity. We discuss some applications, including 3-valued query answering in integrated and partially incomplete databases, and improved grounding in the context of model expansion for first-order logic.
Actas del Congreso Monteiro, 2023
A general mathematical framework, based on countable partitions of Natural Numbers [1], is presented, that allows to provide a Semantics to propositional languages. It has the particularity of allowing both the valuations and the interpretation Sets for the connectives to discriminate complexity of the formulas. This allows different adequacy criteria to be used to assess formulas associated with the same connective, but that differ in their complexity. The presented method can be adapted potentially infinite number of connectives and truth values, therefore, it can be considered a general framework to provide semantics to several of the known logic systems (eg, LC, L3 LP, FDE). The presented semantics allow to converge to different standard semantics if the separation complexity procedure is annulled. Therefore, it can be understood as a framework that allows greater precision (in complexity terms) with respect to formula satisfaction. Naturally, because of how it is built, it can be incorporated into non-deterministic semantics. The presented procedure also allows generating valuations that grant a different truth value to each formula of propositional language. As a positive side effect, our method allows a constructive proof of the equipotence between N and N^n for all Natural n.
Theoretical Computer Science, 1995
Programme 1 | Architectures parall eles, bases de donn ees, r eseaux et syst emes distribu es Projet Verso Rapport de recherche n 2330 | Septembre 1994 | 35 pages Abstract: We investigate the expressive power of various extensions of rst-order, inductive, and in nitary logic with counting quanti ers. We consider in particular a LOGSPACE extension of rst-order logic, and a PTIME extension of xpoint logic with counters. Counting is a fundamental tool of algorithms. It is essential in the case of unordered structures. Our aim is to understand the expressive power gained with a limited counting ability. We consider two problems: (i) unnested counters, and (ii) counters with no free variables. We prove a hierarchy result based on the arity of the counters under the rst restriction. The proof is based on a game technique that is introduced in the paper. We also establish results on the asymptotic probabilities of sentences with counters under the second restriction. In particular, we show that rst-order logic with equality of the cardinalities of relations has a 0/1 law. Le Pouvoir d'Expression des Compteurs R esum e : Nous etudions le pouvoir d'expression d'extensions de la logique du premier ordre, de la logique inductive et de la logique in nitaire avec des quanti cateurs de comptage. Nous consid erons en particulier une extension LOGSPACE de la logique du premier ordre et une extension PTIME de la logique point-xe. Compter est une op eration fondamentale de l'algorithmique. C'est essentiel dans le cas de structures non ordonn ees. Notre but est de comprendre le pouvoir d'expression r esultant d'une capacit e limit ee de comptage. Nous consid erons deux probl emes : (i) les compteurs non imbriqu es, et (ii) les compteurs sans variable libre. Nous montrons que l'arit e des compteurs induit une hi erarchie stricte dans le cas de la premi ere restriction. La preuve repose sur des techniques de jeu, d e nies dans l'article. Nous montrons aussi des r esultats sur les probabilit es asymptotiques des enonc es avec compteurs sous la seconde restriction. Nous montrons en particulier que la logique du premier-ordre avec un quanti cateur d' equicardinalit e des relations admet une loi 0/1. Mots-cl e : langages de requêtes, logique du premier ordre, logique inductive, compteurs, quanti cateurs g en eralis es, th eorie des mod eles nis, complexit e descriptive On the Expressive Power of Counting 3
Lecture Notes in Computer Science, 2006
We present a second order logic of proportional quantifiers, SOLP, which is essentially a first order language extended with quantifiers that act upon second order variables of a given arity r, and count the fraction of elements in a subset of r-tuples of a model that satisfy a formula. Our logic is capable of expressing proportional versions of different problems of complexity up to NP-hard, and fragments within our logic capture complexity classes as NL and P, with auxiliary ordering relation. When restricted to monadic second order variables our logic of proportional quantifiers admits a semantic approximation based on almost linear orders, which is not as weak as other known logics with counting quantifiers, for it does not has the bounded number of degrees property. Moreover, we show in this almost ordered setting the existence of an infinite hierarchy inside our monadic language. We extend our inexpressibility result to an almost ordered (not necessarily monadic) fragment of SOLP, which in the presence of full order captures P. To obtain all our inexpressibility results we developed combinatorial games appropriate for these logics.
Theoretical Computer Science, 2006
The idea of approximate entailment has been proposed by Schaerf and Cadoli [Tractable reasoning via approximation, Artif. Intell. 74(2) (1995) 249-310] as a way of modelling the reasoning of an agent with limited resources. In that framework, a family of logics, parameterised by a set of propositional letters, approximates classical logic as the size of the set increases. The original proposal dealt only with formulas in clausal form, but in Finger and Wassermann [Approximate and limited reasoning: semantics, proof theory, expressivity and control, J. Logic Comput. 14(2) (2004) 179-204], one of the approximate systems was extended to deal with full propositional logic, giving the new system semantics, an axiomatisation, and a sound and complete proof method based on tableaux. In this paper, we extend another approximate system by Schaerf and Cadoli, presented in a subsequent work [M. Cadoli, M. Schaerf, The complexity of entailment in propositional multivalued logics, Ann. Math. Artif. Intell. 18(1) (1996) 29-50] and then take the idea further, presenting a more general approximation framework of which the previous ones are particular cases, and show how it can be used to formalise heuristics used in theorem proving.
Lecture Notes in Computer Science, 2011
We consider a semantics for a class-based object-oriented calculus based upon approximation; since in the context of LC such a semantics enjoys a strong correspondence with intersection type assignment systems, we also define such a system for our calculus and show that it is sound and complete. We establish the link with between type (we use the terminology predicate here) assignment and the approximation semantics by showing an approximation result, which leads to a sufficient condition for head-normalisation and termination. We show the expressivity of our predicate system by defining an encoding of Combinatory Logic (and so also LC) into our calculus. We show that this encoding preserves predicate-ability and also that our system characterises the normalising and strongly normalising terms for this encoding, demonstrating that the great analytic capabilities of these predicates can be applied to OO.
Journal of Computer and System Sciences, 1996
The relationship between counting functions and logical expressibility is explored. The most well studied class of counting functions is *P, which consists of the functions counting the accepting computation paths of a nondeterministic polynomial-time Turing machine. For a logic L, *L is the class of functions on finite structures counting the tuples (T , cÄ ) satisfying a given formula (T , cÄ ) in L. Saluja, Subrahmanyam, and Thakur showed that on classes of ordered structures *FO=*P (where FO denotes first-order logic) and that every function in * 1 has a fully polynomial randomized approximation scheme. We give a probabilistic criterion for membership in * 1 . A consequence is that functions counting the number of cliques, the number of Hamilton cycles, and the number of pairs with distance greater than two in a graph, are not contained in * 1 . It is shown that on ordered structures * 1 1 captures the previously studied class spanP. On unordered structures *FO is a proper subclass of *P and * 1 1 is a proper subclass of spanP; in fact, no class *L contains all polynomial-time computable functions on unordered structures. However, it is shown that on unordered structures every function in *P is identical almost everywhere with some function *FO, and similarly for * 1 1 and spanP. Finally, we discuss the closure properties of *FO under arithmetical operations. ]
Proceedings of the 11th International Workshop on Formal Techniques for Java-like Programs - FTfJP '09, 2009
We define a small functional calculus that expresses class-based object oriented features and is modelled on the similar calculi of Featherweight Java and Middleweight Java , which are ultimately based upon the Java programming language. We define a predicate system, similar to the one defined in , and show subject reduction and expansion, and argue that program analysis systems can be built on top of this system. Generalising the concept of approximant from the Lambda Calculus, we show that all expressions that we can assign a predicate to have an approximant that satisfies the same predicate. From this, a characterisation of (head-)normalisation follows.
arXiv (Cornell University), 2022
In 1981, Neil Immerman described a two-player game, which he called the "separability game" [14], that captures the number of quantifiers needed to describe a property in first-order logic. Immerman's paper laid the groundwork for studying the number of quantifiers needed to express properties in first-order logic, but the game seemed to be too complicated to study, and the arguments of the paper almost exclusively used quantifier rank as a lower bound on the total number of quantifiers. However, last year Fagin, Lenchner, Regan and Vyas [10] rediscovered the game, provided some tools for analyzing them, and showed how to utilize them to characterize the number of quantifiers needed to express linear orders of different sizes. In this paper, we push forward in the study of number of quantifiers as a bona fide complexity measure by establishing several new results. First we carefully distinguish minimum number of quantifiers from the more usual descriptive complexity measures, minimum quantifier rank and minimum number of variables. Then, for each positive integer k, we give an explicit example of a property of finite structures (in particular, of finite graphs) that can be expressed with a sentence of quantifier rank k, but where the same property needs 2 Ω(k 2) quantifiers to be expressed. We next give the precise number of quantifiers needed to distinguish two rooted trees of different depths. Finally, we give a new upper bound on the number of quantifiers needed to express s-t connectivity, improving the previous known bound by a constant factor.
1993
Consider an informal speci cation S 1 containing the closed world assumption (CWA) for its domain of discourse, the speci cation S 2 obtained from S 1 by removing CWA, a general logic program formalizing S 1 , and an extended logic program T formalizing S 2 . We will say that T is an approximation of . The goal of this paper is to investigate the relationship between formalizations and T. In particular we give a mathematical de nition of approximation, demonstrate its applicability by several examples, present an algorithm which constructs approximation of a large class of general logic programs.
Loading Preview
Sorry, preview is currently unavailable. You can download the paper by clicking the button above.