/-
Copyright (c) 2024 Junyan Xu. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Junyan Xu
-/
module
public import Mathlib.Algebra.Group.Submonoid.Defs
public import Mathlib.Algebra.GroupWithZero.Divisibility
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Submonoid of primal elements
-/
@[expose] public section
assert_not_exists RelIso Ring
/-- The submonoid of primal elements in a cancellative commutative monoid with zero. -/
def Submonoid.isPrimal (M₀ : Type*) [CommMonoidWithZero M₀] [IsCancelMulZero M₀] :
Submonoid M₀ where
carrier := {a | IsPrimal a}
mul_mem' := .mul
one_mem' := isUnit_one.isPrimal
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland