iiuc build caching in hol4 works at the file level -- if a file is proved, then its artifacts can be reused. this issue is a feature request for inter-file caching. if there is a change at line X+1, lines X and previous do not need to be re-proved(!)
more sophisticated and better would be to only require re-proving dependencies (direct+transitive) of changed theorems (including in downstream files -- if there is no changed theorem in a theorem's dependency tree it should not require re-proving).
iiuc build caching in hol4 works at the file level -- if a file is proved, then its artifacts can be reused. this issue is a feature request for inter-file caching. if there is a change at line X+1, lines X and previous do not need to be re-proved(!)
more sophisticated and better would be to only require re-proving dependencies (direct+transitive) of changed theorems (including in downstream files -- if there is no changed theorem in a theorem's dependency tree it should not require re-proving).