the ergonomics of
PL metatheory in Lean
7 June 2024
the ergonomics of
PL metatheory in Lean
or: I couldn’t convince people to use Agda for metatheory
but maybe I can convince you to try out Lean instead
this talk is about:
this talk is not about:
3
Coq and Lean are:
4
my issues with Coq
specifically using:
5
P1: proof reading is missing ephemeral information
6
P1: proof reading is missing ephemeral information
7
P1: proof reading is missing ephemeral information
8
P2: term writing isn’t incremental
9
P2: term writing isn’t incremental
10
P2: term writing isn’t incremental
11
P2: term writing isn’t incremental
12
P3: proof editing is (more or less) sequential
13
P3: proof editing is (more or less) sequential
14
P3: proof editing is (more or less) sequential
15
P4: information isn’t well integrated
16
claim: Lean’s tooling & design
help solve these problems
P4: information isn’t well integrated
A: documentation on hover!
18
P1: proof reading is missing ephemeral information
A: infoview at cursor!
19
P2: term writing isn’t incremental
20
P3: proof editing is (more or less) sequential
A: [demo]
21
tactics I enjoy
22
other tools and libraries
for Coq
for Lean
23
my issues with Lean
basically designed specifically targeting mathematics
24
ported existing development in ~1 week
25
learning Lean
26