Hol-ml
暂无分享,去创建一个
We describe here HOL-ML, an encoding of a subset of SML and its dynamic semantics (as described by The Definition of Standard ML) in HOL. This encoding, which is the first stage in a project that will include typechecking and SML Modules, allows the formal study of the evaluation of a real programming language including state and control constructs (exceptions). In this paper we describe the subset of SML that we encoded and the semantic objects needed for its evaluation. We explain how we defined the evaluation rules and how we proved that evaluation is deterministic. We describe briefly the next step, which is to define a larger language that includes type declarations and to define the typechecking rules on it. Finally, we give a short description of the mutually recursive type definition package that we wrote to enable us to define the types we needed to create the HOL-ML grammar.
[1] Stefan Kahrs,et al. Mistakes and Ambiguities in the definition of Standard ML , 1993 .
[2] Robin Milner,et al. Commentary on standard ML , 1990 .
[3] Robin Milner,et al. Definition of standard ML , 1990 .
[4] Konrad Slind. Adding New Rules to an LCF-style Logic Implementation , 1992, TPHOLs.