Рет қаралды 2,295
Follow along as I learn how to use an automated proof system, Lean 4. We'll do an introductory proof involving natural numbers using Lean's calculational proof mode.
Timecodes:
00:00 - Intro
00:34 - Let's Jump In
01:17 - Variables in Lean
01:34 - How to Read a Type Signature
02:56 - Writing a Theorem
05:00 - Function Application in Lean
05:10 - congrArg
07:25 - Nat.add_comm
08:30 - How to Read a Calculational Proof
09:19 - Eq.symm
10:35 - Typechecking a Theorem
11:00 - Calculational Proof Function Representation
11:35 - Outro
Here are some resources I found helpful when making this video:
leanprover.github.io/theorem_...
leanprover.github.io/lean4/doc/
leanprover.github.io/function...
leanprover.github.io/logic_an...
leanprover.github.io/tutorial...
I used the following elements in this video/thumbnail:
By Joey-das-WBF at English Wikipedia - Transferred from en.wikipedia to Commons by Common Good using CommonsHelper., Public Domain, commons.wikimedia.org/w/index...
leanprover.github.io/images/l...
editor.codecogs.com
unsplash.com/photos/U8kNV-0dCS0
#leanprover