∀ {R : Type u_2} {M : Type u_3} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : TopologicalSpace M]
  [inst_3 : Module R M] [inst_4 : SizeOf R] [inst_5 : SizeOf M] (toSubmodule : Submodule R M)
  (isClosed' : IsClosed toSubmodule.carrier),
  sizeOf { toSubmodule := toSubmodule, isClosed' := isClosed' } = 1 + sizeOf toSubmodule + sizeOf isClosed'