pub fn is_closed_algebra(p: &SpatialProgram) -> boolExpand description
Every compute stage of a composition is one of the CLOSED algebra’s two shapes — the property
each_composition_is_a_chain_of_the_closed_algebra asserts, exposed so a lock and a ledger read the
same predicate rather than two copies of it.