forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ugh abbreviations playing the role of aliases Reviewed-by: ppedrot Co-authored-by: ppedrot <[email protected]>
- Loading branch information
Showing
9 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
dev/ci/user-overlays/18443-herbelin-master+wish18097-print-about-see-through-aliases.sh
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 @@ | ||
overlay coq_lsp https://github.com/herbelin/coq-lsp main+adapt-18443-print_abbreviation-sigma 18443 master+wish18097-print-about-see-through-aliases |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
Notation tt' := tt | ||
|
||
Inductive unit : Set := tt : unit. |
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,20 @@ | ||
Notation pow := Nat.pow | ||
|
||
Nat.pow = | ||
fix pow (n m : nat) {struct m} : nat := | ||
match m with | ||
| 0 => 1 | ||
| S m0 => n * pow n m0 | ||
end | ||
: nat -> nat -> nat | ||
|
||
Arguments Nat.pow (n m)%nat_scope | ||
Notation pow := Nat.pow | ||
Expands to: Notation wish_18097.pow | ||
|
||
Nat.pow : nat -> nat -> nat | ||
|
||
Nat.pow is not universe polymorphic | ||
Arguments Nat.pow (n m)%nat_scope | ||
Nat.pow is transparent | ||
Expands to: Constant Coq.Init.Nat.pow |
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,3 @@ | ||
Notation pow := Nat.pow. | ||
Print pow. | ||
About pow. |
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