Skip to content

ABI Layer 3: compositional sidecar isolation (write-effect monoid homomorphism)#176

Merged
hyperpolymath merged 2 commits into
mainfrom
claude/new-session-znxgm7
Jun 28, 2026
Merged

ABI Layer 3: compositional sidecar isolation (write-effect monoid homomorphism)#176
hyperpolymath merged 2 commits into
mainfrom
claude/new-session-znxgm7

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

Layer 3 (second, deeper invariant): models a pipeline's write effect as a join over a two-point lattice and proves pipelineEffect is a monoid homomorphism from list-append. The central closure theorem shows any pipeline of only Tier-1 dimensions stays read-only (isolation preserved under composition); dual contamination/monotonicity laws show one target-writing step taints the whole pipeline. Distinct from and deeper than the Layer-2 Octad↔Fin 8 bijection.

New module Verisimiser.ABI.Invariants (imports the Layer-2 Octad model).

Testing

Idris2 0.7.0 --build → exit 0, zero warnings (6 modules). Adversarial rejection confirmed. build/ removed. No believe_me/postulate/sorry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx


Generated by Claude Code

claude and others added 2 commits June 27, 2026 22:29
Add Verisimiser.ABI.Invariants, a second, deeper machine-checked theorem
over the existing Octad model (distinct from the Layer-2 Octad<->Fin 8
bijection). Models the write effect of an augmentation *pipeline* as a join
over a two-point lattice (ReadOnly <= Writes, Writes absorbing) and proves:

- effectHomomorphism: pipelineEffect is a monoid homomorphism from list
  append to joinE (with joinAssoc / identity laws).
- tier1PipelineReadOnly (CLOSURE): any pipeline of only Tier-1 dimensions is
  read-only -- isolation is preserved under composition (reuses Layer-2
  tier1NeverWritesTarget).
- writerContaminates (CONTAMINATION) + appendMonotone (MONOTONICITY): one
  target-writing step taints the whole pipeline.
- decReadOnly: sound + complete decision procedure.
- Positive control (readPathIsReadOnly) + negative controls
  (overlayNotReadOnly, decOverlayIsNo, effectsDistinct).

No believe_me/postulate/assert_total/etc. Builds with zero warnings;
adversarial false-proof rejected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6PSzJWpRxtzGDjUCEh7Mx
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@hyperpolymath hyperpolymath marked this pull request as ready for review June 28, 2026 05:37
@hyperpolymath hyperpolymath merged commit 3f4675c into main Jun 28, 2026
30 checks passed
@hyperpolymath hyperpolymath deleted the claude/new-session-znxgm7 branch June 28, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants