Skip to content

ashley-woodard/nano-Agda

 
 

Repository files navigation

A tiny type-checker, loosely based on 

 "On the Algebraic Foundation of Proof Assistants for Intuitionistic Type Theory", Abel, Coquand, Dybjer.

some ideas from

"A Tutorial Implementation of a Dependently Typed Lambda Calculus", Löh, McBride, Swierstra

are also used for this implementation.

Additionally, this implementation performs evaluation to normal form
and type checking/inference at the same time. Some extra features,
that add a lot of convenience, but just little complication are also
present, such as dependent sums.

The interesting bits are in 

Normal.hs (mainly the subst function which performs hereditary substitutions)
TypeCheckerNF.hs (type checking and driver of normalisation)






About

Tiny type-checker with dependent types

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%