While using Search
to look for patterns of theorems, is it possible to exclude theorems from a particular module?
Or to look for theorems only from a particular module?
Suppose I had done Require Import Arith.
but at some point doesn't want to use theorems defined there but need to look in other modules. Is there a way?
And while Search
-ing, is it possible to say that the definiton starts/ends with a paritcular term?
For example, Search (_ -> False)
shouldn't give things like A -> (A -> False) -> False
but only stuff like A -> False
and A -> B -> False
.
Is it possible?
I think what you are looking for is the concl:False
pattern (see the documentation of search)
You can Search (_ + _) in Arith
(or Search (_ + _) inside Arith
if your Coq version is slightly older) and also Search (_ + _) outside Arith
.
Thanks!
The docs for that sure looks extensive. It will be some time before I get hold of them. :sweat_smile:
Julin S has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC