doc-src/Codegen/Thy/examples/arbitrary.ML
author blanchet
Tue, 17 Aug 2010 16:49:51 +0200
changeset 38491 f7e51d981a9f
parent 30226 2f4684e2ea95
permissions -rw-r--r--
invoke Variable.export/import_term on the entire formula, to make sure that schematic variables don't get different indices in different subterms; this resulted in a subtle soundness bug in Sledgehammer -- introduced by the transition to FOF

structure Codegen = 
struct

val arbitrary_option : 'a option = NONE;

fun dummy_option [] = arbitrary_option
  | dummy_option (x :: xs) = SOME x;

end; (*struct Codegen*)