Zulip Chat Archive

Stream: mathlib4

Topic: reducible non-instances


Yaël Dillies (Jan 26 2023 at 19:16):

In !4#1725 it seems that making docs4#Function.Injective.addGroupWtihOne reducible makes a bunch of things break in Data.Real.Basic. Should we review the note reducible non-instances. Let me also remark that it could have to do with docs4#AbsoluteValue not having a hom class (as I'm hitting similar errors in !4#1238.

Floris van Doorn (Jan 27 2023 at 11:42):

What is causing these errors? Are reducible non-instances unfolded by simp and that is causing issues?
If simp unfolds reducible declarations but not instances, maybe we can mark the declarations to have the same reducibility as instances? (This requires a core change, since docs4#Lean.ReducibilityStatus doesn't have the option "instances" that docs4#Lean.Meta.TransparencyMode has.)


Last updated: Dec 20 2023 at 11:08 UTC