-
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.
- Loading branch information
Showing
14 changed files
with
536 additions
and
52 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
doc/changelog/08-vernac-commands-and-options/19761-hintdb_doc.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,5 @@ | ||
- **Added:** | ||
Additional documentation of Create HintDb (discriminated), proof search | ||
tactic performance, matching process and hint transparency | ||
(`#19761 <https://github.com/coq/coq/pull/19761>`_, | ||
by Jim Fehrle). |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
(* debug auto: *) | ||
* assumption. (*fail*) | ||
* intro. (*fail*) | ||
File "./output/disc_uses_patterns.v", line 13, characters 0-40: | ||
The command has indeed failed with message: | ||
Failed to progress. | ||
Debug: | ||
Starting resolution with 1 goal(s) under focus and 0 shelved goal(s) in regular mode, unbounded | ||
Debug: Launching resolution fixpoint on 1 goals: ?X6 : (3 = 3) | ||
Debug: | ||
Calling fixpoint on : 1 initial goals, 0 stuck goals and 0 non-stuck failures kept with no progress made in this run. | ||
Stuck: | ||
Failed: | ||
Initial: Goal 1 evar: ?X6 status: initial | ||
Debug: considering goal 1 of status initial | ||
Debug: 1: looking for (3 = 3) without backtracking | ||
Debug: 1: no match for (3 = 3), 0 possibilities | ||
Debug: | ||
Goal 1 has no more solutions, returning exception: Proof-search failed. | ||
File "./output/disc_uses_patterns.v", line 14, characters 5-37: | ||
The command has indeed failed with message: | ||
Tactic failure: Proof search failed. |
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,15 @@ | ||
(* discriminated uses head const and patterns *) | ||
Theorem bar: 1=1. reflexivity. Qed. | ||
Theorem bar2: 2=2. reflexivity. Qed. | ||
|
||
Create HintDb db discriminated . | ||
Hint Resolve bar : db. | ||
Hint Resolve bar2 : db. | ||
|
||
Set Typeclasses Debug Verbosity 2. | ||
|
||
Goal 3=3. | ||
(* neither theorem matches the goal *) | ||
Fail progress debug auto with db nocore. | ||
Fail typeclasses eauto with db nocore. | ||
Abort. |
Oops, something went wrong.