Doing Software Foundations in Agda