docs: refine checked-type properties and invariant audit inventory

This commit is contained in:
dev committed 2026-10-09 16:18:56 +03:00
1 parent 4cda44823d
commit 8df6cacf12
7 files changed
+155 -9

No files matched your search

+27 -1
View File
@@ -43,7 +43,33 @@
"proof": {"result":"none","reason":"update","cost":null,"limit":1048576},
"enforcement": "runtime",
"boundaries": [{"function":"g","block":"entry","inst":2,"source":null}]
},
{
"site": {"function":"h","block":"entry","inst":3,"source":null},
"kind": "make", "scope": "value", "predicate": "within", "callback": null,
"bindings": [{"kind":"representation","name":"raw","view":"ref"}],
"status": "PROVEN_STATICALLY",
"proof": {"result":"proven","reason":"closed_scalar","cost":28,"limit":1048576},
"enforcement": "runtime",
"boundaries": [{"function":"h","block":"entry","inst":3,"source":null}]
}
],
"totals": {"PROVEN_STATICALLY":1,"CHECKED_AT_RUNTIME":2,"ASSUMED_UNSAFE":1,"UNPROVEN":1}
"totals": {"PROVEN_STATICALLY":2,"CHECKED_AT_RUNTIME":2,"ASSUMED_UNSAFE":1,"UNPROVEN":1},
"types": [
{
"type": "checked<@StateRep, @valid_state>", "predicate": "valid_state", "status": "CHECKED_AT_RUNTIME",
"proof": {"result":"none","reason":"unsupported_predicate","cost":null,"limit":1048576},
"enforcement": "construction_update", "declarations": []
},
{
"type": "checked<@Rep, @within>", "predicate": "within", "status": "CHECKED_AT_RUNTIME",
"proof": {"result":"none","reason":"not_established","cost":23,"limit":1048576},
"enforcement": "construction_update", "declarations": []
},
{
"type": "checked<u64, @always>", "predicate": "always", "status": "PROVEN_STATICALLY",
"proof": {"result":"proven","reason":"closed_scalar","cost":5,"limit":1048576},
"enforcement": "construction_update", "declarations": []
}
]
}