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

Annotate correctly

parent 63ff8d3e
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ case class Rational(numerator: BigInt, denominator: BigInt) {
}
}
@library
object Rational {
implicit def bigIntToRat(n: BigInt): Rational = Rational(n, 1)
......
......@@ -5,11 +5,10 @@ import leon.lang._
import leon.annotation._
/** Internal helper classes and methods for the 'proof' package. */
@library
object Internal {
/*** Helper classes for relational reasoning ***/
@library
case class WithRel[A, B](x: A, r: (A, B) => Boolean, prop: Boolean) {
/** Continue with the next relation. */
......@@ -33,6 +32,7 @@ object Internal {
def qed: Boolean = prop
}
@library
case class WithProof[A, B](
x: A, r: (A, B) => Boolean, proof: Boolean, prop: Boolean) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment