summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/shouldsucceed/2404.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/2404.v
parent420f78b2caeaaddc6fe484565b2d0e49c66888e5 (diff)
Imported Upstream version 8.5~beta1+dfsg
Diffstat (limited to 'test-suite/bugs/closed/shouldsucceed/2404.v')
-rw-r--r--test-suite/bugs/closed/shouldsucceed/2404.v46
1 files changed, 0 insertions, 46 deletions
diff --git a/test-suite/bugs/closed/shouldsucceed/2404.v b/test-suite/bugs/closed/shouldsucceed/2404.v
deleted file mode 100644
index fe8eba54..00000000
--- a/test-suite/bugs/closed/shouldsucceed/2404.v
+++ /dev/null
@@ -1,46 +0,0 @@
-(* Check that dependencies in the indices of the type of the terms to
- match are taken into account and correctly generalized *)
-
-Require Import Relations.Relation_Definitions.
-Require Import Basics.
-
-Record Base := mkBase
- {(* Primitives *)
- World : Set
- (* Names are real, links are theoretical *)
- ; Name : World -> Set
-
- ; wweak : World -> World -> Prop
-
- ; exportw : forall a b : World, (wweak a b) -> (Name b) -> option (Name a)
-}.
-
-Section Derived.
- Variable base : Base.
- Definition bWorld := World base.
- Definition bName := Name base.
- Definition bexportw := exportw base.
- Definition bwweak := wweak base.
-
- Implicit Arguments bexportw [a b].
-
-Inductive RstarSetProof {I : Type} (T : I -> I -> Type) : I -> I -> Type :=
- starReflS : forall a, RstarSetProof T a a
-| starTransS : forall i j k, T i j -> (RstarSetProof T j k) -> RstarSetProof T i k.
-
-Implicit Arguments starTransS [I T i j k].
-
-Definition RstarInv {A : Set} (rel : relation A) : A -> A -> Type := (flip (RstarSetProof (flip rel))).
-
-Definition bwweakFlip (b a : bWorld) : Prop := (bwweak a b).
-Definition Rweak : forall a b : bWorld, Type := RstarInv bwweak.
-
-Fixpoint exportRweak {a b} (aRWb : Rweak a b) (y : bName b) : option (bName a) :=
- match aRWb,y with
- | starReflS a, y' => Some y'
- | starTransS i j k jWk jRWi, y' =>
- match (bexportw jWk y) with
- | Some x => exportRweak jRWi x
- | None => None
- end
- end.