diff options
| author | coqbot-app[bot] | 2020-10-15 17:50:31 +0000 |
|---|---|---|
| committer | GitHub | 2020-10-15 17:50:31 +0000 |
| commit | 2db3d504378cb6167aadd0d7bccf7bd2341c63c6 (patch) | |
| tree | 89978b5027224d919b2fa03fe0e26df88519b264 /test-suite | |
| parent | 476520ab32d3e975f6cee8aabcd04ad5fdfbbd77 (diff) | |
| parent | 2a2ce21a09bb2e42589777069593b8dda802125e (diff) | |
Merge PR #12925: [declare] Fix types of mutual lemmas when using Admitted.
Reviewed-by: herbelin
Ack-by: SkySkimmer
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/bug_12895.v | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_12895.v b/test-suite/bugs/closed/bug_12895.v new file mode 100644 index 0000000000..53adc2981c --- /dev/null +++ b/test-suite/bugs/closed/bug_12895.v @@ -0,0 +1,20 @@ +Fixpoint bug_1 (e1 : nat) {struct e1} + : nat +with bug_2 {H_imp : nat} (e2 : nat) {struct e2} + : nat. +Proof. + - exact e1. + - exact e2. +Admitted. + +Fixpoint hbug_1 (a:bool) (e1 : nat) {struct e1} + : nat +with hbug_2 (a:nat) (e2 : nat) {struct e2} + : nat. +Proof. + - exact e1. + - exact e2. +Admitted. + +Check (hbug_1 : bool -> nat -> nat). +Check (hbug_2 : nat -> nat -> nat). |
