Cyril Cohen said:
Maxime Dénès said:
I see, thanks. I guess we should figure out a way to properly generate constants on the fly, then.
If so they must be automatically tagged in a way to exclude them from
Search
Théo Zimmermann said:
It's easy and we're already doing this for
abstract
lemmas.
Oh, really? how is it done?
https://github.com/coq/coq/blob/95be052f60b1b6b4cc0b12e92b3d1b86b5bd7ca9/theories/Init/Prelude.v#L59
Add Search Blacklist "_subproof" "_subterm" "Private_".
I know it's not a perfect solutions and nobody likes it, but it has the serious advantage of being already available and it works.
Théo Zimmermann said:
Add Search Blacklist "_subproof" "_subterm" "Private_".
Oh :sad: ok, concretely which suffix/prefix do you use for abstract
?
abstract
: _subproof
transparent_abstract
: _subterm
Maxime Dénès said:
Search blacklisting should be done by an attribute, not hacking a prefix IMHO
I had hoped there was already some support for this :up:
Precisely not. I'd be easy to implement but there is no support today. My point was that this is not the issue at stake here.
Anyway, I'd like to get an answer regarding whether we backtrack on the deprecation in 8.12 from @Pierre-Marie Pédrot / @Maxime Dénès / @Matthieu Sozeau before we tag the beta.
Last updated: Dec 07 2023 at 06:38 UTC