Remix.run Logo
▲ u1hcw9nx 2 hours ago

That shows the importance of very simple proof checkers, like HOL Light.

Cross verifying proof checkers with different implementations, different algorithms is also important.

▲kachnuv_ocasek an hour ago | parent [-]

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 26 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.

Lean's kernel extends its primitive environment every time an inductive type or quotient primitive is declared. Once you import all of Mathlib it's very large. That's why you want to use something like HOL to verify those.