Check out the "Natural Number Game"[0], which is sort of a practical tutorial but leaves a LOT of things unexplained. I took a few proofs-heavy university classes among the math/cs/philosophy departments so the idea of proving arithmetic from axioms wasn't new, but the NNG still took me an outrageous amount of time (easily 100 hours) and I got nowhere near finishing. Perhaps I just never got things to click into place; I am still profoundly confused about what the 'tactics' truly are.In my opinion, lean4 is not in any way "for beginners" as you mean it; it is a tool for experts in mathematics.
[0] https://adam.math.hhu.de/#/g/leanprover-community/NNG4
mcshicks|2 years ago
If you liked that you might like the natural set game as well.
https://adam.math.hhu.de/#/g/djvelleman/stg4
The author of the math book "How to Prove it" Daniel Velleman who I think did the set game also has a "How to Prove it with Lean" which is nice because the exercises correlate to the book.
https://djvelleman.github.io/HTPIwL/
I've found the lean community on zulip really open to amateurs to want to learn. I asked what I considered a "duh" type of question once I saw the answer, and the guy that helped me is kind of "the lean math" guy.
https://leanprover.zulipchat.com/
nyssos|2 years ago
They're macros: a `tactic a` is (after sanding off the implementation details) a function
where `tactic_state` is the internal state of the elaborator.