Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
122
Issues
122
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
3b8f70f8
Commit
3b8f70f8
authored
Jul 03, 2011
by
MARCHE Claude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update of getting started with IDE, part 1
parent
d781a155
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
27 deletions
+32
-27
ROADMAP
ROADMAP
+4
-1
doc/gui-0-70-1.png
doc/gui-0-70-1.png
+0
-0
doc/gui-0-70-2.png
doc/gui-0-70-2.png
+0
-0
doc/macros.tex
doc/macros.tex
+1
-1
doc/starting.tex
doc/starting.tex
+27
-25
No files found.
ROADMAP
View file @
3b8f70f8
...
@@ -67,7 +67,8 @@
...
@@ -67,7 +67,8 @@
* Final preparation: put on the web page
* Final preparation: put on the web page
** why3-0.70.tar.gz
** why3-0.70.tar.gz
** manual in PDF
** manual in PDF: TODO: check that macro \todo can be commented out
from ./macros.tex
** API doc in HTML (suggestion: http://why3.lri.fr/api/)
** API doc in HTML (suggestion: http://why3.lri.fr/api/)
Note: check that URL of API doc is correct in doc/api.tex line 9.
Note: check that URL of API doc is correct in doc/api.tex line 9.
** What to put in the annoucement
** What to put in the annoucement
...
@@ -84,6 +85,8 @@
...
@@ -84,6 +85,8 @@
* document new IDE features (C)
* document new IDE features (C)
* update IDE section of starting.tex (C)
* document "Make obsolete" (A)
* document "Make obsolete" (A)
* Distribution of examples: we should distribute those who have an xml file
* Distribution of examples: we should distribute those who have an xml file
...
...
doc/gui-0-70-1.png
0 → 100644
View file @
3b8f70f8
56.8 KB
doc/gui-0-70-2.png
0 → 100644
View file @
3b8f70f8
64.8 KB
doc/macros.tex
View file @
3b8f70f8
\newcommand
{
\todo
}
[1]
{{
\Huge\bfseries
#1
}}
\newcommand
{
\todo
}
[1]
{{
\Huge\bfseries
TODO:
#1
}}
\newcommand
{
\why
}{
\textsf
{
Why3
}
\xspace
}
\newcommand
{
\why
}{
\textsf
{
Why3
}
\xspace
}
\newcommand
{
\whyml
}{
\textsf
{
Why3ML
}
\xspace
}
\newcommand
{
\whyml
}{
\textsf
{
Why3ML
}
\xspace
}
...
...
doc/starting.tex
View file @
3b8f70f8
...
@@ -36,7 +36,7 @@ friendly way. This section presents the basic use of this GUI. Please
...
@@ -36,7 +36,7 @@ friendly way. This section presents the basic use of this GUI. Please
refer to Section~
\ref
{
sec:ideref
}
for a more complete description.
refer to Section~
\ref
{
sec:ideref
}
for a more complete description.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
gui
1.png
}
\includegraphics
[width=\textwidth]
{
gui-0-70-
1.png
}
\caption
{
The GUI when started the very first time
}
\caption
{
The GUI when started the very first time
}
\label
{
fig:gui1
}
\label
{
fig:gui1
}
\end{figure}
\end{figure}
...
@@ -46,34 +46,36 @@ The GUI is launched on the file above as follows.
...
@@ -46,34 +46,36 @@ The GUI is launched on the file above as follows.
why3ide hello
_
proof.why
why3ide hello
_
proof.why
\end{verbatim}
\end{verbatim}
When the GUI is started for the first time, you should get a window
When the GUI is started for the first time, you should get a window
which looks like the screenshot of Figure~
\ref
{
fig:gui1
}
. First of
which looks like the screenshot of Figure~
\ref
{
fig:gui1
}
.
all, the left column is a tool bar which provides different actions to
apply on goals. In this case, the section ``Provers'' is empty, which
The left column is a tool bar which provides different actions to
means that you have not performed prover detection yet. You should do it
apply on goals. The section ``Provers'' displays the provers that were
now using the menu
\textsf
{
File/Detect provers
}
. Second, the middle
detected as installed on your computer
\footnote
{
If not done yet, you
part is a tree view that allows to browse inside the
must perform prover autodetection using
\texttt
{
why3config
theories. Initially, the item of this tree are closed. We can
--detect-provers
}}
. Three provers were detected, in this case
expand this view using the menu
\textsf
{
View/Expand all
}
or its
these are Alt-Ergo~
\cite
{
ergo
}
, Coq~
\cite
{
CoqArt
}
and
shortcut
\textsf
{
Ctrl-E
}
. This will result is something like the
Simplify~
\cite
{
simplify05
}
.
screenshot of Figure~
\ref
{
fig:gui2
}
.
The middle part is a tree view that
allows to browse inside the theories.
% Initially, the item of this tree
% are closed. We can expand this view using the menu \textsf{View/Expand
% all} or its shortcut \textsf{Ctrl-E}. This will result is something
% like the screenshot of Figure~\ref{fig:gui2}.
In this tree view, we have a structured view of the file: this file
contains one theory, itself containg three goals.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
gui
2.png
}
\includegraphics
[width=\textwidth]
{
gui-0-70-
2.png
}
\caption
{
The GUI with
provers detected and tree view expand
ed
}
\caption
{
The GUI with
goal G1 select
ed
}
\label
{
fig:gui2
}
\label
{
fig:gui2
}
\end{figure}
\end{figure}
In Figure~
\ref
{
fig:gui2
}
, we clicked on the row corresponding to
In the tree view, we have now a strctured view of the file: this file
contains one theory, itself containg three goals. In
Figure~
\ref
{
fig:gui2
}
, we also clicked on the row corresponding to
goal
$
G
_
1
$
. The
\emph
{
task
}
associated with this goal is then
goal
$
G
_
1
$
. The
\emph
{
task
}
associated with this goal is then
displayed on the top right, and the corresponding part of the input
displayed on the top right, and the corresponding part of the input
file is shown on the bottom right part.
file is shown on the bottom right part.
Notice also that three provers were detected, and are now shown
in the ``provers'' section of the left toolbar. In this example,
detected provers are Alt-Ergo~
\cite
{
ergo
}
, Coq~
\cite
{
CoqArt
}
and
Simplify~
\cite
{
simplify05
}
.
\subsection
{
Calling provers on goals
}
\subsection
{
Calling provers on goals
}
...
@@ -87,7 +89,7 @@ click on the \textsf{Simplify} button. After a short time, you should
...
@@ -87,7 +89,7 @@ click on the \textsf{Simplify} button. After a short time, you should
get the display of Figure~
\ref
{
fig:gui3
}
.
get the display of Figure~
\ref
{
fig:gui3
}
.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
gui3.png
}
\todo
{
update
\includegraphics
[width=\textwidth]
{
gui3.png
}
}
\caption
{
The GUI after Simplify prover is run on each goal
}
\caption
{
The GUI after Simplify prover is run on each goal
}
\label
{
fig:gui3
}
\label
{
fig:gui3
}
\end{figure}
\end{figure}
...
@@ -112,7 +114,7 @@ Simplify. Assuming we expand everything again, you should see now what
...
@@ -112,7 +114,7 @@ Simplify. Assuming we expand everything again, you should see now what
is displayed on Figure~
\ref
{
fig:gui4
}
.
is displayed on Figure~
\ref
{
fig:gui4
}
.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
gui4.png
}
\todo
{
update
\includegraphics
[width=\textwidth]
{
gui4.png
}
}
\caption
{
The GUI after splitting goal
$
G
_
2
$}
\caption
{
The GUI after splitting goal
$
G
_
2
$}
\label
{
fig:gui4
}
\label
{
fig:gui4
}
\end{figure}
\end{figure}
...
@@ -133,7 +135,7 @@ part you modify, in order to regenerate the file if the goal is
...
@@ -133,7 +135,7 @@ part you modify, in order to regenerate the file if the goal is
changed.
changed.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
coqide.png
}
\todo
{
update
\includegraphics
[width=\textwidth]
{
coqide.png
}
}
\caption
{
CoqIDE on subgoal 1 of
$
G
_
2
$}
\caption
{
CoqIDE on subgoal 1 of
$
G
_
2
$}
\label
{
fig:coqide
}
\label
{
fig:coqide
}
\end{figure}
\end{figure}
...
@@ -153,7 +155,7 @@ Starting the IDE on the modified file and expanding everything with
...
@@ -153,7 +155,7 @@ Starting the IDE on the modified file and expanding everything with
\textsf
{
Ctrl-E
}
, we get the tree view shown on Figure~
\ref
{
fig:gui5
}
.
\textsf
{
Ctrl-E
}
, we get the tree view shown on Figure~
\ref
{
fig:gui5
}
.
\begin{figure}
[tbp]
\begin{figure}
[tbp]
\includegraphics
[width=\textwidth]
{
gui5.png
}
\todo
{
update
\includegraphics
[width=\textwidth]
{
gui5.png
}
}
\caption
{
The GUI restarted after modifying goal
$
G
_
2
$}
\caption
{
The GUI restarted after modifying goal
$
G
_
2
$}
\label
{
fig:gui5
}
\label
{
fig:gui5
}
\end{figure}
\end{figure}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment