mirror of
https://github.com/Z3Prover/z3
synced 2026-05-19 16:39:32 +00:00
parent
bb1119a6ca
commit
406c0792f1
2 changed files with 10 additions and 8 deletions
|
|
@ -912,7 +912,7 @@ namespace datalog {
|
|||
// Quantifiers may appear only in the interpreted tail, it is therefore
|
||||
// sufficient only to check the interpreted tail.
|
||||
//
|
||||
void rule_manager::has_quantifiers(rule const& r, bool& existential, bool& universal) const {
|
||||
void rule_manager::has_quantifiers(rule const& r, bool& existential, bool& universal, bool& lam) const {
|
||||
unsigned sz = r.get_tail_size();
|
||||
m_qproc.reset();
|
||||
m_visited.reset();
|
||||
|
|
@ -921,12 +921,13 @@ namespace datalog {
|
|||
}
|
||||
existential = m_qproc.m_exist;
|
||||
universal = m_qproc.m_univ;
|
||||
lam = m_qproc.m_lambda;
|
||||
}
|
||||
|
||||
bool rule_manager::has_quantifiers(rule const& r) const {
|
||||
bool exist, univ;
|
||||
has_quantifiers(r, exist, univ);
|
||||
return exist || univ;
|
||||
bool exist, univ, lam;
|
||||
has_quantifiers(r, exist, univ, lam);
|
||||
return exist || univ || lam;
|
||||
}
|
||||
|
||||
bool rule_manager::is_finite_domain(rule const& r) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue