File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ val null #a : ref a
3131
3232val is_null # a ( r : ref a ) : b :bool{ b <==> r == null # a }
3333
34- val pts_to_uninit (# a : Type u# a ) ([ @@@mkey ] r : ref a ) : slprop
35- val pts_to (# a :Type u# a ) ([ @@@mkey ] r : ref a ) (#[ T. exact (` 1 . 0R)] p : perm ) ( n : a ) : slprop
34+ val pts_to_uninit (#[ @@@ mkey ] a : Type u# a ) ([ @@@mkey ] r : ref a ) : slprop
35+ val pts_to (#[ @@@ mkey ] a :Type u# a ) ([ @@@mkey ] r : ref a ) (#[ T. exact (` 1 . 0R)] p : perm ) ( n : a ) : slprop
3636
3737instance val is_send_pts_to # a r # p n : is_send ( pts_to # a r # p n )
3838instance val is_send_pts_to_uninit # a r : is_send ( pts_to_uninit # a r )
Original file line number Diff line number Diff line change @@ -754,10 +754,7 @@ let is_mkey (t:R.term) : bool =
754754 | _ -> false
755755
756756let binder_is_mkey ( b : R. binder ) : bool =
757- if List.Tot. existsb is_mkey ( R. inspect_binder b ). attrs then true else
758- // Treat type arguments as mkeys, as F* will happily unify terms of different types.
759- if R. Tv_Type ? ( R. inspect_ln ( R. inspect_binder b ). sort ) then true else
760- false
757+ List.Tot. existsb is_mkey ( R. inspect_binder b ). attrs
761758
762759let binder_is_pred ( b : R. binder ) : option nat =
763760 let doms , c = R. collect_arr_ln ( R. inspect_binder b ). sort in
You can’t perform that action at this time.
0 commit comments