GOAL E1: (* , plus(x, plus(y, z)) [=] plus(plus(x, y), z) , *) GOAL E2: (* , plus(x, y) [=] plus(y, x) , *) GOAL E3: (* , sum(app(x, y)) [=] sum(app(y, x)) , *) skip induct case x simplify R7 l with [y := y] induct case y simplify R7 r with [y := zero] delete simplify R8 r with [x := y1, y := zero] context 1 hdelete H7 l with [y := y1] simplify R8 l with [x := x1, y := y] case y simplify R7 r with [y := s(x1)] context 1 hdelete H7^{-1} l with [y := x1] simplify R8 r with [x := y1, y := s(x1)] context 1 hypothesis H2 l with [x := x1, y := s(y1)] hypothesis H2 r with [x := y1, y := s(x1)] simplify R8 l with [x := y1, y := x1] simplify R8 r with [x := x1, y := y1] context 1 hdelete H2 l with [x := y1, y := x1] induct case x simplify R7 l with [y := plus(y, z)] simplify R7 r1 with [y := y] delete simplify R8 l with [x := x1, y := plus(y, z)] simplify R8 r1 with [x := x1, y := y] simplify R8 r with [x := plus(x1, y), y := z] context 1 hdelete H1 l with [x := x1, y := y, z := z] induct case x simplify R15 l1 with [z := y] induct case y simplify R13 l with [] simplify R15 r1 with [z := nil] simplify R13 r with [] delete simplify R14 l with [x := y1, y := y2] simplify R16 r1 with [x := y1, y := y2, z := nil] simplify R14 r with [x := y1, y := app(y2, nil)] hdelete H38 l2 with [y := y2] simplify R16 l1 with [x := x1, y := x2, z := y] simplify R14 l with [x := x1, y := app(x2, y)] case y simplify R15 r1 with [z := cons(x1, x2)] simplify R14 r with [x := x1, y := x2] hdelete H38^{-1} l2 with [y := x2] simplify R16 r1 with [x := y1, y := y2, z := cons(x1, x2)] simplify R14 r with [x := y1, y := app(y2, cons(x1, x2))] hypothesis H3 l2 with [x := x2, y := cons(y1, y2)] simplify R16 l2.1 with [x := y1, y := y2, z := x2] simplify R14 l2 with [x := y1, y := app(y2, x2)] hypothesis H3 r2 with [x := y2, y := cons(x1, x2)] simplify R16 r2.1 with [x := x1, y := x2, z := y2] simplify R14 r2 with [x := x1, y := app(x2, y2)] hypothesis H2 r with [x := y1, y := plus(x1, sum(app(x2, y2)))] hypothesis H1^{-1} r with [x := x1, y := sum(app(x2, y2)), z := y1] hypothesis H2 r2 with [x := sum(app(x2, y2)), y := y1] hdelete H3 l2.2 with [x := y2, y := x2]