]> matita.cs.unibo.it Git - helm.git/blobdiff - matitaB/matita/tests/color.ma
fork for Matita version B
[helm.git] / matitaB / matita / tests / color.ma
diff --git a/matitaB/matita/tests/color.ma b/matitaB/matita/tests/color.ma
new file mode 100644 (file)
index 0000000..a00c3f9
--- /dev/null
@@ -0,0 +1,26 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
+notation < "mstyle mathsize big color #ff0000 background #0000ff scriptsizemultiplier 0.8 (x)" 
+ non associative with precedence 50 for @{'red $x}.
+
+definition red : ∀X:Type.∀t:X.X ≝ λT.λt.t.
+interpretation "red" 'red x = (red _ x).
+
+include "logic/equality.ma".
+include "nat/nat.ma".
+alias num (instance 0) = "natural number".
+lemma foo : red ? 3 = 3.
+reflexivity.
+qed.
\ No newline at end of file