initial work on proving monadic functions about context updates