]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/lib/arithmetics/congruence.ma
New notation for congruence
[helm.git] / matita / matita / lib / arithmetics / congruence.ma
index 075a1c6c32bddbe7b79d9ee0f96a2f2fe453b038..acf873f85d0aeece079d997eab2f11a263cc1d24 100644 (file)
@@ -15,6 +15,10 @@ definition S_mod ≝ λn,m:nat. S m \mod n.
 
 definition congruent ≝ λn,m,p:nat. mod n p = mod m p.
 
+notation "hvbox(n break ≅_{p} m)"
+  non associative with precedence 45
+for @{ 'congruent $n $m $p }.
+
 interpretation "congruent" 'congruent n m p = (congruent n m p).
 
 theorem congruent_n_n: ∀n,p:nat.congruent n n p.