Prevent [finite_countable] from solving unrelated evars
1 unresolved thread
1 unresolved thread
Compare changes
+ 13
− 0
@@ -198,6 +198,19 @@ Global Existing Instance TCDiag_diag.
Fix issue reported by @jung in https://mattermost.mpi-sws.org/iris/pl/dqsc96ndbinfbyi8m4iuptjchw. Fixes #160 (closed).
The problem is that Hint Immediate
translates to (something like) simple apply @finite.finite_countable ; trivial
in the trace, and one (or both) the tactics trigger https://github.com/coq/coq/issues/6583. So I've adapted Iris's work around; I've not confirmed whether all of it is needed, but it worked on first try.
Missing (I assume):
trivial
only uses hints with cost 0, but typeclasses eauto 0
does not appear to work, so typeclasses eauto 1
is the closest thing I see. This might be a problem.Also see Coq issue https://github.com/coq/coq/issues/16893.
Note, iSolveTC does not exist any more, it got moved to std++
Ack:
But I thought this MR was essentially rejected in favor of waiting for a Coq fix to https://github.com/coq/coq/issues/16893 ? If you're interested then please let me know.
I'm not sure, I don't really understand the work-around.^^