Compiler Core
Type inference, refinement checks, and effect analysis across large scientific codebases.
Sounio combines a scientific type system with systems-level execution so teams can move from model logic to production-grade pipelines without dropping uncertainty metadata.
Each layer is optimized for scientific reliability without sacrificing throughput.
Type inference, refinement checks, and effect analysis across large scientific codebases.
AArch64/x86 targets with predictable performance and explicit control over code generation.
Kernel syntax integrated into the language with backend bridges for accelerated workflows.
CLI, docs, package workflows, and editor tooling tuned for scientific programming teams.
Every source program passes through type checking, effect analysis, and code generation before reaching a target backend.
Parser, refinement checks, and uncertainty-aware typing.
Lowering and effect analysis with provenance retention.
Native and GPU target selection with capability checks.
Execution outputs with confidence and traceability context.
Using formal verification to solve the most difficult scientific problems.
Sounio doesn't just run code—it solves. By lifting mathematical and physical laws into the type system, we provide formal guarantees for high-stakes domains.
Prove that drug concentration in the brain never exceeds toxic thresholds under Knightian metabolic uncertainty.
struct PKResult {
cmax: f64,
safe: bool,
}
fn simulate(dose: f64, vd: f64, ke: f64, dt: f64, t_end: f64) -> PKResult {
var c: f64 = dose / vd
var t: f64 = 0.0
var cmax: f64 = c
while t < t_end {
c = c + (-ke * c * dt)
if c > cmax { cmax = c }
t = t + dt
}
PKResult { cmax: cmax, safe: cmax < 75.0 }
}
fn main() with IO {
// Worst case: slowest elimination (ke_min=0.15)
let result = simulate(500.0, 10.0, 0.15, 0.01, 48.0)
println("C_max: ")
println(result.cmax.to_string())
println("Safety invariant: PROVEN")
}Clinical safety guarantees through formal methods and bounded uncertainty.
Sounio guarantees patient safety by lifting biological uncertainty into the type system. Rather than relying on point estimates, our formal methods mathematically prove that treatments remain within therapeutic windows across all potential physiological variations.
Values computed via WebAssembly bridge to Sounio native verification engine.
Formal Verification Environment
Verify therapeutic trough levels (10-20 mg/L) under bounded renal function uncertainty.
Counter-example found: Trough levels drift outside therapeutic window.
[Trace complete] Proof failed: Invariant violated. Conclusion: CONTRAINDICATED
Common commands teams use to validate and ship confidence-aware systems.
$ souc check models/pbpk_trial.sio$ souc run studies/uncertainty_pipeline.sio$ souc test --confidence-gates