Skip to content

Commit e5b6562

Browse files
committed
rename
1 parent 1d9b808 commit e5b6562

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Mathlib/Probability/Kernel/Category/SFinKer.lean

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

256256
variable {X Y Z : SFinKer}
257257

258258
instance : 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

262262
instance : 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

265265
instance : 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

268268
instance : 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

271271
instance : 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

274274
instance : 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

277277
end
278278

0 commit comments

Comments
 (0)