Skip to content

Commit

Permalink
Update documented syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Villetaneuse committed Apr 27, 2024
1 parent df038c9 commit d40e0aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/sphinx/proof-engine/vernacular-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ described elsewhere
.. insertprodn logical_kind logical_kind
.. prodn::
logical_kind ::= {| @thm_token | @assumption_token }
logical_kind ::= Fixpoint
| CoFixpoint
| {| @thm_token | @assumption_token }
| {| Definition | Example | Context | Primitive | Symbol }
| {| Coercion | Instance | Scheme | Canonical | SubClass }
| {| Field | Method }
Expand Down
2 changes: 2 additions & 0 deletions doc/tools/docgram/fullGrammar
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,8 @@ logical_kind: [
extended_def_token: [
| def_token
| "Coercion"
| "Fixpoint"
| "CoFixpoint"
| "Instance"
| "Scheme"
| "Canonical"
Expand Down
2 changes: 2 additions & 0 deletions doc/tools/docgram/orderedGrammar
Original file line number Diff line number Diff line change
Expand Up @@ -1053,6 +1053,8 @@ search_item: [
]

logical_kind: [
| "Fixpoint"
| "CoFixpoint"
| [ thm_token | assumption_token ]
| [ "Definition" | "Example" | "Context" | "Primitive" | "Symbol" ]
| [ "Coercion" | "Instance" | "Scheme" | "Canonical" | "SubClass" ]
Expand Down

0 comments on commit d40e0aa

Please sign in to comment.