forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR coq#18537: Fix Search is:Scheme
Reviewed-by: ppedrot Reviewed-by: herbelin Ack-by: Villetaneuse Co-authored-by: ppedrot <[email protected]>
- Loading branch information
Showing
6 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
doc/changelog/08-vernac-commands-and-options/18537-fix-search-scheme.rst
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,8 @@ | ||
- **Fixed:** | ||
:cmd:`Search` with modifier `is:Scheme` restricted the search to inductive types | ||
which have schemes instead of the schemes themselves. | ||
For instance `Search nat is:Scheme` with just the prelude loaded would return `le` | ||
i.e. the only inductive type whose type mentions `nat` | ||
(`#18537 <https://github.com/coq/coq/pull/18537>`_, | ||
fixes `#18298 <https://github.com/coq/coq/issues/18298>`_, | ||
by Gaëtan Gilbert). |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
nat_sind: | ||
forall P : nat -> SProp, | ||
P 0 -> (forall n : nat, P n -> P (S n)) -> forall n : nat, P n | ||
nat_rec: | ||
forall P : nat -> Set, | ||
P 0 -> (forall n : nat, P n -> P (S n)) -> forall n : nat, P n | ||
nat_ind: | ||
forall P : nat -> Prop, | ||
P 0 -> (forall n : nat, P n -> P (S n)) -> forall n : nat, P n | ||
nat_rect: | ||
forall P : nat -> Type, | ||
P 0 -> (forall n : nat, P n -> P (S n)) -> forall n : nat, P n | ||
le_ind: | ||
forall (n : nat) (P : nat -> Prop), | ||
P n -> | ||
(forall m : nat, n <= m -> P m -> P (S m)) -> | ||
forall n0 : nat, n <= n0 -> P n0 | ||
le_sind: | ||
forall (n : nat) (P : nat -> SProp), | ||
P n -> | ||
(forall m : nat, n <= m -> P m -> P (S m)) -> | ||
forall n0 : nat, n <= n0 -> P n0 |
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,2 @@ | ||
Search nat is:Scheme. | ||
(* was "le : nat -> nat -> Prop" *) |
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