English

Polymorphic Types in ACL2

Logic in Computer Science 2014-06-09 v1 Programming Languages

Abstract

This paper describes a tool suite for the ACL2 programming language which incorporates certain ideas from the Hindley-Milner paradigm of functional programming (as exemplified in popular languages like ML and Haskell), including a "typed" style of programming with the ability to define polymorphic types. These ideas are introduced via macros into the language of ACL2, taking advantage of ACL2's guard-checking mechanism to perform type checking on both function definitions and theorems. Finally, we discuss how these macros were used to implement features of Specware, a software specification and implementation system.

Keywords

Cite

@article{arxiv.1406.1558,
  title  = {Polymorphic Types in ACL2},
  author = {Benjamin Selfridge and Eric Smith},
  journal= {arXiv preprint arXiv:1406.1558},
  year   = {2014}
}

Comments

In Proceedings ACL2 2014, arXiv:1406.1238

R2 v1 2026-06-22T04:32:14.372Z