diff --git a/CLAUDE.md b/CLAUDE.md index 77c4b41..34bd75c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -149,12 +149,6 @@ bound. `barr(l, n, cs)` is an array of n bytes at l that holds the cells `cs` (`cnil`, `ccons`), so a program can prove what it reads and writes: -* `barr_get` gives the cell with the proof `NTH(cs, i, v)`; `barr_set` - consumes the array and gives it back with `SETC(cs, i, v, cs2)`; - `barr_alloc` and `barr_of_arr` give cells nothing is known of (and - `CLEN(cs, n)`: their number), `barr_to_arr` takes the cells away so that - what knows nothing of them (a platform call that fills the array) may - write it, and `barr_copy` gives another array of the same cells. * `barr_get_be32(a, i)` (sha256#40) gives cells i to i + 3 as the four bytes of a big-endian word with the four proofs `NTH(cs, i + k, b_k)`, in one call. It is an ordinary function over four `barr_get` (explicit static @@ -243,11 +237,6 @@ bound. ints (keyword: iarr), so a value read back from a table has the index the program proved when it wrote it, and a dependent needs no runtime clamp: -* `iarr_alloc` (at most 1048576 elements, as `alloc`) gives `CLEN(cs, n)` and - `ZEROS(cs, n)` (calloc leaves every cell 0); `iarr_get` gives the cell with - `NTH(cs, i, v)`; `iarr_set` consumes the array and gives it back with - `SETC(cs, i, v, cs2)`; `iarr_free`. The cell lemmas are `barr`'s (`setc_nth_same`, - `setc_nth_other`, `nth_functional`, `nth_in_len`), on the same `cells`. * **Element width: 32 bits** (keyword: iarr width). The dependents' values are positions of a file, entry numbers and chain links (bats's with-env table: positions under 65537, entries under 1025), which fit with room to spare. A @@ -341,29 +330,3 @@ override gets its body too. Writing such a body needs an unsafe package, since i casts. The templates are not new trusted primitives (the owner's ruling). The exposure is tracked by bats-lang/bats#421, which rejects an `implement` of a template or function that another package declares. - -## CI is pinned - -Every input to CI is pinned in the source (bats-lang/repository-prototype#269), -so a commit that passes keeps passing: - -* The package has no dependencies, so its `bats.lock` is the empty one `bats lock --repository