diff --git a/README.md b/README.md index 5c5b43a..e94a1b0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,34 @@ A nuHFL(Z) (aka higher-order CHC) solver based on refinement types. +## Changes by Sato + +Support input files for annotations introduced by Yamada-san + +### How to use + +Use options `--annot ` and `--target ` (See below for CHECK_TARGET). For example: + +``` +$ dune exec -- hflmc3 --no-disprove kmp.hfl --annot kmp.loop.annot --target toplevel +``` + +Here is an exmalpe of .annot file: +``` +%TYPE + +LOOP: + (plen: int -> + (slen: int -> + ((i: int -> ((int -> *) -> *[(0 <= i /\ i < plen)])) -> + ((i: int -> ((v: int -> *[(0 <= v + 1 /\ v + 1 < plen)]) -> *[(0 <= i /\ i < plen)])) -> + ((i: int -> ((int -> *) -> *[(0 <= i /\ i < slen)])) -> + (s: int -> + (p: int -> + ((int -> *) -> + *[0` 以外の推論ができるようにしています。