Zulip Chat Archive

Stream: Is there code for X?

Topic: comp_assoc


Yaël Dillies (May 08 2022 at 21:48):

Do we not have associativity of composition somewhere?

@[simp] lemma comp_assoc {α β γ δ : Type*} (h : γ  δ) (g : β  γ) (f : α  β) :
  (h  g)  f = h  (g  f) := rfl

Vincent Beffara (May 08 2022 at 22:01):

docs#function.comp.assoc ?

Yaël Dillies (May 08 2022 at 22:02):

The dots in those names get me confused every time.

Jireh Loreaux (May 09 2022 at 00:59):

I've taken to just omitting . and _ when searching. It has saved me lots of these sorts of headaches.

Yaël Dillies (May 09 2022 at 06:46):

My keyboard was a bit too fiery :grinning:


Last updated: Dec 20 2023 at 11:08 UTC