3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-20 06:10:31 +00:00

scaffolding

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-08-12 18:25:20 -07:00
parent 3c9c7105d3
commit 516a3d5594
3 changed files with 87 additions and 278 deletions

View file

@ -1,6 +1,26 @@
#pragma once
#include "nlsat_types.h"
namespace nlsat {
void lewelwise_project(polynomial_ref_vector & ps, var max_x);
class assignment; // forward declared in nlsat_types.h
// Levelwise driver (PIMPL). Orchestrates property-based projection/proof.
class levelwise {
struct impl;
impl* m_impl;
public:
// Construct with polynomials ps, maximal variable max_x, and current sample s (assignment of vars < max_x)
levelwise(polynomial_ref_vector const& ps, var max_x, assignment const& s);
~levelwise();
levelwise(levelwise const&) = delete;
levelwise& operator=(levelwise const&) = delete;
levelwise(levelwise&&) noexcept;
levelwise& operator=(levelwise&&) noexcept;
};
// Convenience free-function driver prototype
void levelwise_project(polynomial_ref_vector const& ps, var max_x, assignment const& s);
} // namespace nlsat