Checks the external (lean) proofs of all the def_ids with a single lake build, reporting an
error for each proof that fails to check. Returns the results in the same order as def_ids.
Generates the file that checks that the proof has the type of the VC. The #print axioms is
used to reject proofs that (transitively) depend on sorryAx, see ProofReport::status. The file is
regenerated even when the VC is cached, so that it is always up to date.
Hyperlinks the proven_externally attribute to the proofβs def in the proof file, so users
can easily jump to it. Call this after the Lean files are generated, so that the proof file
exists on the first run. The def is found by searching the file, since the user may have
edited it; if the file or the def is missing, we link to the first line of the file.
Parses the (human readable) output of lake build into a list of diagnostics. Each diagnostic
starts with a line <severity>: <file>:<line>:<col>: <message> and extends over subsequent lines
until the next diagnostic or a line reporting build progress.
A digest of the lean sources in the project (skipping build artifacts in .lake) and of the lake
configuration. A cached proof is only trusted if this digest is unchanged since the proof was
checked, as the proof, or any lemma or dependency it uses, may have been edited in the meantime.
Determines the status of the external proof of each of the def_ids with a single pass over the
diagnostics, dispatching each one to the proof whose checking or proof file it is reported in.
Returns the results in the same order as def_ids.