-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Congruence: don't replace error messages by "congruence failed"
Fix #13595
- Loading branch information
1 parent
bec752e
commit f4af5d4
Showing
4 changed files
with
20 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The command has indeed failed with message: | ||
Tactic failure: Goal is solvable by congruence but some arguments are missing. | ||
Try "congruence with ((Triple a _ _)) ((Triple d c _))", | ||
replacing metavariables by arbitrary terms. |
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 @@ | ||
Inductive Cube:Set :=| Triple: nat -> nat -> nat -> Cube. | ||
|
||
Theorem incomplete :forall a b c d : nat,Triple a = Triple b->Triple d c = Triple d b->a = c. | ||
Proof. | ||
Fail congruence. | ||
intros. | ||
congruence with ((Triple a a a)) ((Triple d c a)). | ||
Qed. |