Only forbid private predicates in spec statements

This commit is contained in:
Patrick Lühne 2020-05-28 18:37:56 +02:00
parent e57a1859d2
commit e686575ebf
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -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)