fix: refinement types bugs

This commit is contained in:
Shunsuke Shibayama 2023-03-03 13:44:05 +09:00
parent 5c6ea316f5
commit 1c8da7f049
15 changed files with 178 additions and 168 deletions

View file

@ -764,7 +764,7 @@ impl Context {
let input = refinement(
var.clone(),
Nat,
set! { Predicate::le(var, N.clone() - value(1usize)) },
Predicate::le(var, N.clone() - value(1usize)),
);
// __getitem__: |T, N|(self: [T; N], _: {I: Nat | I <= N}) -> T
let array_getitem_t =