It may be theoretically possible, but is it ergonomic and useful? Do you use Lean for your programs?
I used Lean for AoC last time and it’s really good.
use https://rocq-prover.org/ for that purpose
I used Lean for AoC last time and it’s really good.