moved Operation.thy