Purpose & architecture
The shared implementation initializes state transition, input and output matrices, discretizes the state equation and processes an input sequence while retaining hidden state. A mamba selector uses the local selective-step path. Train returns output mean squared error.
Names such as S4, H3 or Mamba identify local configurations of these shared operations. They do not establish a faithful implementation of every published architecture or provide pretrained state-space model weights. Train does not update weights.
This source generation
This record follows the claude/improve-math-logic-ehIW1 branch of Janady13/complete-agi-core at commit 33aa84f2aa61cedbe010240ada7f4efbdfe795a7. The snapshot identifies the source inspected in this audit. It is not a statement about which revision is currently running on a device.
| Field | Source record |
|---|---|
| Revision | 33aa84f2aa61cedbe010240ada7f4efbdfe795a7 |
| Branch | claude/improve-math-logic-ehIW1 |
| Recorded generation | Generator Core · statespace |
Recovered implementation structure
These paths locate the components and entry points represented by this build. The source register contains their inspected revisions.
- generator_core/pkg/generators/statespace/statespace.go
Behavior & verification limits
Names such as S4, H3 or Mamba identify local configurations of these shared operations. They do not establish a faithful implementation of every published architecture or provide pretrained state-space model weights. Train does not update weights.
Original project documentation
The following documentation is preserved as a dated source account. Claims in it retain the source’s wording and must be read alongside the implementation notes above.
Package statespace implements state space model generators (93-97) x'(t) = Ax(t) + Bu(t), y(t) = Cx(t) + Du(t) ═══════════════════════════════════════════════════════════════════════════════ STATE SPACE GENERATOR BASE ═══════════════════════════════════════════════════════════════════════════════ StateSpaceGenerator implements SSM-based generators NewStateSpaceGenerator creates a new state space generator Initialize initializes the SSM generator
Equations in this build
5 linked mathematical records. Each opens its notation, interpretation and source.
statespace · x'(t)
This relation defines x'(t) in the source section “statespace · x'(t)”. It specifies the displayed relationship between the named quantities or parameters. Its interpretation…
func (g *StateSpaceGenerator) discretize() ([][]float64, [][]float64) · Simple Euler discretization: Ad
This relation defines Simple Euler discretization: Ad in the source section “func (g *StateSpaceGenerator) discretize() ([][]float64, [][]float64) · Simple Euler discretization:…
func (g *StateSpaceGenerator) discretize() ([][]float64, [][]float64) · ssmStep performs one SSM step: x'
This relation defines ssmStep performs one SSM step: x' in the source section “func (g *StateSpaceGenerator) discretize() ([][]float64, [][]float64) · ssmStep performs one SSM…
func (g *StateSpaceGenerator) ssmStep(x, u []float64) ([]float64, []float64) · x'
This relation defines x' in the source section “func (g *StateSpaceGenerator) ssmStep(x, u []float64) ([]float64, []float64) · x'”. It specifies the displayed relationship between…
func (g *StateSpaceGenerator) ssmStep(x, u []float64) ([]float64, []float64) · y
This relation defines y in the source section “func (g *StateSpaceGenerator) ssmStep(x, u []float64) ([]float64, []float64) · y”. It specifies the displayed relationship between…