Finite Functional Programming

Michael Arntzenius, Max Willsey · 2026

Read Finite Functional Programming by Michael Arntzenius, Max Willsey (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-26161.txt.

Description

Arntzenius and Willsey unite functional and logic programming by recasting predicates as functions carrying their support. Support means the inputs that yield a nonzero result. With only finitely many such inputs, each function becomes an input-output table. Datalog then reads as a language of boolean functions with finite support. Moving beyond booleans to other pointed sets enables aggregation and weighted logic programming. A simple type system checks finiteness through graded effects for grounding and relevance types for pointed sets.

Catalog record

CREATORMichael Arntzenius, Max Willsey
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE60574
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.26161

Browse the full library · About the Tower of Babel