Formalizing the completion of Assignment 4.