check some inductive invariants