Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nils Fitinghoff
why3
Commits
9585835c
Commit
9585835c
authored
7 years ago
by
Claude Marché
Browse files
Options
Downloads
Patches
Plain Diff
doc: updated examples for why3session command
parent
ab97a29f
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
doc/HelloProof-style2.tex
+14
-14
14 additions, 14 deletions
doc/HelloProof-style2.tex
doc/HelloProof.tex
+12
-12
12 additions, 12 deletions
doc/HelloProof.tex
doc/hello_proof.png
+0
-0
0 additions, 0 deletions
doc/hello_proof.png
doc/manpages.tex
+58
-50
58 additions, 50 deletions
doc/manpages.tex
with
84 additions
and
76 deletions
doc/HelloProof-style2.tex
+
14
−
14
View file @
9585835c
\begin{tabular}
{
|
l |c |c |c
|c
|c
|
}
\begin{tabular}
{
|
l|l|l|l
|c|c|
}
\hline
Proof obligations
&
\provername
{
Alt-Ergo
(
0.9
4)
}
&
\provername
{
Coq
(
8.
3pl4)
}
&
\provername
{
Simplify (1.5.4)
}
\\
\hline
Proof obligations
&
\provername
{
Alt-Ergo 0.9
9.1
}
&
\provername
{
Coq 8.
7.1
}
\\
\hline
\hline
\explanation
{
G1
}
&
\
noresult
&
\noresult
&
\
valid
{
0.00
}
\\
\explanation
{
G1
}
&
\valid
{
0.00
}
&
\noresult
\\
\hline
\hline
\explanation
{
G2
}
&
\unknown
{
0.00
}
&
\noresult
&
\unknown
{
0.00
}
\\
\explanation
{
G2
}
&
\unknown
{
0.00
}
&
\noresult\\
\cline
{
2-
4
}
\cline
{
2-
3
}
\quad\transformation
{
split
\_
goal
}
&
\multicolumn
{
3
}{
|c|
}{}
\\
\quad\transformation
{
split
\_
goal
\_
right
}
&
\multicolumn
{
2
}{
|c|
}{}
\\
\cline
{
2-
4
}
\cline
{
2-
3
}
\quad\subgoal
{
1.
}{
1
}
&
\unknown
{
0.00
}
&
\unknown
{
0.
43
}
&
\unknown
{
0.00
}
\\
\quad\subgoal
{
G2.0
}{
1
}
&
\unknown
{
0.00
}
&
\unknown
{
0.
29
}
\\
\cline
{
2-
4
}
\cline
{
2-
3
}
\quad\subgoal
{
2.
}{
2
}
&
\valid
{
0.00
}
&
\noresult
&
\valid
{
0.00
}
\\
\quad\subgoal
{
G
2.
1
}{
2
}
&
\valid
{
0.00
}
&
\noresult\\
\hline
\hline
\explanation
{
G3
}
&
\valid
{
0.00
}
&
\noresult
&
\unknown
{
0.00
}
\\
\explanation
{
G3
}
&
\valid
{
0.00
}
&
\noresult\\
\hline
\end{tabular}
\hline
\end{tabular}
This diff is collapsed.
Click to expand it.
doc/HelloProof.tex
+
12
−
12
View file @
9585835c
\begin{tabular}
{
|
l |c |c |c
|c
|c
|
}
\begin{tabular}
{
|
l|l|l|l
|c|c|
}
\hline
\multicolumn
{
2
}{
|c|
}{
Proof obligations
}
&
\provername
{
Alt-Ergo
(
0.9
4)
}
&
\provername
{
Coq
(
8.
3pl4)
}
&
\provername
{
Simplify (1.5.4)
}
\\
\hline
\multicolumn
{
2
}{
|c|
}{
Proof obligations
}
&
\provername
{
Alt-Ergo 0.9
9.1
}
&
\provername
{
Coq 8.
7.1
}
\\
\hline
\hline
\explanation
{
G1
}
&
&
\
noresult
&
\noresult
&
\
valid
{
0.00
}
\\
\explanation
{
G1
}
&
&
\valid
{
0.00
}
&
\noresult
\\
\hline
\hline
\explanation
{
G2
}
&
&
\unknown
{
0.00
}
&
\noresult
&
\unknown
{
0.00
}
\\
\explanation
{
G2
}
&
&
\unknown
{
0.00
}
&
\noresult\\
\cline
{
2-3
}
&
\explanation
{
G2.0
}
&
\unknown
{
0.00
}
&
\unknown
{
0.29
}
\\
\cline
{
2-4
}
\cline
{
2-4
}
&
\explanation
{
1.
}
&
\unknown
{
0.00
}
&
\unknown
{
0.43
}
&
\unknown
{
0.00
}
\\
&
\explanation
{
G2.1
}
&
\valid
{
0.00
}
&
\noresult\\
\cline
{
2-5
}
&
\explanation
{
2.
}
&
\valid
{
0.00
}
&
\noresult
&
\valid
{
0.00
}
\\
\hline
\hline
\explanation
{
G3
}
&
&
\valid
{
0.00
}
&
\noresult
&
\unknown
{
0.00
}
\\
\explanation
{
G3
}
&
&
\valid
{
0.00
}
&
\noresult\\
\hline
\end{tabular}
\hline
\end{tabular}
This diff is collapsed.
Click to expand it.
doc/hello_proof.png
+
0
−
0
View replaced file @
ab97a29f
View file @
9585835c
20.7 KiB
|
W:
|
H:
20.3 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
doc/manpages.tex
+
58
−
50
View file @
9585835c
...
@@ -719,8 +719,9 @@ about the session, depending on the following specific options.
...
@@ -719,8 +719,9 @@ about the session, depending on the following specific options.
the session as edited proofs.
the session as edited proofs.
\item
[\texttt{-{}-stats}]
prints various proofs statistics, as
\item
[\texttt{-{}-stats}]
prints various proofs statistics, as
detailed below.
detailed below.
\item
[\texttt{-{}-tree}]
prints the structure of the session as a
% OBSOLETE
tree in ASCII, as detailed below.
% \item[\texttt{-{}-tree}] prints the structure of the session as a
% tree in ASCII, as detailed below.
\item
[\texttt{-{}-print0}]
separates the results of the options
\item
[\texttt{-{}-print0}]
separates the results of the options
\verb
|
provers
|
and
\verb
|
--edited-files
|
by the character number 0
\verb
|
provers
|
and
\verb
|
--edited-files
|
by the character number 0
instead of end of line
\verb
|
\n
|
. That allows you to safely use
instead of end of line
\verb
|
\n
|
. That allows you to safely use
...
@@ -739,36 +740,39 @@ why3 session info --edited-files --print0 vstte12_bfs.mlw | \
...
@@ -739,36 +740,39 @@ why3 session info --edited-files --print0 vstte12_bfs.mlw | \
\end{description}
\end{description}
\paragraph
{
Session Tree
}
% OBSOLETE
The hierarchical structure of the session is printed as a tree in
ASCII. The files, theories, goals are marked with a question mark
% \paragraph{Session Tree}
\verb
|
?
|
, if they are not verified. A proof is usually said to be
verified if the proof result is
\verb
|
valid
|
and the proof is not
% The hierarchical structure of the session is printed as a tree in
obsolete.
% ASCII. The files, theories, goals are marked with a question mark
However here specially we separate these two properties. On
% \verb|?|, if they are not verified. A proof is usually said to be
the one hand if the proof suffers from an internal failure we mark it
% verified if the proof result is \verb|valid| and the proof is not
with an exclamation mark
\verb
|
!
|
, otherwise if it is not valid we
% obsolete.
mark it with a question mark
\verb
|
?
|
, finally if it is valid we add
% However here specially we separate these two properties. On
nothing. On the other hand if the proof is obsolete we mark it with an
% the one hand if the proof suffers from an internal failure we mark it
\verb
|
O
|
.
% with an exclamation mark \verb|!|, otherwise if it is not valid we
% mark it with a question mark \verb|?|, finally if it is valid we add
For example, here are the session tree produced on the ``hello
% nothing. On the other hand if the proof is obsolete we mark it with an
proof'' example of Section~
\ref
{
chap:starting
}
.
% \verb|O|.
{
\scriptsize
\begin{verbatim}
% For example, here are the session tree produced on the ``hello
hello
_
proof---../hello
_
proof.why?---HelloProof?-+-G3-+-Simplify (1.5.4)?
% proof'' example of Section~\ref{chap:starting}.
| `-Alt-Ergo (0.94)
% {\scriptsize
|-G2?-+-split
_
goal?-+-G2.2-+-Simplify (1.5.4)
% \begin{verbatim}
| | | `-Alt-Ergo (0.94)
% hello_proof---../hello_proof.why?---HelloProof?-+-G3-+-Simplify (1.5.4)?
| | `-G2.1?-+-Coq (8.3pl4)?
% | `-Alt-Ergo (0.94)
| | |-Simplify (1.5.4)?
% |-G2?-+-split_goal?-+-G2.2-+-Simplify (1.5.4)
| | `-Alt-Ergo (0.94)?
% | | | `-Alt-Ergo (0.94)
| |-Simplify (1.5.4)?
% | | `-G2.1?-+-Coq (8.3pl4)?
| `-Alt-Ergo (0.94)?
% | | |-Simplify (1.5.4)?
`-G1---Simplify (1.5.4)
% | | `-Alt-Ergo (0.94)?
\end{verbatim}
% | |-Simplify (1.5.4)?
}
% | `-Alt-Ergo (0.94)?
% `-G1---Simplify (1.5.4)
% \end{verbatim}
% }
\paragraph
{
Session Statistics
}
\paragraph
{
Session Statistics
}
...
@@ -794,26 +798,30 @@ For example, here are the session statistics produced on the ``hello
...
@@ -794,26 +798,30 @@ For example, here are the session statistics produced on the ``hello
proof'' example of Section~
\ref
{
chap:starting
}
.
proof'' example of Section~
\ref
{
chap:starting
}
.
{
\footnotesize
{
\footnotesize
\begin{verbatim}
\begin{verbatim}
== Number of goals ==
== Number of root goals ==
total: 5 proved: 3
total: 3 proved: 2
== Number of sub goals ==
total: 2 proved: 1
== Goals not proved ==
== Goals not proved ==
+-- file ../hello
_
proof.why
+-- file ../hello
_
proof.why
+-- theory HelloProof
+-- theory HelloProof
+-- goal G2
+-- goal G2
+-- transformation split
_
goal
+-- transformation split
_
goal
_
right
+-- goal G2.
1
+-- goal G2.
0
== Goals proved by only one prover ==
== Goals proved by only one prover ==
+-- file ../hello
_
proof.why
+-- file ../hello
_
proof.why
+-- theory HelloProof
+-- theory HelloProof
+-- goal G1: Simplify (1.5.4) (0.00)
+-- goal G1: Alt-Ergo 0.99.1
+-- goal G3: Alt-Ergo (0.94) (0.00)
+-- goal G2
+-- transformation split
_
goal
_
right
+-- goal G2.1: Alt-Ergo 0.99.1
+-- goal G3: Alt-Ergo 0.99.1
== Statistics per prover: number of proofs, time (minimum/maximum/average) in seconds ==
== Statistics per prover: number of proofs, time (minimum/maximum/average) in seconds ==
Alt-Ergo (0.94) : 2 0.00 0.00 0.00
Alt-Ergo 0.99.1 : 3 0.00 0.00 0.00
Simplify (1.5.4) : 2 0.00 0.00 0.00
\end{verbatim}
\end{verbatim}
}
}
...
@@ -910,14 +918,14 @@ override this default).
...
@@ -910,14 +918,14 @@ override this default).
\begin{htmlonly}
\begin{htmlonly}
\begin{rawhtml}
\begin{rawhtml}
<h1>Why3 Proof Results for Project "hello
_
proof"</h1>
<h1>Why3 Proof Results for Project "hello
_
proof"</h1>
<h2><
font
color
="
#FF0000">Theory "HelloProof": not fully verified</
font
></h2>
<h2><
span style="
color
:
#FF0000">Theory "
hello
_
proof.
HelloProof": not fully verified</
span
></h2>
<table border="1"><tr><td colspan="2">Obligations</td><td text-rotation="90">Alt-Ergo
(
0.9
4)
</td><td text-rotation="90">Coq
(
8.
3pl4)</td><td text-rotation="90">Simplify (1.5.4)</td>
</td></tr>
<table border="1"
style="border-collapse:collapse"
><tr><td colspan="2">Obligations</td><td text-rotation="90">Alt-Ergo 0.9
9.1
</td><td text-rotation="90">Coq 8.
7.1
</td></tr>
<t
d bg
color
="
#C0FFC0" colspan="2">G1</td><td
bgcolor="#E0E0E0">---</td><td bg
color
="
#E0E0E0">---</td><
td bgcolor="#C0FFC0">0.00</td><
/tr>
<t
r><td style="background-
color
:
#C0FFC0" colspan="2">G1</td><td
style="background-color:#C0FFC0">0.00</td><td style="background-
color
:
#E0E0E0">---</td></tr>
<t
d bg
color
="
#FF0000" colspan="2">G2</td><td
bg
color
="
#FF8000">0.00</td><td
bg
color
="
#E0E0E0">---</td><
td bgcolor="#FF8000">0.00</td><
/tr>
<t
r><td style="background-
color
:
#FF0000" colspan="2">G2</td><td
style="background-
color
:
#FF8000">0.00</td><td
style="background-
color
:
#E0E0E0">---</td></tr>
<tr><td
bg
color
="
#FF0000" colspan="2">split
_
goal</td><td
bgcolor="#E0E0E0"></td><td bg
color
="
#E0E0E0"></td><td
bg
color
="
#E0E0E0"></td></tr>
<tr><td
style="background-
color
:
#FF0000" colspan="2">split
_
goal
_
right
</td><td
style="background-
color
:
#E0E0E0"></td><td
style="background-
color
:
#E0E0E0"></td></tr>
<td rowspan="2"
>
&
nbsp;
&
nbsp;</td><td bg
color
="
#FF0000" colspan="1">
1.
</td><td
bg
color
="
#FF8000">0.00</td><td
bgcolor="#FF8000">0.43</td><td bg
color
="
#FF8000">0.
00
</td></tr>
<tr>
<td rowspan="2"
style="width:1ex"></td><td style="background-
color
:
#FF0000" colspan="1">
G2.0
</td><td
style="background-
color
:
#FF8000">0.00</td><td
style="background-
color
:
#FF8000">0.
29
</td></tr>
<tr><td
bg
color
="
#C0FFC0" colspan="1">2.</td><td
bg
color
="
#C0FFC0">0.00</td><td
bg
color
="
#E0E0E0">---</td><
td bgcolor="#C0FFC0">0.00</td><
/tr>
<tr><td
style="background-
color
:
#C0FFC0" colspan="1">
G
2.
1
</td><td
style="background-
color
:
#C0FFC0">0.00</td><td
style="background-
color
:
#E0E0E0">---</td></tr>
<t
d bg
color
="
#C0FFC0" colspan="2">G3</td><td
bg
color
="
#C0FFC0">0.00</td><td
bg
color
="
#E0E0E0">---</td><
td bgcolor="#FF8000">0.00</td><
/tr>
<t
r><td style="background-
color
:
#C0FFC0" colspan="2">G3</td><td
style="background-
color
:
#C0FFC0">0.00</td><td
style="background-
color
:
#E0E0E0">---</td></tr>
</table>
</table>
\end{rawhtml}
\end{rawhtml}
\end{htmlonly}
\end{htmlonly}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment