Zulip Chat Archive

Stream: mathlib4

Topic: Grothendieck construction simp attributes


joseph hua (May 30 2025 at 22:31):

In Mathlib.CategoryTheory.Grothendieck why is Grothendieck.ι marked with @[simps obj map]while other definitions are marked with just @[simps]? I find that the simp lemmas generated for Grothendieck.ι generate really nasty goals for the user, but it does seem to at times shorten simp proofs.

joseph hua (May 31 2025 at 14:57):

I have found that sometimes I want to rewrite (ι F c).map (eqToHom h) using eqToHom_map, but simp will automatically rewrite using ι_map, which produces a nasty goal


Last updated: Dec 20 2025 at 21:32 UTC