4#include <gtest/gtest.h>
16 y* y == x* x* x +
bb::fr(2);
18 STerm xr = l * l - x - x;
19 STerm yr = l * (x - xr) - y;
30 ASSERT_EQ(mvars[
"Gx"], vvars[
"x"]);
31 ASSERT_EQ(mvars[
"Gy"], vvars[
"y"]);
36 Solver s(
"bce4e33b636e0cf38d13a55c3");
58 Solver s(
"bce4e33b636e0cf38d13a55c3");
77 y* y == x* x* x +
bb::fr(2);
79 STerm xr = l * l - x - x;
80 STerm yr = l * (x - xr) - y;
91 y* y == x* x* x +
bb::fr(2);
93 STerm xr = l * l - x - x;
94 STerm yr = l * (x - xr) - y;
std::unordered_map< std::string, std::string > model(std::unordered_map< std::string, cvc5::Term > &terms) const
Symbolic term element class.
field< Bn254FrParams > fr
const SolverConfiguration default_solver_config
STerm FFVar(const std::string &name, Solver *slv)
STerm FFIVar(const std::string &name, Solver *slv)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
TEST(Solver, FFTerm_use_case)
BB_INLINE constexpr field pow(const uint256_t &exponent) const noexcept
static field random_element(numeric::RNG *engine=nullptr) noexcept