📑 Table of Contents
Triangle diagram of two terms s ≤ t related by the encompassment preorder.

In theoretical computer science, in particular in automated theorem proving and term rewriting, the containment,[1] or encompassment, preorder (≤) on the set of terms, is defined by[2]

s ≤ t if a subterm of t is a substitution instance of s.

It is used e.g. in the Knuth–Bendix completion algorithm.

Properties

edit

Notes

edit
  1. ^ since both f(x) ≤ f(y) and f(y) ≤ f(x) for variable symbols x, y and a function symbol f
  2. ^ since neither a ≤ b nor b ≤ a for distinct constant symbols a, b
  3. ^ i.e. irreflexive, transitive, and well-founded binary relation R such that sRt implies u[sσ]p R u[tσ]p for all terms s, t, u, each path p of u, and each substitution σ

References

edit
  1. ^ Gerard Huet (1981). "A Complete Proof of Correctness of the Knuth–Bendix Completion Algorithm". J. Comput. Syst. Sci. 23 (1): 11–21. doi:10.1016/0022-0000(81)90002-7.
  2. ^ N. Dershowitz, J.-P. Jouannaud (1990). Jan van Leeuwen (ed.). Rewrite Systems. Handbook of Theoretical Computer Science. Vol. B. Elsevier. pp. 243–320. Here:sect.2.1, p. 250
  3. ^ Dershowitz, Jouannaud (1990), sect.5.4, p. 278; somewhat sloppy, R is required to be a "terminating rewrite relation" there.


📚 Artikel Terkait di Wikipedia

Knuth–Bendix completion algorithm

of rewrite rules by defining (s → t) ▻ (l → r) if s >e l in the encompassment ordering, or s and l are literally similar and t > r. The following example

Term (logic)

the bottom of the term, the latter appends them at the top. The encompassment ordering relates a term and any result of appends on both sides. To each

Encompass Technologies

Encompass Technologies is an American multinational enterprise resource planning (ERP/RAS) and beverage production management software corporation headquartered 

List of national capitals

Constitution gives basic details about the location of the capital, size of the encompassing territory and so forth, while the Seat of Government Act 1908 specified

Gram-negative bacteria

are the clinically relevant Mycobacterium, expanding to most of its encompassing order of Mycobacteriales. They do not have the CSI, and their cell wall

Order of the Bath

may encompass the circlet with 'two laurel branches issuant from an escrol azure inscribed Ich dien', as appears on the badge. Members of the Order of

New World Order conspiracy theory

sovereign nation-states—and an all-encompassing propaganda whose ideology hails the establishment of the New World Order as the culmination of history's

Preorder

(hence the name). Reduction relations in abstract rewriting systems. The encompassment preorder on the set of terms, defined by s ≲ t {\displaystyle s\lesssim