3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00
z3/src/tactic/arith/fix_dl_var_tactic.h
Nikolaj Bjorner b19f94ae5b make include paths uniformly use path relative to src. #534
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00

37 lines
898 B
C++

/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
fix_dl_var_tactic.h
Abstract:
Fix a difference logic variable to 0.
If the problem is in the difference logic fragment, that is, all arithmetic terms
are of the form (x + k), and the arithmetic atoms are of the
form x - y <= k or x - y = k. Then, we can set one variable to 0.
This is useful because, many bounds can be exposed after this operation is performed.
Author:
Leonardo (leonardo) 2011-12-29
Notes:
--*/
#ifndef FIX_DL_VAR_TACTIC_H_
#define FIX_DL_VAR_TACTIC_H_
#include "util/params.h"
class ast_manager;
class tactic;
tactic * mk_fix_dl_var_tactic(ast_manager & m, params_ref const & p = params_ref());
/*
ADD_TACTIC("fix-dl-var", "if goal is in the difference logic fragment, then fix the variable with the most number of occurrences at 0.", "mk_fix_dl_var_tactic(m, p)")
*/
#endif