author | wenzelm |
Mon, 14 Nov 2005 14:36:46 +0100 | |
changeset 18161 | fd3afbf2a883 |
parent 17740 | fc385ce6187d |
child 23434 | b2e7d4c29614 |
permissions | -rw-r--r-- |
15133 | 1 |
<!-- Title: Pure/pgip_isar.xml |
2 |
ID: $Id$ |
|
3 |
Author: David Aspinall, University of Edinburgh |
|
4 |
Christoph Lüth, University of Bremen |
|
5 |
||
6 |
This file contains the configuration messages which configure |
|
7 |
PGIP interfaces for Isabelle/Isar, in particular, explaining |
|
8 |
internal types of objects and operations available on them. |
|
9 |
||
10 |
See http://proofgeneral.inf.ed.ac.uk/kit for more details. |
|
11 |
||
12 |
This file is a contributed part of the Isabelle Distribution. |
|
13 |
||
14 |
STATUS: incomplete and experimental. |
|
15 |
--> |
|
16 |
||
17730
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
17 |
<displayconfig> |
17738
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
18 |
|
17740 | 19 |
<welcomemsg>Welcome to Isabelle/Isar 2005.</welcomemsg> |
17738
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
20 |
|
17740 | 21 |
<!-- Icon for Isabelle interface --> |
22 |
<icon> |
|
23 |
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAHG0lEQVRIx7VW |
|
24 |
WY9cRxU+p6ru0tvtnp7NmRl7PBqPPU5sB8l2FgS2EwVkeEFEQYp4gggJeIEn |
|
25 |
JB4RfwQeeEFikTAIBHFMYiFsBi9x7FnaM+Oe1bP29HZv33ur6hwe2pqMLGOk |
|
26 |
oJzHKlV95/vqnPMVMjN8niHgcw71/O00TfFAAMBBxkKI7uJnBNBaR1FkrQUA |
|
27 |
KaUQAgCsNWmaErHjOEEQOI7zzLP7wP+DQRSuLyz8Oo5rAoVyPACUIn4w89Aa |
|
28 |
U+4dv3DhR4cOnXg+CfV8faKwtblxt9FYIiLf99NUB0FuqbrKzEnCcdz57I/M |
|
29 |
zMyMQgLbI0cOM+mxscNad4hSZsvMlgyRfaoID77W8xgwc5qmQgilXEuir6/P |
|
30 |
dR1jALgLDIDARPu3P0elZwAQUavVImIphVRKSn9rawuRNzbWmckSAAAypLrT |
|
31 |
6bS11lLKg+k/VVpPAxhjWq22tRYRARjRQxAry9WLb7z1cG4OpWAmBCDgOG4t |
|
32 |
LlbqddnTU/R9Rynf97O+72ezWdd19zHwoIha6zAMrSVEZKY0TZeq8w/nflav |
|
33 |
L/m+SmKNQgTF3PTMLhEYA9c/hImRnuFR38lASrZYzL766ndeeeWdfD6/T0sd |
|
34 |
VAYAlHIqlZXp6eWHlUeVyuLq2jrZei6T6etNSqWO72E2oLm5xN1j2lAvaVts |
|
35 |
bTsVkTuetyfae3tZZlBK/VeJpJQAfO2D6Q+uzrZb2tqccke++Nouw2Od1pst |
|
36 |
aoZkt1LXQW9ElF+WQcHV9200bcia1HAu3zcyMul5HiJ20xVCqP30u0sAQMz1 |
|
37 |
ersTpwgYuI2jo3NKCqnyjisQpTGkDdVqnTA0UWLi1Cpg6RpjOJspBEFZCGGt |
|
38 |
SVNNZKVUan+qhGHIzEQ2m3UvXDjfU/K3d5rLyw/IUq4YuK6/vbUJiEIKY1Vt |
|
39 |
LwUAJm4nrAznJAODMZZZWGvTNO1WFxGpg/VjjCEiRIqidrW6niYaEMkCEzmO |
|
40 |
ywAIwPZJ+TMxALCFpuFBydZSrbY1f/8TBzLSy0glHUcJgZ9KpJQCAK1TBKhU |
|
41 |
lodeGDg5OTo7d8cyWquHRw5HUbO2V38yUJlRAFm2hi1zbHFn3uDS1p/++fOP |
|
42 |
yr1+Pj84Nj557vyJt76uAMBa28398fru1NTMR9fvbW3vbWzu3r47I6U9f5aN |
|
43 |
tY1mvafUF7bDVJsnLfykn9Vmamb/uvuT44MiwNS04412DLC0WGk2mhNvXlYA |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u7V2786jf3y4/eDjaGdb |
|
60 |
Wb2O7sXv//gLX73c/T51vTOTybiui8xMRNZaRGGMYSYhJJFtNNq3bs1fvz67 |
|
61 |
slwfGMh88+3Xz549JqXsmkn3SGt7a+3j2+3lR+Wzrx156bQQQimllJJSfmrU |
|
62 |
+5bJzMYYIkZEIRAAtDZa09raThBkyuWgK5cQAoABGBEBkIiIGACIrFLScZz9 |
|
63 |
q5/hyftIB1wImAkREMW+SRERInSHd/eFmJmZlHKkFAfTlVJho9HI5XJPwf6f |
|
64 |
EUWdOO4gimIx+A/pRoFAWyKheQAAAABJRU5ErkJggg== |
|
65 |
</icon> |
|
17738
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
66 |
|
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
67 |
<helpdoc name="Isabelle/HOL Tutorial" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
68 |
descr="A gentle introduction to Isabelle/HOL" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
69 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/tutorial.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
70 |
>tutorial</helpdoc> |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
71 |
<helpdoc name="Isabelle HOL Logic Reference" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
72 |
descr="The Isabelle HOL Logic in detail" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
73 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/logics-HOL.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
74 |
>logics-HOL</helpdoc> |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
75 |
<helpdoc name="Isar Tutorial" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
76 |
descr="An Introduction to the Isar proof language" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
77 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/isar-overview.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
78 |
>isar-overview</helpdoc> |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
79 |
<helpdoc name="Isabelle/Isar Reference" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
80 |
descr="Reference Manual for Isabelle/Isar" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
81 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/isar-ref.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
82 |
>isar-ref</helpdoc> |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
83 |
<helpdoc name="Isabelle Reference manual" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
84 |
descr="Reference Manual for Isabelle" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
85 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/ref.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
86 |
>ref</helpdoc> |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
87 |
<helpdoc name="Isabelle System manual" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
88 |
descr="System Manual: interfaces, output, building logics." |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
89 |
url="http://isabelle.in.tum.de/dist/Isabelle/doc/system.pdf" |
9c7fc0d5cf84
Add helpdocs and welcomemsg here instead of hard wiring in proof_general.ML.
aspinall
parents:
17730
diff
changeset
|
90 |
>system</helpdoc> |
17740 | 91 |
|
92 |
||
15133 | 93 |
<!-- objtypes --> |
94 |
<objtype name="toplevel" descr="top-level context (PGIP internal)"> |
|
95 |
<contains objtype="theory"/> |
|
96 |
</objtype> |
|
97 |
<objtype name="theory" descr="Isabelle theory"> |
|
98 |
<contains objtype="theorem"/> |
|
99 |
<contains objtype="theory"/> |
|
100 |
</objtype> |
|
101 |
<objtype name="theorem" descr="Isabelle theorem"> |
|
17730
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
102 |
<hasprefs prefcategory="Theorem attributes"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
103 |
<haspref name="thm-kind" descr="Theorem kind"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
104 |
<pgipchoice> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
105 |
<pgipconst name="Theorem">theorem</pgipconst> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
106 |
<pgipconst name="Lemma">lemma</pgipconst> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
107 |
<pgipconst name="Corollary">corollary</pgipconst> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
108 |
</pgipchoice> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
109 |
</haspref> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
110 |
<haspref name="thm-simp" descr="Include in simplifier set"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
111 |
<pgipbool/> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
112 |
</haspref> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
113 |
<haspref name="thm-intro" descr="Flag as introduction rule"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
114 |
<pgipbool/> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
115 |
</haspref> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
116 |
<haspref name="thm-elim" descr="Flag as elimination rule"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
117 |
<pgipbool/> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
118 |
</haspref> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
119 |
<haspref name="thm-dest" descr="Flag as destruction rule"> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
120 |
<pgipbool/> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
121 |
</haspref> |
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
122 |
</hasprefs> |
15133 | 123 |
</objtype> |
124 |
<objtype name="term" descr="Isabelle term"> |
|
125 |
<icon> |
|
126 |
R0lGODlhJgAgAIQAAP////r6+uDg4Nra2tnZ2fn5+WFhYUJCQkFBQWBgYMnO |
|
127 |
91xq6K208wsg3XiD7OTm+0FR5CY54Pb29t3d3dfX119fX/T09NbW1tjY2AAA |
|
128 |
AAAAAAAAAAAAAAAAAAAAAAAAACH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh |
|
129 |
+QQBCgAfACwAAAAAJgAgAAAFnCAgjmRpnqgYCAPhvnAsz7BQAIJxIHzv/8Cg |
|
130 |
LyHA6YTI5I8IWLVo0Gjtlqpar9istqRYLBTbMIDRaDDEW7IZrVWf2VYGw1F2 |
|
131 |
yBkP+KnM77/1Jm6AcWV/gyeChyiJioGFjYiPkCWMkyKVlpiTmpBqEJYlEWUR |
|
132 |
XgugDBCjDnmgrZMSExQUUrQ0NgADFUq7SUy5vMBATBYDFxi1yFMAIQA7 |
|
133 |
</icon> |
|
134 |
</objtype> |
|
135 |
<objtype name="type" descr="Isabelle type"> |
|
136 |
<icon> |
|
137 |
R0lGODlhJgAgAIQAAP////r6+uDg4Nra2tnZ2fn5+WFhYUJCQkFBQWBgYOTm |
|
138 |
+62080FR5Asg3SY54Fxq6MnO95Kc73iD7Pb29t3d3dfX119fX/T09NbW1tjY |
|
139 |
2AAAAAAAAAAAAAAAAAAAAAAAACH+FUNyZWF0ZWQgd2l0aCBUaGUgR0lNUAAh |
|
140 |
+QQBCgAfACwAAAAAJgAgAAAFsyAgjmRpnqgYCAPhvnAsz7BQAIJxIHzv/8Cg |
|
141 |
LyHA6YTI5I8IWLVo0Gjtlqpar9istqRYeL9exbaqYDTOaPRijFI40vDGmm16 |
|
142 |
NB74NwOPh9C5DWIidn9VERIkb4UpEYIiZ4tZkJFWEA0MlFYLd5lVmw+dKZ8k |
|
143 |
fqEim4GnoKYAlndiDIisAG9ppawSaauzALkNsrzBwsPEIxMUFRVSyzQ2AAMW |
|
144 |
StJJTNDT10BMFwMYGczfUwAhADs= |
|
145 |
</icon> |
|
146 |
</objtype> |
|
147 |
<objtype name="thmset" descr="Set of Isabelle theorems"> |
|
148 |
<contains objtype="theorem"/> |
|
149 |
</objtype> |
|
150 |
<!-- possible objtypes not yet supported: |
|
151 |
<objtype name="oopsgoal" descr="Abandoned proof"></objtype> |
|
152 |
<objtype name="sorrygoal" descr="Postponed proof"></objtype> |
|
153 |
<objtype name="proof" descr="Completed proof"></objtype> |
|
154 |
<objtype name="method" descr="Isar method or proof step"></objtype> |
|
155 |
--> |
|
156 |
||
157 |
<!-- object operations --> |
|
158 |
||
159 |
<opn name="add to simpset"> |
|
160 |
<opsrc>theorem</opsrc> |
|
161 |
<optrg></optrg> |
|
162 |
<opcmd>declare %1 [simp]</opcmd> |
|
163 |
</opn> |
|
164 |
||
165 |
<opn name="remove from simpset"> |
|
166 |
<opsrc>theorem</opsrc> |
|
167 |
<optrg></optrg> |
|
168 |
<opcmd>declare %1 [simp del]</opcmd> |
|
169 |
</opn> |
|
170 |
||
171 |
<opn name="instantiatevar"> |
|
172 |
<opsrc>theorem term</opsrc> |
|
173 |
<optrg>theorem</optrg> |
|
174 |
<opcmd>%1 [OF %2]</opcmd> |
|
175 |
</opn> |
|
176 |
||
177 |
<!-- interactive operations --> |
|
178 |
<!-- da: this isn't really a good example. |
|
179 |
Isar doesn't have cterms, the "term" command just checks & prints |
|
180 |
a term in the current context. --> |
|
181 |
<opn name="checkterm"> |
|
182 |
<inputform> |
|
183 |
<field name="term"><pgipstring/><prompt>Input a term:</prompt></field> |
|
184 |
</inputform> |
|
185 |
<opsrc></opsrc> |
|
186 |
<optrg>term</optrg> |
|
187 |
<opcmd>term %term</opcmd> |
|
188 |
</opn> |
|
189 |
||
190 |
<!-- proof operations --> |
|
191 |
<opn name="applyrule"> |
|
192 |
<opsrc>ruleset</opsrc> |
|
193 |
<opcmd>apply (rule %1)</opcmd> |
|
194 |
</opn> |
|
195 |
<opn name="applyerule"> |
|
196 |
<opsrc>ruleset</opsrc> |
|
197 |
<opcmd>apply (erule %1)</opcmd> |
|
198 |
</opn> |
|
199 |
<opn name="applydrule"> |
|
200 |
<opsrc>ruleset</opsrc> |
|
201 |
<opcmd>apply (drule %1)</opcmd> |
|
202 |
</opn> |
|
203 |
||
204 |
<!-- introduce new goal --> |
|
17730
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
205 |
<!-- [FIXME: ideally need to generalise substitution for options? in pgipchoice] --> |
15133 | 206 |
<opn name="openlemma"> |
207 |
<inputform> |
|
208 |
<field name="name"><pgipstring/><prompt>Input a name:</prompt></field> |
|
209 |
<field name="term"><pgipstring/><prompt>Input a term:</prompt></field> |
|
210 |
<field name="attributes"> |
|
211 |
<pgipchoice> |
|
15193 | 212 |
<pgipconst name="none"></pgipconst> |
213 |
<pgipconst name="use in global simplifier context">[simp]</pgipconst> |
|
15133 | 214 |
</pgipchoice> |
215 |
<prompt>Attributes:</prompt></field> |
|
216 |
</inputform> |
|
217 |
<opsrc></opsrc> |
|
218 |
<opcmd>lemma %attributes %name : "%term"</opcmd> |
|
219 |
</opn> |
|
220 |
||
17730
643f0f4293ae
Fix for guiconfig -> displayconfig element rename
aspinall
parents:
15193
diff
changeset
|
221 |
</displayconfig> |
15133 | 222 |