move some theorems in sketch to a separate theory