]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/matita.lang
fixed, it seems the new handling of hints in some rare cases made inference stupid
[helm.git] / helm / software / matita / matita.lang
1 <?xml version="1.0" encoding="UTF-8"?>
2 <language _name="grafite" version="1.0" _section="Sources" mimetypes="text/x-matita">
3
4   <escape-char>\</escape-char>
5
6   <block-comment _name = "Commented Code" style = "Comment">
7     <start-regex>\(\*\*[^\)]</start-regex>
8     <end-regex>[^\(]\*\*\)</end-regex>
9   </block-comment>
10
11   <block-comment _name = "Block Comment" style = "Comment">
12     <start-regex>\(\*</start-regex>
13     <end-regex>\*\)</end-regex>
14   </block-comment>
15
16   <keyword-list _name = "Theorem Kinds" style = "Keyword" case-sensitive="TRUE">
17     <keyword>theorem</keyword>
18     <keyword>definition</keyword>
19     <keyword>lemma</keyword>
20     <keyword>fact</keyword>
21     <keyword>remark</keyword>
22     <keyword>variant</keyword>
23     <keyword>axiom</keyword>
24   </keyword-list>
25     
26   <keyword-list _name = "Commands" style = "Keyword" case-sensitive="TRUE">
27     <keyword>alias</keyword>
28     <keyword>and</keyword>
29     <keyword>as</keyword>
30     <keyword>coercion</keyword>
31     <keyword>nocomposites</keyword>
32     <keyword>coinductive</keyword>
33     <keyword>corec</keyword>
34     <keyword>default</keyword>
35     <keyword>for</keyword>
36     <keyword>include</keyword>
37     <keyword>include'</keyword>
38     <keyword>inductive</keyword>
39     <keyword>in</keyword>
40     <keyword>interpretation</keyword>
41     <keyword>let</keyword>
42     <keyword>match</keyword>
43     <keyword>names</keyword>
44     <keyword>notation</keyword>
45     <keyword>on</keyword>
46     <keyword>qed</keyword>
47     <keyword>rec</keyword>
48     <keyword>record</keyword>
49     <keyword>return</keyword>
50     <keyword>to</keyword>
51     <keyword>using</keyword>
52     <keyword>with</keyword>
53   </keyword-list>
54
55   <pattern-item _name = "Command [" style = "Keyword">
56     <regex>\[</regex>
57   </pattern-item>
58   <pattern-item _name = "Command |" style = "Keyword">
59     <regex>\|</regex>
60   </pattern-item>
61   <pattern-item _name = "Command ]" style = "Keyword">
62     <regex>\]</regex>
63   </pattern-item>
64   <pattern-item _name = "Command {" style = "Keyword">
65     <regex>\{</regex>
66   </pattern-item>
67   <pattern-item _name = "Command }" style = "Keyword">
68     <regex>\}</regex>
69   </pattern-item>
70   <pattern-item _name = "Notation ast mark" style = "Keyword">
71     <regex>@</regex>
72   </pattern-item>
73   <pattern-item _name = "Notation meta mark" style = "Keyword">
74     <regex>\$</regex>
75   </pattern-item>
76
77   <keyword-list _name = "Sorts" style = "Data Type" case-sensitive="TRUE">
78     <keyword>Set</keyword>
79     <keyword>Prop</keyword>
80     <keyword>Type</keyword>
81     <keyword>CProp</keyword>
82   </keyword-list>
83
84   <keyword-list _name = "Tactics" style = "Others 2" case-sensitive="TRUE">
85     <keyword>absurd</keyword>
86     <keyword>apply</keyword>
87     <keyword>applyP</keyword>
88     <keyword>assumption</keyword>
89     <keyword>autobatch</keyword>
90     <keyword>cases</keyword>
91     <keyword>clear</keyword>
92     <keyword>clearbody</keyword>
93     <keyword>change</keyword>
94     <keyword>compose</keyword>
95     <keyword>constructor</keyword>
96     <keyword>contradiction</keyword>
97     <keyword>cut</keyword>
98     <keyword>decompose</keyword>
99     <keyword>destruct</keyword>
100     <keyword>elim</keyword>
101     <keyword>elimType</keyword>
102     <keyword>exact</keyword>
103     <keyword>exists</keyword>
104     <keyword>fail</keyword>
105     <keyword>fold</keyword>
106     <keyword>fourier</keyword>
107     <keyword>fwd</keyword>
108     <keyword>generalize</keyword>
109     <keyword>id</keyword>
110     <keyword>intro</keyword>
111     <keyword>intros</keyword>
112     <keyword>inversion</keyword>
113     <keyword>lapply</keyword>
114     <keyword>linear</keyword>
115     <keyword>left</keyword>
116     <keyword>letin</keyword>
117     <keyword>normalize</keyword>
118     <keyword>reflexivity</keyword>
119     <keyword>replace</keyword>
120     <keyword>rewrite</keyword>
121     <keyword>ring</keyword>
122     <keyword>right</keyword>
123     <keyword>symmetry</keyword>
124     <keyword>simplify</keyword>
125     <keyword>split</keyword>
126     <keyword>to</keyword>
127     <keyword>transitivity</keyword>
128     <keyword>unfold</keyword>
129     <keyword>whd</keyword>
130     <keyword>assume</keyword>
131     <keyword>suppose</keyword>
132     <keyword>by</keyword>
133     <keyword>is</keyword>
134     <keyword>or</keyword>
135     <keyword>equivalent</keyword>
136     <keyword>equivalently</keyword>
137     <keyword>we</keyword> 
138     <keyword>prove</keyword>
139     <keyword>proved</keyword>
140     <keyword>need</keyword>
141     <keyword>proceed</keyword>
142     <keyword>induction</keyword>
143     <keyword>inductive</keyword>
144     <keyword>case</keyword>
145     <keyword>base</keyword>
146     <keyword>let</keyword>
147     <keyword>such</keyword>
148     <keyword>that</keyword>
149     <keyword>by</keyword>
150     <keyword>have</keyword>
151     <keyword>and</keyword>
152     <keyword>the</keyword>
153     <keyword>thesis</keyword>
154     <keyword>becomes</keyword>
155     <keyword>hypothesis</keyword>
156     <keyword>know</keyword>
157     <keyword>case</keyword>              
158     <keyword>obtain</keyword>            
159     <keyword>conclude</keyword>          
160     <keyword>done</keyword>              
161     <keyword>rule</keyword>              
162 </keyword-list>
163
164   <keyword-list _name = "Tacticals" style = "Keyword" case-sensitive="TRUE">
165     <keyword>try</keyword>
166     <keyword>solve</keyword>
167     <keyword>do</keyword>
168     <keyword>repeat</keyword>
169     <keyword>first</keyword>
170     <keyword>focus</keyword>
171     <keyword>unfocus</keyword>
172     <keyword>progress</keyword>
173     <keyword>skip</keyword>
174   </keyword-list>
175
176
177   <keyword-list _name = "Matita Macro" style = "Others 3" case-sensitive="TRUE">
178     <keyword>inline</keyword>
179     <keyword>procedural</keyword>
180     <keyword>check</keyword>
181     <keyword>eval</keyword>
182     <keyword>hint</keyword>
183     <keyword>set</keyword>
184     <keyword>auto</keyword>
185   </keyword-list>
186   
187   <keyword-list _name = "Whelp Macro" style = "Others 3"
188     case-sensitive="TRUE" 
189     beginning-regex="whelp *" 
190     match-empty-string-at-beginning="FALSE"
191     match-empty-string-at-end="FALSE" >
192     <keyword>elim</keyword>
193     <keyword>hint</keyword>
194     <keyword>instance</keyword>
195     <keyword>locate</keyword>
196     <keyword>match</keyword>
197   </keyword-list>
198     
199   <keyword-list _name = "TeX Macro" style = "Preprocessor" 
200     case-sensitive="TRUE" 
201     beginning-regex="\\" 
202     match-empty-string-at-beginning="FALSE"
203     match-empty-string-at-end="FALSE" >
204      <keyword>def</keyword>
205      <keyword>forall</keyword>
206      <keyword>lambda</keyword>
207      <keyword>to</keyword>
208      <keyword>exists</keyword>
209      <keyword>Rightarrow</keyword>
210      <keyword>Assign</keyword>
211      <keyword>land</keyword>
212      <keyword>lor</keyword>
213      <keyword>lnot</keyword>
214      <keyword>liff</keyword>
215      <keyword>subst</keyword>
216      <keyword>vdash</keyword>
217      <keyword>iforall</keyword>
218      <keyword>iexists</keyword>
219   </keyword-list>
220
221   <string _name = "String" style = "String" >
222     <start-regex>&quot;</start-regex>
223     <end-regex>&quot;</end-regex>
224   </string>
225  
226 </language>