Cairn Docs Claims Blog Packages

Claim ยท cairn_atproto 0.3.0

cairn_atproto^32 The fake's counts are its like records

An invariant of cairn_atproto 0.3.0.

Id
cairn_atproto^32
Kind
invariant
Reads as
proved
Version
0.3.0

All of cairn_atproto 0.3.0's claims

What it says

In the fake PDS's model, a post view's like count is its seeded likes plus every like record the AppView shows (other accounts' and the tester's), and viewer.like is set exactly when the tester's like is among them; the same for reposts. Counts and viewer state come from one run of the log, so ^24 holds of the fake.

Evidence

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

Ledger

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