Elektrine lite

← Feed

@dwarn@mathstodon.xyz

Post #2652248

2026-05-11 11:37 UTC

@jonmsterling@mathstodon.xyz Rewrite rules would probably work. Currently, we are experimenting with something like Licata's trick, relying on private modules. The idea is that Cat models simple type theory, and Agda already implements type checking for simple type theory (+ a lot more). So we privately define Cat to be Type, and expose only the intended operations. Here's an implementation: https://codeberg.org/dwarn/axcat/src/branch/main/src/Cat/Base.agda To be clear, I don't know if this is robust!

Replies (2)