You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Cards/Term Rewriting and All That.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,3 +95,41 @@ A: If $R$ is normalizing then every element must have at least one normal form,
95
95
96
96
Q: Explain the intuition behind the following theorem: if a relation $R$ is normalizing and confluent, then every element has a unique normal form.
97
97
A: Normalizing means every element has at least one normal form. Confluence means multiple normal forms must be joinable, i.e., not normal forms at all. Therefore this implies uniqueness of the normal form.
98
+
99
+
C:
100
+
Term: [finitely branching relation]
101
+
102
+
Definition: [A relation where every element has only finitely many direct successors.]
103
+
104
+
C:
105
+
Term: [globally finite relation]
106
+
107
+
Definition: [A relation where every element has only finitely many distinct successors.]
108
+
109
+
Q: Difference between termination and global finitude of a relation.
110
+
A: Termination: the chains from every element have finite length.
111
+
112
+
Global finitude: the set of distinct successors from every element is finite.
113
+
114
+
Q: Give an example of a relation that is globally finite but non-terminating.
115
+
A:
116
+
$$\set{a \to b, b \to a}$$
117
+
118
+
The set of successors is $\set{a,b}$ for every element.
119
+
120
+
C:
121
+
Term: [acyclic relation]
122
+
123
+
Definition: [A relation where there is no element $a$ such that $a \pluspath a$.]
124
+
125
+
Q: Give an example of a relation that is terminating but not finitely branching.
126
+
A: The relation:
127
+
128
+
$$
129
+
\begin{align*}
130
+
a \to n, & \forall n \in \N \\\\
131
+
n \to b, & \forall n \in N
132
+
\end{align*}
133
+
$$
134
+
135
+
That is: $a$ rewrites to any natural number, and every natural number rewrites to $b$.
0 commit comments