Simplify crossed dispatch and add SMT-derived cases

Drop the redundant begin.offset split in crossedCompleteOvershoot and
the rE > 0 guard in closedFormForwardSaturated; both are implied by
the call-site invariants.

Add an SMT-derived empty-interval case as the smt_cases CTest and as a
committed fuzz_readable seed.  run-fuzz.sh now loads the read-only seed
corpus alongside the writable one.

Rename exhaustive to sweep and document that it is exhaustive only
over its bounded family of instances.
This commit is contained in:
andrew committed 2026-11-18 13:03:55 -05:00
1 parent 7a41d1f647
commit a0b68d148b
9 files changed
+72 -50

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# Hand-picked readable instances that the deterministic sweep and the
# Lean-generated corpus did not cover. Format matches `oracle/golden.txt` and
# is consumed by `diff_corpus`.
#
# z3 model for the `cardKO` empty-interval mutation (`NatInf::of(0)` ->
# `NatInf::of(1)` in `fast.cpp`): a reversed, truncated read whose reported
# prefix contains keys at or above `begin.key`. The mutated cardinality flips
# `finiteUnderCond` and moves the upper endpoint from `after(firstKey)` to
# `begin.key`.
610100 -1 610080 3 1 1 3 6102 6101 61 => 61 610200