Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
# verify its SHA-256, then execute it — no `curl | sh`.
curl -sSfL https://raw.githubusercontent.com/leanprover/elan/v3.1.1/elan-init.sh -o elan-init.sh
echo "f5d473c923c093759ae3839073bec2a58e82cb8bc0e4083930e76090da75b310 elan-init.sh" | sha256sum -c -
sh elan-init.sh -y --default-toolchain leanprover/lean4:v4.12.0
sh elan-init.sh -y --default-toolchain leanprover/lean4:v4.34.1
rm -f elan-init.sh
echo "$HOME/.elan/bin" >> $GITHUB_PATH

Expand Down
2 changes: 1 addition & 1 deletion proofs/lean4/PathTraversal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ theorem isPrefix_dropLast
-- (since t :: ts is non-empty), so xs is still a prefix.
refine ⟨(t :: ts).dropLast, ?_⟩
subst htail
rw [List.dropLast_append_of_ne_nil _ (List.cons_ne_nil t ts)]
rw [List.dropLast_append_of_ne_nil (List.cons_ne_nil t ts)]

-- ---------------------------------------------------------------------
-- Per-step invariant
Expand Down
2 changes: 1 addition & 1 deletion proofs/lean4/SymlinkOperations.lean
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ theorem symlink_unlink_reversible (p : Path) (fs : Filesystem)
exact ⟨node, hfs⟩
· simp [h]

/-- Summary:
/- Summary:
✓ Symlink creation and removal operations
✓ Preconditions for safe symlink creation
✓ Reversibility: unlink(symlink(p, fs)) = fs
Expand Down
8 changes: 7 additions & 1 deletion proofs/lean4/lakefile.lean
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
-- SPDX-License-Identifier: MPL-2.0
-- Valence Shell — Lean 4 Proof Package
--
-- Last verified working: Lean 4 v4.12.0 (2026-03-10)
-- Last verified working: Lean 4 v4.34.1 (2026-10-02)
-- Builds clean: FilesystemModel, FileOperations, FilesystemComposition,
-- FilesystemEquivalence, SymlinkOperations, Extraction, CrashConsistency,
-- PathTraversal, model_oracle.
-- Do NOT build (already broken on v4.12.0, not port regressions):
-- FileContentOperations, RMOOperations, CopyMoveOperations,
-- PermissionOperations.
-- Toolchain pinned in: lean-toolchain
-- CI workflow: .github/workflows/lean-verification.yml
-- .github/workflows/rust-cli.yml (lean4 job)
Expand Down
2 changes: 1 addition & 1 deletion proofs/lean4/lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.12.0
leanprover/lean4:v4.34.1
Loading