@lapxo/obligations 0.4.2 → 0.4.3

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.
@@ -0,0 +1,253 @@
1
+ {
2
+ "id": "L7",
3
+ "classification": "law by counterexample; conditional bound arithmetic",
4
+ "policy": "vectors/laws/policy.json",
5
+ "nativeCapture": {
6
+ "instrument": "@lapxo/bound@0.1.8",
7
+ "mode": "published-host-ABI",
8
+ "host": "dist/cli/host.js",
9
+ "hostSha256": "sha256:b0f52ce76b88ed793543897a0bef490414bfb4af2f5b876a3665dabf8583f879",
10
+ "reader": "test/support/measures-reader.js",
11
+ "implementation": "vectors/laws/implementation-043.json",
12
+ "implementationSha256": "sha256:361492637c3ea9eeec83fe7707fd16a0ae53b8882fe4de212bae1838721b710f",
13
+ "limits": {
14
+ "timeoutMs": 5000,
15
+ "responseBytes": 65536
16
+ },
17
+ "fullFold": false,
18
+ "admission": false,
19
+ "signatures": false,
20
+ "captures": [
21
+ {
22
+ "place": "orchard",
23
+ "case": "yes",
24
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"operation\\\":\\\"subset-bound\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"0\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"0\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"expectedFailureUpperBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
25
+ "stdinSha256": "sha256:ad81bcbec78912796a7ee9ec90e0ff8dee6364744b706b07c38ec4631e6bc7ea",
26
+ "status": 0,
27
+ "signal": null,
28
+ "runtimeMs": 150.923958,
29
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l7-tolerant-k/orchard\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"model\\\":\\\"declared-failure-subset-bound@1\\\",\\\"status\\\":\\\"conditional-bound\\\",\\\"unit\\\":\\\"probability\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"declarations\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"allowedFailures\\\":1,\\\"totalDeclarations\\\":3,\\\"conditions\\\":[\\\"common-probability-space\\\",\\\"declared-marginal-upper-bounds\\\"],\\\"referencesVerified\\\":false,\\\"terms\\\":[{\\\"id\\\":\\\"1\\\",\\\"subsets\\\":\\\"2\\\",\\\"contribution\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"}},{\\\"id\\\":\\\"2\\\",\\\"subsets\\\":\\\"1\\\",\\\"contribution\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"uncappedFailureBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"failureUpperBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"value\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"},\\\"trivial\\\":false},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
30
+ "stderr": "",
31
+ "stdoutSha256": "sha256:5611fc9eb845a4ca4ee0f40762be1687bbba840970e318f5c4c023532d70647d",
32
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
33
+ "repeat": {
34
+ "status": 0,
35
+ "runtimeMs": 133.74875000000003,
36
+ "stdoutSha256": "sha256:5611fc9eb845a4ca4ee0f40762be1687bbba840970e318f5c4c023532d70647d",
37
+ "stderr": "",
38
+ "byteIdentical": true,
39
+ "meaning": "fresh host execution, not a cache-reuse receipt"
40
+ }
41
+ },
42
+ {
43
+ "place": "orchard",
44
+ "case": "no",
45
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"operation\\\":\\\"independent-convolution\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"independence\\\":{\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"pairwiseIndependence\\\":true,\\\"rho\\\":0,\\\"justification\\\":\\\"pairwise-only\\\"},\\\"expectedRefusal\\\":\\\"REFUSE·L7 joint-independence-required\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
46
+ "stdinSha256": "sha256:f94abf6dd4d1e4799686aae17d26c1915b0dcceded96b54cb2ad88dd9c31d620",
47
+ "status": 0,
48
+ "signal": null,
49
+ "runtimeMs": 132.110209,
50
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·L7 joint-independence-required\"}]\n",
51
+ "stderr": "",
52
+ "stdoutSha256": "sha256:b0d0d32f76b255efca0631ea85d38df6cceb13d3e1d4c0ba52a453711006f5d0",
53
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
54
+ },
55
+ {
56
+ "place": "catalog",
57
+ "case": "yes",
58
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"operation\\\":\\\"subset-bound\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"0\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"0\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"expectedFailureUpperBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
59
+ "stdinSha256": "sha256:846de2b4088df5aa8c38659006e591854980ba47d79d53c798986cd6f13782a4",
60
+ "status": 0,
61
+ "signal": null,
62
+ "runtimeMs": 135.03954199999998,
63
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l7-tolerant-k/catalog\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"model\\\":\\\"declared-failure-subset-bound@1\\\",\\\"status\\\":\\\"conditional-bound\\\",\\\"unit\\\":\\\"probability\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"declarations\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"allowedFailures\\\":1,\\\"totalDeclarations\\\":3,\\\"conditions\\\":[\\\"common-probability-space\\\",\\\"declared-marginal-upper-bounds\\\"],\\\"referencesVerified\\\":false,\\\"terms\\\":[{\\\"id\\\":\\\"1\\\",\\\"subsets\\\":\\\"2\\\",\\\"contribution\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"}},{\\\"id\\\":\\\"2\\\",\\\"subsets\\\":\\\"1\\\",\\\"contribution\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"}}],\\\"uncappedFailureBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"failureUpperBound\\\":{\\\"numerator\\\":\\\"0\\\",\\\"denominator\\\":\\\"1\\\"},\\\"value\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"1\\\"},\\\"trivial\\\":false},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
64
+ "stderr": "",
65
+ "stdoutSha256": "sha256:0f0e3fdd113c56f94c5cbe17c0141cbfca0de83195a53d237b2c659d69aed5a3",
66
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
67
+ "repeat": {
68
+ "status": 0,
69
+ "runtimeMs": 123.25308400000006,
70
+ "stdoutSha256": "sha256:0f0e3fdd113c56f94c5cbe17c0141cbfca0de83195a53d237b2c659d69aed5a3",
71
+ "stderr": "",
72
+ "byteIdentical": true,
73
+ "meaning": "fresh host execution, not a cache-reuse receipt"
74
+ }
75
+ },
76
+ {
77
+ "place": "catalog",
78
+ "case": "no",
79
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"operation\\\":\\\"independent-convolution\\\",\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"independence\\\":{\\\"probabilitySpace\\\":\\\"declared:finite-common-space\\\",\\\"pairwiseIndependence\\\":true,\\\"rho\\\":0,\\\"justification\\\":\\\"pairwise-only\\\"},\\\"expectedRefusal\\\":\\\"REFUSE·L7 joint-independence-required\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
80
+ "stdinSha256": "sha256:6da5c9f5c102202a072f04e4542881a244897a055f19f5417e437283667dd057",
81
+ "status": 0,
82
+ "signal": null,
83
+ "runtimeMs": 123.31112500000006,
84
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"refuse\",\"why\":\"Error: REFUSE·L7 joint-independence-required\"}]\n",
85
+ "stderr": "",
86
+ "stdoutSha256": "sha256:b0d0d32f76b255efca0631ea85d38df6cceb13d3e1d4c0ba52a453711006f5d0",
87
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
88
+ },
89
+ {
90
+ "place": "orchard",
91
+ "case": "independentYes",
92
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"operation\\\":\\\"independent-convolution\\\",\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"independence\\\":{\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"jointIndependence\\\":true,\\\"justification\\\":\\\"hypothesis:joint-product-law\\\"},\\\"expectedFailureUpperBound\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"place\\\":\\\"orchard\\\"}\\n\"}],\"lines\":[]}]",
93
+ "stdinSha256": "sha256:49cae487c47f721bbf6848d9c305109f95ed03edf54a9eaa7e0d101c1c0b381c",
94
+ "status": 0,
95
+ "runtimeMs": 136.89020800000003,
96
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l7-tolerant-k/orchard\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"model\\\":\\\"declared-joint-independent-count-bound@1\\\",\\\"status\\\":\\\"conditional-bound\\\",\\\"unit\\\":\\\"probability\\\",\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"declarations\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"allowedFailures\\\":1,\\\"totalDeclarations\\\":3,\\\"jointIndependence\\\":{\\\"declared\\\":true,\\\"justification\\\":\\\"hypothesis:joint-product-law\\\"},\\\"referencesVerified\\\":false,\\\"bernoulliEnvelope\\\":[{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"3\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"3\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"8\\\"}],\\\"failureUpperBound\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"value\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"trivial\\\":false},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
97
+ "stderr": "",
98
+ "stdoutSha256": "sha256:42ef2b918f93c41ce5f9ec00b05ccc7981c3a7c77cd362f38a8e7d0e81f7d3e6",
99
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
100
+ "repeat": {
101
+ "status": 0,
102
+ "runtimeMs": 113.61795800000002,
103
+ "stdoutSha256": "sha256:42ef2b918f93c41ce5f9ec00b05ccc7981c3a7c77cd362f38a8e7d0e81f7d3e6",
104
+ "stderr": "",
105
+ "byteIdentical": true,
106
+ "meaning": "fresh host execution, not a cache-reuse receipt"
107
+ }
108
+ },
109
+ {
110
+ "place": "catalog",
111
+ "case": "independentYes",
112
+ "input": "[{\"protocol\":\"bound-lock/1\",\"verb\":\"read\",\"rootScope\":\"inputs/sample.json\",\"region\":\"measure\",\"files\":[{\"place\":\"inputs/sample.json\",\"text\":\"{\\\"operation\\\":\\\"independent-convolution\\\",\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"k\\\":1,\\\"failures\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":\\\"1/2\\\",\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"independence\\\":{\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"jointIndependence\\\":true,\\\"justification\\\":\\\"hypothesis:joint-product-law\\\"},\\\"expectedFailureUpperBound\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"group\\\":\\\"l7-tolerant-k\\\",\\\"place\\\":\\\"catalog\\\"}\\n\"}],\"lines\":[]}]",
113
+ "stdinSha256": "sha256:18ed62461b44e6225c370912d067d8c68c3029447d11c441bb021fa89ac4bf0c",
114
+ "status": 0,
115
+ "runtimeMs": 114.046333,
116
+ "stdout": "\n[{\"protocol\":\"bound-lock/1\",\"kind\":\"fact\",\"claims\":[{\"scope\":\"measurement/l7-tolerant-k/catalog\",\"role\":\"writes\",\"measure\":\"result\",\"bound\":{\"kind\":\"enumerated\",\"values\":[\"{\\\"result\\\":{\\\"model\\\":\\\"declared-joint-independent-count-bound@1\\\",\\\"status\\\":\\\"conditional-bound\\\",\\\"unit\\\":\\\"probability\\\",\\\"probabilitySpace\\\":\\\"declared:independent-Bernoulli\\\",\\\"declarations\\\":[{\\\"id\\\":\\\"0\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:0\\\"},{\\\"id\\\":\\\"1\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:1\\\"},{\\\"id\\\":\\\"2\\\",\\\"p\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"justification\\\":\\\"hypothesis:2\\\"}],\\\"allowedFailures\\\":1,\\\"totalDeclarations\\\":3,\\\"jointIndependence\\\":{\\\"declared\\\":true,\\\"justification\\\":\\\"hypothesis:joint-product-law\\\"},\\\"referencesVerified\\\":false,\\\"bernoulliEnvelope\\\":[{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"3\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"3\\\",\\\"denominator\\\":\\\"8\\\"},{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"8\\\"}],\\\"failureUpperBound\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"value\\\":{\\\"numerator\\\":\\\"1\\\",\\\"denominator\\\":\\\"2\\\"},\\\"trivial\\\":false},\\\"states\\\":[\\\"FREE\\\",\\\"REQUIRED\\\",\\\"FORBIDDEN\\\",\\\"CONFLICT\\\"]}\"]}}]}]\n",
117
+ "stderr": "",
118
+ "stdoutSha256": "sha256:bd2d77f25fce51ac596b469b158dd909c51c45b7c7077ec59c381c7851ec1fdc",
119
+ "stderrSha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
120
+ "repeat": {
121
+ "status": 0,
122
+ "runtimeMs": 113.99241699999993,
123
+ "stdoutSha256": "sha256:bd2d77f25fce51ac596b469b158dd909c51c45b7c7077ec59c381c7851ec1fdc",
124
+ "stderr": "",
125
+ "byteIdentical": true,
126
+ "meaning": "fresh host execution, not a cache-reuse receipt"
127
+ }
128
+ }
129
+ ],
130
+ "isolation": "two separate working directories with identical digest-verified reader image; no ledger, key or store; one origin"
131
+ },
132
+ "evidenceKind": "mathematical oracle and exact finite witnesses; native execution not yet captured",
133
+ "proof": [
134
+ "{N>k} is the union of intersections of k+1 failure events.",
135
+ "Each intersection probability is at most its smallest declared marginal upper bound.",
136
+ "Union bound then cap at 1; empty subset family for k=m gives 0."
137
+ ],
138
+ "cases": [
139
+ {
140
+ "p": [
141
+ "1",
142
+ "0",
143
+ "0"
144
+ ],
145
+ "k": 1,
146
+ "subsetFailureBound": "0",
147
+ "trivial": false
148
+ },
149
+ {
150
+ "p": [
151
+ "1/10",
152
+ "1/10",
153
+ "1/10"
154
+ ],
155
+ "k": 1,
156
+ "subsetFailureBound": "3/10",
157
+ "trivial": false,
158
+ "note": "not a counterexample to old top-two guarantee; stronger 0.4.2 bound gives success17/20"
159
+ },
160
+ {
161
+ "p": [
162
+ "2/5",
163
+ "2/5",
164
+ "2/5",
165
+ "2/5",
166
+ "2/5",
167
+ "2/5"
168
+ ],
169
+ "k": 2,
170
+ "subsetFailureBound": "1",
171
+ "uncappedFailureBound": "8",
172
+ "trivial": true,
173
+ "oldClaimedSuccess": "-1/5"
174
+ },
175
+ {
176
+ "p": [],
177
+ "k": 0,
178
+ "subsetFailureBound": "0",
179
+ "trivial": false
180
+ }
181
+ ],
182
+ "oldClaimActualCounterexample": {
183
+ "p": [
184
+ "1/10",
185
+ "1/10",
186
+ "1/10",
187
+ "1/10",
188
+ "1/10",
189
+ "1/10"
190
+ ],
191
+ "k": 1,
192
+ "denominator": 10,
193
+ "outcomes": [
194
+ {
195
+ "failed": [
196
+ 0,
197
+ 1
198
+ ],
199
+ "weight": 1
200
+ },
201
+ {
202
+ "failed": [
203
+ 2,
204
+ 3
205
+ ],
206
+ "weight": 1
207
+ },
208
+ {
209
+ "failed": [
210
+ 4,
211
+ 5
212
+ ],
213
+ "weight": 1
214
+ },
215
+ {
216
+ "failed": [],
217
+ "weight": 7
218
+ }
219
+ ],
220
+ "actualSuccess": "7/10",
221
+ "oldClaimedSuccess": "4/5"
222
+ },
223
+ "pairwiseNotJoint": {
224
+ "states": [
225
+ "000",
226
+ "011",
227
+ "101",
228
+ "110"
229
+ ],
230
+ "prior": [
231
+ "1/4",
232
+ "1/4",
233
+ "1/4",
234
+ "1/4"
235
+ ],
236
+ "p": [
237
+ "1/2",
238
+ "1/2",
239
+ "1/2"
240
+ ],
241
+ "k": 1,
242
+ "actualFailure": "3/4",
243
+ "independentFailure": "1/2"
244
+ },
245
+ "domains": {
246
+ "k": "integer in0..m",
247
+ "probabilities": "exact rational upper bounds in[0,1]",
248
+ "commonSpace": "explicit nonblank identifier, not verified",
249
+ "independence": "explicit joint declaration and justification required only for convolution",
250
+ "references": "retained, never verified"
251
+ },
252
+ "sample": "samples/measures/l7-tolerant-k.json"
253
+ }
@@ -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
+ }