-
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.
Merge PR #13114: Reimplement Admit Obligations using standard Admitte…
…d code Reviewed-by: ejgallego
- Loading branch information
Showing
2 changed files
with
39 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Require Import Coq.Program.Tactics. | ||
|
||
Set Universe Polymorphism. | ||
Obligation Tactic := idtac. | ||
|
||
Program Definition foo : Type := _. | ||
Program Definition bar : Type := _. | ||
Admit Obligations. | ||
(* Error: Anomaly "Uncaught exception AcyclicGraph.Make(Point).AlreadyDeclared." | ||
Please report at http://coq.inria.fr/bugs/. | ||
*) | ||
Print foo. | ||
Print foo_obligation_1. | ||
Print bar. | ||
Print bar_obligation_1. | ||
|
||
Program Definition baz : Type := _. | ||
Admit Obligations of baz. | ||
Print baz. | ||
Print baz_obligation_1. | ||
|
||
Admit Obligations. | ||
|
||
Fail Admit Obligations of nobody. |
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