phop-core
The engine behind phop — the first
differentiable symbolic-discovery engine: it learns expression topology and
numeric parameters by gradient descent over a tensorized population of
homogeneous EML trees (eml(x, y) = exp(x) − ln(y), Odrzywołek 2026),
end-to-end in pure Rust.
Install
[]
= "0.1"
Usage
use ;
// Build a DataSet from in-memory arrays (or load one from CSV).
let ds = from_xy;
let front = new.fit;
if let Some = front.best
Key entry points: Discoverer, discover_auto / discover_auto_all (the latter
merges the EML-tree searches with the rich-leaf affine engine into one Pareto
front), discover_affine / discover_affine_pareto (recovers product / power /
ratio laws), and Solution::predict / latex / analyze.
Features
Pure-Rust by default (no C/C++/Fortran). Opt-in flags: smt (OxiZ SMT proofs),
lean (OxiLean proof-carrying), egraph, parallel, tensorlogic,
gpu-cuda, gpu-wgpu.
Part of the phop project.
License
Apache-2.0