]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/algebra/monoids.ma
- applyTransformation: bugfix in the rendering of records
[helm.git] / helm / software / matita / library / algebra / monoids.ma
index 9fc13f91e958bd46b730dbaf333884651e3f87e3..36de5a369d47eae97a210e6d0f7c8c64362e38a1 100644 (file)
@@ -19,6 +19,9 @@ record PreMonoid : Type ≝
    e: magma
  }.
 
+(* FG: the interpretation goes just after its definition *)
+interpretation "Monoid unit" 'neutral = (e ?).
+
 record isMonoid (M:PreMonoid) : Prop ≝
  { is_semi_group:> isSemiGroup M;
    e_is_left_unit:
@@ -31,8 +34,6 @@ record Monoid : Type ≝
  { premonoid:> PreMonoid;
    monoid_properties:> isMonoid premonoid 
  }.
-
-interpretation "Monoid unit" 'neutral = (e ?).
   
 definition is_left_inverse ≝
  λM:Monoid.