Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/Algebra/Module/     Datei vom 15.10.2026 mit Größe 825 B image not shown  

Quelle  LocalizedModule.lean   Sprache: Lean

 

module
import Mathlib

/-! We test that the instances on `LocalizedModule` and `Localization` are reducibly equal. -/

variable {R : Type*} [CommRing R] {S : Submonoid R}

example : Localization S = LocalizedModule S R := by
  with_reducible rfl

set_option backward.isDefEq.respectTransparency false in
example : OreLocalization.instMonoid = LocalizedModule.instMonoid (A := R) (S := S) := by
  with_reducible_and_instances rfl

set_option backward.isDefEq.respectTransparency false in
example : (LocalizedModule.instCommRing : CommRing R[S⁻¹]) = OreLocalization.instCommRing := by
  with_reducible_and_instances rfl

set_option backward.isDefEq.respectTransparency false in
example : (LocalizedModule.algebra' : Algebra R (LocalizedModule S R)) =
    OreLocalization.instAlgebra := by
  with_reducible_and_instances rfl

Messung
CHZG
9710010098

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland