Closed ldcouto closed 9 years ago
Did some sniffing around and in ThmExpVisitor there's a line adding a parenthesis to endBrackets:
I think that's the problem but I don't know why it's there so I'm leaving it to @richardpayne for now.
Fixed, the set bind version wasn't adding the opening parenthesis for the expression. Now generates:
definition "b = +|(forall x in @set {} @ (false)) : @bool|+" declare b_def [eval,evalp]
which parses fine in Isabelle
Ignore the test reference. It's actually for another issue and numbers are difficult for me.
An extra parenthesis is appended at the end of the quantified expression.
Minimum example:
Yields: