doc-src/Tutorial/Misc/Sep.thy
author wenzelm
Fri, 09 Nov 2001 00:16:52 +0100
changeset 12119 fab22bdb1496
parent 5377 efb799c5ed3c
permissions -rw-r--r--
added impose_hyps_tac; robustify insts of tactic emulations;

Sep = List +
consts sep :: "'a * 'a list => 'a list"
recdef sep "measure (%(a,xs). length xs)"
    "sep(a, [])     = []"
    "sep(a, [x])    = [x]"
    "sep(a, x#y#zs) = x # a # sep(a,y#zs)"
end