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