File tree Expand file tree Collapse file tree
Mathlib/Geometry/Manifold/Category/MfldCat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,14 +100,19 @@ lemma of_carrier (M : MfldCat 𝕜 n) : of (n := n) M.carrier M.E M.H M.I = M :=
100100/-- The type of morphisms in `MfldCat`. -/
101101@[ext]
102102structure Hom (M N : MfldCat.{u, v} 𝕜 n) where
103+ private mk ::
103104 /-- The underlying `C^n` map. -/
104105 hom' : ContMDiffMap M.I N.I M N n
105106
107+ set_option backward.privateInPublic true in
108+ set_option backward.privateInPublic.warn false in
106109instance : Category (MfldCat 𝕜 n) where
107110 Hom M N := Hom M N
108111 id M := ⟨ContMDiffMap.id⟩
109112 comp f g := ⟨g.hom'.comp f.hom'⟩
110113
114+ set_option backward.privateInPublic true in
115+ set_option backward.privateInPublic.warn false in
111116instance : ConcreteCategory (MfldCat 𝕜 n)
112117 (fun M N => ContMDiffMap M.I N.I M N n) where
113118 hom f := f.hom'
@@ -157,11 +162,8 @@ lemma ofHom_id :
157162lemma ofHom_comp (f : ContMDiffMap I I' X Y n) (g : ContMDiffMap I' I'' Y Z n) :
158163 ofHom (g.comp f) = ofHom f ≫ ofHom g := rfl
159164
160-
161165end ofHom
162166
163-
164-
165167instance inhabited : Inhabited (MfldCat 𝕜 n) :=
166168 ⟨of 𝕜 𝕜 𝕜 (modelWithCornersSelf 𝕜 𝕜)⟩
167169
You can’t perform that action at this time.
0 commit comments