mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
68 lines
2.5 KiB
C++
68 lines
2.5 KiB
C++
/*++
|
|
Copyright (c) 2012 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
probe_arith.h
|
|
|
|
Abstract:
|
|
|
|
Some probes for arithmetic problems.
|
|
|
|
Author:
|
|
|
|
Leonardo de Moura (leonardo) 2012-03-01.
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#ifndef _PROBE_ARITH_H_
|
|
#define _PROBE_ARITH_H_
|
|
|
|
class probe;
|
|
probe * mk_arith_avg_bw_probe();
|
|
probe * mk_arith_max_bw_probe();
|
|
probe * mk_arith_avg_degree_probe();
|
|
probe * mk_arith_max_degree_probe();
|
|
|
|
/*
|
|
ADD_PROBE("arith-max-deg", "max polynomial total degree of an arithmetic atom.", "mk_arith_max_degree_probe()")
|
|
ADD_PROBE("arith-avg-deg", "avg polynomial total degree of an arithmetic atom.", "mk_arith_avg_degree_probe()")
|
|
ADD_PROBE("arith-max-bw", "max coefficient bit width.", "mk_arith_max_bw_probe()")
|
|
ADD_PROBE("arith-avg-bw", "avg coefficient bit width.", "mk_arith_avg_bw_probe()")
|
|
*/
|
|
|
|
probe * mk_is_qflia_probe();
|
|
probe * mk_is_qflra_probe();
|
|
probe * mk_is_qflira_probe();
|
|
probe * mk_is_ilp_probe();
|
|
probe * mk_is_mip_probe();
|
|
|
|
/*
|
|
ADD_PROBE("is-qflia", "true if the goal is in QF_LIA.", "mk_is_qflia_probe()")
|
|
ADD_PROBE("is-qflra", "true if the goal is in QF_LRA.", "mk_is_qflra_probe()")
|
|
ADD_PROBE("is-qflira", "true if the goal is in QF_LIRA.", "mk_is_qflira_probe()")
|
|
ADD_PROBE("is-ilp", "true if the goal is ILP.", "mk_is_ilp_probe()")
|
|
*/
|
|
|
|
probe * mk_is_qfnia_probe();
|
|
probe * mk_is_qfnra_probe();
|
|
probe * mk_is_nia_probe();
|
|
probe * mk_is_nra_probe();
|
|
probe * mk_is_nira_probe();
|
|
probe * mk_is_lia_probe();
|
|
probe * mk_is_lra_probe();
|
|
probe * mk_is_lira_probe();
|
|
|
|
/*
|
|
ADD_PROBE("is-qfnia", "true if the goal is in QF_NIA (quantifier-free nonlinear integer arithmetic).", "mk_is_qfnia_probe()")
|
|
ADD_PROBE("is-qfnra", "true if the goal is in QF_NRA (quantifier-free nonlinear real arithmetic).", "mk_is_qfnra_probe()")
|
|
ADD_PROBE("is-nia", "true if the goal is in NIA (nonlinear integer arithmetic, formula may have quantifiers).", "mk_is_nia_probe()")
|
|
ADD_PROBE("is-nra", "true if the goal is in NRA (nonlinear real arithmetic, formula may have quantifiers).", "mk_is_nra_probe()")
|
|
ADD_PROBE("is-nira", "true if the goal is in NIRA (nonlinear integer and real arithmetic, formula may have quantifiers).", "mk_is_nira_probe()")
|
|
ADD_PROBE("is-lia", "true if the goal is in LIA (linear integer arithmetic, formula may have quantifiers).", "mk_is_lia_probe()")
|
|
ADD_PROBE("is-lra", "true if the goal is in LRA (linear real arithmetic, formula may have quantifiers).", "mk_is_lra_probe()")
|
|
ADD_PROBE("is-lira", "true if the goal is in LIRA (linear integer and real arithmetic, formula may have quantifiers).", "mk_is_lira_probe()")
|
|
*/
|
|
#endif
|