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 f0376c0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/sphinx/proof-engine/vernacular-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ 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
`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>`.

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 f0376c0

Please sign in to comment.