Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9f96940
Ignore `dstep` to prove `addsnake` termination
ninioArtillero May 6, 2026
46ff484
Add a benchmark with a larger size difference between the inputs
facundominguez Jul 9, 2026
cdbe672
Refactor/optimize `dstep` by removing out-of-bound nodes
ninioArtillero May 6, 2026
1b19f1c
Prove `dstep` reduces distance to goal
ninioArtillero May 6, 2026
2ecfdc6
Refactor `ses` to use wave-front wise search for the endpoint.
ninioArtillero May 6, 2026
27b9b4c
`ses` termination proof
ninioArtillero May 6, 2026
0a6fa4a
Move and reflect step functions in the top level to reduce spec
ninioArtillero Aug 3, 2026
052e467
Rename spec variable to match source
ninioArtillero Aug 3, 2026
78d6799
Simplify workaround documentation
ninioArtillero Aug 3, 2026
110aa6f
Reflect `_manhattanDistance` to allow PLE unfolding of `_wfDistanceTo…
ninioArtillero Aug 3, 2026
8e94eed
Make explicit intermediate bound lemma
facundominguez Aug 5, 2026
1677a60
Update documentation of lemmas and complete manual proof
ninioArtillero Aug 5, 2026
bcaa894
Remove unnecessary metric related specs
ninioArtillero Aug 5, 2026
d5c097e
Remove unnecessary empty list equations from `getDiffBy` (revert #28)
ninioArtillero Aug 5, 2026
397817e
Refactor `manhattanDistance` to take a `DL` argument
ninioArtillero Aug 5, 2026
8b7162e
Refine `_wfDistanceLowerBoundK` lemma documentation
ninioArtillero Aug 5, 2026
87b746a
Drop `withProof` in favor of `const` for lemmas
ninioArtillero Aug 6, 2026
d610061
Improve documentation related to `_wfDiags` invariant
ninioArtillero Aug 6, 2026
871d62c
Fix `DL` invariant doc and reference lemma in bottom boundary case
ninioArtillero Aug 7, 2026
92fb1b5
Improve `furthestReaching` spec
ninioArtillero Aug 7, 2026
d0739c6
Add note on diagonal invariant compromise
ninioArtillero Aug 7, 2026
cd35bf8
Amend docs and rearrange module to isolate LH specific machinery
ninioArtillero Aug 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions bench/bench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ doBenchMarks seed =
let rbools = randoms (mkStdGen seed) :: [Bool]
(s1000_1, rbools1) = splitAt 1000 rbools
(s1000_2, rbools2) = splitAt 1000 rbools1
in s1000_1 `deepseq` s1000_2 `deepseq` defaultMain [
bgroup "diff bool lists" $ [bench "1000 bools" $ nf (getDiff s1000_1) s1000_2]
]

s500_2 = take 500 s1000_2
in (s1000_1, s1000_2, s500_2) `deepseq` defaultMain
[ bgroup "diff bool lists"
[ bench "1000 bools" $ nf (getDiff s1000_1) s1000_2
, bench "1000/500 bools" $ nf (getDiff s1000_1) s500_2
]
]
Loading
Loading