section ‹ Example: Summing a List › theory sum_list imports "../utp_easy_parser" begin text ‹ This theory exemplifies the use of the Isabelle/UTP Hoare logic verification component. We first create a state space with the variables the program needs. ›