Zulip Chat Archive
Stream: mathlib4
Topic: IsModuleFiltration
Jovan Gerbscheid (Jul 31 2025 at 09:16):
While working on lean#9638, I found out that IsModuleFiltration is a bad use of extends:
class IsModuleFiltration (F : ι → σ) (F_lt : outParam <| ι → σ) [IsRingFiltration F F_lt]
(F' : ιM → σM) (F'_lt : outParam <| ιM → σM) : Prop
extends IsFiltration F' F'_lt, SetLike.GradedSMul F F'
This is bad because the instance IsModuleFiltration.toIsFiltration in principle cannot determine the value of F. Should IsFiltration be a (normal) field of the structure, or a parameter similar to [IsRingFiltration F F_lt]? (@Nailin Guan)
Nailin Guan (Jul 31 2025 at 10:02):
I didn't notice it before, if this did help synthizing work, I have nothing against this. I will have a look asap.
Last updated: Dec 20 2025 at 21:32 UTC