Zulip Chat Archive

Stream: general

Topic: unknown identifier 'category_theory.category.comp'


ZHAO Jinxiang (Aug 13 2022 at 02:43):

https://leanprover-community.github.io/theories/category_theory.html

import category_theory.types
import category_theory.category.basic

namespace playground

local notation f `  `:80 g:80 := category_theory.category.comp g f

example : (  ) := id  nat.succ
example : (  ) := category_theory.category_struct.comp id nat.succ
example : (  ) := nat.succ  id
end playground

image.png
Why this doesn't work?

Junyan Xu (Aug 13 2022 at 02:49):

I think it's called docs#category_theory.category_struct.comp ?

Junyan Xu (Aug 13 2022 at 02:51):

The page https://leanprover-community.github.io/theories/category_theory.html may be slightly outdated

ZHAO Jinxiang (Aug 13 2022 at 02:56):

Thanks!


Last updated: Dec 20 2023 at 11:08 UTC