| Crates.io | temporal-lead-solver |
| lib.rs | temporal-lead-solver |
| version | 0.1.0 |
| created_at | 2025-09-20 03:38:13.076323+00 |
| updated_at | 2025-09-20 03:38:13.076323+00 |
| description | Temporal computational lead via sublinear local solvers for diagonally dominant systems |
| homepage | |
| repository | https://github.com/ruvnet/sublinear-time-solver |
| max_upload_size | |
| id | 1847372 |
| size | 4,029,033 |
Achieve temporal computational lead through sublinear-time algorithms for diagonally dominant systems.
Created by rUv - github.com/ruvnet
[dependencies]
temporal-lead-solver = "0.1.0"
use temporal_lead_solver::{TemporalPredictor, Matrix, Vector};
fn main() {
// Create a predictor
let predictor = TemporalPredictor::new();
// Setup diagonally dominant matrix
let matrix = Matrix::diagonally_dominant(1000, 2.0);
let vector = Vector::ones(1000);
// Predict solution before data arrives
let prediction = predictor.predict_functional(&matrix, &vector, 1e-6).unwrap();
// Calculate temporal advantage
let distance_km = 10_900.0; // Tokyo to NYC
let advantage = predictor.temporal_advantage(distance_km);
println!("Temporal lead: {:.2} ms", advantage.advantage_ms);
println!("Effective velocity: {:.0}× speed of light", advantage.effective_velocity);
}
| Matrix Size | Queries | Time (ms) | vs O(n³) |
|---|---|---|---|
| 100 | 665 | 0.067 | 1,503× |
| 1,000 | 997 | 0.996 | 1,003,009× |
| 10,000 | 1,329 | 29.6 | 752,445,447× |
Based on rigorous research:
We achieve temporal computational lead by computing functionals t^T x* in sublinear time, allowing predictions before network messages arrive. This is mathematically proven and experimentally validated.
# Analyze matrix dominance
temporal-cli analyze --size 1000 --dominance 2.0
# Predict with temporal advantage
temporal-cli predict --size 1000 --distance 10900 --epsilon 0.001
# Prove theorems
temporal-cli prove --theorem temporal-lead
# Run benchmarks
temporal-cli benchmark --sizes 100,1000,10000
See the examples/ directory for:
Dual licensed under MIT OR Apache-2.0
This implements temporal computational lead through mathematical prediction, NOT faster-than-light information transmission. All physical laws are respected.