development-environmentmmt

Finding out in which MMT source file a constant/theory/... was declared


Say I remember a constant or theory name, but totally forgot where it is declared. Perhaps, I don't even know in which MMT archive it is declared. How can I find out the source file?

Can I just open an MMT shell, load all archives I have on my disk, and issue some command find_constant <constant name>? Does such a command exist?


Solution

  • It depends on what you know about the thing whose declaration point you seek: