Skip to content

Conversation

@gebner
Copy link
Contributor

@gebner gebner commented Sep 4, 2025

I'm tired of looking at log files without variable names because we replace them with x before passing them to F*.

Before:
try_teq of FStar.Pervasives.Native.tuple2 and FStar.Pervasives.Native.tuple2 in [Binding_var x, Binding_var x, Binding_var x, Binding_var x, Binding_var x, Binding_var x] {
After:
try_teq of FStar.Pervasives.Native.tuple2 and FStar.Pervasives.Native.tuple2 in [Binding_var __, Binding_var v, Binding_var i, Binding_var p, Binding_var s, Binding_var t] {

The only awkward part is that we used to use the binder name _ a lot. However this name is treated specially in F*, in particular assumptions with this name seem to be dropped in the SMT encoding. Therefore this PR changes the name to __ instead. Right before extraction we change it back to _, because obviously the underscore is magic in extraction as well.

@gebner gebner merged commit 647594b into main Sep 4, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants