diff options
| author | Matthieu Sozeau | 2014-08-08 12:44:17 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2014-08-08 12:49:25 +0200 |
| commit | 758f031bc2e2d4a5ece6d515533fafe3e9df98d5 (patch) | |
| tree | c4526eb222f31b410da3bf92ffd4799e0078c707 /test-suite/bugs | |
| parent | 21994cc4c617582f4f94577c1c582a7b51b7770b (diff) | |
Fix evarconv not applying eta when it used to. Fixes bug#3319.
Diffstat (limited to 'test-suite/bugs')
| -rw-r--r-- | test-suite/bugs/closed/3319.v (renamed from test-suite/bugs/opened/3319.v) | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/test-suite/bugs/opened/3319.v b/test-suite/bugs/closed/3319.v index 7851a08ea4..bb5853ddd3 100644 --- a/test-suite/bugs/opened/3319.v +++ b/test-suite/bugs/closed/3319.v @@ -3,6 +3,7 @@ Set Implicit Arguments. Inductive paths {A : Type} (a : A) : A -> Type := idpath : paths a a where "x = y" := (@paths _ x y) : type_scope. + Record PreCategory := { obj :> Type; morphism : obj -> obj -> Type }. Record NotionOfStructure (X : PreCategory) := { structure :> X -> Type; @@ -14,15 +15,11 @@ Section precategory. Variable P : NotionOfStructure X. Local Notation object := { x : X & P x }. Record morphism' (xa yb : object) := {}. - Fail Lemma issig_morphism xa yb + + Lemma issig_morphism xa yb : { f : morphism X (projT1 xa) (projT1 yb) & is_structure_homomorphism _ _ _ f (projT2 xa) (projT2 yb) } - = morphism' xa yb. (* Toplevel input, characters 169-171: -Error: -In environment -X : PreCategory -P : NotionOfStructure X -xa : {x : _ & ?26 x} -yb : {x : _ & ?26 x} -The term "xa" has type "{x : _ & ?26 x}" while it is expected to have type - "{x : X & P x}". *) + = morphism' xa yb. + Proof. + admit. + Defined.
\ No newline at end of file |
