by ipsum2 · 3y ago · 0 comments
You can write proofs in a non-interactive way, but you're signing yourself up for a lot of tedium.
EDIT: A video showing someone working through some simple stuff. You can obviously do a lot of things "in your head" but having the feedback loop is helpful. Though thinking about it more I don't think this precludes a Python DSL entirely. It would just require some smart design to support this form of interactivity. https://www.youtube.com/watch?v=VYFTph2izIs
[1] https://ericpony.github.io/z3py-tutorial/guide-examples.htm
Or do you mean a Python-like syntax on top of Lean4?
Note: Pretty sure that libtorch is written in C++ and CUDA.