When constructing an associative predicate with <=>, I get an AssertionError.
Equivalence is not an AssociatiePredicate in the AST Library, it is a BinaryPredicate.
From the Javadoc of org.eventb.core.ast.Formula.LEQV: /** * <code>LEQV</code> represents \u21d4 * * @see BinaryPredicate */
The class comment of AssociativePredicate says that LEQV is a legal tag for associative predicates.
Corrected comment in r8344. AssociativePredicate can only accept tags from {LAND,LOR}.
Log in to post a comment.
Equivalence is not an AssociatiePredicate in the AST Library, it is a BinaryPredicate.
From the Javadoc of org.eventb.core.ast.Formula.LEQV:
/**
* <code>LEQV</code> represents \u21d4
*
* @see BinaryPredicate
*/
The class comment of AssociativePredicate says that LEQV is a legal tag for associative predicates.
Corrected comment in r8344. AssociativePredicate can only accept tags from {LAND,LOR}.