Skip to content

Commit

Permalink
Update refman's Search documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Villetaneuse committed Apr 28, 2024
1 parent ab6d31f commit 9e677bc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions doc/sphinx/proof-engine/vernacular-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ described elsewhere
Filters objects by the keyword that was used to define them
(`Theorem`, `Lemma`, `Axiom`, `Variable`, `Context`,
`Primitive`...) or its status (`Coercion`, `Instance`, `Scheme`,
`Canonical`, `SubClass`, Field` for record fields, `Method` for class
fields). Note that `Coercion`\s, `Canonical Structure`\s, Instance`\s and `Scheme`\s can be
`Canonical`, `SubClass`, `Field` for record fields, `Method` for class
fields). Note that `Coercion`\s, `Canonical Structure`\s, `Instance`\s and `Scheme`\s can be
defined without using those keywords. See :ref:`this example <search-by-keyword>`.

Additional clauses:
Expand Down Expand Up @@ -308,6 +308,13 @@ described elsewhere

Search is:Instance [ Reflexive | Symmetric ].

The following search outputs operations on `nat` defined in the
prelude either with the `Definition` or `Fixpoint` keyword:

.. coqtop:: all reset

Search (nat -> nat -> nat) -bool [ is:Definition | is:Fixpoint ].

.. cmd:: SearchPattern @one_pattern {? {| inside | in | outside } {+ @qualid } }

Displays the name and type of all hypotheses of the
Expand Down

0 comments on commit 9e677bc

Please sign in to comment.