author | wenzelm |
Wed, 08 Jun 2011 22:06:05 +0200 | |
changeset 43287 | acc680ab6204 |
parent 41628 | src/Tools/jEdit/dist-template/README.html@ed4d793f0c26 |
child 43470 | 3d42dea16357 |
permissions | -rw-r--r-- |
41628 | 1 |
<?xml version="1.0" encoding="UTF-8" ?> |
39591 | 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
4 |
||
5 |
<head> |
|
6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
|
39738 | 7 |
<title>Notes on the Isabelle/jEdit Prover IDE</title> |
39591 | 8 |
</head> |
9 |
||
10 |
<body> |
|
11 |
||
41628 | 12 |
<h2>The Isabelle/jEdit Prover IDE</h2> |
39591 | 13 |
|
14 |
<ul> |
|
15 |
||
39738 | 16 |
<li>The original jEdit look-and-feel is generally preserved, although |
17 |
some default properties have been changed to accommodate Isabelle |
|
40894 | 18 |
(e.g. the text area font).</li> |
39736 | 19 |
|
39738 | 20 |
<li>Formal Isabelle/Isar text is checked asynchronously while editing. |
21 |
The user is in full command of the editor, and the prover refrains |
|
22 |
from locking portions of the buffer etc.</li> |
|
39591 | 23 |
|
39738 | 24 |
<li>Prover feedback works via tooltips, syntax highlighting, colors, |
25 |
boxes etc. based on semantic markup provided by Isabelle in the |
|
26 |
background.</li> |
|
27 |
||
28 |
<li>Using the mouse together with the modifier key <tt>C</tt> |
|
29 |
(<tt>CONTROL</tt> on Linux or Windows, |
|
39736 | 30 |
<tt>COMMAND</tt> on Mac OS) exposes additional information.</li> |
31 |
||
39738 | 32 |
<li>Dockable panels (e.g. <em>Output</em>) are managed as independent |
33 |
windows by jEdit, which also allows multiple instances.</li> |
|
39591 | 34 |
|
35 |
</ul> |
|
36 |
||
41628 | 37 |
|
38 |
<h2>Isabelle symbols and fonts</h2> |
|
39 |
||
40 |
<ul> |
|
41 |
||
42 |
<li>Isabelle supports infinitely many symbols:<br/> |
|
43 |
α, β, γ, …<br/> |
|
44 |
∀, ∃, ∨, ∧, ⟶, ⟷, …<br/> |
|
45 |
≤, ≥, ⊓, ⊔, …<br/> |
|
46 |
ℵ, △, ∇, …<br/> |
|
47 |
<tt>\<foo></tt>, <tt>\<bar></tt>, <tt>\<baz></tt>, …<br/> |
|
48 |
</li> |
|
49 |
||
50 |
<li>A default mapping relates some Isabelle symbols to Unicode points |
|
51 |
(see <tt>$ISABELLE_HOME/etc/symbols</tt> and <tt>$ISABELLE_HOME_USER/etc/symbols</tt>). |
|
52 |
</li> |
|
53 |
||
54 |
<li>The <em>IsabelleText</em> font ensures that Unicode points are actually |
|
55 |
seen on the screen (or printer). |
|
56 |
</li> |
|
57 |
||
58 |
<li>Input methods: |
|
59 |
<ul> |
|
60 |
<li>copy/paste from decoded source files</li> |
|
61 |
<li>copy/paste from prover output</li> |
|
62 |
<li>completion provided by Isabelle plugin, e.g.<br/> |
|
63 |
||
64 |
<table border="1"> |
|
65 |
<tr><th><b>name</b></th> <th><b>abbreviation</b></th> <th><b>symbol</b></th></tr> |
|
66 |
||
67 |
<tr><td>lambda</td> <td></td> <td>λ</td></tr> |
|
68 |
<tr><td>Rightarrow</td> <td><tt>=></tt></td> <td>⇒</td></tr> |
|
69 |
<tr><td>Longrightarrow</td> <td><tt>==></tt></td> <td>⟹</td></tr> |
|
70 |
||
71 |
<tr><td>And</td> <td><tt>!!</tt></td> <td>⋀</td></tr> |
|
72 |
<tr><td>equiv</td> <td><tt>==</tt></td> <td>≡</td></tr> |
|
73 |
||
74 |
<tr><td>forall</td> <td><tt>!</tt></td> <td>∀</td></tr> |
|
75 |
<tr><td>exists</td> <td><tt>?</tt></td> <td>∃</td></tr> |
|
76 |
<tr><td>longrightarrow</td> <td><tt>--></tt></td> <td>⟶</td></tr> |
|
77 |
<tr><td>and</td> <td><tt>/\</tt></td> <td>∧</td></tr> |
|
78 |
<tr><td>or</td> <td><tt>\/</tt></td> <td>∨</td></tr> |
|
79 |
<tr><td>not</td> <td><tt>~ </tt></td> <td>¬</td></tr> |
|
80 |
<tr><td>noteq</td> <td><tt>~=</tt></td> <td>≠</td></tr> |
|
81 |
<tr><td>in</td> <td><tt>:</tt></td> <td>∈</td></tr> |
|
82 |
<tr><td>notin</td> <td><tt>~:</tt></td> <td>∉</td></tr> |
|
83 |
</table> |
|
84 |
</li> |
|
85 |
</ul> |
|
86 |
</li> |
|
87 |
||
88 |
<li><b>NOTE:</b> The above abbreviations refer to the input method. |
|
89 |
The logical notation provides ASCII alternatives that often |
|
90 |
coincide, but deviate occasionally. |
|
91 |
</li> |
|
92 |
||
93 |
<li><b>NOTE:</b> Generic jEdit abbreviations or plugins perform similar |
|
94 |
source replacement operations; this works for Isabelle as long |
|
95 |
as the Unicode sequences coincide with the symbol mapping. |
|
96 |
</li> |
|
97 |
||
98 |
</ul> |
|
99 |
||
100 |
||
41538
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
101 |
<h2>Limitations and workrounds (January 2011)</h2> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
102 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
103 |
<ul> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
104 |
<li>No way to start/stop prover or switch to a different logic.<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
105 |
<em>Workaround:</em> Change options and restart editor.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
106 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
107 |
<li>Multiple theory buffers cannot depend on each other, imports are |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
108 |
resolved via the file-system.<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
109 |
<em>Workaround:</em> Save/reload files manually.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
110 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
111 |
<li>No reclaiming of old/unused document versions in prover or |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
112 |
editor.<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
113 |
<em>Workaround:</em> Avoid large files; restart after a few hours of use.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
114 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
115 |
<li>Incremental reparsing sometimes produces unexpected command |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
116 |
spans.<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
117 |
<em>Workaround:</em> Cut/paste larger parts or reload buffer.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
118 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
119 |
<li>Command execution sometimes gets stuck (purple background).<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
120 |
<em>Workaround:</em> Force reparsing as above.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
121 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
122 |
<li>Odd behavior of some diagnostic commands, notably those |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
123 |
starting external processes asynchronously |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
124 |
(e.g. <tt>thy_deps</tt>, <tt>sledgehammer</tt>).<br/> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
125 |
<em>Workaround:</em> Avoid such commands.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
126 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
127 |
<li>No support for non-local markup, e.g. commands reporting on |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
128 |
previous commands (proof end on proof head), or markup produced by |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
129 |
loading external files.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
130 |
|
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
131 |
<li>General lack of various conveniences known from Proof |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
132 |
General.</li> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
133 |
</ul> |
d060ccad02bd
updated Isabelle/jEdit limitations and workarounds;
wenzelm
parents:
40894
diff
changeset
|
134 |
|
39591 | 135 |
</body> |
136 |
</html> |
|
137 |