When e is a variable x, we have:
comp' x c = comp x $++c
This is the base case for our induction.
Now, let's consider the inductive step. We assume that the recursive definition holds for some expression e, and we want to show that it holds for e' = e1 +
Show more…