Open mantognini opened 7 years ago
Should we maybe distinguish between "equals" that can be freely redefined in Stainless, and the equality that corresponds to the semantics of Inox and the underlying SMT solvers?
I think we should, especially considering the recent discussion you had with @samarion about lambda equality.
At the moment (*), stainless yields the following error:
We should probably do something about this. The simplest solution would be to forbid having any function called
equals
. It's not the best but definitely the cheapest one to implement.(*) using
persistent_cache
&options
branches.