Lean-Verified Rust Tokenizers Target the Training-Inference Mismatch Killing RL Runs

ying11231 · x · 2026-10-28

srushnlp released "Lean Verified Tokenizers": instead of just testing that training sees the exact tokens a model generated, the project formally verifies key properties of a Rust tokenizer — and prototypes a Lean-verified Rust agent pipeline — in Lean. Radixark notes it extends Miles' Token-In-Token-Out work, calling this the rigor agentic RL needs to avoid training-inference mismatch.

Related event: srush Formalizes Tokenizers in Lean to Fix RL Train-Inference Mismatch(3 posts)→

Original post →

More from coding & agent

coding & agent channel →