]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/nat/permutation.ma
added interpretation for \naturals, \rationals, and \integers
[helm.git] / helm / software / matita / library / nat / permutation.ma
index 209c0c12e2744783f644ac5c023b8e5c7bf0f62e..4654f33fca7efa46bc1d58daa2ebfea4df0f5f2c 100644 (file)
@@ -12,8 +12,6 @@
 (*                                                                        *)
 (**************************************************************************)
 
-set "baseuri" "cic:/matita/nat/permutation".
-
 include "nat/compare.ma".
 include "nat/sigma_and_pi.ma".
 
@@ -74,12 +72,10 @@ match eqb n i with
       [ true \Rightarrow i
       | false \Rightarrow n]].
 
-notation < "(❲i↹j❳)n"
-  right associative with precedence 71 
+notation < "(❲i↹j❳)n" with precedence 71 
 for @{ 'transposition $i $j $n}.
 
-notation < "(❲i \atop j❳)n"
-  right associative with precedence 71 
+notation < "(❲i \atop j❳)n" with precedence 71 
 for @{ 'transposition $i $j $n}.
 
 interpretation "natural transposition" 'transposition i j n =
@@ -620,7 +616,7 @@ apply le_S.apply le_n.assumption.
 apply (trans_eq ? ? (map_iter_i (S k) (\lambda m. g 
 (transpose i (S(m1 + i)) (transpose (S(m1 + i)) (S(S(m1 + i))) m))) f n)).
 apply (H2 O ? ? (S(m1+i))).
-unfold lt.apply le_S_S.apply le_O_n.
+unfold lt.apply le_S_S.apply le_O_n.id.
 apply (trans_le ? i).assumption.
 change with (i \le (S m1)+i).apply le_plus_n.
 exact H4.