Skip to content

Commit 609a4d9

Browse files
docs(two-pillars): CNO composition holds for closed first programs only (#202)
## Summary `docs/TWO-PILLARS.adoc` stated twice that CNO composition is unconditional. The comparison table said it "closes cleanly: nothing ∘ nothing = nothing", and the composition section said "CNOs compose cleanly". The active Agda proves something narrower. In `proofs/agda/CNO.agda`, `cno-composition` (since #199) takes `Closed p₁`, meaning every jump in the first program targets one of its instructions or its end (`t ≤ length p₁`). `closedness-needed` gives a counterexample showing the hypothesis cannot be dropped. This PR restates both passages to match. It changes no other file. `scripts/check-adoc-tables.sh docs/TWO-PILLARS.adoc` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01MF5GeeBBDF6sUzr6pZTjWV --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent ee2314a commit 609a4d9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎docs/TWO-PILLARS.adoc‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ them. It is prose, not proof; the obligations it points at live in
3939
*conditional* on a declared `O` (see <<metal>>).
4040

4141
| Composition
42-
| Closes cleanly: nothing ∘ nothing = nothing.
42+
| Closes when the first program is *closed* (every jump targets one of its
43+
instructions or its end):
44+
`cno-composition` in the active Agda takes `Closed p₁`, and
45+
`closedness-needed` shows the hypothesis cannot be dropped.
4346
| Does *not* close cleanly (see `OND-ROADMAP.adoc` §5–6). The negative result
4447
is first-class.
4548

@@ -209,7 +212,8 @@ Three reasons the pillars are siblings, not parent-and-child:
209212
cannot mean.
210213

211214
A fourth point is investigated rather than asserted: *composition*. CNOs
212-
compose cleanly. ONDs may not — two operations each individually constant over
215+
compose when the first program is closed (`cno-composition`; without
216+
closedness `closedness-needed` refutes it). ONDs may not — two operations each individually constant over
213217
the secret can, run together, expose a *joint* observable that leaks (the same
214218
shape as the "max-composition is unsound for quasi-identifiers" worry from the
215219
echo/residue work). The OND pillar therefore ships a *negative* composition

0 commit comments

Comments
 (0)