doc-src/Tutorial/Datatype/tsubst
author paulson
Tue, 13 Jan 2004 10:37:52 +0100
changeset 14354 988aa4648597
parent 5851 15ce4c1c8313
permissions -rw-r--r--
types complex and hcomplex are now instances of class ringpower: omitting redundant lemmas
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5851
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     1
primrec
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     2
  "subst s (Var x) = s x"
15ce4c1c8313 New section on advanced datatypes.
nipkow
parents:
diff changeset
     3
  "subst s (App f ts) = App f (substs s ts)"