ssreflect: do not forget definedness of pre-existing evars#22138
Conversation
|
@coqbot run full ci |
|
🔴 CI failures at commit 4641d8c without any failure in the test-suite ✔️ Corresponding jobs for the base commit 1d8273d succeeded ❔ Ask me to try to extract minimal test cases that can be added to the test-suite 🏃
|
|
The iris failure is an aliasing bug that will be fixed in the next commit. The unicoq failure is the same as the bug I am trying to fix. With evars I suspect the last line doesn't do anything on master because there is no way the equation works with Metarocq's erasure plugin is full of |
| let src = fst oc in | ||
| let uct = Evd.ustate src in | ||
| let n, oc = abs_evars_pirrel env sigma oc in | ||
| let sigma = propagate_old_evar_definitions ~src ~dst:sigma in |
There was a problem hiding this comment.
I'm only looking at the first commit, which makes sense to me.
But I would move the call to propagate before abs_evars_pirrel. Can we try that? Does it make the subsequent fix unneeded?
This is another LLM-generated change. The first commit fixes the original bug but that is too limited to be very useful. It only works if evars from
src(i.e., those generated byopen_constr) are instantiated solely by terms that are valid indst.The second commit fixes this shortcoming and is entirely beyond me.
Fixes / closes #13915
make doc_gram_rsts.