Ensure that statements are proven in right order

This commit is contained in:
Patrick Lühne 2020-05-19 12:56:21 +02:00
parent 34b8dce9be
commit d77c7648b3
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
2 changed files with 3 additions and 2 deletions

View File

@ -306,6 +306,7 @@ impl Problem
where
F: FnMut(&mut Statement) -> G,
{
// TODO: properly ensure that statements are proven in the right order
for section in self.statements.borrow_mut().iter_mut()
{
for statement in section.1.iter_mut()

View File

@ -2,11 +2,11 @@
#[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)]
pub enum SectionKind
{
CompletedDefinitions,
IntegrityConstraints,
Axioms,
Assumptions,
Lemmas,
CompletedDefinitions,
IntegrityConstraints,
Assertions,
}