Filters

126,282 Hits in 12.4 sec

### Elimination of Local Variables from Definite Logic Programs

Javier Álvez, Paqui Lucio
2005 Electronical Notes in Theoretical Computer Science
In this paper, we introduce an effective method that takes a definite logic program and transforms it into a local variable free (definite) program.  ...  In logic programming, a variable is said to be local if it occurs in a clause body but not in its head atom.  ...  Acknowledgement We are very grateful for the helpful comments we receive from our referees.  ...

### An Algorithm for Local Variable Elimination in Normal Logic Programs [chapter]

Javier Álvez, Paqui Lucio
2006 Lecture Notes in Computer Science
In this paper, we introduce an algorithm that eliminates local variables from a wide proper subclass of normal logic programs.  ...  Local variables appear naturally in practical logic programming, but they complicate several aspects such as negation, compilation, memoization, static analysis, program approximation by neural networks  ...  Acknowledgment: We would like to thank the anonymous referees for their valuable comments, which aided in improving the quality of this paper and in clarifying the presentation.  ...

### Propositional dynamic logic with local assignment

M.L. Tiomkin, J.A. Makowsky
1985 Theoretical Computer Science
We propose an extension of Propositional Dynamic l_bgic which allows a new kind of program terms---local assignments to propositional variables.  ...  In this logic, many notions, like equivalence of programs, looping and finitely branching, are expressible on a propositional level.  ...  So, from a point of view of proving valid formulas the operator -(converse) is not necessary and we can eliminate it from our definitions. Proof.  ...

### Transforming normal logic programs to constraint logic programs

Kanchana Kanchanasut, Peter J. Stuckey
1992 Theoretical Computer Science
The completed predicate definitions in P'", if they do not contain local variables, can be used as a basis for expanding each negated atom in the bodies of P"'.  ...  We show that for a class of programs where every negative subgoal can be expanded, the resultant program R' is a definite logic program with equality and disequality constraints.  ...  a local-variable-free definition.  ...

### Types and invariants in the refinement calculus

Carroll Morgan, Trevor Vickers
1990 Science of Computer Programming
I. tatmductioa Program developments in the style of Dijkstra [2] rely on imp&cit typing of variables.  ...  (Note that Definitions 3.1 and 3.3 differ slightly from the notation of [9], where specification (1) would be written n : [m > 0, n 6 m].  ...  An untyped local variable x is introduced using brackets i[. . .]I. It is defined as f-oliows: the declaration vat and scope Definition 3.4 (Untyped local variable).  ...

### Types and invariants in the refinement calculus [chapter]

Carroll Morgan
1989 Lecture Notes in Computer Science
I. tatmductioa Program developments in the style of Dijkstra [2] rely on imp&cit typing of variables.  ...  (Note that Definitions 3.1 and 3.3 differ slightly from the notation of [9], where specification (1) would be written n : [m > 0, n 6 m].  ...  An untyped local variable x is introduced using brackets i[. . .]I. It is defined as f-oliows: the declaration vat and scope Definition 3.4 (Untyped local variable).  ...

### Types and Invariants in the Refinement Calculus [chapter]

Carroll Morgan, Trevor Vickers
1992 On the Refinement Calculus
I. tatmductioa Program developments in the style of Dijkstra [2] rely on imp&cit typing of variables.  ...  (Note that Definitions 3.1 and 3.3 differ slightly from the notation of [9], where specification (1) would be written n : [m > 0, n 6 m].  ...  An untyped local variable x is introduced using brackets i[. . .]I. It is defined as f-oliows: the declaration vat and scope Definition 3.4 (Untyped local variable).  ...

### The Transformational Approach to Program Development [chapter]

Alberto Pettorossi, Maurizio Proietti, Valerio Senni
2010 Lecture Notes in Computer Science
We also describe the use of the transformation methodology for the synthesis of logic programs from first-order specifications.  ...  Then, we present the transformation strategies and, through some examples, we illustrate their use for improving program efficiency via the elimination of unnecessary variables, the reduction of nondeterminism  ...  Many thanks also to Agostino Dovier and Enrico Pontelli, editors of this book, for their invitation to present the contributions of the program transformation methodology in the field of logic programming  ...

### Logic-based Binding Time Analysis for Java Using Reaching Definitions

Susumu Yamazaki, Takayuki Kando, Michihiro Matsumoto, Tsuneo Nakanishi, Teruaki Kitasuka, Akira Fukuda
2005 IPSJ Digital Courier
Then, we propose a new algorithm of logic-based binding time analysis using reaching definitions analysis, which is widely used among many other analyses.  ...  Especially, instruction-dependent processes are almost entirely eliminated.  ...  We are grateful to Etsuya Shibayama in Tokyo Institute of Technology and Hidehiko Masuhara in Tokyo University for many helpful comments and stimulating discussions.  ...

### Eliminating negation from normal logic programs [chapter]

Kanchana Kanchanasut, Peter Stuckey
1990 Lecture Notes in Computer Science
The completed predicate definitions in P ω , if they do not contain local variables, can be used as a basis for expanding each negated atom in the bodies of P ω .  ...  We show that for a class of programs where every negative subgoal can be expanded, the resultant program P is a definite logic program with equality and disequality constraints.  ...  We call a variable y ∈ Y i a local variable [12] if it does not occur inx =s i . If no variables in each E i of p are local, we say p has an eligible definition .  ...

### Programmed Strategies for Program Verification

Richard B. Kieburtz
2007 Electronical Notes in Theoretical Computer Science
In Programatica, predicate definitions and property assertions written in P-logic, a programming logic for Haskell, can be embedded in the text of a Haskell program module.  ...  Plover is an automated property-verifier for Haskell programs that has been under development for the past three years as a component of the Programatica project.  ...  The strategy that renames with fresh variables all occurrences of variables bound in the pattern of a local definition cannot fail.  ...

### Transformational methodology for proving termination of logic programs

M.R.K. Krishna Rao, Deepak Kapur, R.K. Shyamasundar
1998 The Journal of Logic Programming
A transformation procedure is presented to derive a term rewriting system from a given well-moded logic program such that the termination of the derived rewrite system implies the termination of the logic  ...  A methodology for proving the termination of well-moded logic programs is developed by reducing the termination problem of logic programs to that of term rewriting systems.  ...  Klop of CWI for their helpful comments. Thanks are also due to the anonymous referees, whose comments have greatly improved the presentation. Dr.  ...

### A mechanism for information control in parallel systems

Richard P. Reitman
1979 Proceedings of the seventh symposium on Operating systems principles - SOSP '79
Denning and Denning have shown how the information security of sequential programs can be certified by a compile-time mechanism [3].  ...  This paper extends their work by presenting a mechanism for certifying parallel programs. The mechanism is shown to be consistent with an axiomatic description of information transmission.  ...  This research has benefited greatly from discussions with Greg Andrews, Carl Hauser, and Nancy McCracken.  ...

### Visual Theorem Proving with the Incredible Proof Machine [chapter]

Joachim Breitner
2016 Lecture Notes in Computer Science
In particular, we describe a way to determine the scope of local assumptions and variables implicitly. Our practical classroom experience backs these claims.  ...  The Incredible Proof Machine is an easy and fun to use program to conduct formal proofs.  ...  Furthermore, I thank the anonymous referees for the encouraging review and the list of feature requests.  ...

### The Characterization on the Uniqueness of Answer Set for Prioritized Logic Programs [chapter]

Yan Zhang, Yun Bai
2003 Lecture Notes in Computer Science
Specifically, we propose a characterization on the uniqueness of answer set for prioritized logic programs, which has a weaker form than the traditional local stratification for general logic programs.  ...  In this paper, we investigate basic properties of prioritized logic programs in the context of answer set semantics.  ...  In Definition 2, 3 q is a ground extended logic program obtained from # by eliminating some rules from # .  ...
« Previous Showing results 1 — 15 out of 126,282 results