From d21c56d9b6b47bba65875e104b0d859e738b422a Mon Sep 17 00:00:00 2001 From: "Sato, Ryosuke" Date: Fri, 24 May 2024 12:06:12 +0900 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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` 以外の推論ができるようにしています。