From: Claudio Sacerdoti Coen Date: Sun, 28 Dec 2008 19:49:23 +0000 (+0000) Subject: equivalence_relations made uniform w.r.t. universe level X-Git-Tag: make_still_working~4309 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=d93c87f76076e1ad4b6a87e45d0322eb72f7e492;p=helm.git equivalence_relations made uniform w.r.t. universe level However, there is still a bug related to universes, which I do not understand. --- diff --git a/helm/software/matita/contribs/formal_topology/overlap/categories.ma b/helm/software/matita/contribs/formal_topology/overlap/categories.ma index 6b91c99b8..ea246ef6c 100644 --- a/helm/software/matita/contribs/formal_topology/overlap/categories.ma +++ b/helm/software/matita/contribs/formal_topology/overlap/categories.ma @@ -57,7 +57,7 @@ definition reflexive1 ≝ λA:Type1.λR:A→A→CProp1.∀x:A.R x x. definition symmetric1 ≝ λC:Type1.λlt:C→C→CProp1. ∀x,y:C.lt x y → lt y x. definition transitive1 ≝ λA:Type1.λR:A→A→CProp1.∀x,y,z:A.R x y → R y z → R x z. -record equivalence_relation1 (A:Type1) : Type1 ≝ +record equivalence_relation1 (A:Type1) : Type2 ≝ { eq_rel1:2> A → A → CProp1; refl1: reflexive1 ? eq_rel1; sym1: symmetric1 ? eq_rel1; @@ -88,7 +88,7 @@ definition reflexive2 ≝ λA:Type2.λR:A→A→CProp2.∀x:A.R x x. definition symmetric2 ≝ λC:Type2.λlt:C→C→CProp2. ∀x,y:C.lt x y → lt y x. definition transitive2 ≝ λA:Type2.λR:A→A→CProp2.∀x,y,z:A.R x y → R y z → R x z. -record equivalence_relation2 (A:Type2) : Type2 ≝ +record equivalence_relation2 (A:Type2) : Type3 ≝ { eq_rel2:2> A → A → CProp2; refl2: reflexive2 ? eq_rel2; sym2: symmetric2 ? eq_rel2; @@ -297,7 +297,7 @@ interpretation "category assoc" 'assoc = (comp_assoc ________). (* bug grande come una casa? Ma come fa a passare la quantificazione larga??? *) -definition unary_morphism_setoid: setoid → setoid → setoid. +definition unary_morphism_setoid: setoid → setoid → setoid1. intros; constructor 1; [ apply (unary_morphism s s1);