# Beyond the Formal Proofs

Feedback on [*Collaboration Is Composition*](https://doi.org/10.5281/zenodo.24026645) and [*What Absence Costs*](https://doi.org/10.5281/zenodo.24566902) arrived this week, and I agree with nearly all of it. Most of it names limits the papers already state, and some name work that sits above what the papers model. Readers here meet these ideas in the essays before the papers, so this article sets out what the work aims at, where its proofs stop, and where it goes next.

The papers state their own limits: *What we do not claim* in the first, *Objections and replies* in the second. And some of the feedback acknowledges that. The sections below take the feedback so far from its social and political questions to its technical ones: the further you read, the more technical it gets.

[The prelude](https://risav.dev/prelude) introduces both papers for readers new to them. Each paper is on Zenodo with its Lean 4 proofs.

## What the papers set out to do

*Collaboration Is Composition* describes systems in which each person, clinic or organization keeps its own record and only ever adds to it, and they work together by sending signed records to one another. No central server or coordinator sits between them. The paper shows what this arrangement guarantees, and where it needs more.

*What Absence Costs* asks which social facts need an authority. A fact that asks only for records to exist can be settled by anyone who holds them, in any order. A fact that asks for a record to be absent, such as "no objection was raised" or "this prescription has not been changed", needs someone with standing to declare a set of records complete. The paper calls that declaration a seal, and its second half is about who may seal and how that standing stays answerable.

The papers share one ambition: to show where coordination and judgement have to sit, so a system can put them there on purpose and in the open. Judgement and the institutions that exercise it stay where they are, with a clearer place to act.

## Premises I reject as well

One feedback ends with premises it asks the work to reject plainly. I reject them too, and *What Absence Costs* argues toward the same conclusions.

Records, types and proofs confer no political legitimacy and enforce nothing socially. They make provenance transparent and show where an absence or a judgement sits. A bad-faith actor signs as easily as an honest one, and an institution that ignores appeals ignores a signed appeal just as readily.

Removing a central server or a numeric score leaves power in place. It takes away one technical middleman and one leaderboard, and power moves to whoever holds the standing to pair and seal, applies pressure off the record, can read the logs, or has leverage with outside institutions. The last objection in *What Absence Costs* takes this up directly. Seals relocate authority, and the paper accepts that premise; its answer is to keep that authority answerable and revocable.

## Where governance is slow

Co-signatures, joint commitments and reasoned vetoes cost time. The feedback warns that they could slow urgent care, or deadlock a small group that disagrees about what counts as a reasonable reason. The tiers in *What Absence Costs* keep that cost on the steps that need it. Writing a note or a prescription only adds records and needs no co-signature. Co-signing falls on closing a question, suspending an office and changing the rules themselves.

Urgent work still needs a way to act first and answer after. A clinician acts on what they hold and records the reason, and the act is reviewed under the clinic's rules, so the seal comes after the care. How soon that review comes, and what follows when it finds the act wrong, are rules each clinic writes for itself.

Unanimity is asked only for changes to the frame that binds everyone. When a small group cannot agree, the old frame stays in force, and members keep exit: they can leave and take their own records with them. Exit leaves the disagreement unsettled, and it keeps either side from binding the other without consent.

Outside institutions remain the backstop for disputes over intent, pressure that left no record, and legal validity. Courts and councils can be slow, expensive, captured or out of reach, and then a local record architecture can do only part of the work. Its part is to make the evidence portable and signed, so a person who takes a case anywhere carries a record any reader can check. Whether that case is then heard fairly depends on the institution hearing it.

## Custody moves responsibility

Keeping keys and records with people and clinics gives them autonomy, and with it the work of keeping those keys safe. The feedback puts this well: once the server is gone, lost devices, coerced disclosure inside a household and uneven digital literacy become the system's problems. I agree. The papers say little about these because none of them lives in the math, and each needs design work alongside it.

Key recovery is procedural before it is cryptographic. Guardians who hold shares of a key, a backup kept on paper, or a clinic holding a sealed copy with the person's consent each trade one risk for another. The right trade differs from one household to the next. *What Absence Costs* supplies a floor: what concerns one person alone needs that person's signature, and no quorum reaches past it. Recovery has to keep that floor without locking a person out of their own history.

Coercion inside a household is harder. A qualitative study of intimate partner abuse found abusers exploiting ordinary technology to monitor, impersonate and harass their victims, often with physical access to the victim's phone ([Freed et al., CHI 2018](https://doi.org/10.1145/3173574.3174241)). A signature proves which key signed, and says nothing about whether the person was free to refuse. Designs that take this seriously give people private spaces and a log they can read of who looked at their records.

Uneven digital literacy asks for the same care. Many people will act through a relative or a community health worker. The model can record that help as a grant the person can see and revoke, and making the grant understandable to someone new to such systems is design and training work.

## What applications decide

### Contradictory notes

Two clinicians can record contradictory treatment notes for the same patient. In the model both records stand, each signed and attributable, and every reader who holds both sees the contradiction. Convergence guarantees that everyone sees the same two notes. Choosing which treatment to follow is clinical judgement, and the application has to bring the question to someone with the standing to make it.

*What Absence Costs* gives that decision a shape. The resolution is one more signed record, and when it closes the question, as in "the plan as of this review", it is a seal by the people the clinic's rules name. The application still has to say who those people are, how soon they answer, and what the patient sees in the meantime.

### Retractions that change what happens next

The feedback asks about a retracted prescription or an amended lab report. In the model a retraction is a new record pointing at the old one, and each party's state is a function of its log. The retraction changes that state as soon as it arrives, and stopping a medication or freezing an account follows from the new state like any other output.

The hard part comes before the retraction arrives. Acting on a prescription assumes no later retraction exists, which is a fact about absence. *What Absence Costs* proves, for suspensions, that no arrangement of signatures makes such a change take effect everywhere at once, and a retraction meets the same limit. A system can bound that window and record which records each decision was made on. A sealed handover then tells the people acting exactly what they acted on.

### Storage and erasure

An append-only log grows, and low-end phones have little room. Pat Helland's [line that accountants don't use erasers](https://doi.org/10.1145/2844112) describes the record: what was written stays written. How the record is kept is a separate matter. A small device can keep a sealed summary as of a checkpoint and fetch older records when it needs them, as long as the checkpoint names exactly what it summarizes.

Erasure obligations meet the same log. Records can be encrypted under a key held for one person, and destroying that key makes every copy unreadable at once, a technique known as crypto-shredding. The log then keeps the fact that something was erased and by whose act. Whether that meets a given jurisdiction's law is a question for its lawyers and regulators.

### Changing schemas

Records outlive the programs that wrote them, so each record keeps the schema it was written under. Reading old records under a new schema takes a translation, and a translation that runs both ways and keeps what one side drops is a lens. Ink & Switch's [Cambria](https://www.inkandswitch.com/cambria/) applies edit lenses to schema evolution in distributed systems, set out in [their PaPoC 2021 paper](https://doi.org/10.1145/3447865.3457963).

*What Absence Costs* treats a vocabulary as part of the frame under which records count. It asks that a translation between vocabularies be co-signed by the people on both sides, with a round trip that returns each record unchanged. Which lenses an application ships, and how long it keeps reading old versions, remain its own decisions.

## What the proofs carry

In *Collaboration Is Composition*, each party keeps an append-only log of signed records and acts through a Mealy machine over that log. A collaboration is those machines wired through mailboxes, so it can be wired into a larger collaboration in turn. The paper adds no new mathematics, and says so: it applies known results to a model of a system as it is built, and checks them in Lean 4. Its results say how signed records compose and how their provenance stays checkable:

- Where every step only adds records, every fair order of delivery reaches the same logs with no coordinator. Theorem 26 states this, as a form of the CALM theorem.
- A step that depends on a record being absent, such as a revocation, can come out differently under two fair orders (Proposition 28). The model asks for a coordinating signature at exactly those steps.
- Authority is typed. A claim's type holds only records carrying the signatures its rule asks for, so an approval signed by an agent's key does not type-check where a person's is required.
- A party can be replaced by a bisimilar one without changing the collaboration (Theorem 24).
- Trust stays with each observer. Readers who trust different keys can accept different records, and no construction in the model adds the count a global score would need.

The library `CosysSocial`, in [release proofs-v1.1.0](https://doi.org/10.5281/zenodo.24566342), proves the sort of *What Absence Costs* in the same model, and the paper names each theorem in a footnote:

- A grounding condition asks only for records or asks for an absence, never both (`sort`). Over finitely many records, the first kind is a positive Boolean expression in which records are present (`positive_iff_posBool`).
- A condition asks only for records exactly when every network that answers it settles the same way under every fair order of delivery (`calm_social`). The theorem assumes a countable set of possible records, and absences that show between sets differing by finitely many records.
- A seal makes an absence fact grow with the log again, as long as its authority rule never asks for more signatures as the log grows (`sealed_positive`). While one party named in it has signed nothing, there is neither a seal nor a reopening (`joint_needs_each`, `reopen_needs_each`).
- Quorum rules keep claims growing with the log, and a body acting through one facade keeps attribution to the members who signed (`claimBy_mono`, `facade_attribution`). What concerns one person alone stands outside any quorum (`personal_beyond_quorum`).
- A suspension cannot take effect everywhere at once: a network of one reader has two fair orders of delivery, and under one the reader counts the act while under the other it never does (`suspension_splits`).

The feedback calls this structural convergence of valid operations, and the phrase fits. The guarantee covers how valid records combine and who signed them. Whether a valid record says something true lies outside it.

## Between the Lean and the running code

The first paper's Lean proofs cover the propositions, lemmas and theorems from the paper's section on changing wiring through its section on trust, for the readings the paper states. Its artifact section lists what is left out: the remarks, the health care case study and the rule that keeps every ranking inside its observer's view. For the wiring results, Lean has the identity and composition maps with their equations, and does not yet assemble them into a multicategory. I am working that structure out on paper first, before it goes into Lean.

The feedback also points at routing. The registry that presents the wiring in Org routes along the pairings the positions showed one round earlier, so just after a revocation it can still deliver along a pairing that no longer stands. The paper states this and lists a registry that routes only along standing pairings among its open questions. Revocation removes a wire, so by Proposition 28 it needs coordination, and the paper suggests key epochs as one way to give it a monotone form.

Code sits a further step from the model. Agreement between implementations on shared test vectors checks a finite part of the relation and proves no bisimilarity, which the paper also says. Conformance and property tests narrow that distance, and each release has to narrow it again.

A language model inside a box samples, so that box is nondeterministic, and the paper claims nothing about the model's choices. What crosses a wire is a signed record, so once an agent's draft is recorded it can be checked like any other. People act outside every protocol as well. Pressure and side conversations leave no record unless someone writes one, and the model sees only what was signed.

## What comes next

Some of the feedback describes what any platform built on this model owes the developers who build on it. The rest is work for the papers and the proofs, and the list ends with the most technical of it.

For developers on such a platform:

- A lens per schema version, so old records are read through it and never rewritten.
- Reads as of a named set of records, so every decision says what it was made on.
- Contradictions brought to someone with standing, and their resolution kept as a signed record.
- Key recovery and rotation with the person's consent, and erasure by destroying keys.
- Help a person can grant and revoke, and an access log that person can read.
- Private spaces a person keeps even on a phone the household shares.
- A path to act first in urgent work, with the reason recorded and review afterwards.

For the papers and proofs:

- How co-signed records and seals meet existing rules of evidence, clinical documentation standards and regulatory audits, without asking anyone to rewrite statute.
- Governance under load: duelling administrators, bad-faith vetoes, coercion at home and at work, and slow or contested appeals, simulated to find where people's experience breaks before the math does.
- Bounded storage on small devices, with a proof that a summary sealed as of a checkpoint answers what the records it replaces would answer.
- Key epochs and revocation windows as protocols, with measured propagation delay, their behaviour under partitions, and a stated fallback for a revocation or checkpoint that has not arrived.
- The multicategory and the dynamic multicategory of the first paper, worked out on paper and then built as structures in Lean, with a registry that routes only along standing pairings, so routing agrees with positions after a revocation.

## Sources

- Risav Karna, [*Collaboration Is Composition: Mealy Machines over Signed Records in Poly and Org*](https://doi.org/10.5281/zenodo.24026645), Zenodo, 2026, and its [Lean 4 proofs, release proofs-v1.0.0](https://doi.org/10.5281/zenodo.24026063).
- Risav Karna, [*What Absence Costs*](https://doi.org/10.5281/zenodo.24566902), Zenodo, 2026, and its [Lean 4 proofs, release proofs-v1.1.0](https://doi.org/10.5281/zenodo.24566342).
- [A prelude to Socioware, What Absence Costs and the matrix](https://risav.dev/prelude), risav.dev.
- Geoffrey Litt, Peter van Hardenberg and Orion Henry, [*Cambria: Schema Evolution in Distributed Systems with Edit Lenses*](https://doi.org/10.1145/3447865.3457963), PaPoC 2021, and Ink & Switch's [Project Cambria](https://www.inkandswitch.com/cambria/).
- Pat Helland, [*Immutability Changes Everything*](https://doi.org/10.1145/2844112), Communications of the ACM 59(1), 2016.
- Diana Freed, Jackeline Palmer, Diana Minchala, Karen Levy, Thomas Ristenpart and Nicola Dell, [*"A Stalker's Paradise": How Intimate Partner Abusers Exploit Technology*](https://doi.org/10.1145/3173574.3174241), CHI 2018.
