This report details a formal methods project that finds the index of the last zero in an integer array. It outlines the challenge of only passing the array as input and describes the implementation of two functions, 'exist_zero' and 'last_zero', used to achieve the objective. The report also provides test cases to demonstrate that the functions work correctly, confirming the proof statuses for each test.
Related topics: