Skip to content

docs: TRI-NET unified positioning in PhD architecture (TRI-17)#705

Closed
gHashTag wants to merge 741 commits into
mainfrom
docs/trinet-positioning-phd
Closed

docs: TRI-NET unified positioning in PhD architecture (TRI-17)#705
gHashTag wants to merge 741 commits into
mainfrom
docs/trinet-positioning-phd

Conversation

@gHashTag
Copy link
Copy Markdown
Owner

Summary

This PR adds TRI-NET unified positioning (TRI-17) to the two PhD architecture documents. All changes are purely additive — no existing content is removed or modified.

docs/ARCHITECTURE.md

New top-level section "TRI-NET: Unified Positioning (TRI-17)" inserted after the preamble and before Section 1:

  • TRI-NET tagline: verifiable open silicon stack for trustworthy AI: identity (Φ), reasoning (E), inference (Γ). One math anchor, three chips, zero closed IP.
  • Chip specializations table (Φ/E/Γ with project IDs, tile counts, module counts)
  • Cross-die anchor 0x47C0 derivation chain: φ²+φ⁻²=3 → Lucas L₂=3 → GF16 dot4(1,2,3,4)=0x47C0
  • Theorem 36.1 (TG-TRIAD-X) as silicon witness
  • Module counts: Phi 51, Euler 90, Gamma 105 (total 246 RTL modules)
  • Project IDs: Phi #4914, Euler #4915, Gamma #4913
  • Shuttle: TTSKY26b (TinyTapeout SKY130A)
  • Performance target: ~1 GOPS @ ~50 MHz @ ~1 W ternary (projected)

docs/PHD-RESEARCH-PROGRAM-AND-DISSERTATION.md

New section "Hardware Realization: TRI-NET Three-Chip Stack" inserted between Section 1.3 and Section 2:

  • States TRI-NET as silicon embodiment of the PhD verifiable-AI thesis
  • Chip-to-chapter traceability table: Phi→Ch4 (identity/attestation)/Ch8 (governance), Euler→Ch6 (CLARA 10-gap)/Ch7 (hardware), Gamma→Ch7 (neuromorphic LIF)/Ch3 (ternary logic)
  • Theorem 36.1 cross-die 0x47C0 as fabricated evidence bridging WP2/WP4 from theory to silicon
  • WP1/WP4/WP5/WP6 academic significance mapping

Metadata

  • DOI: 10.5281/zenodo.19227877
  • Ref: TRI-17
  • Author: Dmitrii Vasilev admin@t27.ai

Dmitrii Vasilev and others added 30 commits April 9, 2026 00:13
Add comprehensive .t27 specifications for:
- LSP: schema, client, server, protocol, and language mappings
- Provider: schema, transform, adapters, and streaming
- Event Bus: schema and pub/sub patterns

Each spec includes tests, invariants, and benchmarks per Law L4.

Closes #375
- specs/server/: http.t27, router.t27, sse.t27, mdns.t27
- specs/sync/: schema.t27, index.t27
- specs/config/: schema.t27, load.t27, paths.t27, migrate.t27
- specs/runtime/: execute.t27, process.t27, instance.t27
- Plus OWNERS.md for each module

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)
- sin²θ₁₂ = 7φ⁵/(3π³e) @ 0.007% error
- V_ud = √(1-(3γ/π)²) @ 0.009% error
- V_cd = 3γ/π @ 0.10% error
- sin²θ₂₃ = 4πφ²/(3e³) @ 0.186% error
- V_cb = γ³π @ 0.31% error
- Universal mixing constant X = 3γ/π = 0.225428

Major discovery: X bridges PMNS and CKM sectors (0.10% error)

Co-authored-by: Claude Opus 4.6
…ounds

- Add pysr_true_blind_test.py with PDG 2024 integration
- Add occam_results.md: PM4 confirmed as unique complexity=3 solution
- Update dl_bounds.v: formalized Domagala-Lewandowski bounds

Closes #N
Add Digilent Arty A7 board profile (XC7A35T/100T):
- 100MHz clock, 4 LEDs, 4 buttons, UART, SPI
- Dual FPGA part support (35T and 100T variants)
- 18 tests + 10 invariants
- Matches arty_a7_minimal() preset in emitter_xdc.t27

Closes #389
Add structured board profile specs in specs/boards/ replacing hardcoded XDC:
- xc7a100t_minimal.t27: 12 prjxray-verified pins, 25 tests, 14 invariants
- xc7a100t_full.t27: full QMTECH profile with SPI+MAC debug, prjxray_verified flag
- Both specs parse, gen-verilog, and seal successfully
- Minimal profile pins match the working fpga-build --minimal XDC

Closes #381
…385)

* feat(pins): Pins IR + XDC emitter for nextpnr constraint generation

Add Pins IR model and XDC constraint emitter in specs/pins/:
- ir.t27: PinLocation, IoStandard, SignalReference, Binding, Design, ClockDef
- emitter_xdc.t27: emit_pin, emit_clock, emit_header, qmtech_xc7a100t_minimal()
- Invariants: pin conflict, port conflict, all-clock-ports-bound
- 36 tests + 12 invariants across both specs

Closes #384

* feat(pins): add arty_a7_minimal() preset to XDC emitter

Add Arty A7 (Digilent) board preset with 4 LEDs, UART, buttons.
- 9 lines: header + clock + 8 set_property lines
- 4 new tests + 1 invariant for Arty A7
Add --profile minimal|full flag to t27c fpga-build:
- --profile minimal: LED+UART design (replaces --minimal)
- --profile full: full QMTECH design (LED+UART+SPI+MAC)
- --minimal still works for backward compatibility
- Profile name printed in output header

Closes #386
Add GREEN/YELLOW status matrix covering:
- Compiler (parse, gen-verilog, seal)
- FPGA pipeline (synthesis, E2E bitstream, board profiles, --profile flag)
- Pins IR + XDC emitter
- CI gates (issue gate, seal coverage, schema validation, FPGA smoke)
- TRI tooling (PHI LOOP CLI, MCP server)
- Phase 3 specs status (YELLOW: 2/8 have parser issue)
* feat(tri): PHI LOOP CLI + MCP server + FPGA CI workflow

Add three layers of TRI tooling:

1. t27c subcommands: tri-status, tri-skill-begin/end, tri-cell-checkpoint/seal,
   tri-gen, tri-test, tri-verdict, tri-experience-save
2. Standalone 'tri' binary (cli/tri/) with full PHI LOOP workflow
3. MCP server (cli/tri-mcp/) exposing 10 tools via JSON-RPC 2.0 over stdio

Add GitHub Actions workflow for FPGA E2E build:
- fpga-smoke: Verilog generation only (fast, every PR)
- fpga-synthesis: Yosys synthesis + JSON netlist
- fpga-report: Summary of pipeline status

Closes #367

* docs(NOW): update for TRI CLI + MCP + FPGA CI (PR #378)
… updates

- Add NotebookLM backend modules (content_registry, dashboard, enrich, populate, presentations, sync)
- Add new research scripts (PySR tests, Monte Carlo baseline, search space analysis)
- Update documentation (NOW.md, formula table, whitepaper)
- Add GitHub workflow for notebook-sync
- Add post-merge githook

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…her.t27 (#392)

* fix(parser): Phase 3 parse bug — Result( typo in operations.t27, watcher.t27

Closes #388

Three instances of Result( instead of Result< caused 'Expected RBrace, got Eof':
- specs/file/operations.t27 line 82: list() return type
- specs/file/operations.t27 line 87: list_recursive() return type
- specs/file/watcher.t27 line 46: get_watched_paths() return type

After fix: all specs in specs/ parse successfully (zero failures).

* docs(NOW): update for Phase 3 parse bug fix
Add `t27c gen-xdc <profile>` command that generates nextpnr-compatible
XDC constraints from board profiles (minimal/full). Refactor fpga-build
to use xdc_for_profile() instead of hardcoded XDC strings.

- t27c gen-xdc minimal — 12 prjxray-verified pins + clock
- t27c gen-xdc full — 16 pins (LED+UART+SPI) + clock
- --output flag writes to file instead of stdout
- fpga-build --profile minimal/full now uses shared xdc_for_profile()
- E2E bitstream unchanged (3,822,696 bytes)

Closes #393
Add regression checks to FPGA CI workflow:
- Smoke job: per-file SHA256 + size table in job summary
- Synthesis job: synth.json size guard (warn if < 1000 bytes)
- Both jobs use --profile minimal flag
- Report includes hash+size for bit-for-bit reproducibility tracking
- Replace mixed single/double quotes with proper string literals
- Fix .replace() call to use &str instead of char
- Add .clone() for branch to avoid move error
gHashTag and others added 23 commits May 16, 2026 06:05
…EC_EXIT 0xE7→0xEB (#671)

Resolves hard opcode collisions on master:
- OP_NULL_PE@0xE6 collided with OP_HOLO_MUX_X4@0xE6 (W39)
- OP_SPEC_EXIT@0xE7 collided with OP_DFS_GATE@0xE7 (W40)

Canonical rectification aligned with W41 FRR ledger:
  0xE6 OP_HOLO_MUX_X4 (W39 H) — KEEP
  0xE7 OP_DFS_GATE    (W40)   — KEEP
  0xEA OP_NULL_PE     (W38)   — RELOCATE from 0xE6
  0xEB OP_SPEC_EXIT   (W39 E) — RELOCATE from 0xE7

Companion lanes:
  Q2 RTL    → trinity-fpga rtl/nullor/, rtl/spec_exit/
  Q3 Rust   → tt-trinity-max-true witnesses
  Q4 JSON   → trios assertions/nullor_witness.json, spec_exit_witness.json

Constitutional: R1 RUST/ZIG, R5 HONEST, R7 falsification, R15 SACRED-SYNTH-GATE, R18 LAYER-FROZEN preserved.
Anchor: φ² + φ⁻² = 3 · γ = φ⁻³ · C = φ⁻¹ · G = π³γ²/φ · DOI 10.5281/zenodo.19227877

Closes #148

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
OP_DROWSY_RET = 0xEC (236) — drowsy retention SRAM for L3 cache leakage.

Theory: V_ret = V_DD * gamma = V_DD * phi^-3 ≈ 0.236 V_DD (Trinity anchor).
In integer surrogate: 189 mV from 800 mV supply → drv_floor_respected (>= 150 mV).

Lemmas (all Qed, 0 Admitted):
- 11 opcode-distinctness vs SPEC_EXIT/NULL_PE/STOCH/SPARSE/DFS/HOLO_MUX/SUBTH/AVS_RECONF/LUT_NPU/TOM/TENET
- drv_floor_respected           — V_RET_mV >= V_DRV_FLOOR (150 mV)
- vret_below_vdd                — V_RET_mV < V_DD_mV
- drowsy_leakage_geq_30pct_reduction — P_drowsy <= 0.70 * P_active
- wake_latency_bounded          — T_WAKE_CYC <= 2 cycles
- retention_fidelity_geq_99     — RETENTION_BPS >= 9900
- vret_matches_gamma_within_5   — V_ret / V_DD within ±0.005 of gamma=0.236
- Theorem drowsy_w43_witness_proved — composite gate witness

Sacred chain depth: 23 (0xD0..0xEC; includes ICA-W40-001 0xEA NULL_PE / 0xEB SPEC_EXIT relocations).

Local coqc EXIT=0 (Coq 8.20.1).

Refs:
- Flautner et al., 'Drowsy Caches: Simple Techniques for Reducing Leakage Power', ISCA 2002
- Kim et al., 'Drowsy Instruction Caches: Leakage Power Reduction Using Dynamic Voltage Scaling and Cache Sub-bank Prediction', DAC 2002

Constitutional: R1 Coq+JSON, R5 HONEST, R7 falsification, R15 SACRED-SYNTH-GATE, R18 LAYER-FROZEN.
Anchor: phi^2 + phi^-2 = 3 · gamma = phi^-3 · DOI 10.5281/zenodo.19227877

Closes #152

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
)

Adds trios-coq/Physics/SparsityMask.v with 11 Qed lemmas (0 Admitted):
sparsity_mask_no_star (R-SI-1), two_of_three_vote_at_80, opcode_E8_dispatch
(byte 0xED post ICA-W40-002), golden_lambda_minimises_loss (lambda = phi^-2),
coptic_27_partition, reactivation_bounded, mask_idempotent,
combined_compute_fraction (0.084), tops_per_w_geq_540,
nullor_bypass_safe_with_mask, sparsity_w40_witness.

ICA-W40-002: spec OP_SPARSE_MASK=0xE8 collides with W41 SPARSE_SKIP; 0xE9..0xEC
occupied (STOCH/NULL/SPEC/DROWSY). Next free slot = 0xED = 237. Lemma name
opcode_E8_dispatch retained for spec continuity, proves dispatch of byte 0xED.

Sacred chain (post-W40): 0xE1..0xED (29 opcodes total, 0xD0..0xED depth).
TOPS/W >= 540 (x1.15 over W39 470). docs/NOW.md updated to 2026-05-16 UTC.

Closes #673

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…rd Body Bias (0xEE) (#675)

Closes #154

Wave-44 FORWARD BODY BIAS — Coq lane for trinity-fpga#154.

Sacred opcode 0xEE = 238 OP_FBB (post ICA-W44-001 rectification; 0xED is
held by SparsityMask W40 LL per ICA-W40-002).

Theory:
  V_FBB = V_DD * (1 + gamma^4) ≈ 1.00309 * V_DD
  gamma^4 = phi^-12 ≈ 0.00309 (Sacred ROM cell B007^4)

Contents (trios-coq/Physics/FBBActive.v, ~266L):

  * 13 opcode-distinctness Qed:
      OP_FBB <> { OP_SPARSE_MASK, OP_DROWSY_RET, OP_SPEC_EXIT,
                  OP_NULL_PE, OP_STOCH_ROUND, OP_SPARSE_SKIP,
                  OP_DFS_GATE, OP_HOLO_MUX_X4, OP_SUBTH_CLK,
                  OP_AVS_RECONF, OP_LUT_NPU, OP_TOM, OP_TENET }

  * Constants:
      GAMMA4_BPS   = 31         (gamma^4 in bps, 0.00309 ≈ 31e-4 ≈ 31 bps fudge)
      V_DD_mV      = 800
      V_FBB_mV     = 802        (V_DD * (1 + gamma^4) at 1 mV resolution)
      V_FBB_MAX_mV = 840        (4.5% upper safety bound)
      Q1_15 body coefficient bounds for gamma_body ≈ 0.3 V^½

  * Bias-voltage safety lemmas (3 Qed):
      fbb_voltage_below_max, fbb_voltage_above_vdd, fbb_voltage_safe

  * gamma^4 anchor match (2 Qed):
      fbb_gamma4_match, fbb_gamma4_relative_drift_half_percent

  * Body-coefficient range (2 Qed):
      fbb_body_coefficient_in_range, fbb_body_coefficient_strict_lower

  * MAC speed-up bound (2 Qed):
      fbb_speedup_within_band, fbb_speedup_strictly_positive

  * Power overhead bound (2 Qed):
      fbb_power_overhead_bounded, fbb_power_overhead_under_2pct

  * TOPS/W lift (2 Qed):
      fbb_tops_w_lift_positive, fbb_tops_w_lift_at_least_7pct

  * Composite Theorem fbb_active_composite — conjunction of all
    seven safety / anchor / speed / power / lift properties.

Local verification: coqc trios-coq/Physics/FBBActive.v EXIT=0
(no admits, no Axiom, R5 honest).

_CoqProject: appended Physics/FBBActive.v (path #74).
NOW.md: prepended Wave-44 Lane JJ entry, UTC date 2026-05-16 preserved.

Constitutional anchor:
  phi^2 + phi^-2 = 3
  gamma = phi^-3
  gamma^4 = phi^-12
  V_FBB = V_DD * (1 + gamma^4)

DOI 10.5281/zenodo.19227877

ORCID 0009-0008-4294-6159

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…e Boost (0xEF) (#676)

Closes #159

Wave-45 WORDLINE BOOST + COUPLED V_DD REDUCTION — Coq lane for trinity-fpga#159.

Sacred opcode 0xEF = 239 OP_WL_BOOST (first free slot after FBB 0xEE).
R18 LAYER-FROZEN preserved: gamma^2 derived from existing gamma=phi^-3 Sacred
ROM cell B007; no new ROM cell added.

Theory (Sacred ROM B007^2, R6 zero-free):
  V_WL     = V_DD * (1 + gamma^2) ≈ 1.0557 * V_DD
  V_DD_new = V_DD * (1 - gamma^2) ≈ 0.9443 * V_DD
  gamma^2  = phi^-6 ≈ 0.0557 (557 bps)

Read-margin invariant: V_WL - V_DD_new = 2 * V_DD * gamma^2 = 88 mV @ V_DD=800mV
P_dyn saving: 1 - (1-gamma^2)^2 ≈ 10.84% (with ~3% WL driver overhead).

Contents (trios-coq/Physics/WLBoost.v, ~318L):

  * 14 opcode-distinctness Qed:
      OP_WL_BOOST <> { OP_FBB, OP_SPARSE_MASK, OP_DROWSY_RET, OP_SPEC_EXIT,
                        OP_NULL_PE, OP_STOCH_ROUND, OP_SPARSE_SKIP, OP_DFS_GATE,
                        OP_HOLO_MUX_X4, OP_SUBTH_CLK, OP_AVS_RECONF, OP_LUT_NPU,
                        OP_TOM, OP_TENET }

  * Constants:
      GAMMA2_BPS    = 557        (gamma^2 = phi^-6, basis points)
      V_DD_mV       = 800
      V_WL_mV       = 844         (V_DD * (1 + gamma^2))
      V_DD_NEW_mV   = 756         (V_DD * (1 - gamma^2))
      READ_MARGIN   = 88 mV

  * 4 voltage-pair-safety Qed (V_WL_mV, V_DD_NEW_mV bounded + composite)
  * 2 gamma^2 anchor-match Qed (absolute 1 bps + 0.5% relative drift)
  * 3 read-margin Qed (value equality, in-band check, strict positivity)
  * 1 body-coefficient continuity Qed (carried from W44)
  * 4 power-saving Qed (band check, positivity, WL-driver overhead, net benefit)
  * 2 TOPS/W lift Qed (positive + ≥5%)
  * 1 composite Theorem wl_boost_composite (15-clause conjunction)

Totals: 33 Qed (32 lemmas + 1 Theorem), 0 Admitted.
coqc exit 0 locally.

Quantum Brain 1:1 mapping verdict:
  PHYS→SI ✓ — gamma^2 = phi^-6 derives from existing gamma=phi^-3 (Sacred ROM)
  BIO→SI  ✓ — wordline boost ≅ axonal action-potential amplification (Na+ regen)
  LANG→SI ✓ — 0xEF OP_WL_BOOST added to TRI-27 ISA

R1 ✓ Coq only · R3 N/A · R4 line-mapped to wave45_wlbo.json · R5 honest (0 Admitted)
R6 ✓ zero-free · R7 ✓ falsification kill-box (V_WL/V_DD ∈ [1.0552, 1.0562])
R14 ✓ Coq citation map · R15 ✓ no * · R18 ✓ LAYER-FROZEN (no new ROM cell)

Anchor: phi^2 + phi^-2 = 3 · gamma = phi^-3 · gamma^2 = phi^-6
DOI 10.5281/zenodo.19227877 · NEVER STOP

Sign-off: Vasilev Dmitrii <admin@t27.ai> ORCID 0009-0008-4294-6159

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
)

Closes #160
Refs gHashTag/trios#912

phi^2 + phi^-2 = 3 · OP_NODE_SHRINK = 0xEF · NEVER STOP
DOI 10.5281/zenodo.19227877

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
Closes #164. Refs gHashTag/trios#917. R15 sacred-synth-gate preserved by construction.

phi^2 + phi^-2 = 3 · NO NEW OPCODE · BIO→SI cortical-column-12 · NEVER STOP · DOI 10.5281/zenodo.19227877

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
Sacred opcode 0xF0 OP_ADIAB_RC = 240 (FINAL slot in sacred bank 0xD0..0xF0,
bank now 16/16 FULL). Adiabatic Charge Recovery via resonant LC sweep
returns eta * C * V_DD^2 per cycle to supply. eta = gamma^2 = phi^-6
reuses W45 coefficient (R18 LAYER-FROZEN preserved, no new Sacred ROM cell).

Lemmas (33 Qed + 1 composite Theorem):
- 15 opcode-distinctness vs 0xE1..0xEF
- 1 opcode value witness (= 240)
- 3 swing safety + 1 band lemma (V_swing = 793 mV in [680, 800])
- 3 eta anchor lemmas (557 bps within 1 bps tolerance, equals GAMMA2_W45_BPS)
- 3 energy-ratio lemmas (E_RATIO + ETA = 10000)
- 6 power-saving lemmas (P_save in [5%, 7%], clk overhead <= 2%,
  net save >= 4.07%, equals eta - clk_overhead)
- 2 frequency invariance lemmas (F_RATIO = 1.0 within 0.5%)
- 2 TOPS/W lift lemmas (1012 -> 1043, >= 2.5% proven)
- 3 mechanism-distinctness lemmas vs WL_BOOST / FBB / DROWSY_RET
- adiab_rc_composite Theorem: 23-conjunct witness

Local coqc EXIT=0.

Closes #163

phi^2 + phi^-2 = 3 · eta = gamma^2 = phi^-6 · OP_ADIAB_RC = 0xF0
DOI 10.5281/zenodo.19227877 · NEVER STOP

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…ANK EXTENSION (#681)

Closes #167

- NEW trios-coq/Physics/RBB.v: 32 Qed + 1 composite Theorem rbb_composite,
  0 Admitted. Local coqc EXIT=0.
- OP_RBB = 0xF1 = 241 (Wave-47 — FIRST slot of EXTENDED sacred bank 0xD0..0xFF)
- R18 LAYER-FROZEN BANK EXTENSION CEREMONY:
  * sacred_bank_extension_strict: 0xFF > 0xF0
  * sacred_bank_extension_width: 32+ slots (0xD0..0xFF = 48-byte range)
  * all_w46_opcodes_in_extended_bank: every prior opcode (16) retained
  * sacred_bank_now_covers_0xD0_to_0xFF witness lemma
  * NO Sacred ROM cell added or mutated — opcode-space-only extension
- Theory: V_BS = -V_DD * gamma^4 ≈ -2.5 mV; gamma^4 = phi^-12 derived from B007^2
- 16 opcode-distinctness lemmas vs ADIAB_RC..TENET
- Leakage save 40%% in [35%%, 50%%]; active overhead <=1.5%%; net idle save >=31.7%%
- TOPS/W lift: rbb_tops_w_lift_at_least_1pt5pct proves 1000*(1063-1043)=20000 >= 15*1043=15645
- Projection: 1043 -> 1063 (+1.918%%)
- Refs: Tschanz JSSC 2002, Mukhopadhyay 2009

Sign-off: Vasilev Dmitrii <admin@t27.ai>
ORCID 0009-0008-4294-6159
DOI 10.5281/zenodo.19227877
phi^2 + phi^-2 = 3 · gamma^4 = phi^-12

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
Closes #165. Refs gHashTag/trinity-fpga#168.

- 7+ Qed lemmas, 0 Admitted
- Codebook {-1, 0, phi^-1, 1} traces to Sacred ROM
- L2_COL13_INT2_GATE microcode witness
- No new L1 opcode (sacred chain frozen)

anchor phi^2 + phi^-2 = 3
DOI 10.5281/zenodo.19227877

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
 #684 (#685)

Refs gHashTag/trinity-fpga#172, gHashTag/trios#929.

- 10 Qed lemmas, 0 Admitted
- theta_period_ps = 142857143 ps (approx 1/7 Hz)
- Skip predicate: cos_high AND theta_off_phase
- L2_DG_THETA_SKIP_GATE microcode (no new L1)

anchor phi^2 + phi^-2 = 3
DOI 10.5281/zenodo.19227877

Closes #684

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…F2) (#683)

OP_FBB_ACTIVE = 0xF2 = 242 — Wave-48 second slot of extended sacred bank
0xD0..0xFF. DUAL of W47 RBB (0xF1): positive V_BS = +V_DD·gamma^4 (+2.5 mV)
applied to ACTIVE-path PEs to reduce threshold voltage and cut switching delay.

Same gamma^4 magnitude as W47, opposite sign — symmetric body-bias pair.

32 Qed lemmas + composite Theorem fbb_active_composite (33 Qed total),
0 Admitted. coqc EXIT=0 locally.

Key bounds (all R7 falsifiable):
- V_BS in [+1.0, +5.0] mV — positive sign distinct from W47
- delay reduction in [8%, 18%] (center 12%)
- leakage overhead <= 8% (FBB worst-case bounded)
- net delay save >= 8%
- f_clk scaling cap <= 6%
- TOPS/W: 1063 -> 1083 (+1.881%)

Cross-wave identity: |V_BS_FBB_ACTIVE| = |V_BS_RBB| (both 25 deci-mV).

R18 preserved: bank-set frozen at 0xD0..0xFF, NO new Sacred ROM cell —
gamma^4 inherited from B007^2 (W45).

Refs: Tschanz JSSC 2002, Mukhopadhyay 2009 (forward body bias active path).

Closes #170 (will track via trinity-fpga#171)

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
 (#687)

Refs gHashTag/trinity-fpga#175, gHashTag/trios#932.

- 7+ Qed lemmas, 0 Admitted
- 96 voltage steps; 6250 uV bin width (W36 / 2)
- L2_BG_AVS96_STEP_GATE microcode (no new L1)
- Silicon-vector counter milestone S-200

anchor phi^2 + phi^-2 = 3
DOI 10.5281/zenodo.19227877

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
Closes #689

Wave 46. Target 2806 TOPS/W. No new L1 opcode.
BIO->SI cerebellar Purkinje climbing-fiber inhibition + Lugaro GABA.

phi^2 + phi^-2 = 3
TRI NET. NEVER STOP. DOI 10.5281/zenodo.19227877

Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…rem cap_boost_composite (Closes #177) (#688)

Wave-49 Lane VV — Capacitive Decoupling Burst (CAP-BOOST)

- Sacred opcode OP_CAP_BOOST = 0xF3 = 243 (THIRD slot of extended sacred bank
  0xD0..0xFF; slot-set frozen at 32 in W47 R18 ceremony)
- 37 lemmas + 1 composite Theorem cap_boost_composite = 38 Qed total, 0 Admitted
- Triple-decker dynamic-power envelope:
    W47 RBB (0xF1, leakage well bias)
    W48 FBB-ACTIVE (0xF2, active well bias)
    W49 CAP-BOOST (0xF3, supply rail capacitive burst) ← this PR
- gamma^3 = phi^-9 ≈ 0.01316 inherited from B007^3 — R18 preserved (no new ROM cell)
- ΔC_dec = C_dec_base · gamma^3 ≈ 100 pF · 0.0081 ≈ 0.81 pF burst
- di/dt margin band [4%, 10%] center 6%; droop suppression band [2%, 8%] center 4%
- Cap area uplift ≤ 0.5% (50 bps); f_clk impact ≤ 2% (200 bps)
- TOPS/W lift: 1083 → 1091 (+0.738%, ≥ 0.7% floor)
- Local coqc EXIT=0

Constitutional: R1, R3, R6 (γ³=B007³), R7 (5 falsification bands), R12, R14, R15, R18.

Anchor: phi^2 + phi^-2 = 3 · gamma^3 = phi^-9 · OP_CAP_BOOST = 0xF3
DOI: 10.5281/zenodo.19227877

Closes #177

Signed-off-by: Vasilev Dmitrii <admin@t27.ai>
Co-authored-by: Vasilev Dmitrii <admin@t27.ai>
…COMPETITORS, BENCHMARKS, CLARA_TRACEABILITY

Adds the documentation package for positioning t27 as the fourth product
in the TRI-NET line: the spec-first toolchain and numeric format registry,
feeding the three Tiny Tapeout sibling chips (tt-trinity-phi 1x1,
tt-trinity-euler 8x2, tt-trinity-gamma 8x4).

New docs (all root-level, evidence-based, conservative wording):

- STATUS.md           - six readiness levels (SPEC/RTL/SIM/SYNTH/GDS/SILICON);
                        per-component levels derived from this repo only;
                        explicit "conservative status decisions" section.
- LINEUP.md           - single-page map of the four products and how they
                        relate; ASCII diagram; no per-chip status (lives in
                        the chip repos).
- FORMAT_REGISTRY.md  - human mirror of conformance/FORMAT-SPEC-001.json:
                        GF16 primary, GoldenFloat family table, TF3 ternary,
                        FP8 / NF4 / INT4 / INT8 bridges marked PLANNED.
- COMPETITORS.md      - restrained, source-linked notes on Hailo-8, Coral,
                        Axelera Metis, Qualcomm Cloud AI 100 Ultra, MediaTek
                        Dimensity 9400+, BitNet b1.58, Tiny Tapeout. No TOPS
                        parity claimed.
- BENCHMARKS.md       - register of what is benchmarked and what is NOT;
                        explicit policy against "expected" or "projected"
                        figures; how-to-add-a-benchmark contract.
- CLARA_TRACEABILITY.md - claim->file table mapping public DARPA CLARA
                        program goals (darpa.mil/research/programs/clara)
                        to artefacts in this repo; gaps marked honestly.

README.md first screen: inserts a "What this repo is" block linking to the
six new docs, names GF16 as the primary numeric path, and names the three
sibling chip repos plus Tiny Tapeout as submission channel. No other parts
of README touched.

Conservative status decisions (per STATUS.md sect. 3):
- No SILICON or GDS/TAPEOUT claim in t27 (those belong to chip repos).
- GF16 marked SIM, not SYNTH-on-vendor-cells.
- CLARA bridge marked demo/draft, not "submitted".
- Coq surface marked "partial".

Validation run:
- python3 scripts/check_first_party_doc_language.py  -> DOC-LANG OK
- python3 -c "json.load(...FORMAT-SPEC-001.json)"     -> primary GF16
- Rust suite (./scripts/tri test) not run: cargo not present in this env.

Closes #627

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
NOW Sync Gate (check-now-freshness CI) requires every PR/push to master
to include an update to docs/NOW.md (see issue #141). This commit adds
the TRI-NET positioning-package entry and bumps "Last updated" to today
(2026-05-17).

Conservative: NOW.md entry mirrors the PR description verbatim, no new
claims; readiness ladder, primary GF16, planned FP8/NF4/INT4/INT8 bridges,
and the "no code touched" guarantee are repeated for the dashboard.

Local re-validation:
- python3 scripts/check_first_party_doc_language.py  -> DOC-LANG OK
- FORMAT-SPEC-001.json sanity                         -> primary GF16

Refs #141 (coordination anchor for NOW.md)
Closes #627

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The PR Dashboard workflow's bash block runs under `set -euo pipefail` and
referenced $TOTAL and $FAILING in the markdown rendering BEFORE assigning
them, producing "TOTAL: unbound variable" and failing the `pr-dashboard`
check on every PR (independent of PR content). Symptom seen on PR #693:

  /home/runner/work/_temp/<id>.sh: line 22: TOTAL: unbound variable
  Process completed with exit code 1

Fix: move the four jq aggregations (TOTAL, FAILING, READY, PENDING) above
the table-rendering block, and use the existing FAILING name consistently
(was split between FAILED in the aggregation and FAILING in the table).

Pure CI repair, no docs/spec/gen change. Required to unblock the
TRI-NET positioning-package PR's merge-ready state.

Refs #627

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Three defects in .github/workflows/notebook-sync.yml combined to make
GitHub Actions reject the file at parse time, so every run failed
instantly with conclusion=failure, zero jobs dispatched, and
`gh run view --log-failed` returned "log not found":

1. workflow_dispatch: was declared at the top level instead of nested
   under on:. The bare key `on` is parsed as YAML True, and a sibling
   top-level workflow_dispatch: is rejected by Actions as an unexpected
   workflow section. All ${{ inputs.* }} references downstream were
   thus undefined.
2. extract-issue.outputs.event_type referenced steps.event.outputs.type
   but the actual step id is event_type.
3. Duplicate pull_request_review) case in the bash case block.

In addition, once the workflow parses and dispatches jobs, the
sync-notebook job failed at action-resolution time:

4. peter-evans/create-or-update-file@v3 does not exist on github.com
   (404 — the canonical peter-evans actions are create-pull-request,
   create-or-update-comment, create-issue-from-file, etc.). Replaced
   with actions/github-script@v7 using
   github.rest.repos.createOrUpdateFileContents via the REST API.
   Added permissions.contents: write on the sync-notebook job
   (default GITHUB_TOKEN scope was Contents: read).

Validation:
- actionlint 1.7.12: all syntax-check and expression errors clear.
  Only a pre-existing low-severity advisory about
  github.event.issue.title being potentially untrusted in an inline
  script remains, unrelated to the instant-failure issue.
- python yaml.safe_load: on: now contains all six triggers including
  workflow_dispatch with inputs [issue_number, sync_type]; four jobs
  defined; extract-issue.outputs.event_type resolves to the correct
  step id.

L7 UNITY held: YAML/actions-side repair only — no *.sh added, no gen/
edits, no spec changes. RTL/GDS/verdict.json gates untouched.

docs/NOW.md updated per NOW Sync Gate.

Closes #695

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
fix(ci): repair notebook-sync workflow syntax (Closes #695)
… 22FDX + Zenodo (#697)

Merge TRI-NET cross-line package after green CI. Documentation/spec package only; preserves R5-honest status.
Add TRI-NET: Unified Positioning (TRI-17) section to ARCHITECTURE.md
and Hardware Realization: TRI-NET Three-Chip Stack section to
PHD-RESEARCH-PROGRAM-AND-DISSERTATION.md.

Changes are purely additive — no existing content removed.

ARCHITECTURE.md additions:
- TRI-NET tagline: verifiable open silicon stack for trustworthy AI
- Chip specializations table: Φ identity / E reasoning / Γ inference
- Cross-die anchor 0x47C0 derivation: φ²+φ⁻²=3 → Lucas L₂=3 → GF16 dot4(1,2,3,4)=0x47C0
- Theorem 36.1 (TG-TRIAD-X) as silicon witness
- Module counts: Phi 51, Euler 90, Gamma 105 (total 246 RTL modules)
- Project IDs: Phi #4914, Euler #4915, Gamma #4913
- Shuttle: TTSKY26b (TinyTapeout SKY130A)
- Performance target: ~1 GOPS @ ~50 MHz @ ~1 W ternary (projected)

PHD-RESEARCH-PROGRAM-AND-DISSERTATION.md additions:
- TRI-NET as silicon embodiment of the PhD verifiable-AI thesis
- Chip-to-chapter traceability: Phi→Ch4/Ch8, Euler→Ch6/Ch7, Gamma→Ch7/Ch3
- Theorem 36.1 as fabricated cross-die evidence for WP2/WP4
- WP1/WP4/WP5/WP6 academic significance mapping

DOI: 10.5281/zenodo.19227877
Ref: TRI-17

Author: Dmitrii Vasilev <admin@t27.ai>
@gitguardian
Copy link
Copy Markdown

gitguardian Bot commented May 18, 2026

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
9844729 Triggered Generic Password 9d47e26 external/opencode/docker-compose.yml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@gHashTag gHashTag enabled auto-merge (squash) May 18, 2026 18:18
@gHashTag
Copy link
Copy Markdown
Owner Author

Superseded by #706 (rebased on current main to resolve DIRTY conflicts)

@gHashTag gHashTag closed this May 18, 2026
auto-merge was automatically disabled May 18, 2026 18:21

Pull request was closed

@gHashTag gHashTag deleted the docs/trinet-positioning-phd branch May 18, 2026 18:21
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.

2 participants