definition
monoid :: "(| times :: 'a => 'a => 'a, one :: 'a, ... :: 'b |) => bool"where "monoid M = (\x y z.
times M (times M x y) z = times M x (times M y z) \<and>
times M (one M) x = x \<and> times M x (one M) = x)"
definition
group :: "(| times :: 'a => 'a => 'a, one :: 'a, inv :: 'a => 'a, ... :: 'b |) => bool"where "group G = (monoid G \ (\x. times G (inv G x) x = one G))"
definition
reverse :: "(| times :: 'a => 'a => 'a, one :: 'a, ... :: 'b |) =>
(| times :: 'a => 'a => 'a, one :: 'a, ... :: 'b |)" where "reverse M = M (| times := \x y. times M y x |)"
end
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.