Entomology · Paper · 2026

Illegal States, Mostly Unrepresentable

Zenodo

Catalog Row191
Citation KeyFriedman2026IllegalStatesMostlyUnrepresentable191
Paper FolderAvailable

Overview

Extracted from the local paper documentation when available.

This paper presents a strongly-typed, decentralized multiagent simulation — an ant-robot colony — as the computational exemplar of the Research Project Template (https://github.com/docxology/template). Each colony member is an Agent that owns exactly one real, on-disk SQLite database and one in-process, fault-injectable protocol endpoint; no agent ever touches another agent's storage or network state. The implementation lives under projects/templates/template formal/src/template formal/; the demo pipeline is orchestrated by scripts/02 run analysis.py. The paper's central claim is methodological, not a typing-features showcase: static typing's honest value in Python is edit-time/CI-time error prevention on structurally representable invariants, and nothing more. Nominal identifiers (AgentId, MessageId, TxnId as distinct NewType wrappers), a tagged-union Result[T, E] ADT with match-exhaust

strongly typed programmingsession typesalgebraic data typescategory theoryactive inferencemultiagent systemsaffine typesillegal state unrepresentable

Use Notes

Concise findings and methods pulled from README/SKILL documentation.

Findings / Concepts
  • strongly typed programming
  • session types
  • algebraic data types
  • category theory
  • active inference
Methods / Techniques
  • Not yet summarized.

Citation

Plain-text citation for quick reuse.

Friedman, Daniel Ari. 2026. Illegal States, Mostly Unrepresentable. Zenodo. DOI: 10.5281/zenodo.21298886. URL: https://doi.org/10.5281/zenodo.21298886.

Primary source Documentation BibTeX

Related in Entomology

Other catalogued works in the same domain.