Edited by 

List price: US$41.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. Twelf is an implementation of the logical framework LF. It is used for logic programming and for the formalization of programming language theory. At its simplest, a Twelf program is a collection of declarations of type families and constants that inhabit those type families. For example, the following is the standard definition of the natural numbers, with z standing for zero and s the successor operator. The type family plus is read as a relation between three natural numbers M, N and P, such that M + N = P. We then give the constants that define the relation: plus_zero indicates that any natural number M plus zero is still M. The quantifier can be read as "for all M of type nat." The constant plus_succ defines the case for when the second argument is the successor of some other number more

Product details

  • Paperback | 92 pages
  • 152 x 229 x 6mm | 145g
  • The
  • United States
  • English
  • black & white illustrations
  • 6135634615
  • 9786135634617