Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
File size: 2,127 Bytes
4365a98 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
(* ========================================================================= *)
(* A tool for formal verification of nonlinear inequalities in HOL Light. *)
(* *)
(* (c) Alexey Solovyev 2012. *)
(* *)
(* Distributed under the same license as HOL Light. *)
(* ========================================================================= *)
needs "Multivariate/realanalysis.ml";;
(* ------------------------------------------------------------------------- *)
(* Main load. *)
(* ------------------------------------------------------------------------- *)
load_path := (Filename.concat (!hol_dir) "Formal_ineqs") ::
(!load_path);;
loadt "Formal_ineqs/verifier/m_verifier_main.hl";;
open M_verifier_main;;
(* ------------------------------------------------------------------------- *)
(* See docs/FormalVerifier.pdf for more information. A simple example: *)
(* *)
(* let ineq = *)
(* `-- &1 / sqrt(&3) <= x /\ x <= sqrt(&2) /\ -- sqrt(pi) <= y /\ y <= &1 *)
(* ==> x pow 2 * y - x * y pow 4 + y pow 6 - &7 + x pow 4 > -- #7.17995`;; *)
(* let th, stats = verify_ineq default_params 5 ineq;; *)
(* *)
(* These files contain more substantial examples: *)
(* *)
(* loadt "Formal_ineqs/examples.hl";; *)
(* loadt "Formal_ineqs/examples_poly.hl";; *)
(* loadt "Formal_ineqs/examples_flyspeck.hl";; *)
(* ------------------------------------------------------------------------- *)
|