Zulip Chat Archive

Stream: lean4

Topic: Hey , How can one start to proof an algorithm in lean4?


zigzags (Apr 22 2025 at 22:41):

Hey , How can one start to proof an algorithm in lean4. Let's say Insertion sort for example. What are the steps one should take. And if there is a tutorial or some good site for this.

Will Bradley (Apr 23 2025 at 06:38):

@zigzags You're in luck because this is an example given in the book "Functional Programming in Lean": https://lean-lang.org/functional_programming_in_lean/programs-proofs/insertion-sort.html


Last updated: May 02 2025 at 03:31 UTC