Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
LARA
inox
Commits
f78aeb22
Commit
f78aeb22
authored
9 years ago
by
Viktor Kuncak
Browse files
Options
Downloads
Patches
Plain Diff
Update changelog; stub of invariant inference docs
parent
df73de93
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+2
-0
2 additions, 0 deletions
CHANGELOG.md
src/sphinx/index.rst
+1
-0
1 addition, 0 deletions
src/sphinx/index.rst
src/sphinx/invinference.rst
+13
-0
13 additions, 0 deletions
src/sphinx/invinference.rst
src/sphinx/options.rst
+53
-1
53 additions, 1 deletion
src/sphinx/options.rst
with
69 additions
and
1 deletion
CHANGELOG.md
+
2
−
0
View file @
f78aeb22
...
@@ -4,7 +4,9 @@ Change Log
...
@@ -4,7 +4,9 @@ Change Log
#### v?.?
#### v?.?
Among the changes are (see the commits for details):
Among the changes are (see the commits for details):
*
Resource bound inference engine Orb, developed by Ravi is now merged into master
*
Leon can now do program repair, thanks to Etienne and Manos
*
Leon can now do program repair, thanks to Etienne and Manos
*
Experimental support for first-order quantifiers inside Leon
*
Isabelle proof assistant can now be used as a solver, thanks to Lars Hupel
*
Isabelle proof assistant can now be used as a solver, thanks to Lars Hupel
*
A DSL for writing equational proofs in Leon, thanks to Sandro Stucki and Marco Antognini
*
A DSL for writing equational proofs in Leon, thanks to Sandro Stucki and Marco Antognini
*
Leon now uses the improved SMT-LIB library, thanks to the continuous work of Regis Blanc
*
Leon now uses the improved SMT-LIB library, thanks to the continuous work of Regis Blanc
...
...
This diff is collapsed.
Click to expand it.
src/sphinx/index.rst
+
1
−
0
View file @
f78aeb22
...
@@ -19,6 +19,7 @@ Contents:
...
@@ -19,6 +19,7 @@ Contents:
library
library
xlang
xlang
verification
verification
invinference
neon
neon
isabelle
isabelle
limitations
limitations
...
...
This diff is collapsed.
Click to expand it.
src/sphinx/invinference.rst
0 → 100644
+
13
−
0
View file @
f78aeb22
.. _infinference:
Invariant Inference
===================
The command line options relevant for invariant inference are
listed under Invariant Inference section of :ref:`cmdlineoptions`.
For examples, check out the directory ``testcases/orb-testcases/``.
For any questions, please consult Ravi and check the paper
`Symbolic resource bound inference for functional programs <http://lara.epfl.ch/~kuncak/papers/MadhavanKuncak14SymbolicResourceBoundInferenceFunctionalPrograms.pdf>`_, by *Ravichandhran Madhavan* and *Viktor Kuncak*. Computer Aided Verification (CAV), 2014.
This diff is collapsed.
Click to expand it.
src/sphinx/options.rst
+
53
−
1
View file @
f78aeb22
...
@@ -11,7 +11,8 @@ or ``off`` or ``no``.
...
@@ -11,7 +11,8 @@ or ``off`` or ``no``.
Additionally, if you need to pass options to the ``scalac`` frontend of Leon,
Additionally, if you need to pass options to the ``scalac`` frontend of Leon,
you can do it by using a single dash ``-``. For example, ``-Ybrowse:typer``.
you can do it by using a single dash ``-``. For example, ``-Ybrowse:typer``.
The rest of this section presents all command-line options that Leon recognizes.
The rest of this section presents command-line options that Leon recognizes.
For more up-to-date list, please invoke ``leon --help``.
Choosing which Leon feature to use
Choosing which Leon feature to use
----------------------------------
----------------------------------
...
@@ -39,6 +40,14 @@ These options are mutually exclusive. By default, ``--verify`` is chosen.
...
@@ -39,6 +40,14 @@ These options are mutually exclusive. By default, ``--verify`` is chosen.
Runs termination analysis. Can be used along ``--verify``.
Runs termination analysis. Can be used along ``--verify``.
* ``--inferInv``
Infer invariants from (instrumented) the code (using Orb)
* ``--instrument``
Instrument the code for inferring time/depth/stack bounds (using Orb)
* ``--noop``
* ``--noop``
Runs the program through the extraction and preprocessing phases, then outputs it in the specified
Runs the program through the extraction and preprocessing phases, then outputs it in the specified
...
@@ -48,6 +57,8 @@ These options are mutually exclusive. By default, ``--verify`` is chosen.
...
@@ -48,6 +57,8 @@ These options are mutually exclusive. By default, ``--verify`` is chosen.
Prints a helpful message, then exits.
Prints a helpful message, then exits.
Additional top-level options
Additional top-level options
----------------------------
----------------------------
...
@@ -186,6 +197,47 @@ These options are available by all Leon components:
...
@@ -186,6 +197,47 @@ These options are available by all Leon components:
Support for additional language constructs described in :ref:`xlang`.
Support for additional language constructs described in :ref:`xlang`.
These constructs are desugared into :ref:`purescala` before other operations.
These constructs are desugared into :ref:`purescala` before other operations.
Invariant Inference
-------------------
These options are to be used in conjuction with ``--inferInv`` and ``--instrument``.
* ``--cegis``
Use cegis instead of farkas
* ``--disableInfer``
Disable automatic inference of auxiliary invariants
* ``--fullunroll``
Unroll all calls in every unroll step
* ``--inferTemp``
Infer templates by enumeration
* ``--minbounds``
Tighten the inferred time bounds
* ``--stats-suffix=s``
Specifies the suffix of the statistics file
* ``--usereals``
Interpret the input program as a program over real numbers
* ``--wholeprogram``
Perform a non-modular whole program analysis
* ``--withmult``
Do not convert multiplication into a recursive function inside verification conditions
Additional Options (by component)
Additional Options (by component)
---------------------------------
---------------------------------
...
...
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