]> matita.cs.unibo.it Git - helm.git/commitdiff
...
authorEnrico Tassi <enrico.tassi@inria.fr>
Sat, 23 Aug 2008 04:08:58 +0000 (04:08 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Sat, 23 Aug 2008 04:08:58 +0000 (04:08 +0000)
helm/software/matita/tests/color.ma [new file with mode: 0644]

diff --git a/helm/software/matita/tests/color.ma b/helm/software/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