https://github.com/EasyCrypt/easycrypt
Revision 7bc73a4466ad80d82edfee0399acb2d9436be605 authored by Pierre-Yves Strub on 19 December 2017, 11:17:37 UTC, committed by Pierre-Yves Strub on 19 December 2017, 11:21:58 UTC
`solve` is a resolution tactics. Currently, it tries to (recursively) close goals with the lemmas in the hint databases (in the same manner as `done` with the `hint exact` database). However, `solve` can be given hint databases names with the syntax: `solve (db1, db2, ...)` The maximum depth of the resolution tree is controled by an optional argument that comes first (`solve 2` for example). By default, the depth is equal to 1. Databases can be created using the 'hint solve' command: `hint solve $priority $dbname : lemma1 lemma2'. where the priority is optional --- `solve` tries to solve goals using lemmas with a lower $priority first. `hint exact ...` is now an alias for `hint solve 0 ...`
1 parent 19c5eed
Tip revision: 7bc73a4466ad80d82edfee0399acb2d9436be605 authored by Pierre-Yves Strub on 19 December 2017, 11:17:37 UTC
New tactic: solve
New tactic: solve
Tip revision: 7bc73a4
MANIFEST
Makefile
Makefile.system
MANIFEST
README.md
COPYRIGHT
# ocamlbuild configuration
_tags
myocamlbuild.ml
config/tests.config
# EasyCrypt sources
find:src:*.ml
find:src:*.mli
find:src:*.mly
find:src:*.mll
src/ecVersion.ml.in
exclude:src/ecVersion.ml
# EasyCrypt theories
find:theories:*.ec
find:theories:*.eca
# EasyCrypt extraction support library
find:extraction:*.ml
find:extraction:*.mli
find:extraction:*.ec
# system
system/Makefile
system/*.c
system/win32/*.c
system/unix/*.c
# EasyCrypt examples
find:examples:*.ec
find:examples:*.eca
# Build scripts
scripts/install/install-sh
scripts/install/distribution
scripts/testing/runtest
scripts/srctx/keywords
find:scripts/patches/:*
Computing file changes ...