metamath / metamath-knife

Metamath-knife can rapidly verify Metamath proofs, providing strong confidence that the proofs are correct.
Apache License 2.0
25 stars 10 forks source link

Abstract out the proof verification process #63

Open tirix opened 2 years ago

tirix commented 2 years ago

One can imagine several clients/needs for an iteration through the proof tree, which follows the steps of the proof and accumulates on the stack:

All these targets could be reached based on a single mechanism provided by the metamath-knife library. E.g. the client would provide an implementor of a given trait.

I've tried to implement this kind of abstraction in this PR, starting from proof.rs: