@@ -241,38 +241,38 @@ instance : CopyDiscardCategory SFinKer.{u} where
241241 rw [Kernel.id_map (by fun_prop)]
242242 simp [Kernel.copy_apply, Kernel.deterministic_apply]
243243
244- instance deterministic_Deterministic (X Y : SFinKer) (f : X.carrier → Y.carrier)
244+ instance Deterministic_deterministic (X Y : SFinKer) (f : X.carrier → Y.carrier)
245245 (hf : Measurable f) :
246246 Deterministic (X := X) (Y := Y) (⟨Kernel.deterministic f hf, inferInstance⟩ : X ⟶ Y) where
247247 hom_comul := by
248248 ext : 1 ; dsimp
249249 rw [Kernel.id_parallelComp_comp_parallelComp_id]
250250 exact (Kernel.deterministic_comp_copy hf).symm
251251
252- lemma id_map_Deterministic (X Y : SFinKer) (f : X.carrier → Y.carrier) (hf : Measurable f) :
252+ lemma Deterministic_id_map (X Y : SFinKer) (f : X.carrier → Y.carrier) (hf : Measurable f) :
253253 Deterministic (X := X) (Y := Y) (⟨Kernel.id.map f, inferInstance⟩ : X ⟶ Y) where
254254 hom_comul := by cat_disch
255255
256256variable {X Y Z : SFinKer}
257257
258258instance : Deterministic (α_ X Y Z).hom :=
259- deterministic_Deterministic ((X ⊗ Y) ⊗ Z)
259+ Deterministic_deterministic ((X ⊗ Y) ⊗ Z)
260260 (X ⊗ Y ⊗ Z) (MeasurableEquiv.prodAssoc) (MeasurableEquiv.measurable _)
261261
262262instance : Deterministic (λ_ X ).hom :=
263- id_map_Deterministic (𝟙_ SFinKer ⊗ X) X Prod.snd (by fun_prop)
263+ Deterministic_id_map (𝟙_ SFinKer ⊗ X) X Prod.snd (by fun_prop)
264264
265265instance : Deterministic (ρ_ X ).hom :=
266- id_map_Deterministic (X ⊗ 𝟙_ SFinKer) X Prod.fst (by fun_prop)
266+ Deterministic_deterministic (X ⊗ 𝟙_ SFinKer) X Prod.fst (by fun_prop)
267267
268268instance : Deterministic (β_ X Y).hom :=
269- deterministic_Deterministic (X ⊗ Y) (Y ⊗ X) Prod.swap (by fun_prop)
269+ Deterministic_deterministic (X ⊗ Y) (Y ⊗ X) Prod.swap (by fun_prop)
270270
271271instance : Deterministic (ε[X]) :=
272- deterministic_Deterministic X (𝟙_ SFinKer) (fun (x : X) ↦ PUnit.unit) (by fun_prop)
272+ Deterministic_deterministic X (𝟙_ SFinKer) (fun (x : X) ↦ PUnit.unit) (by fun_prop)
273273
274274instance : Deterministic (Δ[X]) :=
275- deterministic_Deterministic X (X ⊗ X) (fun (x : X) ↦ (x, x)) (by fun_prop)
275+ Deterministic_deterministic X (X ⊗ X) (fun (x : X) ↦ (x, x)) (by fun_prop)
276276
277277end
278278
0 commit comments