Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Term rewriting system, confluence?

También llamado: term rewriting system · confluence

Definition 5.6 University Computer Science — Year 3 · Capítulo 5 — The Lambda Calculus and Operational Semantics

A rewriting system is a set AA with a relation →\to on it, often given by rules that rewrite terms (a term rewriting system); →∗\to^* is its reflexive transitive closure. The system is confluent if whenever a→∗ba \to^* b and a→∗ca \to^* c, there is a dd with b→∗db \to^* d and c→∗dc \to^* d; locally confluent if this holds whenever a→ba \to b and a→ca \to c in one step each; terminating if there is no infinite chain a0→a1→⋯a_0 \to a_1 \to \cdots.

Left: what confluence asks. Right: the proof of Newman’s lemma, three tiles. Local confluence closes the top diamond; the induction hypothesis, used at the two one-step reducts b_1 and c_1, closes the two others. Termination is what makes the induction legitimate.
Left: what confluence asks. Right: the proof of Newman’s lemma, three tiles. Local confluence closes the top diamond; the induction hypothesis, used at the two one-step reducts b1b_1 and c1c_1, closes the two others. Termination is what makes the induction legitimate.
Leer en el capítulo →