How tyrrellgit/tmflow works
tmflow is a Rust library for ODE flow propagation: users define a vector field once, then call the propagation driver with an initial box and a chosen integrator. The main result is a trajectory with bounding boxes and measures; the verified backend encloses reachable sets, while RK4 provides a non-rigorous point reference. The graph reflects the documented Taylor-model stages and sampled implementations. The driver and Integrator trait source were not sampled, so their internal details are limited to documented behavior.
Main entry points: taylor.rs Verified TM Integrator · system.rs System Trait · driver.rs Propagation Driver · integrator.rs Integrator Trait
Components 12
Propagation API
- Propagation Driver
src/driver.rs - Trajectory
src/driver.rs
ODE Systems
- System Trait
src/system.rs - Van der Pol
src/systems/vanderpol.rs
Integration
- Integrator Trait
src/integrator.rs - RK4 Reference
src/integrators/rk4.rs - Verified TM Integrator
src/integrators/taylor.rs
Scalar Arithmetic
- Scalar Algebra
src/scalar.rs - Interval Arithmetic
src/interval.rs - Taylor Models
src/taylor_model.rs - Time-Taylor Jets
src/jet.rs
Other components
- Library User
Connections 18
- Library User → Propagation Driver: provides box and steps
- Propagation Driver → Integrator Trait: dispatches steps
- Propagation Driver → Trajectory: builds result
- Propagation Driver → Integrator Trait: requests bounds
- Integrator Trait → RK4 Reference: implemented by
- Integrator Trait → Verified TM Integrator: implemented by
- RK4 Reference → System Trait: evaluates field
- Verified TM Integrator → System Trait: evaluates field
- Van der Pol → System Trait: implements
- System Trait → Scalar Algebra: evaluates over
- Verified TM Integrator → Interval Arithmetic: bounds Picard enclosure
- Verified TM Integrator → Time-Taylor Jets: computes time series
- Time-Taylor Jets → System Trait: evaluates series
- Verified TM Integrator → Taylor Models: propagates set models
- Taylor Models → Interval Arithmetic: uses coefficients and remainder
- Interval Arithmetic → Scalar Algebra: implements
- Taylor Models → Scalar Algebra: implements
- Time-Taylor Jets → Scalar Algebra: implements