mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
Refactor basic lemmas out of nla_core
This commit is contained in:
parent
3e11b87aaf
commit
c7c2d81f53
8 changed files with 1065 additions and 296 deletions
34
src/util/lp/factorization_factory_imp.h
Normal file
34
src/util/lp/factorization_factory_imp.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*++
|
||||
Copyright (c) 2017 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
<name>
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
Nikolaj Bjorner (nbjorner)
|
||||
Lev Nachmanson (levnach)
|
||||
|
||||
Revision History:
|
||||
|
||||
|
||||
--*/
|
||||
#pragma once
|
||||
#include "util/lp/factorization.h"
|
||||
namespace nla {
|
||||
struct core;
|
||||
class rooted_mon;
|
||||
struct factorization_factory_imp: factorization_factory {
|
||||
const core& m_core;
|
||||
const monomial *m_mon;
|
||||
const rooted_mon& m_rm;
|
||||
|
||||
factorization_factory_imp(const rooted_mon& rm, const core& s);
|
||||
bool find_rm_monomial_of_vars(const svector<lpvar>& vars, unsigned & i) const;
|
||||
const monomial* find_monomial_of_vars(const svector<lpvar>& vars) const;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue