词条 | Rewrite order | |||||||||||||||||||||||||||||||
释义 |
In theoretical computer science, in particular in automated theorem proving and term rewriting, a binary relation (→) on the set of terms is called a rewrite relation if it is closed under contextual embedding and under instantiation; formally: if l→r implies u[lσ]p→u[rσ]p for all terms l, r, u, each path p of u, and each substitution σ. If (→) is also irreflexive and transitive, then it is called a rewrite ordering,[1] or rewrite preorder. If the latter (→) is moreover well-founded, it is called a reduction ordering,[2] or a reduction preorder. Given a binary relation R, its rewrite closure is the smallest rewrite relation containing R.[3] A transitive and reflexive rewrite relation that contains the subterm ordering is called a simplification ordering.[4]
Properties
Notes1. ^Dershowitz, Jouannaud (1990), sect.2.1, p.251 2. ^1 2 Dershowitz, Jouannaud (1990), sect.5.1, p.270 3. ^Dershowitz, Jouannaud (1990), sect.2.2, p.252 4. ^1 Dershowitz, Jouannaud (1990), sect.5.2, p.274 5. ^Parenthesized entries indicate inferred properties which are not part of the definition. For example, an irreflexive relation can't be reflexive (on a nonempty domain set). 6. ^except all xi are equal for all i beyond some n, for a reflexive relation 7. ^Dershowitz, Jouannaud (1990), sect.2.1, p.251 8. ^Since x<y implies y<x, since the latter is an instance of the former, for variables x, y. 9. ^1 Dershowitz, Jouannaud (1990), sect.5.1, p.272 10. ^i.e. if {{math|li > ri}} for all i, where (>) is a reduction ordering; the system needn't have finitely many rules 11. ^Since e.g. {{math|a>b}} implied {{math|g(a)>g(b)}}, meaning the second rewrite rule was not decreasing. 12. ^1 Dershowitz, Jouannaud (1990), sect.5.1, p.271 13. ^i.e. a ground-total reduction ordering 14. ^{{cite techreport| author=David A. Plaisted| title=A Recursively Defined Ordering for Proving Termination of Term Rewriting Systems| year=1978| number=R-78-943| pages=52| institution=Univ. of Illinois, Dept. of Comp. Sc.| url=https://archive.org/details/recursivelydefin943plai}} 15. ^i.e. a simplification ordering 16. ^The proof of this property is based on Higman's lemma, or, more generally, Kruskal's tree theorem. 17. ^{{cite journal | author=N. Dershowitz | title=Orderings for Term-Rewriting Systems | journal=Theoret. Comput. Sci. | volume=17 | number=3 | pages=279--301 | url=http://www.cs.tau.ac.il/~nachum/papers/Orderings4TRS.pdf | year=1982 }} Here: p.287; the notions are named slightly different. References{{cite book| author1=Nachum Dershowitz |author2= Jean-Pierre Jouannaud| title=Rewrite Systems| year=1990| volume=B| pages=243–320| publisher=Elsevier| editor=Jan van Leeuwen| series=Handbook of Theoretical Computer Science}}{{reflist}}{{comp-sci-stub}} 2 : Rewriting systems|Order theory |
|||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。