src/HOL/Tools/SMT/z3_real.ML
author wenzelm
Wed, 12 Mar 2025 11:39:00 +0100
changeset 82265 4b875a4c83b0
parent 78177 ea7a3cc64df5
permissions -rw-r--r--
update for release;

(*  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;