# Implementing Grassroots Logic Programs with Multiagent Transition Systems and AI (Full Version)

arXiv: https://arxiv.org/abs/2602.06934 · HTML: https://mlsanity.com/paper/2602.06934/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 68 references that are in the map.
- First posted on arXiv 6 Feb 2026.

## Builds on (most cited first, 8 of 8)

- [Type-Constrained Code Generation with Language Models](https://mlsanity.com/paper/2504.09246/) (2025)
- [Statically Contextualizing Large Language Models with Typed Holes](https://mlsanity.com/paper/2409.00921/) (2024)
- [Grassroots Federation: Fair Democratic Governance at Scale](https://mlsanity.com/paper/2505.02208/) (2025)
- [Grassroots Social Networking: Where People have Agency over their Personal Information and Social Graph](https://mlsanity.com/paper/2306.13941/) (2023)
- [Grassroots Flash: A Payment System for Grassroots Cryptocurrencies](https://mlsanity.com/paper/2309.13191/) (2023)
- [The Blocklace: A Byzantine-repelling and Universal Conflict-free Replicated Data Type](https://mlsanity.com/paper/2402.08068/) (2024)
- [Federated Assemblies](https://mlsanity.com/paper/2405.19129/) (2024)
- [Grassroots Platforms with Atomic Transactions: Social Networks, Cryptocurrencies, and Democratic Federations](https://mlsanity.com/paper/2502.11299/) (2025)

## Built on by (most cited first, 1 of 1)

- [Volition Elicitation: Operational Semantics for People and Their Machines](https://mlsanity.com/paper/2607.14138/) (2026)

## Abstract (arXiv)

Grassroots Logic Programs (GLP) is a concurrent logic programming language in which logic variables are partitioned into paired readers and writers. An assignment is produced at most once via a writer and consumed at most once via its paired reader, and may contain additional readers and/or writers. This enables the concise expression of rich multidirectional communication modalities. The language was introduced together with concurrent (cGLP) and multiagent (maGLP) operational semantics. Here, we derive from these (1) dGLP, a deterministic counterpart of cGLP, and (2) madGLP, a counterpart of maGLP in which deterministic agents communicate solely by asynchronous message passing, and prove them correct against their abstract counterparts. maGLP shared variable pairs spanning agents can be implemented by two local variable pairs joined by a global link, with correctness following from disjoint substitution commutativity (a consequence of GLP's single-occurrence invariant). We further prove that madGLP is grassroots. Both dGLP and madGLP serve as formal specifications for an AI-driven implementation discipline (math → informal spec → Dart) employed and described here: from dGLP, AI (Claude) developed a workstation-based GLP implementation in Dart, and from madGLP it is developing a smartphone-based multiagent one.
