]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/tests/color.ma
Preparing for 0.5.9 release.
[helm.git] / helm / software / matita / tests / color.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 notation < "mstyle mathsize big color #ff0000 background #0000ff scriptsizemultiplier 0.8 (x)" 
16  non associative with precedence 50 for @{'red $x}.
17
18 definition red : ∀X:Type.∀t:X.X ≝ λT.λt.t.
19 interpretation "red" 'red x = (red _ x).
20
21 include "logic/equality.ma".
22 include "nat/nat.ma".
23 alias num (instance 0) = "natural number".
24 lemma foo : red ? 3 = 3.
25 reflexivity.
26 qed.