Skip to content

Tier-S: crash-consistency frontier A — concurrency / linearizability under multi-process #64

Open

Description

@hyperpolymath

Follow-up to PR #62 (crash-consistency keystone). See docs/THEORY-CRASH-CONSISTENCY.adoc § Frontier A.

Statement

The keystone says nothing about two concurrent vsh processes, or vsh + external editor, or vsh in a container with sibling processes on the same mount. The current Lean 4 model is purely sequential.

Proposed approach

Herlihy-Wing-style linearizability. Each FilesystemOp gets a linearization point (journal-commit on ext4, COW commit on ZFS). For every interleaving of two processes' operations there exists a sequential schedule producing the same observable history. First tractable slice: 'non-overlapping-path operations linearize trivially under per-path locks' (matches PROOF-OPEN-FRONTIER.adoc#F-4).

Interaction with keystone

Concurrent crash = crash + non-trivial schedule. Linearizability layers on top of atomicity-within-op, not in place of it.

Gates

Need to choose a concurrency framework. Iris in Coq is one option; native Lean 4 Concurrent reasoning is another.

Tier: S (Foundational gap).

Activity

  1. added
    testing
    on Aug 27, 2026
  2. added
    priority:p3
    scope:repo
    on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p3scope:repotesting

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions