diff options
| author | Pierre-Marie Pédrot | 2019-11-08 15:47:35 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2019-11-08 15:47:35 +0100 |
| commit | f70ec9d4279f7b4b943eb28f15d6e4244bb82fc5 (patch) | |
| tree | e9dc52fcdfb30de58718b29aabfb740504cad6b4 /test-suite/bugs | |
| parent | 0a24fc1f7679f69d362f5fa3f73c1f8716c84bf8 (diff) | |
| parent | 3910e8dca2154d15c422a8e5ceb16f93c5faf889 (diff) | |
Merge PR #11014: Fix #8459: anomaly not enough abstractions in fix body
Reviewed-by: ppedrot
Diffstat (limited to 'test-suite/bugs')
| -rw-r--r-- | test-suite/bugs/closed/bug_8459.v | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_8459.v b/test-suite/bugs/closed/bug_8459.v new file mode 100644 index 0000000000..62c49e9ea7 --- /dev/null +++ b/test-suite/bugs/closed/bug_8459.v @@ -0,0 +1,24 @@ +Require Import Coq.Vectors.Vector. + +Axiom exfalso : False. + +Fixpoint all_then_someV (n:nat) (l:Vector.t bool n) {struct l}: +(Vector.fold_left orb false l) = false -> +(forall p, (Vector.nth l p ) = false). +Proof. +intros. +destruct l. +inversion p. +revert h l H. +set (P := fun n p => forall (h : bool) (l : t bool n), +fold_left orb false (cons bool h n l) = false -> @eq bool (@nth bool (S n) (cons bool h n l) p) false). +revert n p. +fix loop 1. +unshelve eapply (@Fin.rectS P). ++ elim exfalso. ++ unfold P. + intros. + eapply all_then_someV. + exact H0. +Fail Defined. +Abort. |
