Skip to content

conformance: promote gf48 selfconsistent -> strict SW-bitexact (70/5/8) - #1359

Merged
gHashTag merged 1 commit into
masterfrom
gf48-bitexact-promote
Jul 4, 2026
Merged

gHashTag merged 1 commit into
masterfrom
gf48-bitexact-promote

Conversation

@gHashTag

@gHashTag gHashTag commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Closes #1358

Summary

Promote gf48 (GoldenFloat48: S1 E18 M29, BIAS=131071=2^17-1) from
bitexact_selfconsistent to strict bitexact in
conformance/vectors/INDEX_all_formats.json.

INDEX totals: bitexact 69 -> 70, selfconsistent 6 -> 5, structural 8 (sum=83).

Status tag: [verified SW]. This is a software (SW-bitexact axis) promotion.
It is NOT an on-silicon Tier-E claim. encoding != compute != FPGA. HW-decode /
HW-compute for gf48 remain [REQUIRES USER ACTION] (4/4 chain on AX7203,
trinity-fpga #199).

Diff (additive)

  • conformance/vectors/INDEX_all_formats.json -- counts (69->70, 6->5); gf48
    entry (kind bitexact, reworded source, new sha256).
  • conformance/vectors/gf48_conformance_v0.json -- new witnesses array
    (3 entries, each with an honest SW-only / not-Tier-E note) + reworded
    structural_reason; sha recomputed.
  • conformance/witness/gf48_fp64/ -- witness set + README (ASCII).
  • docs/NOW.md -- gf48 promotion entry; Last updated: in window.

SSOT (specs/numeric/formats_catalog.t27) untouched. No gen/ edits.

Three independent SW witnesses (all pass in-sandbox)

  1. Dyadic independent decoder (conformance/gf_wide_independent_witness.py) --
    15/15 bit-exact, abs_error=0. In-repo witness distinct from the encoder.
  2. Golden Fraction oracle (conformance/witness/gf48_fp64/gf48_decode_ref.py) --
    15/15 exact vs pack (exact rational -> binary64).
  3. FP64 fixed-width RTL bit-model
    (conformance/witness/gf48_fp64/rtl_bit_model_fp64.py) -- 224255/224255
    bit-exact vs golden (fails=0); representative set (5-class + boundary +
    full-exponent sweep + deep-underflow edge + 200k deterministic random,
    seed=27; 2^48 exhaustive infeasible).

iverilog independent witness (prepared for local agent)

gf_decode_param_fp64.v (DUT) + tb_gf_decode_fp64.v are prepared for an
independent iverilog run (no iverilog in this sandbox = stronger witness, not yet
run). Lesson 04.07 (twice-confirmed): Python arbitrary-width int does NOT catch
fixed-width bugs; only iverilog is the true independent RTL decoder. Both
fixed-width fixes (widen-before-shift; OOB-safe wide sub_shifted) carried over.
Expected: HW RESULT: 224255/224255 bit-exact (fails=0). Run:
conformance/witness/gf48_fp64/README.md.

Gates

  • conformance-integrity-gate: verified CLEAN locally (EXIT=0).
  • catalog-count-gate: not touched (no formats_catalog / codegen edits).
  • now-sync-gate: docs/NOW.md updated in this PR.
  • L3 PURITY: witness sources are ASCII-only.

Remaining selfconsistent (5): gf96, gf128, gf256, gf512, gf1024.
gf256 stays open (bitexact:false, open bias R&D) -- not promoted here.

Reviewer (repo owner) merges.

@github-actions

github-actions Bot commented Jul 4, 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 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-04 17:24:44 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)=621b9883e268 != 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).

gf48 (GoldenFloat48: S1 E18 M29, BIAS=131071) promoted from
bitexact_selfconsistent to strict bitexact in INDEX_all_formats.json.
INDEX totals: bitexact 69->70, selfconsistent 6->5, structural 8 (sum=83).

Status: [verified SW]. Three independent SW witnesses pass in-sandbox:
  (1) dyadic independent decoder 15/15 (abs_error=0)
  (2) golden Fraction oracle 15/15 exact vs pack
  (3) FP64 fixed-width RTL bit-model 224255/224255 bit-exact (fails=0)

iverilog independent second decoder (gf_decode_param_fp64.v +
tb_gf_decode_fp64.v) prepared for the local agent (no iverilog in sandbox)
= stronger witness, not yet run. Both fixed-width fixes carried over
(widen-before-shift; OOB-safe wide sub_shifted).

NOT on-silicon Tier-E: HW-decode/HW-compute for gf48 remain [REQUIRES USER
ACTION] (4/4 chain on AX7203, trinity-fpga #199). encoding != compute != FPGA.

Additive change; SSOT (formats_catalog.t27) untouched; no gen/ edits.
conformance-integrity-gate verified CLEAN locally (EXIT=0).
Witness chain + local-agent run: conformance/witness/gf48_fp64/README.md.

Closes #1358
@gHashTag
gHashTag force-pushed the gf48-bitexact-promote branch from 11cf820 to 28a847a Compare July 4, 2026 18:00
@github-actions

github-actions Bot commented Jul 4, 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 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-04 18:00:27 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)=621b9883e268 != 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).

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 gf48 selfconsistent -> strict SW-bitexact (70/5/8)

1 participant