Zulip Chat Archive
Stream: maths
Topic: Coercion to/from `Germ`
Yury G. Kudryashov (Jul 31 2023 at 18:10):
Currently, two parts of Mathlib
have different approaches to coercions to/from docs#Filter.Germ
- generic
Filter.Germ
code defines coercions fromα → β
andβ
toGerm l β
; - docs#MeasureTheory.AEEqFun and docs#MeasureTheory.Lp defines a coercion from an a.e.-defined function (a.k.a.
Germ μ.ae _
) to functions and no coercion in the other direction.
Should we unify these approaches? One way to deal with it is to
- rename all theorems about coercion of
α → β
toGerm l β
to usemk
instead ofcoe
; - same with coercion of
β
toGerm l β
andconst
; - move these :up: two coercions to a scope.
Note that we can't generalize the AEEqFun
coercion because it chooses a measurable representative.
Yury G. Kudryashov (Jul 31 2023 at 18:10):
Of course, another approach is to leave everything as is.
Last updated: Dec 20 2023 at 11:08 UTC