syntax n ∈ Num x ∈ Var a ∈ Aexp a ::= n | x | a1 + a2 | a1 * a2 | a1 a2 Semantic domains Integer = {... -3, -2, -1, 0, 1, 2, 3 ...} Truth-Value = {true, false} State = Var → Integer Semantic valuation functions N: Num → Integer A: Aexp → State → Integer A [[n]] = λs. N [[n]] A [[x]] = λs. s x A [[a1 + a2]] = λs. A [[a1]] s + A [[a2]] s A [[a1 * a2]] = λs. A [[a1]] s * A [[a2]] s 6 Prolog and Au...