Skip to content

docs: the format catalog count is a live invariant, not a fixed number - #3186

Merged
gHashTag merged 6 commits into
masterfrom
docs/catalog-count-is-invariant
Sep 5, 2026
Merged

gHashTag merged 6 commits into
masterfrom
docs/catalog-count-is-invariant

Conversation

@gHashTag

@gHashTag gHashTag commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

Refs #2466 — the tools/check_catalog_count.py comment this PR rewrites is the paper-divergence WARN that issue is about; the WARN itself stays until arXiv v3 is live (announces 7 Sep 2026), so the issue is referenced, not closed.

The SSOT in gHashTag/t27 grew from 83 records (arXiv:2606.09686v2, 2026-06-22) to 109 on 2026-08-11 (TNF, BNF and GF-T ladders, t27 commit b928725). This README still quoted 83 as if it were the catalog's name.

The number now appears only as a dated fact, and the catalog is referred to without a count, so the text does not go stale again when the SSOT grows. Companion change: arXiv v3 (submit/8037924) is retitled 'Golden Ruler: A Numeric Format Catalog with Bit-Exact Conformance Vectors' and adds a section on the three ladders.


Second commit (2026-09-05, 839e669): the rest of the living docs on this surface.

  • conformance/vectors/README.md re-derived from INDEX_all_formats.json and the pack files: 69/6/8/83 -> 89/0/20/109 (witnessed 10), SHA-256 list regenerated for all 109 packs, the 26 TNF/BNF/GF-T packs of b928725 added to the tables, the self-consistent section closed (the six wide GoldenFloat rungs were promoted through conformance/witness/).
  • docs/POSITIONING_CONFORMANCE_LAYER.md, conformance/witness/gf256/{README,SEPARATION_BOUND}.md, .claude/skills/tnf-gfternary.md: 83 becomes a dated measurement next to the live count; the catalog paper is cited under its v3 title, "Golden Ruler: A Numeric Format Catalog with Bit-Exact Conformance Vectors for FP8, BF16, MXFP4, and Microscaling Formats" (arXiv:2606.09686, v3 announced 7 Sep 2026).
  • Hardware wording: no die exists (TTSKY26a/TTSKY26b withdrawn and refunded); the Corona oracle is the Artix-7 XC7A200T FPGA prototype; the skill section "Verified against silicon" is now "Verified on the Artix-7 FPGA (XC7A200T) prototype".
  • TNF manuscript: under review at Microprocessors and Microsystems (Elsevier), MICPRO-D-26-00839, submitted 3 Sep 2026; no arXiv preprint exists; R1 prepared in docs(paper): MICPRO R1 — path roots, scale convention, log count trinity-fpga#742.
  • tools/check_catalog_count.py: PAPER_DECLARED_COUNT deliberately stays 83 until the live arXiv entry shows v3 (the constant's own rule); the pending 83 -> 109 bump and its verification command are documented in place. python3 tools/check_catalog_count.py -> exit 0 (SSOT == fresh regen == 109); --self-check 6/6.

Not touched (historical): specs/numeric/golden_sieve.t27, ERRATA_*.md, docs/reports/*.


Third commit (2026-09-05, 32bf814): fix-up after review.

  • README.md: the HF catalog dataset is dataset v3.0, a snapshot of 2026-06-13 that lags the live SSOT (verified: HF API lastModified 2026-06-13T15:12:13Z, datasets-server num_rows 83, last commit "v3: count=83 truth"); the earlier "109 records as of 2026-09-04" wording was wrong and is gone. The CI-invariant sentence now belongs to specs/numeric/formats_catalog.t27 only.
  • Hard-coded count removed from six living lines, keeping the dated qualifier: .claude/skills/tnf-gfternary.md (3), conformance/witness/gf256/README.md, conformance/witness/gf256/SEPARATION_BOUND.md (2), conformance/vectors/gen_all_formats.py (2).
  • Oracle wording: "silicon oracle" / "silicon-oracle anchor" for gf16 in gen_all_formats.py and conformance/vectors/README.md is now "FPGA oracle" / "FPGA-oracle anchor, XC7A200T" (no die exists; matches docs/POSITIONING_CONFORMANCE_LAYER.md).
  • tnf-gfternary.md heading: "Verified against the synthesized node (exact integer reference in Z[φ])", which is what docs/theory/TNF_ARTICLE_RU.md:968 states; the previous heading asserted board execution the source does not state.
  • tools/check_catalog_count.py: paper count keyed by arXiv version (PAPER_DECLARED_BY_VERSION, PAPER_LIVE_VERSION = "v2"), so the 7 Sep 2026 switch is a one-token change and the superseded title is no longer quoted verbatim; evidence rule unchanged (curl 2026-09-05 still returns 2606.09686v2). Gate exit 0, --self-check 6/6, --strict-paper exit 3 as designed.
  • docs/theory/TNF_ARTICLE_RU.md bibliography entry 5: title token and version only (Golden Ruler, arXiv:2606.09686v3). Body lines 108 and 247 are the manuscript's own measurement statements, left as they are.

Fourth commit (2026-09-05, 8e686a2): fix-up after the second review.

  • Required gates: this PR added no docs/now/ entry and referenced no t27 issue, so check-now-freshness, check and check-linked-issue were red. Added docs/now/2026-09-05-the-catalog-count-is-a-live-invariant.md (both NOW gates pass locally with the CI scripts, scripts/ci/now-sync-gate-diff.sh and tools/check_now_entry_shape.py), and this body now carries Refs #2466.
  • conformance/vectors/crosswalk_sw_hw.py: it read the SW total from INDEX_all_formats.json and then printed a hard-coded 83 into its own header; it now prints the count it read (temp-dir dry run: (=109); the July Ring 052: Lotus phase automation — brain seal refresh pipeline #199 HW snapshot keeps its 71/83, dated; schema v0.2, totals.ssot_total added, hw_ids_outside_ssot83 -> hw_ids_outside_ssot, no consumer in the tree). The committed CROSSWALK_sw_hw.md July snapshot is not regenerated.
  • specs/numeric/golden_sieve.t27: the W778 comment is pinned to its run (83 formats on 2026-08-15; the count is a CI invariant, 109 at v3). Resealed with a freshly built t27c (seal --save, then --verify: all five hashes MATCH; only spec_hash and sealed_at changed, the four gen_hash_* are identical).
  • docs/theory/IGLA-FORMAL-RESULTS.md: a reading note in the header — "silicon" in this ledger is the FPGA die on the board an entry names, never a fabricated chip (TTSKY26a/26b withdrawn before fabrication and refunded), and each entry quotes the catalogue count as it stood when measured; the W602 line carries the qualifier inline. The wave-numbered entries themselves are not rewritten.
  • docs/theory/TNF_ARTICLE_RU.md: reference 11 pointed at hackaday.io/project/183153 (404, no Wayback snapshot) and now points at hackaday.io/project/164907 (Ternary Computing Menagerie, HTTP 200, hosts "Ternary27 Standard.pdf"), which docs/reports/upstream/tnf_paper.FIXED.tex already carries; the provenance header notes that the body's 83 is the translated revision's count (83 = 11 + 72 kept) and that the catalogue is 109 at v3. Reference 28's DOI 10.1145/3649329.3656502 resolves at Crossref (FQP, DAC '24); only dl.acm.org refuses non-browser fetches — unchanged.
  • tools/check_catalog_count.py:49 submit/8037924: verified 2026-09-05 against the arXiv notification "arXiv replacement submit/8037924 for 2606.09686" (e-prints@arxiv.org, received 4 Sep 2026) — kept.

🤖 Generated with Claude Code

The SSOT in gHashTag/t27 grew from 83 records (arXiv:2606.09686v2, 2026-06-22)
to 109 on 2026-08-11 (TNF, BNF and GF-T ladders, commit b928725). This README
still quoted 83 as if it were the catalog's name. The number now appears only
as a dated fact; the catalog is referred to without a count so the text does
not go stale again when the SSOT grows. arXiv v3 (submit/8037924) is retitled
'Golden Ruler: A Numeric Format Catalog with Bit-Exact Conformance Vectors'.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-04 16:43:24 UTC

Summary

Status Count
Total Open PRs 12
PRs with Failing Checks 11
PRs with All Checks Green 1
READY 0
FAILING 11
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=9b8875f1c9d4 != manifest seal=87e5cbd3ad94.
    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).

This was referenced Sep 4, 2026
…that was never made

The catalog grew to 109 formats on 2026-08-11 (b928725) and every pack
index moved with it: bit-precise 69 -> 89, self-consistent 6 -> 0,
structural 8 -> 20, witnessed 10. conformance/vectors/README.md still
listed the 83-pack set of 2026-06-14, so its tables, totals and SHA-256
list are re-derived from INDEX_all_formats.json and the live pack files.

The positioning doc, the two gf256 witness notes and the tnf-gfternary
skill quoted 83 as the catalog's name; they now carry it as a dated
measurement with the live count beside it. The catalog paper is cited
under its v3 title, "Golden Ruler: A Numeric Format Catalog with
Bit-Exact Conformance Vectors for FP8, BF16, MXFP4, and Microscaling
Formats" (arXiv:2606.09686, v3 announced 7 Sep 2026).

Hardware: no die of any TRI-NET chip exists. The Tiny Tapeout TTSKY26a
and TTSKY26b submissions were withdrawn and refunded, so the README no
longer calls the three chip repos "silicon variants", the positioning
diagram's oracle is the Artix-7 (XC7A200T) FPGA prototype, and the
skill's "Verified against silicon" section is verified on that prototype.

tools/check_catalog_count.py: PAPER_DECLARED_COUNT stays 83 on purpose --
the live arXiv entry still returns v2 today, and the constant's own rule
is that it moves only when the fetched entry shows it. The pending
83 -> 109 bump and its evidence command are recorded in the comment.
Gate run: SSOT == fresh regen == 109, exit 0; --self-check 6/6.

The TNF manuscript is under review at Microprocessors and Microsystems
(MICPRO-D-26-00839, submitted 3 Sep 2026); no arXiv preprint exists.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… in June, and six living lines still carried the old count

Fix-up after review of 839e669.

README.md: the Hugging Face catalog dataset was described as "the
format-catalog SSOT (109 records as of 2026-09-04)". The mirror is dataset
v3.0, last commit 2026-06-13 ("v3: count=83 truth"), 83 rows on
datasets-server, and it was not touched on 2026-09-04. It is now described
as a snapshot of 2026-06-13 that lags the live SSOT and is due for
re-publishing; the CI-invariant sentence is attached to the SSOT only.
Verified: curl https://huggingface.co/api/datasets/playra/numeric-format-catalog
(lastModified 2026-06-13T15:12:13Z) and
https://datasets-server.huggingface.co/size?dataset=playra/numeric-format-catalog
(num_rows 83).

Hard-coded count removed from living lines, keeping the dated qualifier:
.claude/skills/tnf-gfternary.md (three sites: "the catalogue as then
registered", "as it stood then", "as it stood when measured"),
conformance/witness/gf256/README.md and SEPARATION_BOUND.md ("71 of the
formats then catalogued"; "it has grown since this witness was written"),
conformance/vectors/gen_all_formats.py (the gate enforces "the catalog-count
invariant; the count is live, not fixed"; "every pack file").

Oracle wording: gen_all_formats.py and conformance/vectors/README.md said
gf16 has a "silicon oracle" / is the "silicon-oracle anchor". The oracle is
the Artix-7 XC7A200T FPGA prototype; no die exists. Now "FPGA oracle" /
"FPGA-oracle anchor, XC7A200T", matching docs/POSITIONING_CONFORMANCE_LAYER.md.

tnf-gfternary.md heading: "Verified on the Artix-7 FPGA (XC7A200T)
prototype" asserted board execution the source does not state.
docs/theory/TNF_ARTICLE_RU.md:968 says the synthesized node is compared
against exact integer arithmetic in Z[phi]; the heading now says exactly
that: "Verified against the synthesized node (exact integer reference in
Z[phi])".

tools/check_catalog_count.py: the paper count is keyed by arXiv version
(PAPER_DECLARED_BY_VERSION = {v1: 84, v2: 83, v3: 109}, PAPER_LIVE_VERSION =
"v2"), so the 7 Sep 2026 switch is a one-token change and the superseded
title is no longer quoted verbatim. The evidence rule is unchanged: the
live version moves only when the curl shows it (fetched 2026-09-05: still
2606.09686v2, updated 2026-06-22T12:28:45Z). The gate output now names the
version it compares against. Gate exit 0 (SSOT == fresh regen == 109),
--self-check 6/6, --strict-paper exit 3 as designed.

docs/theory/TNF_ARTICLE_RU.md bibliography entry 5: title token and version
only, "Golden Ruler: a numeric format catalog with bit-exact conformance
vectors for FP8, BF16, MXFP4, and microscaling formats. arXiv:2606.09686v3".
Body lines 108 and 247 ("каталог из 83 форматов", "Из 83 записей") are the
manuscript's own measurement statements and are left as they are.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 5, 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 Sep 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-05 04:22:41 UTC

Summary

Status Count
Total Open PRs 21
PRs with Failing Checks 18
PRs with All Checks Green 3
READY 0
FAILING 18
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=2d58d9d3160d != manifest seal=87e5cbd3ad94.
    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

github-actions Bot commented Sep 5, 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 Sep 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-05 04:52:28 UTC

Summary

Status Count
Total Open PRs 21
PRs with Failing Checks 14
PRs with All Checks Green 7
READY 0
FAILING 14
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=2d58d9d3160d != manifest seal=87e5cbd3ad94.
    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).

…PR itself had no NOW entry and no issue

Fix-up after review of PR #3186 (Refs #2466).

- conformance/vectors/crosswalk_sw_hw.py loaded INDEX_all_formats.json and
  then hard-coded 83 into the header it writes; the total is now len(rows)
  (dry run in a temp dir: "(=109)"); the July #199 HW snapshot keeps its
  71/83, dated. Schema v0.2: totals.ssot_total added,
  hw_ids_outside_ssot83 -> hw_ids_outside_ssot (no consumer in the tree).
- specs/numeric/golden_sieve.t27: the W778 comment says which catalogue it
  measured (83 on 2026-08-15) and that the count is a CI invariant (109 at
  v3). Resealed with a freshly built t27c: seal --save then --verify, all
  five hashes MATCH; only spec_hash and sealed_at moved, the four gen_hash_*
  are byte-identical.
- docs/theory/IGLA-FORMAL-RESULTS.md: a reading note in the header -- in
  this ledger "silicon" is the FPGA die on the board an entry names, never a
  fabricated chip (TTSKY26a/26b withdrawn before fabrication and refunded),
  and each entry quotes the catalogue count as it stood when measured; the
  W602 line carries the qualifier inline.
- docs/theory/TNF_ARTICLE_RU.md: reference 11 pointed at
  hackaday.io/project/183153 (404, no Wayback snapshot); it now points at
  hackaday.io/project/164907 (Ternary Computing Menagerie, 200, hosts
  "Ternary27 Standard.pdf"), which the corrected English bibliography in
  docs/reports/upstream/tnf_paper.FIXED.tex already carries. The provenance
  header notes that the 83 in the body is the translated revision's count
  (83 = 11 + 72 kept) and that the catalogue is 109 at v3.
- docs/now/2026-09-05-the-catalog-count-is-a-live-invariant.md: the entry the
  required gates check-now-freshness and check were red for.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-05 06:46:07 UTC

Summary

Status Count
Total Open PRs 16
PRs with Failing Checks 15
PRs with All Checks Green 1
READY 0
FAILING 15
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=99577856cf3d != manifest seal=87e5cbd3ad94.
    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

github-actions Bot commented Sep 5, 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 Sep 5, 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 Sep 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-05 07:07:32 UTC

Summary

Status Count
Total Open PRs 16
PRs with Failing Checks 15
PRs with All Checks Green 1
READY 0
FAILING 15
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=99577856cf3d != manifest seal=87e5cbd3ad94.
    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 enabled auto-merge September 5, 2026 07:45
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-05 07:47:06 UTC

Summary

Status Count
Total Open PRs 13
PRs with Failing Checks 13
PRs with All Checks Green 0
READY 0
FAILING 13
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=de6cd4b1b116 != manifest seal=87e5cbd3ad94.
    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

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

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

@gHashTag
gHashTag merged commit 1bd2806 into master Sep 5, 2026
29 of 32 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.

1 participant