Skip to content

Commit e59c164

Browse files
committed
term rewriting
1 parent 460505d commit e59c164

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Cards/Term Rewriting and All That.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ A: "$x$ and $y$ are convertible"
7272
C:
7373
Term: [normalizing rewrite system]
7474

75-
Definition: [A rewrite system where every element has a normal form.]
75+
Definition: [A rewrite system where every element has at least one normal form.]
7676

7777
C:
7878
[$\text{SemiConfluent}(R)$]
@@ -88,3 +88,7 @@ A: Let $\text{Confluent}(R)$ and pick a term $x$. There are two possibilities.
8888
One, $x$ has zero or one normal form, which satisfies the theorem.
8989

9090
Two, $x$ has more than one normal form. Pick at least two normal forms $y$ and $z$. We know $x \starpath y$ and $x \starpath z$, thus $y \conv z$ and by confluence, $y \downarrow z$, which means they can't be normal forms. Contradiction.
91+
92+
Q: Give a proof sketch of the following theorem: if a relation $R$ is normalizing and confluent, then every element has a unique normal form.
93+
94+
A: If $R$ is normalizing then every element must have at least one normal form, and we know that under confluence, multiple normal forms lead to a contradiction. Therefore, $x!$ is unique.

0 commit comments

Comments
 (0)