Citation Gunter EL & Maharaj S (1995) Studying the ML module system in HOL. Computer Journal, 38 (2), pp. 142-151. https://doi.org/10.1093/comjnl/38.2.142
Abstract In an earlier project of VanInwegen and Gunter, the dynamic semantics of the Core of Standard ML (SML) was encoded in the HOL theorem-prover. We extend this by adding the dynamic Module system. We then develop a possible dynamic semantics for a Module system with higher-order functors and encode this as well. Next we relate these two semantics via embeddings and projections and discuss how we use these to prove that evaluation in the proposed system is a conservative extension, in an appropriate sense, of evaluation in the SML Module system.