-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adhoc handling of custom entries for notations and improvements on pl…
…ugins (VernacExtend) (#51) * handle custom entries and (partially) gen args for plugins * hotfix listarg * Add test for the nth locate result in a step context * Remove handling of ListArg for identref, no longer needed * Fix equations and add test for it * Add coq-equations to workflow * bump ocaml version * Add coq-released to workflow
- Loading branch information
Showing
8 changed files
with
130 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ class TermType(Enum): | |
SETOID = 22 | ||
FUNCTION = 23 | ||
DERIVE = 24 | ||
EQUATION = 25 | ||
OTHER = 100 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
From Equations Require Import Equations. | ||
|
||
Equations? f (n : nat) : nat := | ||
f 0 := 42 ; | ||
f (S m) with f m := { f (S m) IH := _ }. | ||
Proof. intros. exact IH. Defined. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Inductive binder := BAnon | BNum :> nat -> binder. | ||
Declare Scope binder_scope. | ||
Notation "<>" := BAnon : binder_scope. | ||
|
||
Open Scope binder_scope. | ||
Lemma test : <> = <>. | ||
Proof. reflexivity. Qed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters