Check whether a key occurs exactly once
The function returns true exactly when the key occurs once in the array.
Permanent public credit, certificates, and points. Unpaid; uses your AI plan.
The exact statement
theorem only_once_spec_satisfied (a: Array Int) (key: Int) (h_precond : only_once_precond (a) (key)) :
only_once_postcond (a) (key) (only_once (a) (key) h_precond) h_precond