tlaplus / tlapm

The TLA Proof Manager
https://proofs.tlapl.us/
BSD 2-Clause "Simplified" License
65 stars 20 forks source link

fix disappearing fingerprints #84

Closed damiendoligez closed 3 months ago

damiendoligez commented 1 year ago

This is a fix for the problem reported here: https://github.com/tlaplus/Examples/issues/67#issuecomment-1456803312

The problem is that checking ReachableProofs.tla erases the saved fingerprints of ReachabilityProofs.tla. More generally, when checking the proofs for one file, tlapm may have to parse other files that contain proofs. Those proofs are not re-checked because tlapm only checks the proofs inside the files that are explicitly given on the command line. Here, the proofs are not checked, but the (empty) fingerprint set is still written to disk, erasing the existing fingerprints.

This bug was introduced in 1938a789 by the fix for another bug.