val result = if File.exists out_path then File.read out_path else""
val (res, res_msg) = get_result rc val _ = Sum_of_Squares.trace_message ctxt (fn () => str_of_result res ^ ": " ^ res_msg) in
(case res of
Success => result
| Failure => raise Sum_of_Squares.Failure res_msg
| Error => error ("Prover failed: " ^ res_msg)) end))
(* method setup *)
fun print_cert cert =
Output.information
("To repeat this proof with a certificate use this command:\n" ^
Active.sendback_markup_command
("by (sos \"" ^ Positivstellensatz_Tools.print_cert cert ^ "\")"))
val _ = Theory.setup
(Method.setup \<^binding>\<open>sos\<close>
(Scan.lift (Scan.option Parse.string)
>> (fn arg => fn ctxt => SIMPLE_METHOD' (sos_tac ctxt arg))) "prove universal problems over the reals using sums of squares")
end
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.15Bemerkung:
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.