Skip to main content

positions_are_strictly_monotonic

Function positions_are_strictly_monotonic 

pub async fn positions_are_strictly_monotonic<F: Fixture>(
    open: impl AsyncFn() -> F,
) -> RuleOutcome
Expand description

Positions strictly increase. Gaps are permitted, so this checks ordering rather than density.

The types descend across both batches, which is what makes this falsifiable at all. CF-1’s own Rejects: names this rule and positions_are_unique as decorative as they stood: both read a quiescent store back through read, so both were satisfied by any store that sorted on the way out. Under descending types a store ordering by (type, position) returns descending positions, and this fails. positions_are_unique needed no change — SharedBatchPositionStore assigns one position to a whole batch, which is a duplicate in any order.