Maybe-naive question here: I'm not familiar with Lean but it seems like the kind of thing that would allow fairly trivial automatic pruning of unused parts of a proof? Does it not have built-in dead code removal? Have I missed something that makes this hard, or do people just not bother because it doesn't really matter for a one-off?
Comment thread (1)