/-
Copyright (c) 2023 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
module
public import Mathlib.Basic.NNReal.Defs
public import Mathlib.Basic.Real.Star
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# The non-negative real numbers are a \*-ring, with the trivial \*-structure
-/
public section
assert_not_exists Finset
open scoped NNReal
instance : StarRing ℝ≥0 := starRingOfComm
instance : TrivialStar ℝ≥0 where
star_trivial _ := rfl
instance : StarModule ℝ≥0 ℝ where
star_smul := by simp only [star_trivial, forall_const]
instance {E : Type*} [AddCommMonoid E] [Star E] [Module ℝ E] [StarModule ℝ E] :
StarModule ℝ≥0 E where
star_smul _ := star_smul (_ : ℝ)
¤ Dauer der Verarbeitung: 0.2 Sekunden
¤
*© Formatika GbR, Deutschland