Cairn Docs Claims Blog Packages

Claim ยท cairn_atproto 0.3.0

cairn_atproto^30 The decoders read back what the encoders write

An invariant of cairn_atproto 0.3.0.

Id
cairn_atproto^30
Kind
invariant
Reads as
proved
Version
0.3.0

All of cairn_atproto 0.3.0's claims

What it says

Every lexicon type added for acting decodes what its encoder writes: profiles and posts with the viewer's state, getPosts' and getProfile's answers, records, putRecord and deleteRecord bodies, getRecord's answer, notification pages (reasons as written), the unread count, updateSeen's body, and AT URIs. Through text too (CairnAtprotoProofs.Text). The decoders are total, and every fixture decodes (make fixtures).

Evidence

provedinitCairnAtproto.ActClaims.readsBackInv.init
provedstepCairnAtproto.ActClaims.readsBackInv.step
provedreceiveCairnAtproto.ActClaims.readsBackInv.receive
provedreachableCairnAtproto.ActClaims.readsBackInv.reachable
provedreachableAllCairnAtproto.ActClaims.readsBackInv.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.readsBackInv
Module
CairnAtproto.ActClaims
Source
lean/CairnAtproto/ActClaims.lean:239 at v0.3.0
Machine
CairnAtproto.ActClaims.machine
Statement
CairnAtproto.ActClaims.readsBackInv.holds
Statement hash
0b68743cdae010a2

Ledger

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