Skip to content
Snippets Groups Projects
Commit 216ffee1 authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Fix warning

parent ee03d30e
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,14 @@ it would prove that the postcondition always hold, assuming a given precondition
hold. A simple example:
.. code-block:: scala
def factorial(n: Int): Int = {
require(n >= 0)
if(n == 0) 1 else n * factorial(n - 1)
if(n == 0) {
1
} else {
n * factorial(n - 1)
}
} ensuring(res => res >= 0)
Leon generates a ``postcondition`` verification condition for the above
......@@ -56,10 +61,11 @@ Leon supports verification of a significant part of the Scala language, describe
sections :ref:`Pure Scala <purescala>` and :ref:`XLang <xlang>`.
Automated Repair of Programs
----------------------------
Program Synthesis
-----------------
Program Repair
--------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment