OAI/Combinatorics/LowSpaceSubsetSum/Streams/StreamPrimitiveWork.lean
12 declarations, 0 contain sorry, 0 declared as axioms
Counted binary searches and residue sorting
The counted routines follow the same branches as the executable search and sort. Their first components agree exactly with those routines. The counters charge predicate calls and merge/split operations, respectively; word arithmetic and mask access still require separate compilation charges.
- def
OAI.LowSpaceSubsetSum.BinaryPivot.countedline 19 - theorem
OAI.LowSpaceSubsetSum.BinaryPivot.counted_valueline 26 - theorem
OAI.LowSpaceSubsetSum.BinaryPivot.counted_queriesline 32 - def
OAI.LowSpaceSubsetSum.BinaryPivot.countedSearchline 41 - theorem
OAI.LowSpaceSubsetSum.BinaryPivot.countedSearch_valueline 44 - theorem
OAI.LowSpaceSubsetSum.BinaryPivot.countedSearch_queriesline 47 - def
OAI.LowSpaceSubsetSum.ResidueSort.countedline 56 - theorem
OAI.LowSpaceSubsetSum.ResidueSort.counted_valueline 60 - theorem
OAI.LowSpaceSubsetSum.ResidueSort.counted_workline 64 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.counted_sort_valueline 75 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.counted_sort_workline 79 - theorem
OAI.LowSpaceSubsetSum.RepresentationPairData.any_state_comparisonsline 85