make sure the SMT solver runs several iterations by lowering the timeout at each iteration -- yields better results in practice
structure Codegen =
struct
val arbitrary_option : 'a option = NONE;
fun dummy_option [] = arbitrary_option
| dummy_option (x :: xs) = SOME x;
end; (*struct Codegen*)