[TYPES] How to code interesting examples in λC

Beta Ziliani <[email protected]>
Newsgroups gmane.comp.science.types
Message-ID <CANhxKcpqxwbmhvb6SgkKyMM-Wyrd3CeQ8Q=vS61sP2HHR-ecww@mail.gmail.com>
[ The Types Forum, http://lists.seas.upenn.edu/mailman/listinfo/types-list ]

Hi,

In a course I'm teaching, I wanted to show the Calculus of Constructions
(a.k.a. λC) prior to jumping to the Calculus of Inductive Constructions
(CIC). However, I find myself unable to code any interesting example. In
particular, I wasn't able to Church-encode a vector, a list with *n*
elements, whose *n* is defined in the type. Or, more primitively, the
equality type. Someone knows if this is possible to do, or send me pointers
at where such problem is discussed?

Thanks,
Beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.