statement stringlengths 1 15.9k | proof stringlengths 0 44.6k | type stringclasses 18
values | symbolic_name stringlengths 1 61 | library stringclasses 21
values | filename stringclasses 502
values | imports listlengths 0 38 | deps listlengths 0 64 | docstring stringlengths 0 500 | source_url stringclasses 1
value | commit stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
min_sint : t | = 0x8000_0000 | constant | min_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_sint : t | = 0x7FFF_FFFF | constant | max_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_uint : t | = 0xFFFF_FFFF | constant | max_uint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
size : int | = 16 | constant | size | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
two_power_size : int | = 0x1_0000 | constant | two_power_size | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
two_power_sizem1 : int | = 0x8000 | constant | two_power_sizem1 | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
t | = < range 0 0xFFFF > | type | t | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"range"
] | needed to use range types | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 |
ones : t | = 0xFFFF | constant | ones | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
minus_one : t | = 0xFFFF | constant | minus_one | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
min_sint : t | = 0x8000 | constant | min_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_sint : t | = 0x7FFF | constant | max_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_uint : t | = 0xFFFF | constant | max_uint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
size : int | = 8 | constant | size | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
two_power_size : int | = 0x1_00 | constant | two_power_size | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
two_power_sizem1 : int | = 0x80 | constant | two_power_sizem1 | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
t | = < range 0 0xFF > | type | t | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"range"
] | needed to use range types | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 |
ones : t | = 0xFF | constant | ones | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
minus_one : t | = 0xFF | constant | minus_one | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
min_sint : t | = 0x80 | constant | min_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_sint : t | = 0x7F | constant | max_sint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_uint : t | = 0xFF | constant | max_uint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
bigBV | type | bigBV | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
smallBV | type | smallBV | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
in_small_range bigBV | predicate | in_small_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
to_uint_small smallBV : int | function | to_uint_small | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"int",
"smallBV"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
to_uint_big bigBV : int | function | to_uint_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV",
"int"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
toBig smallBV : bigBV | val function | toBig | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV",
"smallBV"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
stoBig smallBV : bigBV | val function | stoBig | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV",
"smallBV"
] | unsigned, that is "zero extend" | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
toSmall bigBV : smallBV | val function | toSmall | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV",
"smallBV"
] | signed, that is "sign extend" | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
toSmall_to_uint :
forall x:bigBV. in_small_range x ->
to_uint_big x = to_uint_small (toSmall x) | axiom | toSmall_to_uint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"bigBV",
"in_small_range",
"toSmall",
"to_uint_big",
"to_uint_small"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
toBig_to_uint :
forall x:smallBV.
to_uint_small x = to_uint_big (toBig x) | axiom | toBig_to_uint | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"smallBV",
"toBig",
"to_uint_big",
"to_uint_small"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
in_range (b : BV256.t) | = BV256.ule b (0xFFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF:BV256.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV256.t) | = BV256.ule b (0xFFFF_FFFF_FFFF_FFFF:BV256.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV256.t) | = BV256.ule b (0xFFFF_FFFF:BV256.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV256.t) | = BV256.ule b (0xFFFF:BV256.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV256.t) | = BV256.ule b (0xFF:BV256.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV128.t) | = BV128.ule b (0xFFFF_FFFF_FFFF_FFFF:BV128.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV128.t) | = BV128.ule b (0xFFFF_FFFF:BV128.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV128.t) | = BV128.ule b (0xFFFF:BV128.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV128.t) | = BV128.ule b (0xFF:BV128.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV64.t) | = BV64.ule b (0xFFFF_FFFF:BV64.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV64.t) | = BV64.ule b (0xFFFF:BV64.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV64.t) | = BV64.ule b (0xFF:BV64.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV32.t) | = BV32.ule b (0xFFFF:BV32.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV32.t) | = BV32.ule b (0xFF:BV32.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
in_range (b : BV16.t) | = BV16.ule b (0xFF:BV16.t) | predicate | in_range | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"ule"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
uge t t | predicate | uge | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
tBig | type | tBig | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
sto_big t : tBig | function | sto_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
uto_big t : tBig | function | uto_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
min_sint_as_big : tBig | = sto_big min_sint | constant | min_sint_as_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"min_sint",
"sto_big",
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_sint_as_big : tBig | = sto_big max_sint | constant | max_sint_as_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"max_sint",
"sto_big",
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
max_uint_as_big : tBig | = uto_big max_uint | constant | max_uint_as_big | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"max_uint",
"tBig",
"uto_big"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
ule tBig tBig | predicate | ule | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
sle tBig tBig | predicate | sle | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
add tBig tBig : tBig | function | add | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
sub tBig tBig : tBig | function | sub | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
mul tBig tBig : tBig | function | mul | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"tBig"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
u_add_o_bv_def (a b:t) | =
not (ule (add (uto_big a) (uto_big b)) max_uint_as_big) | predicate | u_add_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"add",
"max_uint_as_big",
"ule",
"uto_big"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
s_add_o_bv_def (a b:t) | =
let r = add (sto_big a) (sto_big b) in
not (sle min_sint_as_big r /\ sle r max_sint_as_big) | predicate | s_add_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"add",
"max_sint_as_big",
"min_sint_as_big",
"sle",
"sto_big"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
u_sub_o_bv_def (a b:t) | =
not (uge a b) | predicate | u_sub_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"uge"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
s_sub_o_bv_def (a b:t) | =
let r = sub (sto_big a) (sto_big b) in
not (sle min_sint_as_big r /\ sle r max_sint_as_big) | predicate | s_sub_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"max_sint_as_big",
"min_sint_as_big",
"sle",
"sto_big",
"sub"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
u_mul_o_bv_def (a b:t) | =
not (ule (mul (uto_big a) (uto_big b)) max_uint_as_big) | predicate | u_mul_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"max_uint_as_big",
"mul",
"ule",
"uto_big"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
s_mul_o_bv_def (a b:t) | =
let r = mul (sto_big a) (sto_big b) in
not (sle min_sint_as_big r /\ sle r max_sint_as_big) | predicate | s_mul_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"max_sint_as_big",
"min_sint_as_big",
"mul",
"sle",
"sto_big"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
s_div_o_bv_def (a b:t) | =
a = min_sint /\ b = minus_one | predicate | s_div_o_bv_def | stdlib | stdlib/bv.mlw | [
"BV128",
"BV16",
"BV256",
"BV32",
"BV64",
"BV8",
"BVConverter_Gen",
"BV_Gen",
"Pow2int",
"bool.Bool",
"int.ComputerDivision",
"int.EuclideanDivision",
"int.Int",
"why3.WellFounded.WellFounded"
] | [
"min_sint",
"minus_one"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
char | = byte | type | char | stdlib | stdlib/byte_string.mlw | [
"array.Array",
"array.ArrayEq",
"mach.int.Byte",
"mach.int.Int"
] | [
"byte"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
cstring | = array char | type | cstring | stdlib | stdlib/byte_string.mlw | [
"array.Array",
"array.ArrayEq",
"mach.int.Byte",
"mach.int.Int"
] | [
"array",
"char"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
Break | exception | Break | stdlib | stdlib/byte_string.mlw | [
"array.Array",
"array.ArrayEq",
"mach.int.Byte",
"mach.int.Int"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
(=) (s1 s2: cstring) : bool
ensures {result <-> array_eq s1 s2} | = if s1.length <> s2.length then false else
try
let ref i = 0 in
while i < s1.length do
variant { s1.length - i }
invariant { 0 <= i <= s1.length }
invariant { forall j. 0 <= j < i -> s1[j] = s2[j] }
if s1[i] <> s2[i] then raise Break;
i <- i + 1... | let | (=) | stdlib | stdlib/byte_string.mlw | [
"array.Array",
"array.ArrayEq",
"mach.int.Byte",
"mach.int.Int"
] | [
"Break",
"array_eq",
"cstring",
"length"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
concat (s1 s2: cstring) : cstring
ensures { result.length = s1.length + s2.length }
ensures { forall i. 0 <= i < s1.length -> result[i] = s1[i] }
ensures { forall i. s1.length <= i < result.length ->
result[i] = s2[i - s1.length] } | = let r = make (s1.length + s2.length) 0 in
let ref i = 0 in
while i < s1.length do
variant { s1.length - i }
invariant { 0 <= i <= s1.length }
invariant { forall j. 0 <= j < i -> r[j] = s1[j] }
r[i] <- s1[i];
i <- i + 1
done;
while i < s1.length + s2.length do
vari... | let function | concat | stdlib | stdlib/byte_string.mlw | [
"array.Array",
"array.ArrayEq",
"mach.int.Byte",
"mach.int.Int"
] | [
"cstring",
"length",
"make"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
cursor 'a | = private {
ghost mutable visited : seq 'a;
} | type | cursor | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"seq",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
permitted (cursor 'a) | predicate | permitted | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
permitted_empty: forall c: cursor 'a. c.visited = empty -> permitted c | axiom | permitted_empty | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor",
"empty",
"permitted",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
complete (cursor 'a) | predicate | complete | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
next (c: cursor 'a) : 'a
requires { not (complete c) }
requires { permitted c }
writes { c.visited }
ensures { c.visited = snoc (old c).visited result }
ensures { permitted c } | val | next | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"complete",
"cursor",
"permitted",
"snoc",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
has_next (c: cursor 'a) : bool
requires { permitted c }
ensures { result <-> not (complete c) } | val | has_next | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"complete",
"cursor",
"permitted"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
cursor 'a | = private {
ghost mutable visited : seq 'a;
ghost collection : list 'a;
} | type | cursor | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"list",
"seq",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
permitted (c: cursor 'a) | =
length c.visited <= length c.collection /\
forall i. 0 <= i < length c.visited -> c.visited[i] = c.collection[i] | predicate | permitted | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor",
"length",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
complete (c: cursor 'a) | =
length c.visited = length c.collection | predicate | complete | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor",
"length",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
create (l: list 'a) : cursor 'a
ensures { permitted result }
ensures { result.visited = empty }
ensures { result.collection = l } | val | create | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"cursor",
"empty",
"list",
"permitted",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
cursor 'a | = private {
ghost mutable visited : seq 'a;
ghost collection : seq 'a;
} | type | cursor | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"seq",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
create (a: array 'a) : cursor 'a
ensures { permitted result }
ensures { result.visited = empty }
ensures { result.collection = to_seq a } | val | create | stdlib | stdlib/cursor.mlw | [
"Cursor",
"array.Array",
"array.ToSeq",
"int.Int",
"list.List",
"seq.OfList",
"seq.Seq"
] | [
"array",
"cursor",
"empty",
"permitted",
"to_seq",
"visited"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
t | = { mutable foo: unit } | type | t | stdlib | stdlib/debug.mlw | [] | [
"foo",
"unit"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
t: t | val | t | stdlib | stdlib/debug.mlw | [] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
print (x:'a) : unit writes { t } | val | print | stdlib | stdlib/debug.mlw | [] | [
"unit"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
Not_found | exception | Not_found | stdlib | stdlib/exn.mlw | [] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
Exit | exception | Exit | stdlib | stdlib/exn.mlw | [] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
mode | = NearestTiesToEven | ToZero | Up | Down | NearestTiesToAway | type | mode | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
class | = Finite | Infinite | NaN | type | class | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
sign | = Neg | Pos | type | sign | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"Neg"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
same_sign_real sign real | =
| Neg_case: forall x:real. x < 0.0 -> same_sign_real Neg x
| Pos_case: forall x:real. x > 0.0 -> same_sign_real Pos x | inductive | same_sign_real | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"Neg",
"sign"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
same_sign_real_zero1 :
forall b:sign. not same_sign_real b 0.0 | lemma | same_sign_real_zero1 | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"same_sign_real",
"sign"
] | * useful ??? lemma sign_not_pos_neg : forall x:t. sign(x) <> Pos -> sign(x) = Neg lemma sign_not_neg_pos : forall x:t. sign(x) <> Neg -> sign(x) = Pos lemma sign_not_pos_neg : forall x:double. sign(x) <> Pos -> sign(x) = Neg lemma sign_not_neg_pos : forall x:double. sign(x) <> Neg -> sign(x) = Pos | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | |
same_sign_real_zero2 :
forall x:real.
same_sign_real Neg x /\ same_sign_real Pos x -> false | lemma | same_sign_real_zero2 | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"Neg",
"same_sign_real"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
same_sign_real_zero3 :
forall b:sign, x:real. same_sign_real b x -> x <> 0.0 | lemma | same_sign_real_zero3 | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"same_sign_real",
"sign"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
same_sign_real_correct2 :
forall b:sign, x:real.
same_sign_real b x -> (x < 0.0 <-> b = Neg) | lemma | same_sign_real_correct2 | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"Neg",
"same_sign_real",
"sign"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
same_sign_real_correct3 :
forall b:sign, x:real.
same_sign_real b x -> (x > 0.0 <-> b = Pos) | lemma | same_sign_real_correct3 | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"same_sign_real",
"sign"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
round mode real : real | function | round | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [
"mode"
] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
value t : real | function | value | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
exact t : real | function | exact | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 | ||
model t : real | function | model | stdlib | stdlib/floating_point.mlw | [
"DoubleFormat",
"GenFloat",
"GenFloatFull",
"GenFloatSpecFull",
"GenFloatSpecMultiRounding",
"GenFloatSpecStrict",
"Rounding",
"SingleFormat",
"SpecialValues",
"int.Int",
"real.Abs",
"real.FromInt",
"real.Real",
"real.Square"
] | [] | https://gitlab.inria.fr/why3/why3 | 7c59064b4eed9a4059292599f3a657716aa34784 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.