`find_theorems` in the AFP

醉酒当歌 提交于 2020-01-02 07:53:29

问题


How can I use the find_theorems mechanism to search the whole Archive of Formal Proofs (AFP)?

I have downloaded the archive to my machine, and I am able to import theories from it. For instance, if I write imports Kleene_Algebra.Kleene_Algebra_Models then all the theorems in that theory are successfully made available to me. But if I then type find_theorems <expression>, I only get search results from the specific theory I imported. What if I want to search the whole archive? For instance, perhaps somebody has proved a theorem that is useful to me, but I don't know what they called their theory.


回答1:


find_theorems only works with the loaded theories. You can use any text search tool if you have an idea of the theorem name. On macOS, the Splotlight Search (cmd + space) can be useful.




回答2:


To put it plain and simple, you can't, unless you import the entirety of the AFP into your theory (which probably won't work).

I'm unsure whether someone is currently working on making what you want happen.



来源:https://stackoverflow.com/questions/47416112/find-theorems-in-the-afp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!