prolog

1 article
sort: new top best
clear filter
0 2/10

This article explains thinnings as witness data structures that prove one list is a sublist of another, representing order-preserving mappings between lists as boolean vectors or bitvectors. The author demonstrates how thinnings encode de Bruijn index shift operations and can be composed as morphisms in a category, with practical implementations in Python and Prolog.

Conor McBride Philip Zucker Chris Warbo Agda Python Prolog Scryer Prolog maturin
philipzucker.com · matt_d · 7 days ago · details · hn