The formula {1 |-> 2} >< {1 |-> 3} raises the following exception:
java.lang.ClassCastException: de.bmoth.parser.ast.types.UntypedType cannot be cast to de.bmoth.parser.ast.types.CoupleType
at de.bmoth.parser.ast.TypeChecker.visitExprOperatorNode(TypeChecker.java:407)
at de.bmoth.parser.ast.TypeChecker.visitExprOperatorNode(TypeChecker.java:12)
at de.bmoth.parser.ast.AbstractVisitor.visitExprNode(AbstractVisitor.java:22)
at de.bmoth.parser.ast.TypeChecker.<init>(TypeChecker.java:75)
at de.bmoth.parser.Parser.getFormulaAsSemanticAst(Parser.java:81)
at de.bmoth.typechecker.FormulaTest.testDirectProduct(FormulaTest.java:328)
The formula {1 |-> 2} >< {1 |-> 3} raises the following exception:
The result should be {1|->(2|->3)}.