Skip to the content.

These examples show TorchLean at work on real machine-learning problems: training models, differentiating tensor programs, moving weights through PyTorch, and checking numerical or verification claims in Lean. Open an example for the runnable code and the theorem or contract behind it.