[ 55%] Generating CXX source python/pono.cxx
Error compiling Cython file:
------------------------------------------------------------
...
void add_constraint(const c_Term & constraint) except +
void name_term(const string name, const c_Term & t) except +
c_Term make_inputvar(const string name, const c_Sort & sort) except +
c_Term make_statevar(const string name, const c_Sort & sort) except +
c_Term curr(const c_Term & term) except +
c_Term next(const c_Term & ter m) except +
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxd:27:40: Expected ')', found 'm'
Error compiling Cython file:
------------------------------------------------------------
...
from libcpp.string cimport string
from libcpp.unordered_set cimport unordered_set
from libcpp.unordered_map cimport unordered_map
from libcpp.vector cimport vector
from pono_imp cimport TransitionSystem as c_TransitionSystem
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:8:0: 'pono_imp/TransitionSystem.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from libcpp.unordered_set cimport unordered_set
from libcpp.unordered_map cimport unordered_map
from libcpp.vector cimport vector
from pono_imp cimport TransitionSystem as c_TransitionSystem
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:9:0: 'pono_imp/RelationalTransitionSystem.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from libcpp.unordered_map cimport unordered_map
from libcpp.vector cimport vector
from pono_imp cimport TransitionSystem as c_TransitionSystem
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:10:0: 'pono_imp/FunctionalTransitionSystem.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from libcpp.vector cimport vector
from pono_imp cimport TransitionSystem as c_TransitionSystem
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
from pono_imp cimport Property as c_Property
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:11:0: 'pono_imp/Property.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport TransitionSystem as c_TransitionSystem
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
from pono_imp cimport Property as c_Property
from pono_imp cimport Unroller as c_Unroller
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:12:0: 'pono_imp/Unroller.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport TransitionSystem as c_TransitionSystem
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
from pono_imp cimport Property as c_Property
from pono_imp cimport Unroller as c_Unroller
from pono_imp cimport ProverResult as c_ProverResult
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:13:0: 'pono_imp/ProverResult.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport RelationalTransitionSystem as c_RelationalTransitionSystem
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
from pono_imp cimport Property as c_Property
from pono_imp cimport Unroller as c_Unroller
from pono_imp cimport ProverResult as c_ProverResult
from pono_imp cimport UNKNOWN as c_UNKNOWN
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:14:0: 'pono_imp/UNKNOWN.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport FunctionalTransitionSystem as c_FunctionalTransitionSystem
from pono_imp cimport Property as c_Property
from pono_imp cimport Unroller as c_Unroller
from pono_imp cimport ProverResult as c_ProverResult
from pono_imp cimport UNKNOWN as c_UNKNOWN
from pono_imp cimport FALSE as c_FALSE
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:15:0: 'pono_imp/FALSE.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport Property as c_Property
from pono_imp cimport Unroller as c_Unroller
from pono_imp cimport ProverResult as c_ProverResult
from pono_imp cimport UNKNOWN as c_UNKNOWN
from pono_imp cimport FALSE as c_FALSE
from pono_imp cimport TRUE as c_TRUE
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:16:0: 'pono_imp/TRUE.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport Unroller as c_Unroller
from pono_imp cimport ProverResult as c_ProverResult
from pono_imp cimport UNKNOWN as c_UNKNOWN
from pono_imp cimport FALSE as c_FALSE
from pono_imp cimport TRUE as c_TRUE
from pono_imp cimport Prover as c_Prover
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:17:0: 'pono_imp/Prover.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport ProverResult as c_ProverResult
from pono_imp cimport UNKNOWN as c_UNKNOWN
from pono_imp cimport FALSE as c_FALSE
from pono_imp cimport TRUE as c_TRUE
from pono_imp cimport Prover as c_Prover
from pono_imp cimport Bmc as c_Bmc
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:18:0: 'pono_imp/Bmc.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport UNKNOWN as c_UNKNOWN
from pono_imp cimport FALSE as c_FALSE
from pono_imp cimport TRUE as c_TRUE
from pono_imp cimport Prover as c_Prover
from pono_imp cimport Bmc as c_Bmc
from pono_imp cimport KInduction as c_KInduction
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:19:0: 'pono_imp/KInduction.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport FALSE as c_FALSE
from pono_imp cimport TRUE as c_TRUE
from pono_imp cimport Prover as c_Prover
from pono_imp cimport Bmc as c_Bmc
from pono_imp cimport KInduction as c_KInduction
from pono_imp cimport BmcSimplePath as c_BmcSimplePath
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:20:0: 'pono_imp/BmcSimplePath.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport TRUE as c_TRUE
from pono_imp cimport Prover as c_Prover
from pono_imp cimport Bmc as c_Bmc
from pono_imp cimport KInduction as c_KInduction
from pono_imp cimport BmcSimplePath as c_BmcSimplePath
from pono_imp cimport InterpolantMC as c_InterpolantMC
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:21:0: 'pono_imp/InterpolantMC.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport Prover as c_Prover
from pono_imp cimport Bmc as c_Bmc
from pono_imp cimport KInduction as c_KInduction
from pono_imp cimport BmcSimplePath as c_BmcSimplePath
from pono_imp cimport InterpolantMC as c_InterpolantMC
from pono_imp cimport BTOR2Encoder as c_BTOR2Encoder
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:22:0: 'pono_imp/BTOR2Encoder.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport InterpolantMC as c_InterpolantMC
from pono_imp cimport BTOR2Encoder as c_BTOR2Encoder
IF WITH_COREIR == "ON":
from pono_imp cimport Module as c_Module
from pono_imp cimport CoreIREncoder as c_CoreIREncoder
from pono_imp cimport set_global_logger_verbosity as c_set_global_logger_verbosity
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:26:0: 'pono_imp/set_global_logger_verbosity.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from pono_imp cimport BTOR2Encoder as c_BTOR2Encoder
IF WITH_COREIR == "ON":
from pono_imp cimport Module as c_Module
from pono_imp cimport CoreIREncoder as c_CoreIREncoder
from pono_imp cimport set_global_logger_verbosity as c_set_global_logger_verbosity
from pono_imp cimport get_free_symbols as c_get_free_symbols
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:27:0: 'pono_imp/get_free_symbols.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
ctypedef const unordered_map[c_Term, c_Term]* const_UnorderedTermMapPtr
ctypedef unordered_map[c_Term, c_Term].const_iterator c_UnorderedTermMap_const_iterator
cdef class __AbstractTransitionSystem:
cdef c_TransitionSystem* cts
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:51:9: 'c_TransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
self.cts = new c_FunctionalTransitionSystem(s.css)
self._solver = s
cdef class Property:
cdef c_Property* cp
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:310:9: 'c_Property' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
def transition_system(self):
return self.ts
cdef class Unroller:
cdef c_Unroller* cu
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:328:9: 'c_Unroller' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cu).untime(t.ct)
return term
cdef class __AbstractProver:
cdef c_Prover* cp
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:346:9: 'c_Prover' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
self.cp = new c_InterpolantMC(p.cp[0], s.css, interp.css)
self._solver = s
cdef class BTOR2Encoder:
cdef c_BTOR2Encoder * cbe
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:430:9: 'c_BTOR2Encoder' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef SmtSolver _solver
# Note: don't want to allow null TransitionSystems
# means there's no way to instantiate a transition system without the solver
def __cinit__(self, SmtSolver s):
# if not specified, this creates a relational transition system under the hood
self.cts = new c_RelationalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:57:23: 'c_RelationalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef SmtSolver _solver
# Note: don't want to allow null TransitionSystems
# means there's no way to instantiate a transition system without the solver
def __cinit__(self, SmtSolver s):
# if not specified, this creates a relational transition system under the hood
self.cts = new c_RelationalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:57:23: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
# if not specified, this creates a relational transition system under the hood
self.cts = new c_RelationalTransitionSystem(s.css)
self._solver = s
def set_init(self, Term init):
dref(self.cts).set_init(init.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:61:36: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def set_init(self, Term init):
dref(self.cts).set_init(init.ct)
def constrain_init(self, Term constraint):
dref(self.cts).constrain_init(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:64:48: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def constrain_init(self, Term constraint):
dref(self.cts).constrain_init(constraint.ct)
def assign_next(self, Term state, Term val):
dref(self.cts).assign_next(state.ct, val.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:67:40: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def constrain_init(self, Term constraint):
dref(self.cts).constrain_init(constraint.ct)
def assign_next(self, Term state, Term val):
dref(self.cts).assign_next(state.ct, val.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:67:48: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def assign_next(self, Term state, Term val):
dref(self.cts).assign_next(state.ct, val.ct)
def add_invar(self, Term constraint):
dref(self.cts).add_invar(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:70:43: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def add_invar(self, Term constraint):
dref(self.cts).add_invar(constraint.ct)
def constrain_inputs(self, Term constraint):
dref(self.cts).constrain_inputs(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:73:50: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def constrain_inputs(self, Term constraint):
dref(self.cts).constrain_inputs(constraint.ct)
def add_constraint(self, Term constraint):
dref(self.cts).add_constraint(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:76:48: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def add_constraint(self, Term constraint):
dref(self.cts).add_constraint(constraint.ct)
def name_term(self, str name, Term t):
dref(self.cts).name_term(name.encode(), t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:79:49: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def name_term(self, str name, Term t):
dref(self.cts).name_term(name.encode(), t.ct)
def make_inputvar(self, str name, Sort sort):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).make_inputvar(name.encode(), sort.cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:83:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def name_term(self, str name, Term t):
dref(self.cts).name_term(name.encode(), t.ct)
def make_inputvar(self, str name, Sort sort):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).make_inputvar(name.encode(), sort.cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:83:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_inputvar(name.encode(), sort.cs)
return term
def make_statevar(self, str name, Sort sort):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).make_statevar(name.encode(), sort.cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:88:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_inputvar(name.encode(), sort.cs)
return term
def make_statevar(self, str name, Sort sort):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).make_statevar(name.encode(), sort.cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:88:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_statevar(name.encode(), sort.cs)
return term
def curr(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).curr(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:93:39: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_statevar(name.encode(), sort.cs)
return term
def curr(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).curr(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:93:37: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).curr(t.ct)
return term
def next(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).next(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:98:39: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).curr(t.ct)
return term
def next(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).next(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:98:37: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).next(t.ct)
return term
def is_curr_var(self, Term sv):
return dref(self.cts).is_curr_var(sv.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:102:44: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def is_curr_var(self, Term sv):
return dref(self.cts).is_curr_var(sv.ct)
def is_next_var(self, Term sv):
return dref(self.cts).is_next_var(sv.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:105:44: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
@property
def statevars(self):
states_set = set()
cdef const_UnorderedTermSetPtr c_states_set = &dref(self.cts).statevars()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:115:54: Taking address of non-lvalue (type Python object)
Error compiling Cython file:
------------------------------------------------------------
...
@property
def inputvars(self):
inputs_set = set()
cdef const_UnorderedTermSetPtr c_inputs_set = &dref(self.cts).inputvars()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:132:54: Taking address of non-lvalue (type Python object)
Error compiling Cython file:
------------------------------------------------------------
...
@property
def state_updates(self):
updates = {}
cdef const_UnorderedTermMapPtr c_updates_map = &dref(self.cts).state_updates()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:149:55: Taking address of non-lvalue (type Python object)
Error compiling Cython file:
------------------------------------------------------------
...
@property
def named_terms(self):
names2terms = {}
cdef unordered_map[string, c_Term]* c_named_terms = &dref(self.cts).named_terms()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:169:60: Taking address of non-lvalue (type Python object)
Error compiling Cython file:
------------------------------------------------------------
...
return names2terms
@property
def constraints(self):
convec = []
cdef c_TermVec c_cons = dref(self.cts).constraints()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:185:58: Cannot convert Python object to 'c_TermVec'
Error compiling Cython file:
------------------------------------------------------------
...
return convec
@property
def init(self):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).init()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:195:37: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
return term
@property
def trans(self):
cdef Term term = Term(self._solver)
term.ct = dref(self.cts).trans()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:201:38: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
cdef Sort s = Sort(self)
cdef c_SortKind sk
cdef c_SortVec csv
if isinstance(arg0, str):
s.cs = dref(self.cts).make_sort(<const string> arg0.encode(), <int?> arg1)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:213:43: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
if isinstance(arg0, str):
s.cs = dref(self.cts).make_sort(<const string> arg0.encode(), <int?> arg1)
elif isinstance(arg0, SortKind):
sk = (<SortKind> arg0).sk
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:217:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
if isinstance(arg0, str):
s.cs = dref(self.cts).make_sort(<const string> arg0.encode(), <int?> arg1)
elif isinstance(arg0, SortKind):
sk = (<SortKind> arg0).sk
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:217:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg0, SortKind):
sk = (<SortKind> arg0).sk
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
elif isinstance(arg1, int) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, <int> arg1)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:219:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg0, SortKind):
sk = (<SortKind> arg0).sk
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
elif isinstance(arg1, int) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, <int> arg1)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:219:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
elif isinstance(arg1, int) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, <int> arg1)
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:221:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
elif isinstance(arg1, int) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, <int> arg1)
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:221:65: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
if arg1 is None:
s.cs = dref(self.cts).make_sort(sk)
elif isinstance(arg1, int) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, <int> arg1)
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:221:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:225:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:225:52: Cannot convert 'c_SortVec' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, Sort) and arg2 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort> arg1).cs)
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:225:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:227:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:227:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:227:85: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(arg1, list) and arg2 is None:
for a in arg1:
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:227:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
elif arg3 is not None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs,
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:229:48: Cannot convert 'c_SortKind' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
elif arg3 is not None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs,
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:229:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
elif arg3 is not None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs,
(<Sort?> arg2).cs,
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:230:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
elif arg3 is not None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs,
(<Sort?> arg2).cs,
(<Sort?> arg3).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:231:66: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
csv.push_back((<Sort?> a).cs)
s.cs = dref(self.cts).make_sort(sk, csv)
elif arg3 is None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs, (<Sort?> arg2).cs)
elif arg3 is not None:
s.cs = dref(self.cts).make_sort(sk, (<Sort?> arg1).cs,
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:229:47: Cannot convert Python object to 'c_Sort'
Error compiling Cython file:
------------------------------------------------------------
...
if not args:
raise ValueError("Can't call make_term with an Op ({}) and no arguments".format(op_or_val))
for a in args:
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:267:63: Cannot convert 'c_Op' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
if not args:
raise ValueError("Can't call make_term with an Op ({}) and no arguments".format(op_or_val))
for a in args:
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:267:68: Cannot convert 'c_TermVec' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
if not args:
raise ValueError("Can't call make_term with an Op ({}) and no arguments".format(op_or_val))
for a in args:
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:267:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
for a in args:
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
elif isinstance(op_or_val, bool) and len(args) == 0:
term.ct = dref(self.cts).make_term(<bint> op_or_val)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:269:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
elif isinstance(op_or_val, bool) and len(args) == 0:
term.ct = dref(self.cts).make_term(<bint> op_or_val)
elif isinstance(op_or_val, str) and len(args) == 1 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(), (<Sort> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:271:98: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
ctv.push_back((<Term?> a).ct)
term.ct = dref(self.cts).make_term((<Op> op_or_val).op, ctv)
elif isinstance(op_or_val, bool) and len(args) == 0:
term.ct = dref(self.cts).make_term(<bint> op_or_val)
elif isinstance(op_or_val, str) and len(args) == 1 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(), (<Sort> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:271:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_term(<bint> op_or_val)
elif isinstance(op_or_val, str) and len(args) == 1 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(), (<Sort> args[0]).cs)
elif isinstance(op_or_val, str) and len(args) == 2 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(),
(<Sort> args[0]).cs,
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:274:63: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(op_or_val, bool) and len(args) == 0:
term.ct = dref(self.cts).make_term(<bint> op_or_val)
elif isinstance(op_or_val, str) and len(args) == 1 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(), (<Sort> args[0]).cs)
elif isinstance(op_or_val, str) and len(args) == 2 and isinstance(args[0], Sort):
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(),
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:273:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(),
(<Sort> args[0]).cs,
<int?> args[1])
elif isinstance(op_or_val, int) and len(args) == 1 and isinstance(args[0], Sort):
# always use the string representation of integers (to handle large ints)
term.ct = dref(self.cts).make_term((<const string?> str(op_or_val).encode()), (<Sort> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:278:106: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cts).make_term(<const string> op_or_val.encode(),
(<Sort> args[0]).cs,
<int?> args[1])
elif isinstance(op_or_val, int) and len(args) == 1 and isinstance(args[0], Sort):
# always use the string representation of integers (to handle large ints)
term.ct = dref(self.cts).make_term((<const string?> str(op_or_val).encode()), (<Sort> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:278:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(op_or_val, int) and len(args) == 1 and isinstance(args[0], Sort):
# always use the string representation of integers (to handle large ints)
term.ct = dref(self.cts).make_term((<const string?> str(op_or_val).encode()), (<Sort> args[0]).cs)
elif isinstance(op_or_val, Term) and len(args) == 1 and isinstance(args[0], Sort):
# this is for creating a constant array
term.ct = dref(self.cts).make_term((<Term?> op_or_val).ct, (<Sort?> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:281:66: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(op_or_val, int) and len(args) == 1 and isinstance(args[0], Sort):
# always use the string representation of integers (to handle large ints)
term.ct = dref(self.cts).make_term((<const string?> str(op_or_val).encode()), (<Sort> args[0]).cs)
elif isinstance(op_or_val, Term) and len(args) == 1 and isinstance(args[0], Sort):
# this is for creating a constant array
term.ct = dref(self.cts).make_term((<Term?> op_or_val).ct, (<Sort?> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:281:88: Cannot convert 'c_Sort' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
elif isinstance(op_or_val, int) and len(args) == 1 and isinstance(args[0], Sort):
# always use the string representation of integers (to handle large ints)
term.ct = dref(self.cts).make_term((<const string?> str(op_or_val).encode()), (<Sort> args[0]).cs)
elif isinstance(op_or_val, Term) and len(args) == 1 and isinstance(args[0], Sort):
# this is for creating a constant array
term.ct = dref(self.cts).make_term((<Term?> op_or_val).ct, (<Sort?> args[0]).cs)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:281:46: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
return term
cdef class RelationalTransitionSystem(__AbstractTransitionSystem):
def __cinit__(self, SmtSolver s):
self.cts = new c_RelationalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:290:23: 'c_RelationalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return term
cdef class RelationalTransitionSystem(__AbstractTransitionSystem):
def __cinit__(self, SmtSolver s):
self.cts = new c_RelationalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:290:23: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, SmtSolver s):
self.cts = new c_RelationalTransitionSystem(s.css)
self._solver = s
def set_behavior(self, Term init, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_behavior(init.ct, trans.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:294:14: 'c_RelationalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, SmtSolver s):
self.cts = new c_RelationalTransitionSystem(s.css)
self._solver = s
def set_behavior(self, Term init, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_behavior(init.ct, trans.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:294:75: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, SmtSolver s):
self.cts = new c_RelationalTransitionSystem(s.css)
self._solver = s
def set_behavior(self, Term init, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_behavior(init.ct, trans.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:294:85: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def set_behavior(self, Term init, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_behavior(init.ct, trans.ct)
def set_trans(self, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_trans(trans.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:297:14: 'c_RelationalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
def set_behavior(self, Term init, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_behavior(init.ct, trans.ct)
def set_trans(self, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_trans(trans.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:297:73: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
def set_trans(self, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_trans(trans.ct)
def constrain_trans(self, Term constraint):
dref(<c_RelationalTransitionSystem * ?> self.cts).constrain_trans(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:300:14: 'c_RelationalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
def set_trans(self, Term trans):
dref(<c_RelationalTransitionSystem * ?> self.cts).set_trans(trans.ct)
def constrain_trans(self, Term constraint):
dref(<c_RelationalTransitionSystem * ?> self.cts).constrain_trans(constraint.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:300:84: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
dref(<c_RelationalTransitionSystem * ?> self.cts).constrain_trans(constraint.ct)
cdef class FunctionalTransitionSystem(__AbstractTransitionSystem):
def __cinit__(self, SmtSolver s):
self.cts = new c_FunctionalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:305:23: 'c_FunctionalTransitionSystem' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
dref(<c_RelationalTransitionSystem * ?> self.cts).constrain_trans(constraint.ct)
cdef class FunctionalTransitionSystem(__AbstractTransitionSystem):
def __cinit__(self, SmtSolver s):
self.cts = new c_FunctionalTransitionSystem(s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:305:23: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
cdef class Property:
cdef c_Property* cp
cdef __AbstractTransitionSystem ts
def __cinit__(self, __AbstractTransitionSystem ts, Term p):
self.cp = new c_Property(ts.cts[0], p.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:313:22: 'c_Property' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef class Property:
cdef c_Property* cp
cdef __AbstractTransitionSystem ts
def __cinit__(self, __AbstractTransitionSystem ts, Term p):
self.cp = new c_Property(ts.cts[0], p.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:313:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
self.ts = ts
@property
def prop(self):
cdef Term p = Term(self.ts.solver)
p.ct = dref(self.cp).prop()
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:319:33: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
cdef class Unroller:
cdef c_Unroller* cu
cdef SmtSolver _solver
def __cinit__(self, __AbstractTransitionSystem ts, SmtSolver s):
self.cu = new c_Unroller(ts.cts[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:331:22: 'c_Unroller' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef class Unroller:
cdef c_Unroller* cu
cdef SmtSolver _solver
def __cinit__(self, __AbstractTransitionSystem ts, SmtSolver s):
self.cu = new c_Unroller(ts.cts[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:331:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
self.cu = new c_Unroller(ts.cts[0], s.css)
self._solver = s
def at_time(self, Term t, unsigned int k):
cdef Term term = Term(self._solver)
term.ct = dref(self.cu).at_time(t.ct, k)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:336:41: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
self.cu = new c_Unroller(ts.cts[0], s.css)
self._solver = s
def at_time(self, Term t, unsigned int k):
cdef Term term = Term(self._solver)
term.ct = dref(self.cu).at_time(t.ct, k)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:336:39: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cu).at_time(t.ct, k)
return term
def untime(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cu).untime(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:341:40: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
term.ct = dref(self.cu).at_time(t.ct, k)
return term
def untime(self, Term t):
cdef Term term = Term(self._solver)
term.ct = dref(self.cu).untime(t.ct)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:341:38: Cannot convert Python object to 'c_Term'
Error compiling Cython file:
------------------------------------------------------------
...
def check_until(self, int k):
'''
Checks until bound k, returns True, False or None (if unknown)
'''
cdef int r = <int> dref(self.cp).check_until(k)
if r == (<int> c_UNKNOWN):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:358:23: 'c_UNKNOWN' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
Checks until bound k, returns True, False or None (if unknown)
'''
cdef int r = <int> dref(self.cp).check_until(k)
if r == (<int> c_UNKNOWN):
return None
elif r == (<int> c_FALSE):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:360:25: 'c_FALSE' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef int r = <int> dref(self.cp).check_until(k)
if r == (<int> c_UNKNOWN):
return None
elif r == (<int> c_FALSE):
return False
elif r == (<int> c_TRUE):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:362:25: 'c_TRUE' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
elif r == (<int> c_TRUE):
return True
def witness(self):
cdef vector[c_UnorderedTermMap] cw
success = dref(self.cp).witness(cw)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:367:40: Cannot convert 'vector[c_UnorderedTermMap]' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
'''
Tries to prove property unboundedly, returns True, False or None (if unknown)
'''
cdef int r = <int> dref(self.cp).prove()
if r == (<int> c_UNKNOWN):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:393:23: 'c_UNKNOWN' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
'''
cdef int r = <int> dref(self.cp).prove()
if r == (<int> c_UNKNOWN):
return None
elif r == (<int> c_FALSE):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:395:25: 'c_FALSE' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if r == (<int> c_UNKNOWN):
return None
elif r == (<int> c_FALSE):
return False
elif r == (<int> c_TRUE):
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:397:25: 'c_TRUE' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
return self._property
cdef class Bmc(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_Bmc(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:407:22: 'c_Bmc' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return self._property
cdef class Bmc(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_Bmc(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:407:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class KInduction(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_KInduction(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:413:22: 'c_KInduction' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class KInduction(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_KInduction(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:413:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class BmcSimplePath(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_BmcSimplePath(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:419:22: 'c_BmcSimplePath' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class BmcSimplePath(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s):
self.cp = new c_BmcSimplePath(p.cp[0], s.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:419:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class InterpolantMC(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s, SmtSolver interp):
self.cp = new c_InterpolantMC(p.cp[0], s.css, interp.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:425:22: 'c_InterpolantMC' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
self._solver = s
cdef class InterpolantMC(__AbstractProver):
def __cinit__(self, Property p, SmtSolver s, SmtSolver interp):
self.cp = new c_InterpolantMC(p.cp[0], s.css, interp.css)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:425:22: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
cdef class BTOR2Encoder:
cdef c_BTOR2Encoder * cbe
def __cinit__(self, str filename, __AbstractTransitionSystem ts):
self.cbe = new c_BTOR2Encoder(filename.encode(), dref(ts.cts))
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:432:23: 'c_BTOR2Encoder' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
cdef class BTOR2Encoder:
cdef c_BTOR2Encoder * cbe
def __cinit__(self, str filename, __AbstractTransitionSystem ts):
self.cbe = new c_BTOR2Encoder(filename.encode(), dref(ts.cts))
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:432:23: new operator can only be applied to a C++ class
Error compiling Cython file:
------------------------------------------------------------
...
raise ValueError("CoreIR encoder takes a pycoreir Context or a filename but got {}".format(mod))
def set_global_logger_verbosity(int v):
c_set_global_logger_verbosity(v)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:450:4: 'c_set_global_logger_verbosity' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
c_set_global_logger_verbosity(v)
def get_free_symbols(Term term):
cdef c_UnorderedTermSet out_symbols
c_get_free_symbols(term.ct, out_symbols)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:455:4: 'c_get_free_symbols' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
c_set_global_logger_verbosity(v)
def get_free_symbols(Term term):
cdef c_UnorderedTermSet out_symbols
c_get_free_symbols(term.ct, out_symbols)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:455:27: Cannot convert 'c_Term' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
c_set_global_logger_verbosity(v)
def get_free_symbols(Term term):
cdef c_UnorderedTermSet out_symbols
c_get_free_symbols(term.ct, out_symbols)
^
------------------------------------------------------------
/home/xxx/pono/python/pono_imp.pxi:455:32: Cannot convert 'c_UnorderedTermSet' to Python object
make[2]: *** [python/CMakeFiles/pono.dir/build.make:94: python/pono.cxx] Error 1
make[2]: *** Deleting file 'python/pono.cxx'
make[1]: *** [CMakeFiles/Makefile2:294: python/CMakeFiles/pono.dir/all] Error 2
make: *** [Makefile:160: all] Error 2