Zulip Chat Archive
Stream: Is there code for X?
Topic: Product of submonoid in commutative monoid
Andrew Yang (Nov 24 2021 at 06:58):
Do we have this somewhere?
example (R : Type*) [comm_monoid R] (N : submonoid R) (M : submonoid R) (x : R) :
x ∈ N ⊔ M ↔ ∃ (y : N) (z : M), x = y * z := sorry
The best I could find is mem_closure_union_iff
, but it is in deprecated/submonoid
.
Yaël Dillies (Nov 24 2021 at 08:39):
Isn't it the definition of the sup on submonoids?
Yaël Dillies (Nov 24 2021 at 08:39):
Yaël Dillies (Nov 24 2021 at 08:43):
Argh no, docs#submonoid.complete_lattice uses docs#complete_lattice_of_Inf to generate the sup
and Sup
fields.
Yaël Dillies (Nov 24 2021 at 08:44):
Either prove your theorem by hand or redefine submonoid.complete_lattice
so that it holds true by definition. Either should be fine.
Kevin Buzzard (Nov 24 2021 at 09:09):
The sup on general submonoids is more complicated -- this only works because of the commutativity assumption
Eric Wieser (Nov 24 2021 at 09:09):
We have docs#submodule.mem_sup
Eric Wieser (Nov 24 2021 at 09:10):
Do we not have docs#submonoid.mem_sup?
Last updated: Dec 20 2023 at 11:08 UTC