X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Falgebra%2Fsemigroups.ma;h=539228c8cdef6d600e5741397ce5d3a4020d4275;hb=bccbeb1ec0ef3b55625e4434e693db3cce2e69be;hp=12ff9531155cc31d19e9aecb8b2a44bb8ba4885f;hpb=7815a9150b5581f60e49ad6520f46ac287e073fa;p=helm.git diff --git a/helm/software/matita/library/algebra/semigroups.ma b/helm/software/matita/library/algebra/semigroups.ma index 12ff95311..539228c8c 100644 --- a/helm/software/matita/library/algebra/semigroups.ma +++ b/helm/software/matita/library/algebra/semigroups.ma @@ -18,7 +18,7 @@ include "higher_order_defs/functions.ma". (* Magmas *) -record Magma : Type ≝ +record Magma : Type≝ { carrier:> Type; op: carrier → carrier → carrier }. @@ -32,10 +32,10 @@ interpretation "magma operation" 'magma_op a b = (* Semigroups *) -record isSemiGroup (M:Magma) : Prop ≝ +record isSemiGroup (M:Magma) : Prop≝ { op_associative: associative ? (op M) }. -record SemiGroup : Type ≝ +record SemiGroup : Type≝ { magma:> Magma; semigroup_properties:> isSemiGroup magma }. @@ -51,6 +51,6 @@ theorem is_left_unit_to_is_right_unit_to_eq: is_left_unit ? e → is_right_unit ? e' → e=e'. intros; rewrite < (H e'); - rewrite < (H1 e) in \vdash (? ? % ?); + rewrite < (H1 e) in \vdash (? ? % ?). reflexivity. qed.