Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sato, Ryosuke authored and KenSakayori committed Dec 10, 2024
1 parent aa47c73 commit d21c56d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <input.annot>` and `--target <CHECK_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<plen /\ 0<slen /\ 0<=p /\ 0<=s]))))))))
```

## Changes by Yamada

`lib/typing/rinfer.ml` を (dirty hack 的に) 改変して、`prop<tt>` 以外の推論ができるようにしています。
Expand Down

0 comments on commit d21c56d

Please sign in to comment.