Only forbid private predicates in spec statements
This commit is contained in:
parent
e57a1859d2
commit
e686575ebf
@ -86,10 +86,8 @@ impl Problem
|
|||||||
{
|
{
|
||||||
match statement.kind
|
match statement.kind
|
||||||
{
|
{
|
||||||
crate::problem::StatementKind::CompletedDefinition(_)
|
crate::problem::StatementKind::Spec => (),
|
||||||
| crate::problem::StatementKind::IntegrityConstraint
|
_ => continue,
|
||||||
| crate::problem::StatementKind::Lemma(_) => continue,
|
|
||||||
_ => (),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if crate::formula_contains_predicate(&statement.formula, predicate_declaration)
|
if crate::formula_contains_predicate(&statement.formula, predicate_declaration)
|
||||||
|
Loading…
Reference in New Issue
Block a user