416 research outputs found

    A Denotational Semantics for First-Order Logic

    Get PDF
    In Apt and Bezem [AB99] (see cs.LO/9811017) we provided a computational interpretation of first-order formulas over arbitrary interpretations. Here we complement this work by introducing a denotational semantics for first-order logic. Additionally, by allowing an assignment of a non-ground term to a variable we introduce in this framework logical variables. The semantics combines a number of well-known ideas from the areas of semantics of imperative programming languages and logic programming. In the resulting computational view conjunction corresponds to sequential composition, disjunction to ``don't know'' nondeterminism, existential quantification to declaration of a local variable, and negation to the ``negation as finite failure'' rule. The soundness result shows correctness of the semantics with respect to the notion of truth. The proof resembles in some aspects the proof of the soundness of the SLDNF-resolution.Comment: 17 pages. Invited talk at the Computational Logic Conference (CL 2000). To appear in Springer-Verlag Lecture Notes in Computer Scienc

    Using global analysis, partial specifications, and an extensible assertion language for program validation and debugging

    Get PDF
    We discuss a framework for the application of abstract interpretation as an aid during program development, rather than in the more traditional application of program optimization. Program validation and detection of errors is first performed statically by comparing (partial) specifications written in terms of assertions against information obtained from (global) static analysis of the program. The results of this process are expressed in the user assertion language. Assertions (or parts of assertions) which cannot be checked statically are translated into run-time tests. The framework allows the use of assertions to be optional. It also allows using very general properties in assertions, beyond the predefined set understandable by the static analyzer and including properties defined by user programs. We also report briefly on an implementation of the framework. The resulting tool generates and checks assertions for Prolog, CLP(R), and CHIP/CLP(fd) programs, and integrates compile-time and run-time checking in a uniform way. The tool allows using properties such as types, modes, non-failure, determinacy, and computational cost, and can treat modules separately, performing incremental analysis

    On completeness of logic programs

    Full text link
    Program correctness (in imperative and functional programming) splits in logic programming into correctness and completeness. Completeness means that a program produces all the answers required by its specification. Little work has been devoted to reasoning about completeness. This paper presents a few sufficient conditions for completeness of definite programs. We also study preserving completeness under some cases of pruning of SLD-trees (e.g. due to using the cut). We treat logic programming as a declarative paradigm, abstracting from any operational semantics as far as possible. We argue that the proposed methods are simple enough to be applied, possibly at an informal level, in practical Prolog programming. We point out importance of approximate specifications.Comment: 20 page

    Symmetry and induction in model checking

    Full text link

    q-Breathers in Discrete Nonlinear Schroedinger arrays with weak disorder

    Get PDF
    Nonlinearity and disorder are key players in vibrational lattice dynamics, responsible for localization and delocalization phenomena. qq-Breathers -- periodic orbits in nonlinear lattices, exponentially localized in the reciprocal linear mode space -- is a fundamental class of nonlinear oscillatory modes, currently found in disorder-free systems. In this paper we generalize the concept of qq-breathers to the case of weak disorder, taking the Discrete Nonlinear Schr\"{o}dinger chain as an example. We show that qq-breathers retain exponential localization near the central mode, provided that disorder is sufficiently small. We analyze statistical properties of the instability threshold and uncover its sensitive dependence on a particular realization. Remarkably, the threshold can be intentionally increased or decreased by specifically arranged inhomogeneities. This effect allows us to formulate an approach to controlling the energy flow between the modes. The relevance to other model arrays and experiments with miniature mechanical lattices, light and matter waves propagation in optical potentials is discussed.Comment: 5 pages, 3 figure
    • 

    corecore