Cairn Docs Claims Blog Packages

Claim ยท cairn 0.5.2

cairn^911 writeFile is atomic, and replies done only when the bytes are there

An assumption of cairn 0.5.2.

Id
cairn^911
Kind
assume
Reads as
assumed
Version
0.5.2

All of cairn 0.5.2's claims

What it says

writeFile answers done only when the file then holds exactly the bytes, creating missing directories; a reader alongside sees the old bytes or the new ones, never a mix; a failed write leaves the old file unchanged; a path that can't name a file is invalid.

Evidence

assumedStated, not proved. The proofs rely on it.
fuzzedNot shown yet: the trusted-base fuzzer's check effects.write-file held. A CI step will publish it (#95).

Where it's defined

Declaration
Cairn.Fuzz.Trusted.Claims.hostWriteFile
Module
Cairn.Fuzz.Trusted.Claims
Source
lean/Cairn/Fuzz/Trusted/Claims.lean:56 at v0.5.2
Statement hash
-

Ledger

cairn^911 is active in this version's claims.lock. An id never moves or changes meaning.