Type-directed operational semantics for gradual typing - YE, WENJIA (Journal of Functional Programming)