src/HOL/Tools/SMT/z3_real.ML
author Fabian Huch <huch@in.tum.de>
Tue, 19 Mar 2024 00:42:09 +0100
changeset 79929 08b83f91a1b2
parent 78177 ea7a3cc64df5
permissions -rw-r--r--
disable taskset for now: performance impact is negative;

(*  Title:      HOL/Tools/SMT/z3_real.ML
    Author:     Sascha Boehme, TU Muenchen

Z3 setup for reals  based on a relaxed version of SMT-LIB (outside of LIRA).
*)

structure Z3_Real: sig end =
struct

val setup_builtins =
  SMT_Builtin.add_builtin_fun' Z3_Interface.smtlib_z3C
    (\<^Const>\<open>times \<^Type>\<open>real\<close>\<close>, "*") #>
  SMT_Builtin.add_builtin_fun' Z3_Interface.smtlib_z3C
    (\<^Const>\<open>divide \<^Type>\<open>real\<close>\<close>, "/")


val _ = Theory.setup (Context.theory_map
  setup_builtins)

end;