@lapxo/obligations 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/README.md +4 -0
  2. package/TARGET.bound +68 -11
  3. package/dist/measures/cofailure-pairs.d.ts +113 -0
  4. package/dist/measures/cofailure-pairs.js +129 -0
  5. package/dist/measures/index.d.ts +10 -0
  6. package/dist/measures/index.js +5 -0
  7. package/dist/measures/marginal-information.d.ts +78 -0
  8. package/dist/measures/marginal-information.js +71 -0
  9. package/dist/measures/mix-loss.d.ts +187 -0
  10. package/dist/measures/mix-loss.js +101 -0
  11. package/dist/measures/phase-defect.d.ts +40 -0
  12. package/dist/measures/phase-defect.js +33 -0
  13. package/dist/measures/tolerant-subsets.d.ts +79 -0
  14. package/dist/measures/tolerant-subsets.js +60 -0
  15. package/docs/measures.md +24 -0
  16. package/docs/paper.md +2 -2
  17. package/docs/reference.md +6 -1
  18. package/package.json +1 -1
  19. package/proofs/cofailure-pairs.json +26 -0
  20. package/proofs/coordination.json +27 -0
  21. package/proofs/helly-comb.json +17 -0
  22. package/proofs/lean/Obligations/Cell.lean +159 -0
  23. package/proofs/lean/Obligations/HellyComb.lean +19 -0
  24. package/proofs/lineage-ceiling.json +41 -0
  25. package/proofs/marginal-information.json +30 -0
  26. package/proofs/resolution-encounters.json +23 -0
  27. package/receipts.bound +507 -118
  28. package/samples/laws/cofailure-pairs/no/sample.json +1 -0
  29. package/samples/laws/cofailure-pairs/yes/sample.json +20 -0
  30. package/samples/laws/linage-rest/no/sample.json +19 -0
  31. package/samples/laws/linage-rest/yes/sample.json +100 -0
  32. package/samples/laws/lineage-ceiling/no/sample.json +8 -0
  33. package/samples/laws/lineage-ceiling/yes/sample.json +30 -0
  34. package/samples/laws/marginal-information/no/sample.json +17 -0
  35. package/samples/laws/marginal-information/yes/sample.json +459 -0
  36. package/samples/laws/semilattice/no/sample.json +18 -0
  37. package/samples/laws/semilattice/yes/sample.json +29 -0
  38. package/samples/measures/l7-tolerant-k.json +90 -0
  39. package/samples/measures/l8-phase-defect.json +19 -0
  40. package/samples/measures/l9-mix-loss.json +36 -0
  41. package/samples/no/H1-uncertainty.json +24 -0
  42. package/samples/no/installed-artifact.json +103 -12
  43. package/samples/yes/H1-uncertainty.json +25 -0
  44. package/samples/yes/installed-artifact.json +36 -60
  45. package/vectors/laws/cofailure-pairs.json +2580 -0
  46. package/vectors/laws/cofailure-pairs.native.json +267 -0
  47. package/vectors/laws/coordination.json +386 -0
  48. package/vectors/laws/f1/finite-arithmetic.json +66 -0
  49. package/vectors/laws/f1/path-witness.json +242 -0
  50. package/vectors/laws/helly-comb.json +95 -0
  51. package/vectors/laws/helly-comb.lean.json +94 -0
  52. package/vectors/laws/implementation-043.json +98 -0
  53. package/vectors/laws/l7-tolerant-k.json +253 -0
  54. package/vectors/laws/l8-phase-defect.json +214 -0
  55. package/vectors/laws/l9-mix-loss.json +130 -0
  56. package/vectors/laws/linage-rest.native.json +335 -0
  57. package/vectors/laws/lineage-ceiling.json +790 -0
  58. package/vectors/laws/lineage-ceiling.native.json +291 -0
  59. package/vectors/laws/marginal-information.json +868 -0
  60. package/vectors/laws/marginal-information.native.json +259 -0
  61. package/vectors/laws/meet-semilattice.json +244 -0
  62. package/vectors/laws/meet-semilattice.native.json +265 -0
  63. package/vectors/laws/policy.json +22 -0
  64. package/vectors/laws/resolution-encounters.json +171 -0
  65. package/vectors/measures/installed-artifact.cli.json +8 -8
@@ -0,0 +1,214 @@
1
+ {
2
+ "id": "L8",
3
+ "classification": "law by finite enumeration",
4
+ "policy": "vectors/laws/policy.json",
5
+ "numeric": {
6
+ "logarithm": "binary64-log2",
7
+ "absoluteTolerance": 1e-12
8
+ },
9
+ "contract": {
10
+ "domain": "n,p positive safe integers, p divides n; s integer with 0 <= s < p",
11
+ "value": "D(n,p,s)=log2(n/p)-h(s/p), h(0)=h(1)=0",
12
+ "minimum": "log2(n/p)-h(floor(p/2)/p); shifts floor(p/2),ceil(p/2), deduplicated, p=1 gives s=0",
13
+ "maximum": "all shifts: s=0; nonzero shifts: empty for p=1, {1} for p=2, {1,p-1} for p>=3",
14
+ "interpretation": "phase defect only; n>=2p is a nonnegative regime, not an information certificate",
15
+ "scope": "Enumeration verifies only 3<=n<=64; no unrestricted proof or mutual-information claim"
16
+ },
17
+ "enumeration": {
18
+ "nMinimum": 3,
19
+ "nMaximum": 64,
20
+ "divisorPairs": 277,
21
+ "shifts": 3399,
22
+ "nonzeroShifts": 3122
23
+ },
24
+ "cases": [
25
+ {
26
+ "n": 3,
27
+ "p": 3,
28
+ "s": 1,
29
+ "expected": -0.9182958340544896
30
+ },
31
+ {
32
+ "n": 4,
33
+ "p": 4,
34
+ "s": 2,
35
+ "expected": -1
36
+ },
37
+ {
38
+ "n": 8,
39
+ "p": 4,
40
+ "s": 1,
41
+ "expected": 0.18872187554086717
42
+ },
43
+ {
44
+ "n": 8,
45
+ "p": 4,
46
+ "s": 0,
47
+ "expected": 1
48
+ },
49
+ {
50
+ "n": 3,
51
+ "p": 1,
52
+ "s": 0,
53
+ "expected": 1.584962500721156
54
+ }
55
+ ],
56
+ "negativeClaims": [
57
+ {
58
+ "claim": "odd-period minimum equals log2(n/p)-1",
59
+ "counterexample": [
60
+ 3,
61
+ 3,
62
+ 1
63
+ ],
64
+ "rejectedValue": -1
65
+ },
66
+ {
67
+ "claim": "maximum over all shifts occurs only at 1,p-1",
68
+ "counterexample": [
69
+ 8,
70
+ 4,
71
+ 0
72
+ ],
73
+ "expected": 1
74
+ },
75
+ {
76
+ "claim": "F4 is information when n<p*2",
77
+ "counterexample": [
78
+ 4,
79
+ 4,
80
+ 2
81
+ ],
82
+ "expectedRefusal": "REFUSE·phase-defect information interpretation unsupported"
83
+ }
84
+ ],
85
+ "invalid": [
86
+ {
87
+ "input": [
88
+ 8,
89
+ 3,
90
+ 1
91
+ ],
92
+ "expectedRefusal": "REFUSE·phase-defect positive integer divisor domain required"
93
+ },
94
+ {
95
+ "input": [
96
+ 3,
97
+ 3,
98
+ 1.5
99
+ ],
100
+ "expectedRefusal": "REFUSE·phase-defect integer shift domain required"
101
+ },
102
+ {
103
+ "input": [
104
+ 4,
105
+ 4,
106
+ 4
107
+ ],
108
+ "expectedRefusal": "REFUSE·phase-defect integer shift domain required"
109
+ },
110
+ {
111
+ "input": [
112
+ 0,
113
+ 1,
114
+ 0
115
+ ],
116
+ "expectedRefusal": "REFUSE·phase-defect positive integer divisor domain required"
117
+ },
118
+ {
119
+ "input": [
120
+ 4.5,
121
+ 1,
122
+ 0
123
+ ],
124
+ "expectedRefusal": "REFUSE·phase-defect positive integer divisor domain required"
125
+ }
126
+ ],
127
+ "nativeCapture": {
128
+ "instrument": "@lapxo/bound@0.1.8",
129
+ "mode": "published-host-ABI",
130
+ "host": "dist/cli/host.js",
131
+ "hostSha256": "sha256:b0f52ce76b88ed793543897a0bef490414bfb4af2f5b876a3665dabf8583f879",
132
+ "reader": "test/support/measures-reader.js",
133
+ "implementation": "vectors/laws/implementation-043.json",
134
+ "implementationSha256": "sha256:361492637c3ea9eeec83fe7707fd16a0ae53b8882fe4de212bae1838721b710f",
135
+ "limits": {
136
+ "timeoutMs": 5000,
137
+ "responseBytes": 65536
138
+ },
139
+ "fullFold": false,
140
+ "admission": false,
141
+ "signatures": false,
142
+ "captures": [
143
+ {
144
+ "place": "orchard",
145
+ "case": "yes",
146
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"n\\\":8,\\\"p\\\":4,\\\"s\\\":1,\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"interpretation\\\":\\\"phase-defect\\\",\\\"expected\\\":0.18872187554086717,\\\"group\\\":\\\"l8-phase-defect\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
147
+ "stdinSha256": "sha256:06f6b9a12d8895a54df623905ce22d7531b50478fa5392bc8a176ab33b69521d",
148
+ "status": 0,
149
+ "signal": null,
150
+ "runtimeMs": 118.95100000000002,
151
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l8-phase-defect/orchard\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"reading\\\":{\\\"model\\\":\\\"F4-integer-phase-defect@1\\\",\\\"parameters\\\":{\\\"n\\\":8,\\\"p\\\":4,\\\"s\\\":1},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"status\\\":\\\"measured\\\",\\\"meaning\\\":\\\"phase defect; information interpretation open\\\",\\\"regime\\\":\\\"nonnegative\\\",\\\"value\\\":0.18872187554086717},\\\"extrema\\\":{\\\"model\\\":\\\"F4-integer-phase-defect@1\\\",\\\"parameters\\\":{\\\"n\\\":8,\\\"p\\\":4},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"status\\\":\\\"measured\\\",\\\"minimum\\\":{\\\"value\\\":0,\\\"shifts\\\":[2]},\\\"maximum\\\":{\\\"value\\\":1,\\\"shifts\\\":[0]},\\\"nonzeroMaximum\\\":{\\\"value\\\":0.18872187554086717,\\\"shifts\\\":[1,3]}}},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
152
+ "stderr": "",
153
+ "stdoutSha256": "sha256:0262bdd4cc1402588919fd1a42eaf8544fe3484541a26ecb15868e7580dbe8ed",
154
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
155
+ "repeat": {
156
+ "status": 0,
157
+ "runtimeMs": 119.88958300000013,
158
+ "stdoutSha256": "sha256:0262bdd4cc1402588919fd1a42eaf8544fe3484541a26ecb15868e7580dbe8ed",
159
+ "stderr": "",
160
+ "byteIdentical": true,
161
+ "meaning": "fresh host execution, not a cache-reuse receipt"
162
+ }
163
+ },
164
+ {
165
+ "place": "orchard",
166
+ "case": "no",
167
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"n\\\":4,\\\"p\\\":4,\\\"s\\\":2,\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"interpretation\\\":\\\"information\\\",\\\"expectedRefusal\\\":\\\"REFUSE·phase-defect information interpretation unsupported\\\",\\\"group\\\":\\\"l8-phase-defect\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
168
+ "stdinSha256": "sha256:0ac114567245151d155ec713f55215806f630b7937094f83ff27378fe9cfed0c",
169
+ "status": 0,
170
+ "signal": null,
171
+ "runtimeMs": 123.7919579999998,
172
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·phase-defect information interpretation unsupported\"}]\n",
173
+ "stderr": "",
174
+ "stdoutSha256": "sha256:aa12855ff3dd5ea02507092e7d1ecb8762d148ab88f040882616d1b8a7e88dc3",
175
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
176
+ },
177
+ {
178
+ "place": "catalog",
179
+ "case": "yes",
180
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"n\\\":8,\\\"p\\\":4,\\\"s\\\":1,\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"interpretation\\\":\\\"phase-defect\\\",\\\"expected\\\":0.18872187554086717,\\\"group\\\":\\\"l8-phase-defect\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
181
+ "stdinSha256": "sha256:65e9154f7c47afb92af45d9fb15d46f144e2f084f501a8b7cfe6396209d84387",
182
+ "status": 0,
183
+ "signal": null,
184
+ "runtimeMs": 125.11133399999994,
185
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l8-phase-defect/catalog\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"reading\\\":{\\\"model\\\":\\\"F4-integer-phase-defect@1\\\",\\\"parameters\\\":{\\\"n\\\":8,\\\"p\\\":4,\\\"s\\\":1},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"status\\\":\\\"measured\\\",\\\"meaning\\\":\\\"phase defect; information interpretation open\\\",\\\"regime\\\":\\\"nonnegative\\\",\\\"value\\\":0.18872187554086717},\\\"extrema\\\":{\\\"model\\\":\\\"F4-integer-phase-defect@1\\\",\\\"parameters\\\":{\\\"n\\\":8,\\\"p\\\":4},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"status\\\":\\\"measured\\\",\\\"minimum\\\":{\\\"value\\\":0,\\\"shifts\\\":[2]},\\\"maximum\\\":{\\\"value\\\":1,\\\"shifts\\\":[0]},\\\"nonzeroMaximum\\\":{\\\"value\\\":0.18872187554086717,\\\"shifts\\\":[1,3]}}},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
186
+ "stderr": "",
187
+ "stdoutSha256": "sha256:98c24a9572f20c68459370a9b8235400caae0c37f75b32ee003c1f7fc3b5ad40",
188
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
189
+ "repeat": {
190
+ "status": 0,
191
+ "runtimeMs": 125.88366599999995,
192
+ "stdoutSha256": "sha256:98c24a9572f20c68459370a9b8235400caae0c37f75b32ee003c1f7fc3b5ad40",
193
+ "stderr": "",
194
+ "byteIdentical": true,
195
+ "meaning": "fresh host execution, not a cache-reuse receipt"
196
+ }
197
+ },
198
+ {
199
+ "place": "catalog",
200
+ "case": "no",
201
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"n\\\":4,\\\"p\\\":4,\\\"s\\\":2,\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\"},\\\"interpretation\\\":\\\"information\\\",\\\"expectedRefusal\\\":\\\"REFUSE·phase-defect information interpretation unsupported\\\",\\\"group\\\":\\\"l8-phase-defect\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
202
+ "stdinSha256": "sha256:ee411cddb841554d41b6918f53713a8162012c9435ff79f6f6e194b4fcb391d1",
203
+ "status": 0,
204
+ "signal": null,
205
+ "runtimeMs": 124.19862499999999,
206
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·phase-defect information interpretation unsupported\"}]\n",
207
+ "stderr": "",
208
+ "stdoutSha256": "sha256:aa12855ff3dd5ea02507092e7d1ecb8762d148ab88f040882616d1b8a7e88dc3",
209
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
210
+ }
211
+ ],
212
+ "isolation": "two separate working directories with identical digest-verified reader image; no ledger, key or store; one origin"
213
+ }
214
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "id": "L9-mix-noninjectivity",
3
+ "classification": [
4
+ "law-by-counterexample:existence-of-noninjectivity",
5
+ "measure-with-declared-prior"
6
+ ],
7
+ "policy": "vectors/laws/policy.json",
8
+ "sample": "samples/measures/l9-mix-loss.json",
9
+ "contract": {
10
+ "configuration": "Assignments of each named factor to a named value in the explicitly supplied admissible finite configuration list; duplicate assignments with new IDs are refused.",
11
+ "mix": "Exact rational sum of nonnegative declared weights by value, positive total; unique maximum emits that value, every tie emits the same distinguished bottom.",
12
+ "fork": "Assignments retain all factor names and values, hence are injective on the declared configurations.",
13
+ "prior": "Uniform is a selected modeling choice only when kind=uniform is explicitly present. Without a prior, unmeasured; explicit prior must name every configuration and sum exactly to one.",
14
+ "loss": "H(configuration | mix) under that prior, equal to H(configuration)-H(mix) for a deterministic projection; no causal, M/3, M/4 or algebraic-act contract is added.",
15
+ "ceiling": "budget bounds declared configuration count only; input validation, rational arithmetic and elapsed act cost are not claimed bounded by that count."
16
+ },
17
+ "oracle": {
18
+ "counterexample": {
19
+ "configurations": [
20
+ {
21
+ "x": "a",
22
+ "y": "b"
23
+ },
24
+ {
25
+ "x": "b",
26
+ "y": "a"
27
+ }
28
+ ],
29
+ "sameMix": "tie",
30
+ "distinctNamedForks": true
31
+ },
32
+ "uniformFourConfigurations": {
33
+ "configurationBits": 2,
34
+ "mixBits": 1.5,
35
+ "conditionalLossBits": 0.5,
36
+ "tiePosteriorBits": 1,
37
+ "forkLossBits": 0
38
+ },
39
+ "rejectedInterpretation": "log2(4/3) is not the conditional loss for this prior",
40
+ "numeric": "binary64-log2 approximations; tolerance 1e-12"
41
+ },
42
+ "nativeCapture": {
43
+ "instrument": "@lapxo/bound@0.1.8",
44
+ "mode": "published-host-ABI",
45
+ "host": "dist/cli/host.js",
46
+ "hostSha256": "sha256:b0f52ce76b88ed793543897a0bef490414bfb4af2f5b876a3665dabf8583f879",
47
+ "reader": "test/support/measures-reader.js",
48
+ "implementation": "vectors/laws/implementation-043.json",
49
+ "implementationSha256": "sha256:361492637c3ea9eeec83fe7707fd16a0ae53b8882fe4de212bae1838721b710f",
50
+ "limits": {
51
+ "timeoutMs": 5000,
52
+ "responseBytes": 65536
53
+ },
54
+ "fullFold": false,
55
+ "admission": false,
56
+ "signatures": false,
57
+ "captures": [
58
+ {
59
+ "place": "orchard",
60
+ "case": "yes",
61
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"model\\\":{\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":\\\"1\\\"},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":\\\"1\\\"}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}],\\\"prior\\\":{\\\"kind\\\":\\\"uniform\\\"}},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"expected\\\":{\\\"configurationBits\\\":2,\\\"mixBits\\\":1.5,\\\"lossBits\\\":0.5,\\\"tieConditionalBits\\\":1,\\\"forkLossBits\\\":0},\\\"group\\\":\\\"l9-mix-loss\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
62
+ "stdinSha256": "sha256:8490e9d9db186156ef7edd9052bfd4765b516b873d58e0de198cfdf231fb2cb9",
63
+ "status": 0,
64
+ "signal": null,
65
+ "runtimeMs": 126.06233299999985,
66
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l9-mix-loss/orchard\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"status\\\":\\\"measured\\\",\\\"model\\\":\\\"declared-weighted-mix-projection@1\\\",\\\"parameters\\\":{\\\"m\\\":2,\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}]},\\\"prior\\\":{\\\"kind\\\":\\\"uniform\\\",\\\"probabilities\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}}]},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"unit\\\":\\\"bits\\\",\\\"approximation\\\":\\\"binary64-log2\\\",\\\"configurationBits\\\":2,\\\"mixBits\\\":1.5,\\\"lossBits\\\":0.5,\\\"entropyDifferenceBits\\\":0.5,\\\"forkLossBits\\\":0,\\\"mixInjectiveOnConfigurations\\\":false,\\\"mixInjectiveOnPositiveSupport\\\":false,\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"a\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"a\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"a\\\"}]},{\\\"id\\\":\\\"ab\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"a\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"b\\\"}]},{\\\"id\\\":\\\"ba\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"b\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"a\\\"}]},{\\\"id\\\":\\\"bb\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"b\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"b\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"b\\\"}]}],\\\"outputs\\\":[{\\\"output\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"a\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"configurations\\\":[\\\"aa\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"conditionalBits\\\":0},{\\\"output\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"configurations\\\":[\\\"ab\\\",\\\"ba\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"}},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"}}],\\\"conditionalBits\\\":1},{\\\"output\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"b\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"configurations\\\":[\\\"bb\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"conditionalBits\\\":0}],\\\"meaning\\\":\\\"conditional entropy of the declared configuration given its deterministic mix output; named fork is injective\\\"},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
67
+ "stderr": "",
68
+ "stdoutSha256": "sha256:ecb4e88e7e6525974d1e69a52d323501155dc359bf72249621dc1eebd7c73060",
69
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
70
+ "repeat": {
71
+ "status": 0,
72
+ "runtimeMs": 127.334292,
73
+ "stdoutSha256": "sha256:ecb4e88e7e6525974d1e69a52d323501155dc359bf72249621dc1eebd7c73060",
74
+ "stderr": "",
75
+ "byteIdentical": true,
76
+ "meaning": "fresh host execution, not a cache-reuse receipt"
77
+ }
78
+ },
79
+ {
80
+ "place": "orchard",
81
+ "case": "no",
82
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"model\\\":{\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":\\\"1\\\"},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":\\\"1\\\"}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}],\\\"prior\\\":{\\\"kind\\\":\\\"explicit\\\",\\\"probabilities\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":\\\"1/8\\\"}]}},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"expectedRefusal\\\":\\\"REFUSE·mix-loss prior probabilities must sum exactly to one\\\",\\\"group\\\":\\\"l9-mix-loss\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
83
+ "stdinSha256": "sha256:9454f6951a913341f4c5435abaa75d675ef78c675639c9c8f2b5012cda13f595",
84
+ "status": 0,
85
+ "signal": null,
86
+ "runtimeMs": 124.40258300000005,
87
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·mix-loss prior probabilities must sum exactly to one\"}]\n",
88
+ "stderr": "",
89
+ "stdoutSha256": "sha256:22e1ffc0fc7c27e0fed1e1a62dacdd17088a6c0814e2301138c80b0758b3de34",
90
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
91
+ },
92
+ {
93
+ "place": "catalog",
94
+ "case": "yes",
95
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"model\\\":{\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":\\\"1\\\"},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":\\\"1\\\"}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}],\\\"prior\\\":{\\\"kind\\\":\\\"uniform\\\"}},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"expected\\\":{\\\"configurationBits\\\":2,\\\"mixBits\\\":1.5,\\\"lossBits\\\":0.5,\\\"tieConditionalBits\\\":1,\\\"forkLossBits\\\":0},\\\"group\\\":\\\"l9-mix-loss\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
96
+ "stdinSha256": "sha256:8b75462af1be9958dd5abffeb94a37d6803024495466da8c313f207beb9e7745",
97
+ "status": 0,
98
+ "signal": null,
99
+ "runtimeMs": 125.88016700000003,
100
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l9-mix-loss/catalog\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"status\\\":\\\"measured\\\",\\\"model\\\":\\\"declared-weighted-mix-projection@1\\\",\\\"parameters\\\":{\\\"m\\\":2,\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}]},\\\"prior\\\":{\\\"kind\\\":\\\"uniform\\\",\\\"probabilities\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}},{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"}}]},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"unit\\\":\\\"bits\\\",\\\"approximation\\\":\\\"binary64-log2\\\",\\\"configurationBits\\\":2,\\\"mixBits\\\":1.5,\\\"lossBits\\\":0.5,\\\"entropyDifferenceBits\\\":0.5,\\\"forkLossBits\\\":0,\\\"mixInjectiveOnConfigurations\\\":false,\\\"mixInjectiveOnPositiveSupport\\\":false,\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"a\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"a\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"a\\\"}]},{\\\"id\\\":\\\"ab\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"a\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"b\\\"}]},{\\\"id\\\":\\\"ba\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"b\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"a\\\"}]},{\\\"id\\\":\\\"bb\\\",\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"mix\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"b\\\"},\\\"fork\\\":[{\\\"factor\\\":\\\"x\\\",\\\"value\\\":\\\"b\\\"},{\\\"factor\\\":\\\"y\\\",\\\"value\\\":\\\"b\\\"}]}],\\\"outputs\\\":[{\\\"output\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"a\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"configurations\\\":[\\\"aa\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"conditionalBits\\\":0},{\\\"output\\\":{\\\"kind\\\":\\\"tie\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"configurations\\\":[\\\"ab\\\",\\\"ba\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"}},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"}}],\\\"conditionalBits\\\":1},{\\\"output\\\":{\\\"kind\\\":\\\"value\\\",\\\"value\\\":\\\"b\\\"},\\\"probability\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"4\\\"},\\\"configurations\\\":[\\\"bb\\\"],\\\"posterior\\\":[{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"conditionalBits\\\":0}],\\\"meaning\\\":\\\"conditional entropy of the declared configuration given its deterministic mix output; named fork is injective\\\"},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
101
+ "stderr": "",
102
+ "stdoutSha256": "sha256:a90a0118bdde5f1fa65353304761ea57b9d67a09155e9174288f3a7501c0b916",
103
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
104
+ "repeat": {
105
+ "status": 0,
106
+ "runtimeMs": 129.32158299999992,
107
+ "stdoutSha256": "sha256:a90a0118bdde5f1fa65353304761ea57b9d67a09155e9174288f3a7501c0b916",
108
+ "stderr": "",
109
+ "byteIdentical": true,
110
+ "meaning": "fresh host execution, not a cache-reuse receipt"
111
+ }
112
+ },
113
+ {
114
+ "place": "catalog",
115
+ "case": "no",
116
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"model\\\":{\\\"factors\\\":[{\\\"id\\\":\\\"x\\\",\\\"weight\\\":\\\"1\\\"},{\\\"id\\\":\\\"y\\\",\\\"weight\\\":\\\"1\\\"}],\\\"alphabet\\\":[\\\"a\\\",\\\"b\\\"],\\\"configurations\\\":[{\\\"id\\\":\\\"aa\\\",\\\"values\\\":[\\\"a\\\",\\\"a\\\"]},{\\\"id\\\":\\\"ab\\\",\\\"values\\\":[\\\"a\\\",\\\"b\\\"]},{\\\"id\\\":\\\"ba\\\",\\\"values\\\":[\\\"b\\\",\\\"a\\\"]},{\\\"id\\\":\\\"bb\\\",\\\"values\\\":[\\\"b\\\",\\\"b\\\"]}],\\\"prior\\\":{\\\"kind\\\":\\\"explicit\\\",\\\"probabilities\\\":[{\\\"configuration\\\":\\\"aa\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"ab\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"ba\\\",\\\"p\\\":\\\"1/8\\\"},{\\\"configuration\\\":\\\"bb\\\",\\\"p\\\":\\\"1/8\\\"}]}},\\\"policy\\\":{\\\"logarithm\\\":\\\"binary64-log2\\\",\\\"budget\\\":\\\"100\\\"},\\\"expectedRefusal\\\":\\\"REFUSE·mix-loss prior probabilities must sum exactly to one\\\",\\\"group\\\":\\\"l9-mix-loss\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
117
+ "stdinSha256": "sha256:d4dec3671ea9f327062e3e54e2638d9b0c3231a25148d6642db62475b6710612",
118
+ "status": 0,
119
+ "signal": null,
120
+ "runtimeMs": 126.56683399999974,
121
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·mix-loss prior probabilities must sum exactly to one\"}]\n",
122
+ "stderr": "",
123
+ "stdoutSha256": "sha256:22e1ffc0fc7c27e0fed1e1a62dacdd17088a6c0814e2301138c80b0758b3de34",
124
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
125
+ }
126
+ ],
127
+ "isolation": "two separate working directories with identical digest-verified reader image; no ledger, key or store; one origin"
128
+ },
129
+ "admission": "not performed; no signatures or owner authority"
130
+ }