From: Enrico Tassi Date: Sat, 23 Aug 2008 04:08:58 +0000 (+0000) Subject: ... X-Git-Tag: make_still_working~4856 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=420f1adfdb1c29a85f03d0263e575bc1767c8029;p=helm.git ... --- diff --git a/helm/software/matita/tests/color.ma b/helm/software/matita/tests/color.ma new file mode 100644 index 000000000..a00c3f9ff --- /dev/null +++ b/helm/software/matita/tests/color.ma @@ -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