Zulip Chat Archive

Stream: Is there code for X?

Topic: Union of proper submodules is proper subset


Oliver Nash (Jul 23 2025 at 14:08):

Does anyone happen to have a proof of this lying around:

import Mathlib.Algebra.Field.Defs
import Mathlib.Algebra.Module.Submodule.Lattice
import Mathlib.Data.Finite.Defs

lemma Submodule.exists_forall_notMem_of_forall_ne_top
    {ι K M : Type*} [Finite ι] [Field K] [Infinite K] [AddCommGroup M] [Module K M]
    (p : ι  Submodule K M) (h :  i, p i  ) :
     x,  i, x  p i := by
  sorry

Oliver Nash (Jul 23 2025 at 14:09):

I note that various stronger forms exist (see e.g., this MO question or this MO question but IMHO this statement would be worth a PR in its own right.

Oliver Nash (Jul 23 2025 at 14:10):

I must also confess this is more of an attempt at nerd-sniping than an honest query, but I think it might be a fun bite-sized exercise for someone.

Oliver Nash (Jul 28 2025 at 16:29):

(In case anyone ever returns to this thread: this became my last sorry so I closed it myself in #27598.)


Last updated: Dec 20 2025 at 21:32 UTC