Remix.run Logo
▲ kachnuv_ocasek an hour ago

There are at least 36 different Lean type checker implementations in various languages, with different people and ideas behind them. See the Lean Kernel Area https://arena.lean-lang.org/

Also, what exactly do you mean by simplicity? The core of nanoda_lib is about 7,000 lines of code, much smaller than HOL Light as far as I can tell.

▲u1hcw9nx 24 minutes ago | parent [-]

HOL Light trusted kernel is 400–500 lines of code.

HOL Light defines only 10 primitive inference rules.

HOL Light's maximizes trustworthiness and manual auditability by humans or machines (YOU CAN DO IT). The kernel itself has been formally verified inside HOL Light.

There are at least 3 separate HOL light implementations: HOL Light, CakeML, HOLZero that implement the exactly same logic.

This cuts both ways, of course. This is why you want ideally to use HOL to prove more complex put practical proof checkers.