Open samuelgruetter opened 9 years ago
Yes, this is a known issue. Currently, we cannot handle functions with preconditions inside of lambdas (id
is desugared to x => id(x)
). I'm currently working on finding a nice way of dealing with this limitation but I'm afraid this might require some form of universal quantification.
In this example
Leon says it found a counter-example:
If I understand correctly, it says that the call to
id
inCons(start, Nil()).map(id)
does not respect the precondition ofid
. But it does, becausestart
is required to be>= 2
.