summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/shouldsucceed/2136.v
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <gareuselesinge@debian.org>2015-01-25 14:42:51 +0100
committerGravatar Enrico Tassi <gareuselesinge@debian.org>2015-01-25 14:42:51 +0100
commit7cfc4e5146be5666419451bdd516f1f3f264d24a (patch)
treee4197645da03dc3c7cc84e434cc31d0a0cca7056 /test-suite/bugs/closed/shouldsucceed/2136.v
parent420f78b2caeaaddc6fe484565b2d0e49c66888e5 (diff)
Imported Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'test-suite/bugs/closed/shouldsucceed/2136.v')
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2136.v61
1 files changed, 0 insertions, 61 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2136.v b/test-suite/bugs/closed/shouldsucceed/2136.v
deleted file mode 100644
index d2b926f3..00000000
--- a/test-suite/bugs/closed/shouldsucceed/2136.v
+++ /dev/null
@@ -1,61 +0,0 @@
-(* Bug #2136
-
-The fsetdec tactic seems to get confused by hypotheses like
- HeqH1 : H1 = MkEquality s0 s1 b
-If I clear them then it is able to solve my goal; otherwise it is not.
-I would expect it to be able to solve the goal even without this hypothesis
-being cleared. A small, self-contained example is below.
-
-I have coq r12238.
-
-
-Thanks
-Ian
-*)
-
-
-Require Import FSets.
-Require Import Arith.
-Require Import FSetWeakList.
-
-Module DecidableNat.
-Definition t := nat.
-Definition eq := @eq nat.
-Definition eq_refl := @refl_equal nat.
-Definition eq_sym := @sym_eq nat.
-Definition eq_trans := @trans_eq nat.
-Definition eq_dec := eq_nat_dec.
-End DecidableNat.
-
-Module NatSet := Make(DecidableNat).
-
-Module Export Dec := WDecide (NatSet).
-Import FSetDecideAuxiliary.
-
-Parameter MkEquality : forall ( s0 s1 : NatSet.t )
- ( x : nat ),
- NatSet.Equal s1 (NatSet.add x s0).
-
-Lemma ThisLemmaWorks : forall ( s0 s1 : NatSet.t )
- ( a b : nat ),
- NatSet.In a s0
- -> NatSet.In a s1.
-Proof.
-intros.
-remember (MkEquality s0 s1 b) as H1.
-clear HeqH1.
-fsetdec.
-Qed.
-
-Lemma ThisLemmaWasFailing : forall ( s0 s1 : NatSet.t )
- ( a b : nat ),
- NatSet.In a s0
- -> NatSet.In a s1.
-Proof.
-intros.
-remember (MkEquality s0 s1 b) as H1.
-fsetdec.
-(*
-Error: Tactic failure: because the goal is beyond the scope of this tactic.
-*)
-Qed. \ No newline at end of file