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
1 changed files with 2 additions and 4 deletions

View File

@ -86,10 +86,8 @@ impl Problem
{
match statement.kind
{
crate::problem::StatementKind::CompletedDefinition(_)
| crate::problem::StatementKind::IntegrityConstraint
| crate::problem::StatementKind::Lemma(_) => continue,
_ => (),
crate::problem::StatementKind::Spec => (),
_ => continue,
}
if crate::formula_contains_predicate(&statement.formula, predicate_declaration)