diff options
| author | Paul Steckler | 2016-06-28 12:37:00 -0400 |
|---|---|---|
| committer | Matthieu Sozeau | 2016-09-09 18:12:26 +0200 |
| commit | 43869b4e05824244e666c60e0b740a80e8b09d0c (patch) | |
| tree | 119fd8db5cd7bde7750d84fcf107b6ca482aa7fe /test-suite | |
| parent | dee69387bd4b2944c9e81ee422fb9900ab0e6c4d (diff) | |
no-refold patch
Add a boolean for refolding during reduction, and an option
that is off by default in 8.6, to turn refolding on in all reduction
functions, as in 8.5.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/bugs/closed/3424.v | 1 | ||||
| -rw-r--r-- | test-suite/output/inference.v | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/3424.v b/test-suite/bugs/closed/3424.v index f9b2c38611..ee8cabf171 100644 --- a/test-suite/bugs/closed/3424.v +++ b/test-suite/bugs/closed/3424.v @@ -13,6 +13,7 @@ Notation "0" := (trunc_S minus_one) : trunc_scope. Class IsTrunc (n : trunc_index) (A : Type) : Type := Trunc_is_trunc : IsTrunc_internal n A. Notation IsHProp := (IsTrunc minus_one). Notation IsHSet := (IsTrunc 0). +Set Refolding Reduction. Goal forall (A : Type) (a b : A) (H' : IsHSet A), { x : Type & IsHProp x }. Proof. intros. diff --git a/test-suite/output/inference.v b/test-suite/output/inference.v index cd9a4a12b2..1825db1676 100644 --- a/test-suite/output/inference.v +++ b/test-suite/output/inference.v @@ -14,6 +14,7 @@ Definition P (e:option L) := Print P. (* Check that plus is folded even if reduction is involved *) +Set Refolding Reduction. Check (fun m n p (H : S m <= (S n) + p) => le_S_n _ _ H). |
