Commit Graph

3 Commits

Author SHA1 Message Date
Japheth Lim c0d6e8c40f lib/FastMap: test cases for small inputs 2018-10-23 15:44:11 +11:00
Japheth Lim 5ea3f54547 lib/FastMap: refactor convs; renaming; juggle function arguments
Complex conversions have been refactored to the new utility conv_at,
which is easier to use and has better error detection.

Name changes: “*_to_map” naming scheme changed to more descriptive
“*_to_lookup_list”.

Key transformer argument is now the first argument to tree_lookup and
friends, which matches functional programming conventions.
2018-10-23 15:44:11 +11:00
Japheth Lim 1dfb962ad2 lib: add FastMap tool
Many issues remain (see TODO list), but it's now mature enough to be
used for proof automation and has a comprehensive test suite.
2018-10-23 15:44:11 +11:00