FStar icon indicating copy to clipboard operation
FStar copied to clipboard

Fix `smaller` predicates for reflections

Open W95Psp opened this issue 3 years ago • 0 comments

Hi,

I was using the reflection API in a total context and found some inspect_* primitive were lacking refinements, forcing me to add admits about termination of some of my functions.

Hence, this PR adds refinements on the builtins inspect_bv, inspect_lb and inspect_binder to specify that inspecting a bv/lb/binder x results in a view that is smaller than x. It also fixes and simplifies some of those smaller functions that sometimes missed some << relations.

W95Psp avatar Jul 13 '22 15:07 W95Psp