coq / coq

Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.
https://coq.inria.fr/
GNU Lesser General Public License v2.1
4.66k stars 632 forks source link

There is no command to print currently available modules. #19035

Open Villetaneuse opened 2 weeks ago

Villetaneuse commented 2 weeks ago

Is your feature request related to a problem?

There are commands to list required files (Print Libraries.), available constants (Search), but as far as I know, there is none to print currently available modules (which should probably include the libraries).

Proposed solution

I propose, as an easy and (hopefully) not so controversial solution, to add:

Alternative solutions

Another possible solution would be to have something more elaborate like Search, e.g.

SearchModule "Nat". (* display all module whose name contains `Nat` *)

or, maybe

Search kind:module "Nat".
Search kind:module_type "Nat".

Additional context

No response