Skip to content

conformance: promote 5 wide GF rungs (gf48/gf96/gf128/gf512/gf1024) selfconsistent -> strict SW-bitexact (63->68/83)#1233

Merged
gHashTag merged 4 commits into
masterfrom
feat/conformance-promote-wide-rungs-bitexact
Jul 1, 2026
Merged

conformance: promote 5 wide GF rungs (gf48/gf96/gf128/gf512/gf1024) selfconsistent -> strict SW-bitexact (63->68/83)#1233
gHashTag merged 4 commits into
masterfrom
feat/conformance-promote-wide-rungs-bitexact

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Summary

Promotes the five wide GoldenFloat rungs gf48, gf96, gf128, gf512, gf1024 from bitexact_selfconsistent to strict SW-bitexact. Stacked on #1231 (gf14 promote) — base is the gf14 branch so this diff contains only the wide-rung change.

Closes #1232.

What

  • New parametric independent second decoder conformance/gf_wide_independent_witness.py, written from scratch against the SSOT catalog params (s/e/m/bias per rung). It decodes each value into canonical dyadic form odd_num * 2^shift and compares exactly (abs_error=0) WITHOUT ever materializing the giant 2^bias integers — bias reaches ~2.5e120 (a 391-bit exponent field) for gf1024, which previously blew up a naive Fraction(2)**(exp-bias) decoder.
  • All 15 vectors per rung match the generator (75 vectors total, 0 mismatches). Edge cases (smallest_subnormal, largest_normal, anchor_three=3, 1.5) hand-decoded by a second independent path.
  • Vectors themselves are UNCHANGED — only kind/source/format_notes/structural_reason metadata + the new witness.
  • INDEX: bitexact 63 -> 68, selfconsistent 5 -> 0, structural 15 (unchanged). Catalog stays 83.

Honesty

These rungs were honestly recorded as bitexact_selfconsistent in #1146 (single decode law, dyadic-exact, no independent second witness — only gf16 had the Corona silicon ROM oracle). The strict SW-bitexact criterion is an independent second decoder with abs_error=0, NOT silicon. Same standard as gf14 (#1230), takum8 (#1223), the six in #1224. No quality/silicon/energy claim. decode-HW/compute-HW unaffected; encoding-conformance only.

Gates (local)

  • wp18_conformance_gate: Check A 83==83, Check B recount [83,68,0,15], Check C sha freshness drift 0, Check D/D2 0 mismatches over 2448 finite rows. No rung in any failure list. Verdict/failure-set IDENTICAL to master (sole Check-E fails are pre-existing gf16/bfloat16 allowlist tolerance rows).
  • wp18_gate_selfconsistent_selftest: 13 PASS / 0 FAIL.
  • check_catalog_count: 83 == 83.
  • Witness re-run after metadata edits: 15/15 abs_error=0 on all five rungs.

Anchor: phi^2 + phi^-2 = 3

gHashTag added 3 commits June 30, 2026 18:49
…3/83)

Closes #1230

gf14 переходит из bitexact_selfconsistent в строгий SW-bitexact.
Добавлен независимый второй декодер conformance/gf14_independent_witness.py
(с нуля по параметрам каталога SSOT s=1 e=5 m=8 bias=15 u16, fractions.Fraction, abs_error=0).
По всем 14 векторам: generator == независимый свидетель, 0 расхождений.
Гейты локально: Check C sha OK (drift 0); gf14 не в failures; failure-set идентичен master;
selfconsistent selftest 13/0; catalog count 83==83; INDEX bitexact 62->63, selfconsistent 6->5.
Satisfies check-now-freshness gate (every PR must touch docs/NOW.md, issue #141).
Conformance gate unchanged: Check C sha OK, failure-set identical to master.
…xact (63->68/83)

Closes #1232

gf48/gf96/gf128/gf512/gf1024 move from bitexact_selfconsistent to strict SW-bitexact.
Adds one parametric independent second decoder conformance/gf_wide_independent_witness.py
that decodes each rung from scratch by the SSOT catalog params (s/e/m/bias) into canonical
dyadic form odd_num*2^shift and compares EXACTLY (abs_error=0) without ever materializing
the giant 2^bias integers (bias up to ~2.5e120 for gf1024). All 15 vectors per rung match
the generator (75 vectors total, 0 mismatches); edge cases hand-verified by a second path.

Vectors UNCHANGED; only kind/source/format_notes/structural_reason metadata + the witness.
INDEX: bitexact 63->68, selfconsistent 5->0, structural 15. catalog stays 83.

Gates: wp18_conformance_gate Check A/B/C/D OK (drift 0, recount [83,68,0,15], 0 mismatches
over 2448 finite rows), no rung in any failure list, failure-set IDENTICAL to master
(pre-existing gf16/bfloat16 allowlist only). wp18_gate_selfconsistent_selftest 13 PASS/0 FAIL.
catalog count 83==83. decode-HW/compute-HW unaffected; encoding-conformance only.
gHashTag added a commit that referenced this pull request Jul 1, 2026
The check-now-freshness job validated docs/NOW.md 'Last updated' against
the UTC window [YESTERDAY_UTC .. TODAY_UTC], producing a systematic
false-negative for east-of-UTC contributors (maintainer is UTC+07): a
local 'today' date is rejected as 'too old' while UTC is still on the
previous day. Observed on PR #1231 (NOW.md=2026-07-01, UTC=2026-06-30),
which blocked the stacked conformance-promote chain #1231 -> #1233.

Widen the window to [YESTERDAY_UTC .. TOMORROW_UTC]: tomorrow is accepted
so any east-of-UTC local 'today' passes; older-than-yesterday still fails
(stale-NOW protection); newer-than-tomorrow still fails (typo protection);
a missing 'Last updated:' line now fails with a clear message. ISO-8601
zero-padded dates compare correctly as strings. CI/workflow-only; catalog
stays 83; no spec or conformance vector touched.

Closes #1234

Co-authored-by: gHashTag <admin@t27.ai>
@gHashTag
gHashTag changed the base branch from feat/conformance-promote-gf14-bitexact to master July 1, 2026 12:02
…omote-wide-rungs-bitexact

# Conflicts:
#	conformance/vectors/INDEX_all_formats.json
#	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 12:05:43 UTC

Summary

Status Count
Total Open PRs 14
PRs with Failing Checks 9
PRs with All Checks Green 5
READY 4
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 2e91229 into master Jul 1, 2026
18 of 19 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.

Promote 5 wide GoldenFloat rungs (gf48/gf96/gf128/gf512/gf1024) selfconsistent -> strict SW-bitexact

1 participant