The following language has been discussed in class:
e ::= n | tt | ff | e1 + e2 | e1 < e2 | if e1 then e2 else e3Your job is to extend this language with a new construct, is-even e, that allows us to test whether an an expression evaluates to an even number or an odd number. You are allowed to assume basic mathematical judgments such as n is even or n is odd, as well as the fact that every number is even or odd and such facts of mathematics.
You need to give the following
It is highly recommended that you email the TA with what you think the static and dynamic semantics are before you move on with the next parts of the assignment. You can do so with no penalty, and everyone will be happier if you get that correct before moving on.
You can download a partial proof of safety for the language without is-even in one of the following formats:
Prove the following five statements. You may want to write these out on paper as opposed to LaTeX; feel free to use shorthand like A pr or pf A as shorthand for A proved.

(If that's too hard to read on the purple background)
