Skip to content

Promote takum16 to strict SW-bitexact (independent 400-bit witness, 62->63/83)#1229

Merged
gHashTag merged 2 commits into
masterfrom
feat/conformance-promote-takum16-bitexact
Jul 1, 2026
Merged

Promote takum16 to strict SW-bitexact (independent 400-bit witness, 62->63/83)#1229
gHashTag merged 2 commits into
masterfrom
feat/conformance-promote-takum16-bitexact

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #1228

Что

takum16 переходит из structural в строгий SW-bitexact. Использует уже доказанный make_takum_decoder(16) (value = exp(ell/2)); bit-precise подкреплён НОВЫМ независимым вторым свидетелем conformance/vectors/witness_takum16_bitexact.py.

Доказательство (независимый второй свидетель, без внешнего libtakum)

  • ell восстанавливается ТОЧНО из бит-раскладки (диадическая дробь),
  • value = exp(ell/2) при 400-битной mpmath (независимый высокоточный оракул),
  • округление к ближайшему-чётному IEEE binary64.

По ВСЕМ 65536 кодам:

  • декодер генератора == высокоточный свидетель: 0 расхождений,
  • 0 кодов вблизи границы округления (неоднозначных),
  • мин. зазор до середины = 4.2995803e-5 ULP, СТАБИЛЕН при 400/800/1600 бит (реальный зазор, не шум).

→ каждый код однозначно correctly-rounded f64; abs_error=0 на каждом записанном векторе. Тот же критерий, что повысил takum8 (#1223).

Честность / границы

  • takum32/64 ОСТАЮТСЯ structural (2^32 / 2^64 не исчерпываемы; нужен внешний libtakum-оракул для полнодоменного gap-proof).
  • Только encoding-conformance. Нет заявлений о качестве/кремнии. Каталог = 83. decode-HW/compute-HW не затронуты.
  • Вердикт гейта соответствия НЕ изменился vs master (пре-существующие строки gf16 не тронуты; ноль нового дрейфа — проверено прогоном гейта на master и на этой ветке).
  • INDEX: bitexact 62→63, structural 15→14, selfconsistent 6.

Файлы (+203/−22, дрейф 0 0)

gen_all_formats.py (ветка takum16) · INDEX_all_formats.json · takum16 pack · structural_reason в takum32/64 · witness_takum16_bitexact.py (новый) · docs/NOW.md (свежая запись).

Closes #1228

takum16 moves structural -> strict SW-bitexact. It reuses the proven
make_takum_decoder(16) (value = exp(ell/2), ell = (-1)^S*(c+m)); the
bit-precise claim is backed by a NEW independent second witness
(conformance/vectors/witness_takum16_bitexact.py): ell is re-derived
EXACTLY from the bit layout (dyadic rational), value = exp(ell/2)
computed at 400-bit mpmath, rounded to nearest-even f64.

Over ALL 65536 codes: the generator decoder == high-precision witness
with 0 mismatches; 0 codes ambiguous near a rounding midpoint; min gap
to a midpoint = 4.2995803e-5 ULP, STABLE at 400/800/1600-bit (a real
gap, not numerical noise). Same criterion that promoted takum8 (#1223).

takum32/64 HONESTLY stay structural (2^32 / 2^64 not exhaustively
witnessable; need an external libtakum oracle for a full-domain gap
proof). Encoding-conformance only; no quality/silicon claim. catalog
stays 83; decode-HW/compute-HW unaffected. Conformance gate verdict
UNCHANGED vs master (zero new drift). INDEX: bitexact 62->63,
structural 15->14, selfconsistent 6.
@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-06-30 14:09:08 UTC

Summary

Status Count
Total Open PRs 11
PRs with Failing Checks 7
PRs with All Checks Green 4
READY 3
FAILING 7
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=1953ec73601f != manifest seal=49e55df6d444.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

…omote-takum16-bitexact

# Conflicts:
#	docs/NOW.md
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-01 11:50:38 UTC

Summary

Status Count
Total Open PRs 16
PRs with Failing Checks 9
PRs with All Checks Green 7
READY 5
FAILING 9
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=1953ec73601f != manifest seal=49e55df6d444.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit b26344f into master Jul 1, 2026
18 checks passed
@gHashTag
gHashTag deleted the feat/conformance-promote-takum16-bitexact branch July 1, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promote takum16 to strict SW-bitexact (independent 400-bit witness, 62->63/83)

1 participant