diff options
Diffstat (limited to 'test-suite')
| -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 |
