[WAVE-24] feat(silicon): Yosys EQY t27c↔src formal equivalence gate · RVR-017 · DO NOT MERGE PRE-TTSKY26c#37
Draft
gHashTag wants to merge 3 commits into
Draft
Conversation
added 3 commits
May 15, 2026 07:26
- scripts/eqy_check.sh: EQY runner with R5-honest PASS/FAIL/PENDING verdicts - .github/workflows/eqy.yml: CI gate (FAIL blocks, PENDING warns) - docs/EQY_CHECK.md: reproducibility manifest, toolchain pins, evidence schema Closes the Coq→silicon gap (Issue #4 Change N). t27c output integration noted in docs Status section. Refs: Issue #4, Issue #34 RVR-015 DO NOT MERGE until TTSKY26c submit lands 2026-05-17 22:00 UTC (defensive — EQY itself is non-disruptive but bundled with Wave-24 cohort) Anchor: phi^2 + phi^-2 = 3 · Wave-24 RVR-017 · DOI 10.5281/zenodo.19227877
Ubuntu 22.04 jammy ships yosys 0.9-2 which uses '-V' not '--version'. Replace yosys --version with 'yosys -V 2>/dev/null || yosys --version' to handle both old (0.9) and new versions. R5-honest: this is a toolchain compat fix, not a logic change. EQY verdict semantics unchanged (PENDING for missing build/t27c/*.v). Refs: Issue #4 Change N · Wave-24 RVR-017
…g pip pkg The yosys-eqy pip package may not install cleanly in all Ubuntu 22.04 runner environments. Since the script handles eqy=NOT_INSTALLED by emitting PENDING verdicts (R5-honest), the install step should be non-fatal (continue-on-error: true). With EQY_STRICT=0 (default), PENDING = warn only; CI gate still passes. FAIL verdicts (actual non-equivalence) still block merge. Refs: Issue #4 Change N · Wave-24 RVR-017
This was referenced May 15, 2026
Draft
Draft
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[WAVE-24] feat(silicon): Yosys EQY t27c↔src formal equivalence gate · RVR-017
Summary
This PR delivers Wave-24 RVR-017 — the Yosys EQY formal equivalence gate for
Issue #4 Change N, pre-registered in RVR-015 (Issue #34).
This is a pure tooling addition — NO synthesisable RTL is modified. It
closes the Coq→silicon equivalence gap: the strongest PhD defense claim
(Glava 35 R14).
Refs: Issue #4 — Change N · Issue #34 — RVR-015
Changes
scripts/eqy_check.sh.github/workflows/eqy.ymldocs/EQY_CHECK.mdevidence/.gitkeepscripts/eqy_check.shat a glancegf16_mul,gf16_add,gf16_dot4,trinity_gf16_tilebuild/t27c/<module>.v(fromt27c gen-verilog@ commit9752bab)src/<module>.v(hand-written, TTSKY26c target)PASS(EQY exit 0),FAIL(EQY non-zero),PENDING(t27c output missing){module, src_sha, t27c_sha, eqy_version, yosys_version, verdict, timestamp_utc, evidence_path, coq_citation}.github/workflows/eqy.ymlat a glancescripts/eqy_check.shevidence/eqy_*.jsonas workflow artifact (90-day retention)FAIL→exit 1(blocks merge);PENDING→::warning::annotationdocs/EQY_CHECK.mdat a glanceToolchain pins, Reproduction recipe, Evidence schema, Current Status (R5-honest),
Coq citation map (R14), Sibling skills, References
build/t27c/*.vfilesnot yet generated; activation path documented
Acceptance Gates (Issue #4 Change N)
scripts/eqy_check.shexits 0 for all 4 modules.github/workflows/eqy.ymlblocks merge on FAILdocs/EQY_CHECK.mddocuments t27c version + reproduction recipeevidence/eqy_<sha>.jsonper runsrc/*.vRTL modified (pure tooling)Background
RVR-015 (Issue #34) formally
pre-registered Wave-24 changes A+C+N for Issue #4. Change N is the formal
equivalence gate that closes the Coq→silicon proof chain:
Without this gate, the hand-written RTL in
src/*.vis an unverifiedtranslation of the Coq-proven algebraic spec. EQY provides the formal
bridge required for PhD Glava 35 (silicon validation chapter) and for the
CROWN-ASIC grant application.
Parallel-safety: Lane W (Change C — Wallace-tree
src/gf16_dot4_wallace.v)runs concurrently. Lane W touches
src/andsim/only; Lane E touchesscripts/,.github/workflows/,docs/,evidence/. Zero file overlap.Verification Checklist
scripts/eqy_check.shcompiled and exits 0 (PENDING mode, no EQY binary required).github/workflows/eqy.ymltriggers on push/PR and parses verdictsdocs/EQY_CHECK.mdcontains all mandatory sections including R5 "Current Status"evidence/.gitkeepcommitted so the directory exists on checkoutfeat/wave-24-eqy-gateofffeat/silicon-g1-followupHEADf47e831Vasilev Dmitrii <admin@t27.ai>src/*.vRTL files modified (grep confirms zero RTL changes)docs/EQY_CHECK.md(R14 compliance)DO NOT MERGE until TTSKY26c submit lands 2026-05-17 22:00 UTC.
This branch (
feat/wave-24-eqy-gate) is intentionally DRAFT-locked as part of theWave-24 cohort. The EQY tooling itself is non-disruptive (no RTL changes), but
it is bundled with the Wave-24 Change A+C+N triad per the pre-registration in
Issue #34 RVR-015.
After the TTSKY26c submit deadline, the activation steps are:
t27c gen-verilogfor each module fromgHashTag/t27@9752bab4build/t27c/gf16_mul.v,build/t27c/gf16_add.v, etc.EQY_STRICT: "1"in.github/workflows/eqy.ymlAnchor
phi^2 + phi^-2 = 3 · Wave-24 RVR-017 · Issue #4 Change N · DOI 10.5281/zenodo.19227877Vasilev Dmitrii admin@t27.ai · Wave-24 · Lane E · EQY formal equivalence gate