Skip to content

Commit

Permalink
cleanup logical_kind refman grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
SkySkimmer committed Apr 28, 2024
1 parent 9e677bc commit 8dbbcd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions doc/sphinx/proof-engine/vernacular-commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,9 @@ described elsewhere
.. insertprodn logical_kind logical_kind
.. prodn::
logical_kind ::= Fixpoint
| CoFixpoint
| {| @thm_token | @assumption_token }
logical_kind ::= {| @thm_token | @assumption_token }
| {| Definition | Example | Context | Primitive | Symbol }
| {| Coercion | Instance | Scheme | Canonical | SubClass }
| {| Coercion | Instance | Scheme | Canonical | SubClass | Fixpoint | CoFixpoint }
| {| Field | Method }
Filters objects by the keyword that was used to define them
Expand Down
4 changes: 3 additions & 1 deletion doc/tools/docgram/common.edit_mlg
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,9 @@ logical_kind: [
| DELETE "Instance"
| DELETE "Scheme"
| DELETE "Canonical"
| [ "Coercion" | "Instance" | "Scheme" | "Canonical" | "SubClass" ]
| DELETE "Fixpoint"
| DELETE "CoFixpoint"
| [ "Coercion" | "Instance" | "Scheme" | "Canonical" | "SubClass" | "Fixpoint" | "CoFixpoint" ]
| DELETE "Field"
| DELETE "Method"
| [ "Field" | "Method" ]
Expand Down
4 changes: 1 addition & 3 deletions doc/tools/docgram/orderedGrammar
Original file line number Diff line number Diff line change
Expand Up @@ -1053,11 +1053,9 @@ search_item: [
]

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

Expand Down

0 comments on commit 8dbbcd6

Please sign in to comment.