Zulip Chat Archive

Stream: new members

Topic: Sublattice to lattice


Matúš Behun (Feb 18 2021 at 21:54):

Anybody willing to point me at right direction? I am trying to make lattice from sublattice. As a template for creating sublattice I am using submonoid from src/group_theory/submonoid My code is here https://pastebin.com/raw/CAamfhHv

Kevin Buzzard (Feb 18 2021 at 21:55):

Do you have a question?

Matúš Behun (Feb 18 2021 at 22:01):

Yeah seems to me, by the output of infoview that I am missing some definition by the looking of output at info overview. I am still new to this and I am basically trying to copy functionality from here https://github.com/leanprover-community/mathlib/blob/master/src/group_theory/submonoid/operations.lean#L326 but no clue. Even pointing me at documentation would help. Another question is this right approach to make sublattice definition for mathlib I would like to make pull request later on.

Kevin Buzzard (Feb 18 2021 at 22:01):

At first glance it looks great!

Matúš Behun (Feb 18 2021 at 22:08):

Thanks, but most of it is just appropriated code from submonoid.

Matúš Behun (Feb 18 2021 at 22:56):

Oh I probably get it now I am missing definition for function.injective.lattice

Kevin Buzzard (Feb 18 2021 at 23:32):

You randomly leave the sublattice namespace, so your ext and ext' are in the root namespace, which is not good.

Matúš Behun (Feb 18 2021 at 23:39):

thank you


Last updated: Dec 20 2023 at 11:08 UTC