Skip to content

Conversation

@CohenCyril
Copy link

No description provided.

@CohenCyril CohenCyril changed the title initial commit for the metadata CEP Rocq Metadata Apr 12, 2025
@CohenCyril CohenCyril changed the title Rocq Metadata Rocq Object Metadata Apr 12, 2025
@andres-erbsen
Copy link

andres-erbsen commented May 8, 2025

I am in favor of this concept; subscribing. Small comments on the sketched details

For docstrings, comments right before the definition are somewhat of a cross-language standard at this point. We should consider adopting it.

Perhaps alias could be called "suggest"? I think the idea of adding additional searches in response to which a definition should be shown is desirable, but I am less sure about convertibility as a central concept there. Sometimes a non-convertible definition is a good search result anyway, and at other times a convertible definition is not applicable because heuristic conversion takes too long. Instead I'd trust the metadata author to choose what searches the definition should be shown for without relating that choice to convertibility.

I'd also be interested in having Search display the already-stored metadata, for example warnings.

@spitters
Copy link

Have you considered the lean search tools?
https://leansearch.net/ (https://github.com/leanprover-community/LeanSearchClient)
https://www.leanexplore.com/
https://loogle.lean-lang.org/
https://www.moogle.ai/

It would be nice to have something along these lines for Rocq.
I guess that my be connected to this rfcs...

@CohenCyril
Copy link
Author

I am in favor of this concept; subscribing. Small comments on the sketched details

For docstrings, comments right before the definition are somewhat of a cross-language standard at this point. We should consider adopting it.

I agree with you, we should opt for that.

Perhaps alias could be called "suggest"? I think the idea of adding additional searches in response to which a definition should be shown is desirable, but I am less sure about convertibility as a central concept there. Sometimes a non-convertible definition is a good search result anyway, and at other times a convertible definition is not applicable because heuristic conversion takes too long. Instead I'd trust the metadata author to choose what searches the definition should be shown for without relating that choice to convertibility.

Yes, I agree. Or maybe "similar" or "related"... or something drawn from ontology concepts?

I'd also be interested in having Search display the already-stored metadata, for example warnings.

What do you mean "for example warnings" ?

@CohenCyril
Copy link
Author

Have you considered the lean search tools? https://leansearch.net/ (https://github.com/leanprover-community/LeanSearchClient) https://www.leanexplore.com/ https://loogle.lean-lang.org/ https://www.moogle.ai/

It would be nice to have something along these lines for Rocq. I guess that my be connected to this rfcs...

Yes of course, I know several people working in this direction, and it is definitely connected to this rfcs since it should provide all the meta-data required by the potential applications.

@CohenCyril
Copy link
Author

I did not know about leanexplore, thanks for mentioning it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants