Skip to content

Tier-S: #42 sub — Lean 4 theorems (101 candidates, foundation pack first) #76

Open

Description

@hyperpolymath

Scope (sub-issue of #42)

Split #42's 101 Lean 4 theorems in proofs/lean4/*.lean (4 files) into a per-PR plan.

Current state

File Theorem count Status
FilesystemModel.lean ~30 Foundation pack #1-#3 here
FileContentOperations.lean ~25 writeFileReversible proven (uses funext axiom — re-derive to flush)
Composition.lean ~25 Per #42 plan: operation_sequence_reversible keystone
CrashConsistency.lean ~21 Includes #62 crash_atomic_within_op_mkdir

Resolution

  1. Each theorem/lemma declaration → 1 PR per logical cluster (~5-10 theorems per PR).
  2. No sorry — honest admits only.
  3. Each PR ends with #print axioms <theorem> in the file to register the axiom set.
  4. Lake build oracle must pass locally before push (lake build in proofs/lean4/).

Foundation pack ordering (must close first, others mechanical)

  1. mkdir_rmdir_reversible — keystone
  2. writeFileReversible (re-derive to flush funext)
  3. copyFile_reversible + move_reversible

References

Activity

  1. added
    enhancement
    proofs
    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

    enhancementpriority:p3proofsscope:repo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions