The Care Calculus: A Mechanized Linear Type Theory for Safe Agents

We present the Care Calculus: a multi-sorted linear logic with coalgebraic generators, guarded recursion, and resource-linear destructors. While initially developed to model the derivation of care in self-referential systems, the calculus provides a general framework for all unitary, non-duplicable resource flows. We mechanize the calculus in Lean 4, proving that the No-Cloning theorem and Unitarity emerge as structural theorems of the grammar: a derivation of contraction would be a cloner, and a derivation of vanishing would be an eraser. The artifact contains the complete Lean 4 development (Lean 4.35.0, no Mathlib): the library Dcare, a per-theorem axiom audit, the two build gates (build and disclosure, and the paper-anchor check), and the paper's markdown source. The two unrestricted classical linearity statements are carried as named conjectures with five proven fragment strengths each, the deepest of which integrate the care machinery; axioms beyond propext, Classical.choice and Quot.sound appear nowhere, and the one theorem asserting independence from the withheld constructive companion is enforced by the audit rather than claimed. The paper's section 16 states the tiered disclosure: the concrete constraint-type assignment and the constructive instantiation are withheld, and the companion is not part of this deposit.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-11
DOI
https://doi.org/10.5281/zenodo.24122159
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Care Calculus: A Mechanized Linear Type Theory for Safe Agents

Jaye Timothy Marshall
Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
preprint

The Care Calculus: A Mechanized Linear Type Theory for Safe Agents

Jaye Timothy Marshall
preprint en

Abstract

We present the Care Calculus: a multi-sorted linear logic with coalgebraic generators, guarded recursion, and resource-linear destructors. While initially developed to model the derivation of care in self-referential systems, the calculus provides a general framework for all unitary, non-duplicable resource flows. We mechanize the calculus in Lean 4, proving that the No-Cloning theorem and Unitarity emerge as structural theorems of the grammar: a derivation of contraction would be a cloner, and a derivation of vanishing would be an eraser. The artifact contains the complete Lean 4 development (Lean 4.35.0, no Mathlib): the library Dcare, a per-theorem axiom audit, the two build gates (build and disclosure, and the paper-anchor check), and the paper's markdown source. The two unrestricted classical linearity statements are carried as named conjectures with five proven fragment strengths each, the deepest of which integrate the care machinery; axioms beyond propext, Classical.choice and Quot.sound appear nowhere, and the one theorem asserting independence from the withheld constructive companion is enforced by the audit rather than claimed. The paper's section 16 states the tiered disclosure: the concrete constraint-type assignment and the constructive instantiation are withheld, and the companion is not part of this deposit.

Zenodo (CERN European Organization for Nuclear Research)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
The Care Calculus: A Mechanized Linear Type Theory for Safe Agents — Jaye Timothy Marshall · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS