src/HOL/Tools/SMT2/smt2_systems.ML
changeset 56131 836b47c6531d
parent 56125 e03c0f6ad1b6
child 56467 8d7d6f17c6a7
equal deleted inserted replaced
56130:1ef77430713b 56131:836b47c6531d
   110 fun if_z3_non_commercial f =
   110 fun if_z3_non_commercial f =
   111   (case z3_non_commercial () of
   111   (case z3_non_commercial () of
   112     Z3_Non_Commercial_Accepted => f ()
   112     Z3_Non_Commercial_Accepted => f ()
   113   | Z3_Non_Commercial_Declined =>
   113   | Z3_Non_Commercial_Declined =>
   114       error (Pretty.string_of (Pretty.para
   114       error (Pretty.string_of (Pretty.para
   115         "The SMT solver Z3 may only be used for non-commercial applications."))
   115         "The SMT solver Z3 may be used only for non-commercial applications."))
   116   | Z3_Non_Commercial_Unknown =>
   116   | Z3_Non_Commercial_Unknown =>
   117       error (Pretty.string_of (Pretty.para
   117       error (Pretty.string_of (Pretty.para
   118         ("The SMT solver Z3 is not activated. To activate it, set the Isabelle \
   118         ("The SMT solver Z3 is not activated. To activate it, set the Isabelle \
   119          \system option \"z3_non_commercial\" to \"yes\" (e.g. via \
   119          \system option \"z3_non_commercial\" to \"yes\" (e.g. via \
   120          \the Isabelle/jEdit menu Plugin Options / Isabelle / General)."))))
   120          \the Isabelle/jEdit menu Plugin Options / Isabelle / General)."))))