Рет қаралды 1,257
Why does "well-founded recursion" sometimes make Lean 4 definitional equality (kernel reduction) very slow?
Try the interactive trace stepper tool here: dwrensha.github.io/kernel-red....
00:00 - reducing decimalDigits function
01:05 - compilation stages and kernel reduction
03:11 - Zulip suggests adding a fuel parameter
04:26 - printing elaborated function bodies
05:07 - a rundown on WellFounded.fix
06:00 - implementing tracing
06:14 - tracing decimalDigits'
07:16 - tracing decimalDigits
08:05 - tracing minus3
09:50 - conclusion