sandialabs / Prove-It

A tool for proving and organizing general theorems using Python.
http://pyproveit.org
Other
27 stars 10 forks source link

Fix "literal generalization" problem related to having to run theorem proofs in a specific order #319

Open wwitzel opened 11 months ago

wwitzel commented 11 months ago

When "literal generalization" derivation steps are made, they depend on the dependencies of used theorems. This requires theorem proofs to be executed in a specific order, unlike any other derivation step. Right now we see this when doing a clean build -- it chokes at "qpe_precision_guarantee" because other QPE theorems must be executed first. I've been dealing with this manually. This specific issue will be fixed when "conservative definitions" are implemented and pulled into the master branch. It will use "conservative definitions" instead of "literal generalization". However, "literal generalization" could still have useful applications in the future, so we still need to address this issue eventually.