X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Flibrary%2Falgebra%2Fsemigroups.ma;h=12ff9531155cc31d19e9aecb8b2a44bb8ba4885f;hb=f7137d4c9643a496396c5335116179087205ac05;hp=5b461d1a4f43edba6acc9e4dd448f0eceb157243;hpb=7f2444c2670cadafddd8785b687ef312158376b0;p=helm.git diff --git a/matita/library/algebra/semigroups.ma b/matita/library/algebra/semigroups.ma index 5b461d1a4..12ff95311 100644 --- a/matita/library/algebra/semigroups.ma +++ b/matita/library/algebra/semigroups.ma @@ -23,10 +23,6 @@ record Magma : Type ≝ op: carrier → carrier → carrier }. -notation < "M" for @{ 'carrier $M }. -interpretation "carrier coercion" 'carrier S = - (cic:/matita/algebra/semigroups/carrier.con S). - notation "hvbox(a break \middot b)" left associative with precedence 55 for @{ 'magma_op $a $b }. @@ -37,17 +33,13 @@ interpretation "magma operation" 'magma_op a b = (* Semigroups *) record isSemiGroup (M:Magma) : Prop ≝ - { associative: associative ? (op M) }. + { op_associative: associative ? (op M) }. record SemiGroup : Type ≝ { magma:> Magma; semigroup_properties:> isSemiGroup magma }. -notation < "S" for @{ 'magma $S }. -interpretation "magma coercion" 'magma S = - (cic:/matita/algebra/semigroups/magma.con S). - definition is_left_unit ≝ λS:SemiGroup. λe:S. ∀x:S. e·x = x.