Cairn Docs Claims Blog Packages

Claim ยท cairn 0.5.2

cairn^1007 An image's pixels stay inside its box

An assumption of cairn 0.5.2.

Id
cairn^1007
Kind
assume
Reads as
assumed
Version
0.5.2

All of cairn 0.5.2's claims

What it says

An image draw changes no pixel outside its rect (snapped to device pixels as rects are) within the clip in force, whatever its destination rect and scale; a draw naming a source the host holds no image for changes nothing.

Evidence

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

Where it's defined

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

Ledger

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