<div dir="ltr"><div><div><div>Consider this example :<br><br>```<br>module test where<br><br><br>data T : Set where<br>  t : T<br>  tt : T<br><br>data D : T → Set where<br>  d : D t<br>  dt : D tt<br><br><br>f : T → T<br>f t = tt<br>f tt = t<br><br>g : (x : T) → D (f (f (f x)))<br>g x = {!!} where<br> e = (f (f (f x)))<br><br>```<br><br></div>A. When someone checks the hole with C-c C-, , he does not see the type of e.<br></div><br>B. It would be nice if the goal type and the context were updated to contain the e variable. <br><br></div>If the expressions are very long, I currently have to check them very carefully to see if the variable I have defined is the same as the expression.<br></div>