example : (1 + 1 : ℤ) = 2 := begin change (1 + 1 : ℤ) with 2, -- goal : 2 = 2 refl end