- Term t, Position
p Pos(t).
- t(p) Symbol an Position p in t
- t Teilterm an Position p in t
- t[p : = s] in t an Position p den Term s einsetzen
Beispiele:
- Term
t = h(1, f (f (2))),
- Positionen
Pos(t) = {, 1, 2, 21, 211},
- Symbol t(2) = f,
- Teilterm
t|2 = f (f (2)),
- Teilterm ersetzen
t[2 : = a] = h(1, a).
Johannes Waldmann
2007-01-30