Skip to content

Commit b1b09ee

Browse files
author
gHashTag
committed
takum32/64: add machine-readable witnesses[] (consistency with bcd pack)
Add a structured witnesses[] array to both curated_named packs so the witness provenance is machine-readable, matching the bcd pack convention: - python_mpmath_oracle: Witness #1 (1200-bit, 15/15 abs_error=0) - python_independent_math_exp: independent second reproduction of the value claim, cross-checked bit-for-bit against math.exp(+/-k/2), 10/10 match - sample_probe_supporting_evidence: 400k probe, explicitly NOT part of the bitexact claim - libtakum_c_parity: honestly marked NOT DONE (Variant B, separate step) INDEX takum32/64 sha256 refreshed. Counts unchanged (bitexact 72, structural 11, total 83). WP-18 integrity-gate CLEAN locally. No overclaim: curated-backed, NOT exhaustive; NOT a silicon/HW claim. Closes #1327
1 parent 41b1683 commit b1b09ee

3 files changed

Lines changed: 46 additions & 2 deletions

File tree

conformance/vectors/INDEX_all_formats.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,15 +243,15 @@
243243
"kind": "bitexact",
244244
"n_vectors": 15,
245245
"source": "curated_named oracle (witness_takum_wide.py, mpmath 1200-bit); see format_notes",
246-
"sha256": "fd7ec34a74e4ae0577c64999ee2a972788020a6a62b80dd32312cc9082f6cf8a"
246+
"sha256": "9743747e70e9da3490a08c6d2c954f49108293a6381a4e1365a6434444478cf0"
247247
},
248248
{
249249
"id": "takum64",
250250
"file": "takum64_conformance_v0.json",
251251
"kind": "bitexact",
252252
"n_vectors": 15,
253253
"source": "curated_named oracle (witness_takum_wide.py, mpmath 1200-bit); see format_notes",
254-
"sha256": "ab1bf903a5de88d784364e6bc6d54faea0e40a19725076bda65e6c8933b7b58e"
254+
"sha256": "9467083cfdd44436a257b0efedbdbffe0b24ffe5b3ce45f16637d6fdd6739340"
255255
},
256256
{
257257
"id": "lns8",

conformance/vectors/takum32_conformance_v0.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,28 @@
3131
},
3232
"round_trip_policy": "decode: exact bits->f64 (curated_named). encode (reference): round-nearest-ties-even; overflow per format convention. abs_error 0 for representable values.",
3333
"vector_mode": "curated_named",
34+
"witnesses": [
35+
{
36+
"kind": "python_mpmath_oracle",
37+
"oracle": "witness_takum_wide.py: value = exp(ell/2), ell exact dyadic; mpmath 1200-bit (arXiv:2404.18603). Decoder validated against all 3 known takum16 codes.",
38+
"result": "15/15 abs_error=0 on curated named vectors (Witness #1)"
39+
},
40+
{
41+
"kind": "python_independent_math_exp",
42+
"oracle": "decode values cross-checked bit-for-bit against math.exp(+/-k/2) (independent reimplementation, not the mpmath path)",
43+
"result": "10/10 grid values match to the bit (independent second reproduction of the value claim)"
44+
},
45+
{
46+
"kind": "sample_probe_supporting_evidence",
47+
"oracle": "400k+ randomized+structured codes at 600-bit; min midpoint gap 2.27e-7 ULP >> oracle floor 2.5e-175, 0 ambiguous",
48+
"result": "supporting evidence only -- NOT part of the bitexact claim (curated-backed, not exhaustive)"
49+
},
50+
{
51+
"kind": "libtakum_c_parity",
52+
"oracle": "full-domain exhaustive / analytic separation bound via libtakum C reference",
53+
"result": "NOT DONE -- separate step (Variant B); 2^32 codes infeasible to enumerate here"
54+
}
55+
],
3456
"n_vectors": 15,
3557
"vectors": [
3658
{

conformance/vectors/takum64_conformance_v0.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,28 @@
3131
},
3232
"round_trip_policy": "decode: exact bits->f64 (curated_named). encode (reference): round-nearest-ties-even; overflow per format convention. abs_error 0 for representable values.",
3333
"vector_mode": "curated_named",
34+
"witnesses": [
35+
{
36+
"kind": "python_mpmath_oracle",
37+
"oracle": "witness_takum_wide.py: value = exp(ell/2), ell exact dyadic; mpmath 1200-bit (arXiv:2404.18603). Decoder validated against all 3 known takum16 codes.",
38+
"result": "15/15 abs_error=0 on curated named vectors (Witness #1)"
39+
},
40+
{
41+
"kind": "python_independent_math_exp",
42+
"oracle": "decode values cross-checked bit-for-bit against math.exp(+/-k/2) (independent reimplementation, not the mpmath path)",
43+
"result": "10/10 grid values match to the bit (independent second reproduction of the value claim)"
44+
},
45+
{
46+
"kind": "sample_probe_supporting_evidence",
47+
"oracle": "400k+ randomized+structured codes at 1200-bit; min midpoint gap 8.78e-7 ULP >> oracle floor 6.1e-356, 0 ambiguous",
48+
"result": "supporting evidence only -- NOT part of the bitexact claim (curated-backed, not exhaustive)"
49+
},
50+
{
51+
"kind": "libtakum_c_parity",
52+
"oracle": "full-domain exhaustive / analytic separation bound via libtakum C reference",
53+
"result": "NOT DONE -- separate step (Variant B); 2^64 codes infeasible to enumerate here"
54+
}
55+
],
3456
"n_vectors": 15,
3557
"vectors": [
3658
{

0 commit comments

Comments
 (0)