speckl/compiler/lagrangia/src/lib.rs
2026-07-18 22:10:38 -07:00

10 lines
No EOL
406 B
Rust

//! Lagrangia reducer — the spec-as-Lagrangian probe.
//!
//! Sits between Speckl's IR and its Rust codegen. Given candidate
//! implementations, scores them by an action functional and selects
//! the stationary (minimum-action) one.
//!
//! See `~/.hermes/plans/2026-07-18-lagrangia-reducer-spec.md`.
pub mod score;
pub use score::{action, byte_entropy, complexity, invariant_distance, ImplCandidate};