Claim ยท cairn_atproto 0.3.0
cairn_atproto^24 A post's counts and viewer are from one moment
An assumption of cairn_atproto 0.3.0.
- Id
cairn_atproto^24- Kind
- assume
- Reads as
- assumed
- Version
- 0.3.0
What it says
A post view's like and repost counts and its viewer state are from the same moment: the like count includes the viewer's own like exactly when viewer.like is set, and the repost count their repost exactly when viewer.repost is. So a client shows count - [viewer.like] + [shown liked]. Checked against the fake PDS (cairn#251) and once against the real network (cairn#258).
Evidence
| assumed | Stated, not proved. The proofs rely on it. | |
| fuzzed | Not shown yet: the trusted-base fuzzer's check atproto.count-viewer held. A CI step will publish it (#95). | |
Where it's defined
- Declaration
CairnAtproto.ActClaims.countWithViewer- Module
CairnAtproto.ActClaims- Source
lean/CairnAtproto/ActClaims.lean:140atv0.3.0- Statement hash
-
Ledger
cairn_atproto^24 is active in this version's claims.lock. An id never moves or changes meaning.