OAI/Combinatorics/LowSpaceSubsetSum/Streams/ModularCursor.lean
6 declarations, 0 contain sorry, 0 declared as axioms
Executable modular row initialization
Binary search finds the first direct pivot and the position after the last
complementary pivot. The resulting constant-state cyclic cursor produces
the corresponding sorted modular row exactly. The cutoff search uses a
supplied number of steps; the theorem requires only that the array length
be smaller than 2^k. Equal residues stay separate array occurrences.
- def
OAI.LowSpaceSubsetSum.ModularCursor.forwardStartline 23 - def
OAI.LowSpaceSubsetSum.ModularCursor.reverseStartline 28 - theorem
OAI.LowSpaceSubsetSum.ModularCursor.forward_traceline 33 - theorem
OAI.LowSpaceSubsetSum.ModularCursor.reverse_traceline 55 - theorem
OAI.LowSpaceSubsetSum.ModularCursor.forward_sortedline 77 - theorem
OAI.LowSpaceSubsetSum.ModularCursor.reverse_sortedline 89