Skip to content

conformance: promote takum8 to bit-precise + fix takum arXiv citation (61->62/83) - #1222

Merged
gHashTag merged 1 commit into
masterfrom
feat/conformance-promote-takum8-bitexact
Jun 28, 2026
Merged

gHashTag merged 1 commit into
masterfrom
feat/conformance-promote-takum8-bitexact

Conversation

@gHashTag

@gHashTag gHashTag commented Jun 28, 2026 •

Copy link
Copy Markdown
Owner

Track A — takum8 → bit-precise (61→62/83)

Stacked on #1221 (6-format promotion). Base = feat/conformance-promote-6-structural-bitexact. Merge #1221 first.

Что сделано

  • takum8: structural → bit-precise [доказано]. Добавлен независимый логарифмический декодер (value = exp(ell/2), ell = (-1)^S·(c+m), база sqrt(e)) в gen_all_formats.py как make_takum_decoder(n). Exhaustive по всем 256 кодам, correctly-rounded-nearest-even f64 (минимальный зазор до midpoint = 0.0135 × 0.5 ULP → 200-бит mpmath достаточно). LUT сверена с libtakum/src/codec.c (формульный assert).
  • takum16/32/64: ЧЕСТНО оставлены structural. Значения трансцендентны; exhaustive correctly-rounded зазор неверифицируем без внешнего libtakum-оракула (нет независимого второго свидетеля). НЕ повышены.

Правка цитаты

Записи takum цитировали arXiv:2412.20273 — это «Integer Representations in IEEE 754, Posit, and Takum» (другая, более поздняя работа). Формат-определяющая ссылка = arXiv:2404.18603 («Beating Posits at Their Own Game: Takum Arithmetic», CoNGA 2024, логарифмический takum). Исправлено в SSOT specs/numeric/formats_catalog.t27 и forward-facing docs (NUMERIC_FORMATS_SSOT, POSITIONING_CONFORMANCE_LAYER, RESEARCH_CLAIMS).

  • gen/numeric/ полиглот-биндинги НЕ тронуты (управляются отдельным 77→83 регенератором).
  • NOW.md changelog оставлен как есть (историческая запись).

Оговорка

Стандарт takum гарантирует свойства для n≥12, поэтому takum8 формально ниже номинального порога — отмечено в notes пакета, это НЕ ошибка декодера.

Проверки

  • Conformance gate: CLEAN (exit 0).
  • Self-test gates: PASS (13/13 selfconsistent, selftest gate PASS).
  • takum8 exhaustive self-test: 256/256 PASS (монотонность, лог-симметрия, correctly-rounded gap).
  • Счёт: строгий SW-bitexact 61→62/83; structural 16→15; selfconsistent 6.

Honesty

encoding ≠ compute ≠ FPGA. decode-HW и compute-HW не затронуты — остаются 0/83 до реального прогона на AX7203. bit-precise (независимый декодер, abs_error=0) НЕ приравнивается к bitexact_selfconsistent.

Closes #1223

@gHashTag
gHashTag force-pushed the feat/conformance-promote-takum8-bitexact branch from c2660c8 to e03c0f2 Compare June 28, 2026 12:01
@gHashTag
gHashTag force-pushed the feat/conformance-promote-6-structural-bitexact branch from 4e82991 to 4a39f75 Compare June 28, 2026 12:05
@gHashTag
gHashTag changed the base branch from feat/conformance-promote-6-structural-bitexact to master June 28, 2026 12:09
@gHashTag
gHashTag force-pushed the feat/conformance-promote-takum8-bitexact branch from e03c0f2 to e00ba92 Compare June 28, 2026 12:09
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-06-28 12:10:07 UTC

Summary

Status Count
Total Open PRs 9
PRs with Failing Checks 6
PRs with All Checks Green 3
READY 3
FAILING 6
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).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

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

… (61->62/83)

Track A of the parallel wave-loop. Stacked on #1221 (6-format promotion).

WHAT:
- takum8: structural -> bit-precise. Dedicated logarithmic decoder
  (value = exp(ell/2), ell = (-1)^S*(c+m), base sqrt(e)) added to
  gen_all_formats.py as make_takum_decoder(n). Exhaustive over all 256
  codes; correctly-rounded-nearest-even f64 (min gap to midpoint =
  0.0135 x 0.5 ULP -> 200-bit mpmath sufficient). LUT cross-checked vs
  libtakum/src/codec.c (formulaic assert). [proven]
- takum16/32/64: HONESTLY kept structural. Values transcendental; the
  exhaustive correctly-rounded gap is NOT verifiable without an external
  libtakum oracle (no independent second witness). Not promoted.

CITATION FIX:
- takum entries cited arXiv:2412.20273 (that is 'Integer Representations
  in IEEE 754, Posit, and Takum', a different/later paper). The
  format-DEFINING reference is arXiv:2404.18603 ('Beating Posits at Their
  Own Game: Takum Arithmetic', CoNGA 2024, logarithmic takum). Fixed in
  SSOT specs/numeric/formats_catalog.t27 and forward-facing docs
  (NUMERIC_FORMATS_SSOT, POSITIONING_CONFORMANCE_LAYER, RESEARCH_CLAIMS).
  gen/numeric polyglot bindings left untouched (managed by a separate
  77->83 regeneration effort). NOW.md changelog history left intact.

CAVEAT: takum standard guarantees apply for n>=12, so takum8 is below the
nominal threshold; this is recorded in the pack notes, not a decoder error.

COUNT: strict SW-bitexact 61 -> 62/83; structural 16 -> 15; selfconsistent 6.
Conformance gate: CLEAN. Self-test gates: PASS. takum8 256/256 self-test PASS.

decode-HW / compute-HW unaffected (stay 0/83 until real AX7203 run).

Closes #1223
@gHashTag
gHashTag force-pushed the feat/conformance-promote-takum8-bitexact branch from e00ba92 to f0d6a0f Compare June 28, 2026 12:11
@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-28 12:11:55 UTC

Summary

Status Count
Total Open PRs 9
PRs with Failing Checks 5
PRs with All Checks Green 4
READY 3
FAILING 5
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 92f3506 into master Jun 28, 2026
21 checks passed
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.

[conformance] Promote takum8 to bit-precise + fix takum arXiv citation (Track A)

1 participant