共查询到20条相似文献,搜索用时 15 毫秒
1.
For reasons of efficiency, term rewriting is usually implemented by term graph rewriting. In term rewriting, expressions are represented as terms, whereas in term graph rewriting these are represented as directed graphs. Unlike terms, graphs allow a sharing of common subexpressions. In previous work, we have shown that conditional term graph rewriting is a sound and complete implementation for a certain class of CTRSs with strict equality, provided that a minimal structure sharing scheme is used. In this paper, we will show that this is also true for two different extensions of normal CTRSs. In contrast to the previous work, however, a non-minimal structure sharing scheme can be used. That is, the amount of sharing is increased. 相似文献
2.
Miquel Bofill Guillem Godoy Robert Nieuwenhuis Albert Rubio 《Journal of Automated Reasoning》2003,30(1):99-120
Up to now, all existing completeness results for ordered paramodulation and Knuth–Bendix completion have required term ordering to be well founded, monotonic, and total(izable) on ground terms. For several applications, these requirements are too strong, and hence weakening them has been a well-known research challenge.Here we introduce a new completeness proof technique for ordered paramodulation where the only properties required on are well-foundedness and the subterm property. The technique is a relatively simple and elegant application of some fundamental results on the termination and confluence of ground term rewrite systems (TRS).By a careful further analysis of our technique, we obtain the first Knuth–Bendix completion procedure that finds a convergent TRS for a given set of equations E and a (possibly non-totalizable) reduction ordering whenever it exists. Note that being a reduction ordering is the minimal possible requirement on , since a TRS terminates if, and only if, it is contained in a reduction ordering. 相似文献
3.
We define infinitary Combinatory Reduction Systems (iCRSs), thus providing the first notion of infinitary higher-order rewriting. The systems defined are sufficiently general that ordinary infinitary term rewriting and infinitary λ-calculus are special cases.Furthermore, we generalise a number of known results from first-order infinitary rewriting and infinitary λ-calculus to iCRSs. In particular, for fully-extended, left-linear iCRSs we prove the well-known compression property, and for orthogonal iCRSs we prove that (1) if a set of redexes U has a complete development, then all complete developments of U end in the same term and that (2) any tiling diagram involving strongly convergent reductions S and T can be completed iff at least one of S/T and T/S is strongly convergent.We also prove an ancillary result of independent interest: a set of redexes in an orthogonal iCRS has a complete development iff the set has the so-called finite jumps property. 相似文献
4.
5.
This paper reports on work in progress on using rewriting techniques for the specification and the verification of communication protocols. As in Genet and Klay's approach to formalizing protocols, a rewrite system describes the steps of the protocol and an intruder's ability of decomposing and decrypting messages, and a tree automaton encodes the initial set of communication requests and an intruder's initial knowledge. In a previous work we have defined a rewriting strategy that, given a term t that represents a property of the protocol to be proved, suitably expands and reduces t using the rules in and the transitions in to derive whether or not t is recognized by an intruder. In this paper we present a formalization of the Needham-Schroeder symmetric-key protocol and use the rewriting strategy for deriving two well-known authentication attacks. 相似文献
6.
7.
We introduce a registration‐based propagation strategy to extract temporally coherent skeletons from the animated surfaces. We first extract complete skeletons for the key frames of the animated surfaces, and present a spatio‐temporal L1‐medial skeleton extraction method to extract the initial skeletons for the immediate frames between the key frames. As these initial skeletons may not be complete, we then develop a global skeleton alignment method, which effectively warps the key skeleton to these initial skeletons subsequently. By using the geometry merging, we propagate the geometry of the warped key skeleton to the initial skeletons, and produce temporally coherent skeletons for the input animated surfaces. Our system can be applied to the raw scanned animated object and requires only minimal user interaction to extract complete and temporally coherent animated skeletons. Copyright © 2015 John Wiley & Sons, Ltd. 相似文献
8.
For a constructor-based rewrite system R, a regular set of ground terms E, and assuming some additional restrictions, we build a finite tree automaton that recognizes the descendants of E, i.e. the terms issued from E by rewriting, according to leftmost strategy. 相似文献
9.
Mechanized systems for equational inference often produce many terms that are permutations of one another. We propose to gain efficiency by dealing with such sets of terms in a uniform manner, by the use of efficient general algorithms on permutation groups. We show how permutation groups arise naturally in equational inference problems, and study some of their properties. We also study some general algorithms for processing permutations and permutation groups, and consider their application to equational reasoning and term-rewriting systems. Finally, we show how these techniques can be incorproated into resolution theorem-proving strategies. 相似文献
10.
Jürgen Giesl René Thiemann Peter Schneider-Kamp Stephan Falke 《Journal of Automated Reasoning》2006,37(3):155-203
The dependency pair technique is a powerful method for automated termination and innermost termination proofs of term rewrite
systems (TRSs). For any TRS, it generates inequality constraints that have to be satisfied by well-founded orders. We improve
the dependency pair technique by considerably reducing the number of constraints produced for (innermost) termination proofs.
Moreover, we extend transformation techniques to manipulate dependency pairs that simplify (innermost) termination proofs
significantly. To fully mechanize the approach, we show how transformations and the search for suitable orders can be mechanized
efficiently. We implemented our results in the automated termination prover AProVE and evaluated them on large collections
of examples.
Supported by the Deutsche Forschungsgemeinschaft DFG, grant GI 274/5-1. 相似文献
11.
本文考虑如何设计高效率(即重写步数较少的)重写型程序。文中以计算Fibonacci数列的程序为例.比较具有相同功能的重写型程序,展示编写高效率重写型程序的可能性。介绍利用动态项重写计算编写高效率重写型程序的直观、简洁的方法。其中.动态项重写计算是项重写系统的元计算模型,其计算同样基于项重写。 相似文献
12.
We present a completion procedure (called MKB) that works for multiple reduction orderings. Given equations and a set of reduction orderings, the procedure simulates a computation performed by the parallel processes each of which executes the standard completion procedure (KB) with one of the given orderings. To gain efficiency, however, we develop new inference rules working on objects called nodes, which are data structures consisting of a pair s : t of terms associated with the information to show which processes contain the rule s t (or t s) and which processes contain the equation s t. The idea is based on the observation that some inferences made in different processes are often closely related, so we can design inference rules that simulate these inferences all in a single operation. Our experiments show that MKB is significantly more efficient than the naive simulation of parallel execution of KB procedures, when the number of reduction orderings is large enough. We also present an extension of this technique to the unfailing completion for multiple reduction orderings, which is useful in various areas of automated reasoning, including equational theorem proving. 相似文献
13.
Su Feng 《计算机科学技术学报》2005,20(4):496-513
The paper presents three formal proving methods for generalized weakly ground terminating property, i.e., weakly terminating property in a restricted domain of a term rewriting system, one with structural induction, one with cover-set induction, and the third without induction, and describes their mechanization based on a meta-computation model for term rewriting systems-dynamic term rewriting calculus. The methods can be applied to non-terminating, non-confluent and/or non-left-linear term rewriting systems. They can do \"forward proving\" by applying propositions in the proof, as well as \"backward proving\" by discovering lemmas during the proof. 相似文献
14.
Jean-Pierre Jouannau Yoshihito Toyama 《International Journal of Software and Informatics》2008,2(1):61-75
In Ref.[19], Toyama proved that the union of two confluent term-rewriting systems that share absolutely no function symbols or constants is likewise confluent, a property called modularity. The proof of this beautiful modularity result, technically based on slicing terms into an homogeneous cap and a so called alien, possibly heterogeneous substitution,was later substantially simplified in Refs.[8,12]. In this paper, we present a further simplification of the proof of Toyama's result for confluence, which shows that the crux of the problem lies on two di?erent properties: a cleaning lemma, whose goal is to anticipate the application of collapsing reductions and a modularity property of ordered completion that allows to pairwise match the caps and alien substitutions of two equivalent terms obtained from the cleaning lemma. The approach allows for arbitrary kinds of rules, and scales up to rewriting modulo arbitrary sets of equations. 相似文献
15.
A compact size of 40 × 40 mm2 ( λ0 × λ0 ) semi‐elliptical slotted ground structure (SESGS) directional ultra‐wideband (UWB) antenna is proposed for radar imaging applications. A vertical semi‐elliptical slot is inserted into ground and subsequently, an axis of semi‐ellipse is rotated diagonally (with 45°) in direction of the substrate. Axes of semi‐ellipse are optimized symmetrically around the circular patch to work antenna as a reflector. Furthermore, semi‐elliptical slot is rotated horizontally (with 90°) again to improve the impedance bandwidth. Proposed antenna achieves fractional bandwidth around 83% covering the UWB frequency range from 4.40 to 10.60 GHz (S11 < ?10 dB) having 4.5/6/7/8/9.3/10.2 GHz resonant frequencies. Also, antenna is capable to send low‐distortion Gaussian pulses with fidelity factor more than 95% in time‐domain. Measured gain and half power beam width (HPBW) are 6.1‐9.1 dBi and 44°‐29° in 4.40‐10.60 GHz band, respectively, which show an improvement of 1‐3 dBi in gain and half power beam‐width is reduced by 5°‐10° when compared with previously designed antennas. Experimental results show good agreement with CST simulation. 相似文献
16.
Abstract Congruence Closure 总被引:3,自引:0,他引:3
We describe the concept of an abstract congruence closure and provide equational inference rules for its construction. The length of any maximal derivation using these inference rules
for constructing an abstract congruence closure is at most quadratic in the input size. The framework is used to describe
the logical aspects of some well-known algorithms for congruence closure. It is also used to obtain an efficient implementation
of congruence closure. We present experimental results that illustrate the relative differences in performance of the different
algorithms. The notion is extended to handle associative and commutative function symbols, thus providing the concept of an
associative-commutative congruence closure. Congruence closure (modulo associativity and commutativity) can be used to construct ground convergent rewrite systems corresponding
to a set of ground equations (containing AC symbols).
This revised version was published online in August 2006 with corrections to the Cover Date. 相似文献
17.
An approach to the problem of translation of algebraic programs into executable codes is presented. In particular, an algorithm
for translation of algebraic programs represented in the language Aplan into C codes is proposed. An algorithm of reconstruction
of types in Aplan is considered that also checks the absence of features used for dynamic specification of procedures in a
code.
__________
Translated from Kibernetika i Sistemnyi Analiz, No. 5, pp. 168–176, September–October 2005. 相似文献
18.
An algebraic specification of a new rewriting machine for fast rewriting of terms is considered. Theorems on the correctness of this specification are proved. A method for optimization of a strategy of iterative rewriting is proposed. 相似文献
19.
In object programming languages, the Visitor design pattern allows separation of algorithms and data structures. When applying this pattern to tree‐like structures, programmers are always confronted with the difficulty of making their code evolve. One reason is that the code implementing the algorithm is interwound with the code implementing the traversal inside the visitor. When implementing algorithms such as data analyses or transformations, encoding the traversal directly into the algorithm turns out to be cumbersome as this type of algorithm only focuses on a small part of the data‐structure model (e.g., program optimization). Unfortunately, typed programming languages like Java do not offer simple solutions for expressing generic traversals. Rewrite‐based languages like ELAN or Stratego have introduced the notion of strategies to express both generic traversal and rule application control in a declarative way. Starting from this approach, our goal was to make the notion of strategic programming available in a widely used language such as Java and thus to offer generic traversals in typed Java structures. In this paper, we present the strategy language SL that provides programming support for strategies in Java. Copyright © 2012 John Wiley & Sons, Ltd. 相似文献
20.
Jakob Grue Simonsen 《Information Processing Letters》2004,91(3):141-146
We show that non-collapsing orthogonal term rewriting systems do not have the transfinite Church-Rosser property in the setting of Cauchy convergence. In addition, we show that for (a transfinite version of) the Parallel Moves Lemma to hold, any definition of residual for Cauchy convergent rewriting must either part with a number of fundamental properties enjoyed by rewriting systems in the finitary and strongly convergent settings, or fail to hold for very simple rewriting systems. 相似文献