Subsemigroup_Closure_Test
Provedproofwikisubsemigroups
To show that (T, *) is a subsemigroup of a semigroup (S, *), it suffices to show T is a subset of S and T is closed under the operation.
Preamble
import Mathlib.Algebra.Group.Subsemigroup.Basic
Formal statement
theorem Subsemigroup_Closure_Test {M : Type _} [Semigroup M] {S : Subsemigroup M} : ↑S ⊆ (Set.univ : Set M) := by sorrySource