Skip to main content

terminals_core/substrate/
mod.rs

1//! Substrate Engine — Projection-as-Trait ComputeAtom System
2//!
3//! The substrate is a contiguous memory buffer holding N ComputeAtoms.
4//! Each atom's projection set is determined at instantiation via
5//! amb-governed composition. Once composed, projections are deterministic
6//! pure functions. Geometric transformations (fold/unfold) can change
7//! the shape itself, producing a new shapeHash σ.
8//!
9//! Approach C: Projection-as-Trait with compile-time layout.
10
11pub mod projection;
12pub mod splat;
13pub mod kuramoto;
14pub mod expert;
15pub mod graph;
16pub mod thermal;
17pub mod layout;
18pub mod atom;
19pub mod witness;
20pub mod coupling;
21pub mod sematon;
22pub mod fold;
23pub mod world;
24pub mod emergence;
25pub mod wasm_api;
26
27// Re-exports
28pub use projection::Projection;
29pub use splat::SplatProjection;
30pub use kuramoto::KuramotoProjection;
31pub use expert::ExpertProjection;
32pub use graph::GraphProjection;
33pub use thermal::{ThermalProjection, gibbs_step};
34pub use layout::ProjectionLayout;
35pub use atom::ComputeAtom;
36pub use witness::ConvergenceWitness;
37pub use coupling::{coupled_step, gravity_coupling};
38pub use sematon::Sematon;
39pub use fold::{fold_sematon, unfold_sematon};
40pub use world::WorldGrid;
41pub use emergence::{compose_ops, best_emergence, EmergenceResult, EmergenceRarity, OpCategory};
42pub use wasm_api::SubstrateEngine;