Compute running balances and detect a negative balance
The output array starts at zero and then records the running total after each operation.
Permanent public credit, certificates, and points. Unpaid; uses your AI plan.
The exact statement
theorem below_zero_spec_satisfied (operations: List Int) (h_precond : below_zero_precond (operations)) :
below_zero_postcond (operations) (below_zero (operations) h_precond) h_precondThe output array starts at zero and then records the running total after each operation. The returned flag is true exactly when a running total is negative.
