Skip to content

Commit 014c527

Browse files
committed
chore: update F*
1 parent d127dfe commit 014c527

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Comparse.Parser.Derived.fst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@ val list_unrefb_refb:
102102
Lemma (list_unrefb #a #p (list_refb #a #p l) == l)
103103
let rec list_unrefb_refb #a #p l =
104104
match l with
105-
| [] -> ()
106-
| h::t -> list_unrefb_refb #a #p t
105+
| [] ->
106+
assert_norm(list_unrefb #a #p (list_refb #a #p []) == [])
107+
| h::t ->
108+
list_unrefb_refb #a #p t;
109+
assert_norm(list_unrefb #a #p (list_refb #a #p (h::t)) == h::list_unrefb #a #p (list_refb #a #p (t)))
107110
#pop-options
108111

109112
#push-options "--ifuel 1 --fuel 1"
@@ -441,7 +444,7 @@ let ps_nat_accelerate #bytes #bl ps_nat_slow =
441444
(fun n -> (|nbytes_prefix n, n|))
442445
#pop-options
443446

444-
#push-options "--z3rlimit 15"
447+
#push-options "--z3rlimit 25"
445448
let ps_true_nat #bytes #bl =
446449
mk_isomorphism (refined nat true_nat_pred) (ps_nat_accelerate ps_nat_unary) (fun n -> n) (fun n -> n)
447450
#pop-options

0 commit comments

Comments
 (0)