Debian Codegraph @

plugins/micromega/sos.mli

raw symbols SCIP
1 (************************************************************************)
2 (* * The Rocq Prover / The Rocq Development Team *)
3 (* v * Copyright INRIA, CNRS and contributors *)
4 (* <O___,, * (see version control and CREDITS file for authors & dates) *)
5 (* \VV/ **************************************************************)
6 (* // * This file is distributed under the terms of the *)
7 (* * GNU Lesser General Public License Version 2.1 *)
8 (* * (see LICENSE file for the text of the license) *)
9 (************************************************************************)
10
11 open NumCompat
12 open Sos_types
13
14 type poly
15
16 val poly_isconst : poly -> bool
17 val poly_neg : poly -> poly
18 val poly_mul : poly -> poly -> poly
19 val poly_pow : poly -> int -> poly
20 val poly_const : Q.t -> poly
21 val poly_of_term : term -> poly
22 val term_of_poly : poly -> term
23 val term_of_sos : positivstellensatz * (Q.t * poly) list -> positivstellensatz
24 val string_of_poly : poly -> string
25
26 val real_positivnullstellensatz_general :
27 bool
28 -> int
29 -> poly list
30 -> (poly * positivstellensatz) list
31 -> poly
32 -> poly list * (positivstellensatz * (Q.t * poly) list) list
33
34 val sumofsquares : poly -> Q.t * (Q.t * poly) list