Zulip Chat Archive

Stream: Is there code for X?

Topic: pi subgroups


Joachim Breitner (Feb 03 2022 at 14:02):

I see we have

/-- Given subgroups H, K of groups G, N respectively, H × K as a subgroup of G × N. -/
def subgroup.prod {G : Type u_1} [group G] {N : Type u_3} [group N] (H : subgroup G) (K : subgroup N) : subgroup (G × N)

but I don’t see corresponding notions for subgroups of pi groups (i.e. infinite products). Are they missing so far?

Yaël Dillies (Feb 03 2022 at 14:07):

It would be called subgroup.pi, so I guess we don't!

Joachim Breitner (Feb 03 2022 at 14:10):

Ok, on it.

Joachim Breitner (Feb 03 2022 at 14:37):

Why is some groupy theory stuff under algebra(e.g. algebra.group.pi) and others under group_theory? How to decide what goes where?

Yaël Dillies (Feb 03 2022 at 14:39):

It depends on whether you see group as an algebraic structure belonging in the algebraic hierarchy, or as an object of study of its own. The separation is quite empirical.

Joachim Breitner (Feb 03 2022 at 14:46):

Before I go on proving the necessary lemmas (like those that we have for subgroup.prod), how is this for the definition?
https://github.com/leanprover-community/mathlib/pull/11801/files

Yaël Dillies (Feb 03 2022 at 15:17):

You can simplify the def of carrier to {f | ∀ i, f i ∈ s i} but I'm not sure it's terribly useful.

Joachim Breitner (Feb 03 2022 at 15:55):

It would make these silly trivial arguments go away, and some of the lemmas would become refl that otherwise aren’t. But it would mean not using set.pi. But maybe it’s nicer indeed.

Yury G. Kudryashov (Feb 03 2022 at 16:01):

Another option is to copy API of set.pi and take an argument I : set η

Joachim Breitner (Feb 03 2022 at 16:04):

Hmm, not sure how useful that’s is. \Pi doesn’t have an I, so why expect it for subgroups. We can generalize later if needed?

Yury G. Kudryashov (Feb 03 2022 at 16:19):

I don't know if it's useful either. Depends on how often you want to restrict only some coordinates.

Yury G. Kudryashov (Feb 03 2022 at 16:20):

If you don't go this way, then you should drop set.pi and do what @Yaël Dillies suggested.

Yaël Dillies (Feb 03 2022 at 16:21):

Agreed with everything Yury said.

Eric Wieser (Feb 03 2022 at 16:30):

Do we have docs#submodule.pi?

Eric Wieser (Feb 03 2022 at 16:31):

Yes, we do - so the subgroup API should match

Joachim Breitner (Feb 03 2022 at 16:50):

Hmm, ok, fair point. Will adjust.


Last updated: Dec 20 2023 at 11:08 UTC