A typechecker for intensional MLTT without elaboration.
Go to file
2022-08-01 18:26:13 +02:00
src slight parser optimization 2022-08-01 18:26:13 +02:00
tests update readme 2022-07-28 15:46:00 +02:00
.gitignore initial commit 2022-04-23 15:18:06 +02:00
makefile definition system, repl 2022-07-26 23:07:13 +02:00
pi.ipkg definition system, repl 2022-07-26 23:07:13 +02:00
README.md update readme 2022-07-28 15:46:00 +02:00

pi

A dependently typed system

Implemented

  • A Basic dependent lambda calculus

    • lambda abstractions
    • variables
    • pi types
    • type of types
  • let … in …

  • Unit type

  • Empty type

  • Natural numbers

  • Σ Types

  • Martin-Löf Identity types

TODO

  • Universes (a la tarksi)

  • Elaboration

    • Implicit arguments
    • Universe family application
      • Syntax level russel universes
      • Universe of all other universes? (universe polymorphism)
  • Inductives

    • Indexed inductives

Things that could be fun to do sometime eventually

  • Pattern matching in elaborator

  • Write down the rules

  • Performence optimisation?

  • Compile to scheme

References

Some of the material I found helpful in groking dependent type checking: