Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Defs.lean   Sprache: Lean

 

module
import Mathlib.Algebra.MonoidAlgebra.Defs

variable {R M A} [Semiring R] [Monoid M] [AddMonoid A]
section Notation
open scoped MonoidAlgebra AddMonoidAlgebra

-- TODO: could resolve ambiguity based on Monoid / AddMonoid
/--
error: Ambiguous term
  R[M]
Possible interpretations:
  R[M] : Type (max _ _)
  ⏎
  R[M] : Type (max _ _)
-/

#guard_msgs in
theorem test_1 : R[M] = MonoidAlgebra R M := rfl

/--
error: Ambiguous term
  R[A]
Possible interpretations:
  R[A] : Type (max _ _)
  ⏎
  R[A] : Type (max _ _)
-/

#guard_msgs in
theorem test_2 : R[A] = AddMonoidAlgebra R A := rfl

-- TODO: should round-trip.
/-- info: R[R] : Type u_1 -/
#guard_msgs in
#check AddMonoidAlgebra R R

/--
error: Ambiguous term
  R[R]
Possible interpretations:
  R[R] : Type _
  ⏎
  R[R] : Type _
-/

#guard_msgs in
#check R[R]

end Notation

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,088
#Domains=862,458