]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/library/nat/div_and_mod.ma
More notation here and there.
[helm.git] / helm / matita / library / nat / div_and_mod.ma
index 73344c7c46b0cf1466b0aea949755ced792fc13a..af5ee9808ea6556976ceb6a9ec392f63d50cd06e 100644 (file)
@@ -101,7 +101,7 @@ definition div_mod_spec : nat \to nat \to nat \to nat \to Prop \def
 \lambda n,m,q,r:nat.r < m \land n=q*m+r).
 *)
 
-theorem div_mod_spec_to_not_eq_O: \forall n,m,q,r.(div_mod_spec n m q r) \to \lnot m=O.
+theorem div_mod_spec_to_not_eq_O: \forall n,m,q,r.(div_mod_spec n m q r) \to m \neq O.
 intros 4.simplify.intros.elim H.absurd le (S r) O.
 rewrite < H1.assumption.
 exact not_le_Sn_O r.