Ensure that statements are proven in right order
This commit is contained in:
parent
34b8dce9be
commit
d77c7648b3
@ -306,6 +306,7 @@ impl Problem
|
|||||||
where
|
where
|
||||||
F: FnMut(&mut Statement) -> G,
|
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 section in self.statements.borrow_mut().iter_mut()
|
||||||
{
|
{
|
||||||
for statement in section.1.iter_mut()
|
for statement in section.1.iter_mut()
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
#[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)]
|
#[derive(Clone, Copy, Eq, Ord, PartialEq, PartialOrd)]
|
||||||
pub enum SectionKind
|
pub enum SectionKind
|
||||||
{
|
{
|
||||||
CompletedDefinitions,
|
|
||||||
IntegrityConstraints,
|
|
||||||
Axioms,
|
Axioms,
|
||||||
Assumptions,
|
Assumptions,
|
||||||
Lemmas,
|
Lemmas,
|
||||||
|
CompletedDefinitions,
|
||||||
|
IntegrityConstraints,
|
||||||
Assertions,
|
Assertions,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user