Skip to content
Snippets Groups Projects
Commit f1fecf94 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Blah

parent 68f21702
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,8 @@ case object IntInduction extends Rule("Int Induction") {
IfExpr(Equals(Variable(inductOn), InfiniteIntegerLiteral(0)),
base.toExpr,
IfExpr(GreaterThan(Variable(inductOn), InfiniteIntegerLiteral(0)),
letTuple(postXs, FunctionInvocation(newFun.typed, Seq(Minus(Variable(inductOn), InfiniteIntegerLiteral(1)))), gt.toExpr)
, letTuple(postXs, FunctionInvocation(newFun.typed, Seq(Plus(Variable(inductOn), InfiniteIntegerLiteral(1)))), lt.toExpr)))
letTuple(postXs, FunctionInvocation(newFun.typed, Seq(Minus(Variable(inductOn), InfiniteIntegerLiteral(1)))), gt.toExpr),
letTuple(postXs, FunctionInvocation(newFun.typed, Seq(Plus(Variable(inductOn), InfiniteIntegerLiteral(1)))), lt.toExpr)))
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment