Cairn Docs Claims Blog Packages

Claim ยท cairn_atproto 0.3.0

cairn_atproto^18 Record keys strictly increase

An invariant of cairn_atproto 0.3.0.

Id
cairn_atproto^18
Kind
invariant
Reads as
proved
Version
0.3.0

All of cairn_atproto 0.3.0's claims

What it says

The record keys (TIDs) a session mints strictly increase, as numbers and so as text, and so are distinct, whatever the clock reads: when it stands still or steps back, the next key is one microsecond past the last. All carry the session's clock id.

Evidence

provedinitCairnAtproto.ActClaims.keysIncrease.init
provedstepCairnAtproto.ActClaims.keysIncrease.step
provedreceiveCairnAtproto.ActClaims.keysIncrease.receive
provedreachableCairnAtproto.ActClaims.keysIncrease.reachable
provedreachableAllCairnAtproto.ActClaims.keysIncrease.reachableAll
fuzzedNot shown yet: the claim-driven fuzzer held it in every random sequence (docs/fuzz.md). A CI step will publish it (#95).
testedNot shown yet: the running app matched the model at every step that exercised it (docs/conformance.md). A CI step will publish it (#95).

Where it's defined

Declaration
CairnAtproto.ActClaims.keysIncrease
Module
CairnAtproto.ActClaims
Source
lean/CairnAtproto/ActClaims.lean:89 at v0.3.0
Machine
CairnAtproto.ActClaims.machine
Statement
CairnAtproto.ActClaims.keysIncrease.holds
Statement hash
a23e4cdb13d1c01d

Ledger

cairn_atproto^18 is active in this version's claims.lock, statement a23e4cdb13d1c01d. An id never moves or changes meaning.