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
e77a5e5a
Commit
e77a5e5a
authored
10 years ago
by
Etienne Kneuss
Browse files
Options
Downloads
Patches
Plain Diff
small updates
parent
21422e5d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/gettingstarted.rst
+30
-29
30 additions, 29 deletions
doc/gettingstarted.rst
doc/installation.rst
+2
-0
2 additions, 0 deletions
doc/installation.rst
doc/purescala.rst
+4
-0
4 additions, 0 deletions
doc/purescala.rst
with
36 additions
and
29 deletions
doc/gettingstarted.rst
+
30
−
29
View file @
e77a5e5a
...
@@ -4,7 +4,7 @@ Getting Started
...
@@ -4,7 +4,7 @@ Getting Started
===============
===============
This section gives a very quick overview of how to build and start using Leon;
This section gives a very quick overview of how to build and start using Leon;
refer to the following :ref:`
section <
installation
>
` if you wish (or need) more
refer to the following :ref:`installation` if you wish (or need) more
detailed information on how to setup Leon on your system.
detailed information on how to setup Leon on your system.
To build Leon, you will need, the following:
To build Leon, you will need, the following:
...
@@ -20,34 +20,35 @@ To build, type this::
...
@@ -20,34 +20,35 @@ To build, type this::
Then you can try e.g::
Then you can try e.g::
$ ./leon ./testcases/verification/sas2011-testcases/RedBlackTree.scala
$ ./leon
--solvers=smt-cvc4
./testcases/verification/sas2011-testcases/RedBlackTree.scala
and get something like this::
and get something like this::
┌──────────────────────┐
┌──────────────────────┐
╔═╡ Verification Summary ╞═════════════════════════════════════════════════════════════════════╗
╔═╡ Verification Summary ╞═══════════════════════════════════════════════════════════════════╗
║ └──────────────────────┘ ║
║ └──────────────────────┘ ║
║ add postcondition 83:22 valid Z3-f 0.057 ║
║ add postcondition 82:15 valid U:smt-cvc4 0.258 ║
║ add precondition 82:5 valid Z3-f 0.017 ║
║ add precondition 81:15 valid U:smt-cvc4 0.007 ║
║ add precondition 82:15 valid Z3-f 0.003 ║
║ add precondition 81:5 valid U:smt-cvc4 0.049 ║
║ balance match exhaustiveness 91:5 valid Z3-f 0.005 ║
║ balance match exhaustiveness 90:5 valid U:smt-cvc4 0.006 ║
║ balance postcondition 102:22 valid Z3-f 0.055 ║
║ balance postcondition 101:15 valid U:smt-cvc4 0.301 ║
║ blackBalanced match exhaustiveness 46:43 valid Z3-f 0.003 ║
║ blackBalanced match exhaustiveness 45:43 valid U:smt-cvc4 0.006 ║
║ blackHeight match exhaustiveness 51:40 valid Z3-f 0.004 ║
║ blackHeight match exhaustiveness 50:40 valid U:smt-cvc4 0.009 ║
║ buggyAdd postcondition 88:22 invalid Z3-f 1.162 ║
║ buggyAdd postcondition 87:15 invalid U:smt-cvc4 1.561 ║
║ buggyAdd precondition 87:5 invalid Z3-f 0.027 ║
║ buggyAdd precondition 86:5 invalid U:smt-cvc4 0.135 ║
║ buggyBalance match exhaustiveness 105:5 invalid Z3-f 0.007 ║
║ buggyBalance match exhaustiveness 104:5 invalid U:smt-cvc4 0.008 ║
║ buggyBalance postcondition 116:22 invalid Z3-f 0.017 ║
║ buggyBalance postcondition 115:15 invalid U:smt-cvc4 0.211 ║
║ content match exhaustiveness 18:37 valid Z3-f 0.034 ║
║ content match exhaustiveness 17:37 valid U:smt-cvc4 0.030 ║
║ ins match exhaustiveness 60:5 valid Z3-f 0.003 ║
║ ins match exhaustiveness 59:5 valid U:smt-cvc4 0.007 ║
║ ins postcondition 67:22 valid Z3-f 1.753 ║
║ ins postcondition 66:15 valid U:smt-cvc4 3.996 ║
║ ins precondition 63:37 valid Z3-f 0.011 ║
║ ins precondition 62:37 valid U:smt-cvc4 0.034 ║
║ ins precondition 65:40 valid Z3-f 0.012 ║
║ ins precondition 64:40 valid U:smt-cvc4 0.036 ║
║ makeBlack postcondition 78:21 valid Z3-f 0.012 ║
║ makeBlack postcondition 77:14 valid U:smt-cvc4 0.036 ║
║ redDescHaveBlackChildren match exhaustiveness 41:53 valid Z3-f 0.003 ║
║ redDescHaveBlackChildren match exhaustiveness 40:53 valid U:smt-cvc4 0.005 ║
║ redNodesHaveBlackChildren match exhaustiveness 35:54 valid Z3-f 0.004 ║
║ redNodesHaveBlackChildren match exhaustiveness 34:54 valid U:smt-cvc4 0.007 ║
║ size match exhaustiveness 23:33 valid Z3-f 0.004 ║
║ size match exhaustiveness 22:33 valid U:smt-cvc4 0.005 ║
║ size postcondition 26:15 valid Z3-f 0.043 ║
║ size postcondition 25:15 valid U:smt-cvc4 0.055 ║
╟┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╢
╟┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╢
║ total: 21 valid: 17 invalid: 4 unknown 0 3.236 ║
║ total: 21 valid: 17 invalid: 4 unknown 0 6.762 ║
╚══════════════════════════════════════════════════════════════════════════════════════════════╝
╚════════════════════════════════════════════════════════════════════════════════════════════╝
This diff is collapsed.
Click to expand it.
doc/installation.rst
+
2
−
0
View file @
e77a5e5a
.. _installation:
Installing Leon
Installing Leon
===============
===============
...
...
This diff is collapsed.
Click to expand it.
doc/purescala.rst
+
4
−
0
View file @
e77a5e5a
...
@@ -252,6 +252,8 @@ Set
...
@@ -252,6 +252,8 @@ Set
.. code-block:: scala
.. code-block:: scala
import leon.lang.Set // Required to have support for Sets
val s1 = Set(1,2,3,1)
val s1 = Set(1,2,3,1)
val s2 = Set[Int]()
val s2 = Set[Int]()
...
@@ -279,6 +281,8 @@ Map
...
@@ -279,6 +281,8 @@ Map
.. code-block:: scala
.. code-block:: scala
import leon.lang.Map // Required to have support for Maps
val m = Map[Int, Boolean](42 -> false)
val m = Map[Int, Boolean](42 -> false)
m(index)
m(index)
...
...
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