I'm currently trying to create Haskell code from my program verification lemma, which looks like this:
Lemma the_thing_is_ok : forall (e:Something), Matches e (calculate_value e).
Immediately after the end of my section, I:
Extraction Language Haskell. Recursive Extraction the_thing_is_ok
And this, it seems, is not very happy, because it returns the following error:
__ = Prelude.error "Logical or arity value used"
I have one more lemma that seems to be exporting just fine, but I couldn't figure out what the problem is. Any clues on how to get around this error?
source share