Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Vincent Laviron
frama-c
Commits
5996b675
Commit
5996b675
authored
3 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[wp/doc] Remove some alt-ergo related driver doc
parent
73c1452e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/doc/manual/wp_builtins.tex
+12
-12
12 additions, 12 deletions
src/plugins/wp/doc/manual/wp_builtins.tex
with
12 additions
and
12 deletions
src/plugins/wp/doc/manual/wp_builtins.tex
+
12
−
12
View file @
5996b675
...
@@ -141,7 +141,7 @@ Moreover, the following lemmas are added to complement the reference ones:
...
@@ -141,7 +141,7 @@ Moreover, the following lemmas are added to complement the reference ones:
\vskip
1em
\vskip
1em
\hrule
\hrule
\label
{
builtin-exp-log
}
\label
{
builtin-exp-log
}
\paragraph
{$
\builtin
{
exp
}
(
x
)
$
,
$
\builtin
{
log
}
(
x
)
$
and
$
\builtin
{
log
10
}
(
x
)
$}
are declared
\paragraph
{$
\builtin
{
exp
}
(
x
)
$
,
$
\builtin
{
log
}
(
x
)
$
and
$
\builtin
{
log
10
}
(
x
)
$}
are declared
to be injective, monotonically increasing and are associated with the following simplifiers:
to be injective, monotonically increasing and are associated with the following simplifiers:
\[
\[
\begin
{
array
}{
rcl@
{
\quad
}
l
}
\begin
{
array
}{
rcl@
{
\quad
}
l
}
...
@@ -188,14 +188,14 @@ imported from \textsf{Why-3}.
...
@@ -188,14 +188,14 @@ imported from \textsf{Why-3}.
\vskip
1em
\vskip
1em
\hrule
\hrule
\label
{
builtin-trigo
}
\label
{
builtin-trigo
}
\paragraph
{$
\builtin
{
sin
}
(
x
)
$
,
$
\builtin
{
cos
}
(
x
)
$
and
$
\builtin
{
tan
}
(
x
)
$}
trigonometric
\paragraph
{$
\builtin
{
sin
}
(
x
)
$
,
$
\builtin
{
cos
}
(
x
)
$
and
$
\builtin
{
tan
}
(
x
)
$}
trigonometric
operations. Useful lemmas are already defined in the reference implementation from
operations. Useful lemmas are already defined in the reference implementation from
\textsf
{
Why-3
}
library.
\textsf
{
Why-3
}
library.
\label
{
builtin-arctrigo
}
\label
{
builtin-arctrigo
}
\paragraph
{$
\builtin
{
asin
}
(
x
)
$
,
$
\builtin
{
acos
}
(
x
)
$
and
$
\builtin
{
atan
}
(
x
)
$}
trigonometric
\paragraph
{$
\builtin
{
asin
}
(
x
)
$
,
$
\builtin
{
acos
}
(
x
)
$
and
$
\builtin
{
atan
}
(
x
)
$}
trigonometric
operations. Except definition of
$
\builtin
{
atan
}$
which is available from reference,
operations. Except definition of
$
\builtin
{
atan
}$
which is available from reference,
definition for arc-
$
\builtin
{
sin
}$
and arc-
$
\builtin
{
cos
}$
have been added. Moreover,
definition for arc-
$
\builtin
{
sin
}$
and arc-
$
\builtin
{
cos
}$
have been added. Moreover,
all the arc-trigonometric operations are declared to be injective. In addition, the
all the arc-trigonometric operations are declared to be injective. In addition, the
following simplifiers are also registered:
following simplifiers are also registered:
...
@@ -216,7 +216,7 @@ and are actually provided by custom extensions installed in the \textsf{WP} shar
...
@@ -216,7 +216,7 @@ and are actually provided by custom extensions installed in the \textsf{WP} shar
\vskip
1em
\vskip
1em
\hrule
\hrule
\label
{
builtin-hyperbolic
}
\label
{
builtin-hyperbolic
}
\paragraph
{$
\builtin
{
sinh
}
(
x
)
$
,
$
\builtin
{
cosh
}
(
x
)
$
and
$
\builtin
{
tanh
}
(
x
)
$}
trigonometric
\paragraph
{$
\builtin
{
sinh
}
(
x
)
$
,
$
\builtin
{
cosh
}
(
x
)
$
and
$
\builtin
{
tanh
}
(
x
)
$}
trigonometric
operations. Useful lemmas are already defined in the reference implementation from
operations. Useful lemmas are already defined in the reference implementation from
\textsf
{
Why-3
}
library.
\textsf
{
Why-3
}
library.
...
@@ -256,21 +256,21 @@ Since all the builtin symbols of \textsf{ACSL} are actually linked to the standa
...
@@ -256,21 +256,21 @@ Since all the builtin symbols of \textsf{ACSL} are actually linked to the standa
of
\textsf
{
Why-3
}
, any user theory also referring to the standard symbols can be added to the proof
of
\textsf
{
Why-3
}
, any user theory also referring to the standard symbols can be added to the proof
environment by using option
\verb
+
-wp-why-lib 'file...'
+
.
environment by using option
\verb
+
-wp-why-lib 'file...'
+
.
Otherwise, a driver
shall
be written. For instance, the additional lemma regarding
$
\builtin
{
exp
}$
Otherwise, a driver
can
be written. For instance, the additional lemma regarding
$
\builtin
{
exp
}$
p.
\pageref
{
builtin-hyperbolic
}
for
\textsf
{
Alt-Ergo
}
is simply defined in the following way:
p.
\pageref
{
builtin-hyperbolic
}
for
\textsf
{
Why3
}
is simply defined in the following way:
\begin{logs}
\begin{logs}
// MyExp.mlw file
// MyExp.mlw file
axiom exp
_
pos :
(
forall x:real. (0.0 < exp(x))
)
axiom exp
_
pos : forall x:real. (0.0 < exp(x))
\end{logs}
\end{logs}
Of course, this piece of
\textsf
{
Alt-Ergo
}
input file must be integrated after the symbol
Of course, this piece of
\textsf
{
Why3
}
input file must be integrated after the symbol
\verb
+
exp
+
has been defined. The corresponding driver is then:
\verb
+
exp
+
has been defined. The corresponding driver is then:
\begin{logs}
\begin{logs}
// MyExp.driver file
// MyExp.driver file
library exponential:
library exponential:
ergo
.file += "MyExp.mlw" ;
why3
.file += "MyExp.mlw" ;
\end{logs}
\end{logs}
Such a driver, once loaded with option
\verb
+
-wp-driver
+
, instructs
\textsf
{
Frama-C/WP
}
to
Such a driver, once loaded with option
\verb
+
-wp-driver
+
, instructs
\textsf
{
Frama-C/WP
}
to
...
@@ -278,5 +278,5 @@ append your extension file to the other necessary resources for library \verb+"e
...
@@ -278,5 +278,5 @@ append your extension file to the other necessary resources for library \verb+"e
which the logic ACSL builtin
\verb
+
\exp
+
belongs to.
which the logic ACSL builtin
\verb
+
\exp
+
belongs to.
The file
\verb
+
share/wp/wp.driver
+
located into the shared directory of
\textsf
{
Frama-C
}
,
The file
\verb
+
share/wp/wp.driver
+
located into the shared directory of
\textsf
{
Frama-C
}
,
and the associated files in sub-director
ies
\verb
+
share/wp/ergo
+
and
\verb
+
share/wp/why3
+
shall provide
and the associated files in sub-director
y
\verb
+
share/wp/why3
+
shall provide
all the necessary hints for extending the capabilities of
\textsf
{
Frama-C/WP
}
in a similar way.
all the necessary hints for extending the capabilities of
\textsf
{
Frama-C/WP
}
in a similar way.
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