https://123dok.net/document/y4w46vrv-hoare-logics-for-time-bounds.html