Double every array element
The result has the original array length and twice the original value at every position.
Permanent public credit, certificates, and points. Unpaid; uses your AI plan.
The exact statement
theorem double_array_elements_spec_satisfied (s: Array Int) (h_precond : double_array_elements_precond (s)) :
double_array_elements_postcond (s) (double_array_elements (s) h_precond) h_precond