FStar icon indicating copy to clipboard operation
FStar copied to clipboard

FStar.Witnessed.Core: mark witnessed argument as @@@unused

Open mtzguido opened this issue 2 years ago • 0 comments

This allows to user a witnessed token in recursive definitions in non-strictly positive positions. The justification is 1) that this token is really just a unit, it's the axiom that gives it any interesting behavior, and 2) that this token cannot be used except through an effectful operation.

So it should be safe to mark it its type argument @@@unused.

mtzguido avatar Aug 03 '23 16:08 mtzguido