-
Hey Michael, first of all thank you for "Inox Patchset" this is one of the best browsers around. But you need to update to newer versions more often or at least allow others to join to do this when yo…
ghost updated
5 years ago
-
I don't know if this is an issue of its own, or if this is due to the `Container` type not being rejected properly. `scalac` rejects it, but probably in the phases that are not executed by Stainless (…
-
On this example:
```scala
import stainless.collection._
import stainless.lang._
trait T {
var l: List[BigInt]
def add(x: BigInt) = {
if (!l.contains(x)) ()
else ()
}
…
-
```scala
object Internal {
def f(x: BigInt): BigInt = (??? : BigInt)
}
```
```
[ Debug ] Symbols before PartialFunctions
[ Debug ]
[ Debug ] -------------Functions-------------
[ De…
-
*Not sure whether this is a Stainless or Inox bug, sorry if it's the wrong place to post it.*
This works:
```scala
c
def prop(x: BigInt) = {
BigIntAdditiveMonoid.append(BigIntAdditiveMo…
romac updated
6 years ago
-
```scala
object SimpleValue {
case class False() {
require(false)
}
def lemma(nr: BigInt => False, r: BigInt) = {
val f = nr(r)
assert(false)
}
}
```
Here's the full…
-
On this example:
```smt
(define-fun f () Int (choose res Int true))
(define-fun g () Bool (choose res Bool (not (= f 0))))
(assert (not (let ((res g)) (not (= f 0)))))
(check-sat)
```
-
### Steps to reproduce
1. Open Contacts app
2. Select one specific contact
3. Look for the address data that was there before
Edited output of the respective card properties:
```
MariaDB [c…
-
```scala
import stainless.lang._
object TypeError {
def tt[A] = true
def f[A]: Either[A, A => Unit] = {
assert(tt) // removing the assertion prevents the bug
Right((x: A) => ())
…
-
While working on the [lambda interpreter example](https://github.com/epfl-lara/verified-lambda/blob/master/src/main/scala/Lambda.scala), I wanted to make the pattern match exhaustivity checker to fail…