file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.AES.OptPublic_BE.fst
Vale.AES.OptPublic_BE.shift_gf128_key_1
val shift_gf128_key_1 (h: poly) : poly
val shift_gf128_key_1 (h: poly) : poly
let shift_gf128_key_1 (h:poly) : poly = shift_key_1 128 gf128_modulus_low_terms h
{ "file_name": "vale/code/crypto/aes/Vale.AES.OptPublic_BE.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 13, "start_col": 0, "start_line": 12 }
module Vale.AES.OptPublic_BE open FStar.Mul open FStar.Seq open Vale.Def.Types_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.Def.Words_s
{ "checked_file": "/", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.AES.GF128_s.fsti.checked", "Vale.AES.GF128.fsti.checked", "prims.fst...
[ { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128_s", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.poly", "Vale.AES.GF128.shift_key_1", "Vale.AES.GF128_s.gf128_modulus_low_terms" ]
[]
false
false
false
true
false
let shift_gf128_key_1 (h: poly) : poly =
shift_key_1 128 gf128_modulus_low_terms h
false
Vale.AES.OptPublic_BE.fst
Vale.AES.OptPublic_BE.gf128_power
val gf128_power (h: poly) (n: nat) : poly
val gf128_power (h: poly) (n: nat) : poly
let gf128_power (h:poly) (n:nat) : poly = shift_gf128_key_1 (g_power h n)
{ "file_name": "vale/code/crypto/aes/Vale.AES.OptPublic_BE.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 20, "start_col": 0, "start_line": 20 }
module Vale.AES.OptPublic_BE open FStar.Mul open FStar.Seq open Vale.Def.Types_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.Def.Words_s let shift_gf128_key_1 (h:poly) : poly = shift_key_1 128 gf128_modulus_low_terms h let rec g_power (a:poly) (n:nat) : po...
{ "checked_file": "/", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.AES.GF128_s.fsti.checked", "Vale.AES.GF128.fsti.checked", "prims.fst...
[ { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128_s", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.Math.Poly2_s.poly -> n: Prims.nat -> Vale.Math.Poly2_s.poly
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.poly", "Prims.nat", "Vale.AES.OptPublic_BE.shift_gf128_key_1", "Vale.AES.OptPublic_BE.g_power" ]
[]
false
false
false
true
false
let gf128_power (h: poly) (n: nat) : poly =
shift_gf128_key_1 (g_power h n)
false
Vale.AES.OptPublic_BE.fst
Vale.AES.OptPublic_BE.g_power
val g_power (a: poly) (n: nat) : poly
val g_power (a: poly) (n: nat) : poly
let rec g_power (a:poly) (n:nat) : poly = if n = 0 then zero else // arbitrary value for n = 0 if n = 1 then a else a *~ g_power a (n - 1)
{ "file_name": "vale/code/crypto/aes/Vale.AES.OptPublic_BE.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 18, "start_col": 0, "start_line": 15 }
module Vale.AES.OptPublic_BE open FStar.Mul open FStar.Seq open Vale.Def.Types_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.Def.Words_s let shift_gf128_key_1 (h:poly) : poly = shift_key_1 128 gf128_modulus_low_terms h
{ "checked_file": "/", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.AES.GF128_s.fsti.checked", "Vale.AES.GF128.fsti.checked", "prims.fst...
[ { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128_s", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Math.Poly2_s.poly -> n: Prims.nat -> Vale.Math.Poly2_s.poly
Prims.Tot
[ "total" ]
[]
[ "Vale.Math.Poly2_s.poly", "Prims.nat", "Prims.op_Equality", "Prims.int", "Vale.Math.Poly2_s.zero", "Prims.bool", "Vale.AES.GF128.op_Star_Tilde", "Vale.AES.OptPublic_BE.g_power", "Prims.op_Subtraction" ]
[ "recursion" ]
false
false
false
true
false
let rec g_power (a: poly) (n: nat) : poly =
if n = 0 then zero else if n = 1 then a else a *~ g_power a (n - 1)
false
Vale.AES.OptPublic_BE.fst
Vale.AES.OptPublic_BE.hkeys_reqs_pub
val hkeys_reqs_pub (hkeys:FStar.Seq.seq quad32) (h_BE:quad32) : Vale.Def.Prop_s.prop0
val hkeys_reqs_pub (hkeys:FStar.Seq.seq quad32) (h_BE:quad32) : Vale.Def.Prop_s.prop0
let hkeys_reqs_pub (hkeys:seq quad32) (h_BE:quad32) : Vale.Def.Prop_s.prop0 = let h = of_quad32 h_BE in length hkeys >= 3 /\ of_quad32 (index hkeys 0) == gf128_power h 1 /\ of_quad32 (index hkeys 1) == gf128_power h 2 /\ index hkeys 2 == h_BE
{ "file_name": "vale/code/crypto/aes/Vale.AES.OptPublic_BE.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 28, "start_col": 0, "start_line": 22 }
module Vale.AES.OptPublic_BE open FStar.Mul open FStar.Seq open Vale.Def.Types_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.Def.Words_s let shift_gf128_key_1 (h:poly) : poly = shift_key_1 128 gf128_modulus_low_terms h let rec g_power (a:poly) (n:nat) : po...
{ "checked_file": "/", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.AES.GF128_s.fsti.checked", "Vale.AES.GF128.fsti.checked", "prims.fst...
[ { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GF128_s", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
hkeys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> h_BE: Vale.Def.Types_s.quad32 -> Vale.Def.Prop_s.prop0
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "Vale.Def.Types_s.quad32", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Seq.Base.length", "Prims.eq2", "Vale.Math.Poly2_s.poly", "Vale.Math.Poly2.Bits_s.of_quad32", "FStar.Seq.Base.index", "Vale.AES.OptPublic_BE.gf128_power", "Vale.Def.Prop_s.prop0" ]
[]
false
false
false
true
false
let hkeys_reqs_pub (hkeys: seq quad32) (h_BE: quad32) : Vale.Def.Prop_s.prop0 =
let h = of_quad32 h_BE in length hkeys >= 3 /\ of_quad32 (index hkeys 0) == gf128_power h 1 /\ of_quad32 (index hkeys 1) == gf128_power h 2 /\ index hkeys 2 == h_BE
false
EverParse3d.Readable.fsti
EverParse3d.Readable.perm
val perm : b: LowStar.Buffer.buffer t -> Type0
let perm (#t: Type) (b: B.buffer t) = (x: perm0 t { perm_prop x b })
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 68, "end_line": 16, "start_col": 0, "start_line": 16 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: LowStar.Buffer.buffer t -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.Buffer.buffer", "EverParse3d.Readable.perm0", "EverParse3d.Readable.perm_prop" ]
[]
false
false
false
true
true
let perm (#t: Type) (b: B.buffer t) =
(x: perm0 t {perm_prop x b})
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.lognot_plus_one
val lognot_plus_one: e:uint16 -> Lemma (v (lognot e) == modulus U16 - v e - 1)
val lognot_plus_one: e:uint16 -> Lemma (v (lognot e) == modulus U16 - v e - 1)
let lognot_plus_one e = lognot_spec e; assert (v (lognot e) == UInt.lognot #16 (v e)); UInt.lemma_lognot_value_mod #16 (v e); assert (v (lognot e) == pow2 16 - v e - 1)
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 58, "start_col": 0, "start_line": 54 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: Lib.IntTypes.uint16 -> FStar.Pervasives.Lemma (ensures Lib.IntTypes.v (Lib.IntTypes.lognot e) == Lib.IntTypes.modulus Lib.IntTypes.U16 - Lib.IntTypes.v e - 1)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint16", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Lib.IntTypes.lognot", "Prims.op_Subtraction", "Prims.pow2", "Prims.unit", "FStar.UInt.lemma_lognot_value_mod", "Prims.l_or", "Lib.IntTypes.range", "FStar.UInt.size...
[]
true
false
true
false
false
let lognot_plus_one e =
lognot_spec e; assert (v (lognot e) == UInt.lognot #16 (v e)); UInt.lemma_lognot_value_mod #16 (v e); assert (v (lognot e) == pow2 16 - v e - 1)
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.lemma_frodo_sample
val lemma_frodo_sample: a:uint16{v a < pow2 15} -> b:uint16{v b < pow2 15} -> Lemma (let c0 = if v a > v b then 1 else 0 in let c1 = to_u16 (to_u32 (b -. a)) >>. 15ul in v c1 == c0)
val lemma_frodo_sample: a:uint16{v a < pow2 15} -> b:uint16{v b < pow2 15} -> Lemma (let c0 = if v a > v b then 1 else 0 in let c1 = to_u16 (to_u32 (b -. a)) >>. 15ul in v c1 == c0)
let lemma_frodo_sample a b = let c = to_u16 (to_u32 (b -. a)) in assert (v c < modulus U16); Math.Lemmas.lemma_div_lt (uint_v c) 16 15; let c1 = c >>. 15ul in assert (v c1 = v c / pow2 15); Math.Lemmas.pow2_minus 16 15; assert (v c1 = 0 \/ v c1 = 1)
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 31, "start_col": 0, "start_line": 24 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Lib.IntTypes.uint16{Lib.IntTypes.v a < Prims.pow2 15} -> b: Lib.IntTypes.uint16{Lib.IntTypes.v b < Prims.pow2 15} -> FStar.Pervasives.Lemma (ensures (let c0 = (match Lib.IntTypes.v a > Lib.IntTypes.v b with | true -> 1 | _ -> 0) <: Prims.int ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint16", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U16", "Lib.IntTypes.SEC", "Prims.pow2", "Prims._assert", "Prims.l_or", "Prims.op_Equality", "Prims.int", "Prims.unit", "FStar.Math.Lemmas.pow2_minus", "Prims.op_Division", "Lib.IntTypes.int_t", "Li...
[]
true
false
true
false
false
let lemma_frodo_sample a b =
let c = to_u16 (to_u32 (b -. a)) in assert (v c < modulus U16); Math.Lemmas.lemma_div_lt (uint_v c) 16 15; let c1 = c >>. 15ul in assert (v c1 = v c / pow2 15); Math.Lemmas.pow2_minus 16 15; assert (v c1 = 0 \/ v c1 = 1)
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.modulo_pow2_u16
val modulo_pow2_u16: a:uint16 -> b:size_nat{b < 16} -> Lemma (v a % pow2 b == v (a &. ((u16 1 <<. size b) -. u16 1)))
val modulo_pow2_u16: a:uint16 -> b:size_nat{b < 16} -> Lemma (v a % pow2 b == v (a &. ((u16 1 <<. size b) -. u16 1)))
let modulo_pow2_u16 a b = Math.Lemmas.pow2_lt_compat 16 b; mod_mask_lemma #U16 a (size b); assert (v (mod_mask #U16 #SEC (size b)) == v ((u16 1 <<. size b) -. u16 1))
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 40, "start_col": 0, "start_line": 37 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Lib.IntTypes.uint16 -> b: Lib.IntTypes.size_nat{b < 16} -> FStar.Pervasives.Lemma (ensures Lib.IntTypes.v a % Prims.pow2 b == Lib.IntTypes.v (a &. (Lib.IntTypes.u16 1 <<. Lib.IntTypes.size b) -. Lib.IntTypes.u16 1))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint16", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Prims._assert", "Prims.eq2", "Lib.IntTypes.range_t", "Lib.IntTypes.U16", "Lib.IntTypes.v", "Lib.IntTypes.SEC", "Lib.IntTypes.mod_mask", "Lib.IntTypes.size", "Lib.IntTypes.op_Subtraction_Dot", "Lib.IntTypes.o...
[]
true
false
true
false
false
let modulo_pow2_u16 a b =
Math.Lemmas.pow2_lt_compat 16 b; mod_mask_lemma #U16 a (size b); assert (v (mod_mask #U16 #SEC (size b)) == v ((u16 1 <<. size b) -. u16 1))
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.lemma_matrix_index_repeati2
val lemma_matrix_index_repeati2: n1:size_nat -> n2:size_nat -> i:size_nat{i < n1} -> j:size_nat{j < n2} -> Lemma (2 * (n1 * j + i) + 2 <= 2 * n1 * n2)
val lemma_matrix_index_repeati2: n1:size_nat -> n2:size_nat -> i:size_nat{i < n1} -> j:size_nat{j < n2} -> Lemma (2 * (n1 * j + i) + 2 <= 2 * n1 * n2)
let lemma_matrix_index_repeati2 n1 n2 i j = lemma_matrix_index_repeati1 n2 n1 j i
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 130, "start_col": 0, "start_line": 129 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n1: Lib.IntTypes.size_nat -> n2: Lib.IntTypes.size_nat -> i: Lib.IntTypes.size_nat{i < n1} -> j: Lib.IntTypes.size_nat{j < n2} -> FStar.Pervasives.Lemma (ensures 2 * (n1 * j + i) + 2 <= (2 * n1) * n2)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Spec.Frodo.Lemmas.lemma_matrix_index_repeati1", "Prims.unit" ]
[]
true
false
true
false
false
let lemma_matrix_index_repeati2 n1 n2 i j =
lemma_matrix_index_repeati1 n2 n1 j i
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.modulo_pow2_u64
val modulo_pow2_u64: a:uint64 -> b:size_nat{b < 64} -> Lemma (v a % pow2 b == v (a &. ((u64 1 <<. size b) -. u64 1)))
val modulo_pow2_u64: a:uint64 -> b:size_nat{b < 64} -> Lemma (v a % pow2 b == v (a &. ((u64 1 <<. size b) -. u64 1)))
let modulo_pow2_u64 a b = Math.Lemmas.pow2_lt_compat 64 b; mod_mask_lemma #U64 a (size b); assert (v (mod_mask #U64 #SEC (size b)) == v ((u64 1 <<. size b) -. u64 1))
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 49, "start_col": 0, "start_line": 46 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.size_nat{b < 64} -> FStar.Pervasives.Lemma (ensures Lib.IntTypes.v a % Prims.pow2 b == Lib.IntTypes.v (a &. (Lib.IntTypes.u64 1 <<. Lib.IntTypes.size b) -. Lib.IntTypes.u64 1))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint64", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Prims._assert", "Prims.eq2", "Lib.IntTypes.range_t", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.SEC", "Lib.IntTypes.mod_mask", "Lib.IntTypes.size", "Lib.IntTypes.op_Subtraction_Dot", "Lib.IntTypes.o...
[]
true
false
true
false
false
let modulo_pow2_u64 a b =
Math.Lemmas.pow2_lt_compat 64 b; mod_mask_lemma #U64 a (size b); assert (v (mod_mask #U64 #SEC (size b)) == v ((u64 1 <<. size b) -. u64 1))
false
EverParse3d.Readable.fsti
EverParse3d.Readable.readable_split'
val readable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from to)) (ensures (readable h p from mid /\ readable h p mid to))
val readable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from to)) (ensures (readable h p from mid /\ readable h p mid to))
let readable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (mid: U32.t) (to: U32.t { U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b }) : Lemma (requires (readable h p from to)) (ensures (readable h p from mid /\ readable h p mid to)) = readable_split h p...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 148, "start_col": 0, "start_line": 139 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> from: FStar.UInt32.t -> mid: FStar.UInt32.t -> to: FStar.UInt32.t { FStar.UInt32.v from <= FStar.UInt32.v mid /\ FStar.UInt32.v mid <= FStar.UInt32.v to /\ FStar.UInt32.v to <= LowStar.Monotonic.Buffer.le...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "EverParse3d.Readable.readable_split", "Prim...
[]
true
false
true
false
false
let readable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from to)) (ensures (readable h p from mid /\ readable h p mid to)) ...
readable_split h p from mid to
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.lemma_matrix_index_repeati1
val lemma_matrix_index_repeati1: n1:size_nat -> n2:size_nat -> i:size_nat{i < n1} -> j:size_nat{j < n2} -> Lemma (2 * (i * n2 + j) + 2 <= 2 * n1 * n2)
val lemma_matrix_index_repeati1: n1:size_nat -> n2:size_nat -> i:size_nat{i < n1} -> j:size_nat{j < n2} -> Lemma (2 * (i * n2 + j) + 2 <= 2 * n1 * n2)
let lemma_matrix_index_repeati1 n1 n2 i j = assert (i * n2 + j <= (n1 - 1) * n2 + (n2 - 1)); calc (<=) { 2 * (i * n2 + j) + 2; <= { Math.Lemmas.lemma_mult_le_right n2 i (n1 - 1) } 2 * ((n1 - 1) * n2 + (n2 - 1)) + 2; == { } 2 * (n1 - 1) * n2 + 2 * n2 - 2 + 2; == { } 2 * n1 * n2; }
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 122, "start_col": 0, "start_line": 112 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n1: Lib.IntTypes.size_nat -> n2: Lib.IntTypes.size_nat -> i: Lib.IntTypes.size_nat{i < n1} -> j: Lib.IntTypes.size_nat{j < n2} -> FStar.Pervasives.Lemma (ensures 2 * (i * n2 + j) + 2 <= (2 * n1) * n2)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Calc.calc_finish", "Prims.int", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.Cons", "FStar.Preorder.relation", "Prims.eq2", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Subtr...
[]
false
false
true
false
false
let lemma_matrix_index_repeati1 n1 n2 i j =
assert (i * n2 + j <= (n1 - 1) * n2 + (n2 - 1)); calc ( <= ) { 2 * (i * n2 + j) + 2; ( <= ) { Math.Lemmas.lemma_mult_le_right n2 i (n1 - 1) } 2 * ((n1 - 1) * n2 + (n2 - 1)) + 2; ( == ) { () } (2 * (n1 - 1)) * n2 + 2 * n2 - 2 + 2; ( == ) { () } (2 * n1) * n2; }
false
EverParse3d.Readable.fsti
EverParse3d.Readable.unreadable_merge'
val unreadable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from mid /\ unreadable h p mid to)) (ensures (unreadable h p fr...
val unreadable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from mid /\ unreadable h p mid to)) (ensures (unreadable h p fr...
let unreadable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (mid: U32.t) (to: U32.t { U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b }) : Lemma (requires ( unreadable h p from mid /\ unreadable h p mid to )) (ensures (unreadable h p from to)) ...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 263, "start_col": 0, "start_line": 251 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> from: FStar.UInt32.t -> mid: FStar.UInt32.t -> to: FStar.UInt32.t { FStar.UInt32.v from <= FStar.UInt32.v mid /\ FStar.UInt32.v mid <= FStar.UInt32.v to /\ FStar.UInt32.v to <= LowStar.Monotonic.Buffer.le...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "EverParse3d.Readable.unreadable_split", "Pr...
[]
true
false
true
false
false
let unreadable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from mid /\ unreadable h p mid to)) (ensures (unreadable h p fr...
unreadable_split h p from mid to
false
EverParse3d.Readable.fsti
EverParse3d.Readable.valid_perm_frame_pat
val valid_perm_frame_pat (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (l: B.loc) (h': HS.mem) : Lemma (requires (valid_perm h p /\ B.modifies l h h' /\ B.loc_disjoint (loc_perm p) l /\ B.live h' b)) (ensures (valid_perm h' p /\ preserved p 0ul (B.len b) h h')) [ SMTPatOr ...
val valid_perm_frame_pat (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (l: B.loc) (h': HS.mem) : Lemma (requires (valid_perm h p /\ B.modifies l h h' /\ B.loc_disjoint (loc_perm p) l /\ B.live h' b)) (ensures (valid_perm h' p /\ preserved p 0ul (B.len b) h h')) [ SMTPatOr ...
let valid_perm_frame_pat (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (l: B.loc) (h' : HS.mem) : Lemma (requires ( valid_perm h p /\ B.modifies l h h' /\ B.loc_disjoint (loc_perm p) l /\ B.live h' b // because nothing prevents b from being deallocated )) (ensures ( valid_perm h' p ...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 80, "start_col": 0, "start_line": 60 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> l: LowStar.Monotonic.Buffer.loc -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires EverParse3d.Readable.valid_perm h p /\ LowStar.Monotonic.Buffer.modifies l h h' /\ LowStar.Monotonic.B...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "LowStar.Monotonic.Buffer.loc", "EverParse3d.Readable.valid_perm_frame", "Prims.unit", "Prims.l_and", "EverParse3d.Readable.valid_perm", "LowStar.Monotonic.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_disjoi...
[]
true
false
true
false
false
let valid_perm_frame_pat (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (l: B.loc) (h': HS.mem) : Lemma (requires (valid_perm h p /\ B.modifies l h h' /\ B.loc_disjoint (loc_perm p) l /\ B.live h' b)) (ensures (valid_perm h' p /\ preserved p 0ul (B.len b) h h')) [ SMTPatOr ...
valid_perm_frame h p l h'
false
EverParse3d.Readable.fsti
EverParse3d.Readable.unreadable_split'
val unreadable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from to)) (ensures (unreadable h p from mid /\ unreadable h p m...
val unreadable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from to)) (ensures (unreadable h p from mid /\ unreadable h p m...
let unreadable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (mid: U32.t) (to: U32.t { U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b }) : Lemma (requires (unreadable h p from to)) (ensures (unreadable h p from mid /\ unreadable h p mid to)) = unreadable...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 249, "start_col": 0, "start_line": 240 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> from: FStar.UInt32.t -> mid: FStar.UInt32.t -> to: FStar.UInt32.t { FStar.UInt32.v from <= FStar.UInt32.v mid /\ FStar.UInt32.v mid <= FStar.UInt32.v to /\ FStar.UInt32.v to <= LowStar.Monotonic.Buffer.le...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "EverParse3d.Readable.unreadable_split", "Pr...
[]
true
false
true
false
false
let unreadable_split' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (unreadable h p from to)) (ensures (unreadable h p from mid /\ unreadable h p m...
unreadable_split h p from mid to
false
EverParse3d.Readable.fsti
EverParse3d.Readable.readable_frame
val readable_frame (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (to: U32.t{U32.v from <= U32.v to /\ U32.v to <= B.length b}) (l: B.loc) (h': HS.mem) : Lemma (requires (readable h p from to /\ B.modifies l h h' /\ B.loc_disjoint (loc_pe...
val readable_frame (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (to: U32.t{U32.v from <= U32.v to /\ U32.v to <= B.length b}) (l: B.loc) (h': HS.mem) : Lemma (requires (readable h p from to /\ B.modifies l h h' /\ B.loc_disjoint (loc_pe...
let readable_frame (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (to: U32.t { U32.v from <= U32.v to /\ U32.v to <= B.length b }) (l: B.loc) (h' : HS.mem) : Lemma (requires ( readable h p from to /\ B.modifies l h h' /\ B.loc_disjoint (loc_perm p) l /\ B.live h' b // becau...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 204, "start_col": 0, "start_line": 179 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> from: FStar.UInt32.t -> to: FStar.UInt32.t { FStar.UInt32.v from <= FStar.UInt32.v to /\ FStar.UInt32.v to <= LowStar.Monotonic.Buffer.length b } -> l: LowStar.Monotonic.Buffer.loc -> h': FStar.Monoto...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buffer.loc", "EverParse3d...
[]
true
false
true
false
false
let readable_frame (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (to: U32.t{U32.v from <= U32.v to /\ U32.v to <= B.length b}) (l: B.loc) (h': HS.mem) : Lemma (requires (readable h p from to /\ B.modifies l h h' /\ B.loc_disjoint (loc_pe...
valid_perm_frame h p l h'; preserved_split p 0ul from (B.len b) h h'; preserved_split p from to (B.len b) h h'; readable_frame0 h p from to h'
false
Spec.Frodo.Lemmas.fst
Spec.Frodo.Lemmas.lemma_matrix_index_repeati
val lemma_matrix_index_repeati: n1:size_nat -> n2:size_nat{n1 * n2 <= max_size_t /\ n2 % 8 = 0} -> d:size_nat{d * n1 <= max_size_t /\ d * n1 * n2 / 8 <= max_size_t} -> i:size_nat{i < n1} -> j:size_nat{j < n2 / 8} -> Lemma (i * (n2 / 8) <= max_size_t /\ i * (n2 / 8) + j <= max_size_t /\ (i * (n2 /...
val lemma_matrix_index_repeati: n1:size_nat -> n2:size_nat{n1 * n2 <= max_size_t /\ n2 % 8 = 0} -> d:size_nat{d * n1 <= max_size_t /\ d * n1 * n2 / 8 <= max_size_t} -> i:size_nat{i < n1} -> j:size_nat{j < n2 / 8} -> Lemma (i * (n2 / 8) <= max_size_t /\ i * (n2 / 8) + j <= max_size_t /\ (i * (n2 /...
let lemma_matrix_index_repeati n1 n2 d i j = calc (<=) { i * (n2 / 8) + j; <= { } (n1 - 1) * (n2 / 8) + j; <= { } (n1 - 1) * (n2 / 8) + (n2 / 8 - 1); }; Math.Lemmas.lemma_mult_le_right d (i * (n2 / 8) + j) (n1 * (n2 / 8) - 1)
{ "file_name": "specs/frodo/Spec.Frodo.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 152, "start_col": 0, "start_line": 144 }
module Spec.Frodo.Lemmas open FStar.Mul open Lib.IntTypes #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val lemma_mask_cast: mask:uint16{v mask = 0 \/ v mask = v (ones U16 SEC)} -> Lemma ((v mask = 0 ==> v (to_u8 mask) = 0) /\ (v mask = v (ones U16 SEC) ==> v (to_u8 mask) = v (ones U8 SEC))) let lemma_mask...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked", "FStar.Math.Lemmas.fst.checked", "FStar.Calc....
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Frodo", "short_module": null }, { "abbrev": false, "full_module": "Spec.Fro...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n1: Lib.IntTypes.size_nat -> n2: Lib.IntTypes.size_nat{n1 * n2 <= Lib.IntTypes.max_size_t /\ n2 % 8 = 0} -> d: Lib.IntTypes.size_nat {d * n1 <= Lib.IntTypes.max_size_t /\ (d * n1) * n2 / 8 <= Lib.IntTypes.max_size_t} -> i: Lib.IntTypes.size_nat{i < n1} -> j: Lib.IntTypes.size_nat{j < ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Prims.op_Division", "Prims.op_LessThan", "FStar.Math.Lemmas.lemma_mult_le_right", "Prims.op_Addition", "Pr...
[]
false
false
true
false
false
let lemma_matrix_index_repeati n1 n2 d i j =
calc ( <= ) { i * (n2 / 8) + j; ( <= ) { () } (n1 - 1) * (n2 / 8) + j; ( <= ) { () } (n1 - 1) * (n2 / 8) + (n2 / 8 - 1); }; Math.Lemmas.lemma_mult_le_right d (i * (n2 / 8) + j) (n1 * (n2 / 8) - 1)
false
EverParse3d.Readable.fsti
EverParse3d.Readable.readable_merge'
val readable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from mid /\ readable h p mid to)) (ensures (readable h p from to))
val readable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from mid /\ readable h p mid to)) (ensures (readable h p from to))
let readable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from: U32.t) (mid: U32.t) (to: U32.t { U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b }) : Lemma (requires ( readable h p from mid /\ readable h p mid to )) (ensures (readable h p from to)) = readab...
{ "file_name": "src/3d/prelude/buffer/EverParse3d.Readable.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 162, "start_col": 0, "start_line": 150 }
module EverParse3d.Readable module B = LowStar.Buffer module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 module LPL = LowParse.Low.Base // not erasable because Low* buffers of erased elements are not erasable inline_for_extraction noextract val perm0 (t: Type) : Tot Type0 val per...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Ghost.fsti.checked" ...
[ { "abbrev": true, "full_module": "LowParse.Low.Base", "short_module": "LPL" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> p: EverParse3d.Readable.perm b -> from: FStar.UInt32.t -> mid: FStar.UInt32.t -> to: FStar.UInt32.t { FStar.UInt32.v from <= FStar.UInt32.v mid /\ FStar.UInt32.v mid <= FStar.UInt32.v to /\ FStar.UInt32.v to <= LowStar.Monotonic.Buffer.le...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.Buffer.buffer", "EverParse3d.Readable.perm", "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "EverParse3d.Readable.readable_split", "Prim...
[]
true
false
true
false
false
let readable_merge' (h: HS.mem) (#t: _) (#b: B.buffer t) (p: perm b) (from mid: U32.t) (to: U32.t{U32.v from <= U32.v mid /\ U32.v mid <= U32.v to /\ U32.v to <= B.length b}) : Lemma (requires (readable h p from mid /\ readable h p mid to)) (ensures (readable h p from to)) ...
readable_split h p from mid to
false
FStar.Modifies.fst
FStar.Modifies.aloc
val aloc (r: HS.rid) (n: nat) : Tot (Type u#1)
val aloc (r: HS.rid) (n: nat) : Tot (Type u#1)
let aloc (r: HS.rid) (n: nat) : Tot (Type u#1) = (l: loc_aux { loc_aux_in_addr l r n } )
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 41, "start_col": 0, "start_line": 40 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> n: Prims.nat -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "Prims.nat", "FStar.Modifies.loc_aux", "FStar.Modifies.loc_aux_in_addr" ]
[]
false
false
false
true
true
let aloc (r: HS.rid) (n: nat) : Tot (Type u#1) =
(l: loc_aux{loc_aux_in_addr l r n})
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_includes_buffer
val loc_aux_includes_buffer (#a: Type) (s: loc_aux) (b: B.buffer a) : GTot Type0
val loc_aux_includes_buffer (#a: Type) (s: loc_aux) (b: B.buffer a) : GTot Type0
let loc_aux_includes_buffer (#a: Type) (s: loc_aux) (b: B.buffer a) : GTot Type0 = match s with | LocBuffer #a0 b0 -> a == a0 /\ b0 `B.includes` b
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 49, "start_col": 0, "start_line": 43 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc_aux -> b: FStar.Buffer.buffer a -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "Prims.l_and", "Prims.eq2", "FStar.Buffer.includes" ]
[]
false
false
false
false
true
let loc_aux_includes_buffer (#a: Type) (s: loc_aux) (b: B.buffer a) : GTot Type0 =
match s with | LocBuffer #a0 b0 -> a == a0 /\ b0 `B.includes` b
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_includes
val loc_aux_includes (s1 s2: loc_aux) : GTot Type0 (decreases s2)
val loc_aux_includes (s1 s2: loc_aux) : GTot Type0 (decreases s2)
let loc_aux_includes (s1 s2: loc_aux) : GTot Type0 (decreases s2) = match s2 with | LocBuffer b -> loc_aux_includes_buffer s1 b
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 56, "start_col": 0, "start_line": 51 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc_aux -> s2: FStar.Modifies.loc_aux -> Prims.GTot Type0
Prims.GTot
[ "sometrivial", "" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_includes_buffer" ]
[]
false
false
false
false
true
let loc_aux_includes (s1 s2: loc_aux) : GTot Type0 (decreases s2) =
match s2 with | LocBuffer b -> loc_aux_includes_buffer s1 b
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_includes_trans'
val loc_aux_includes_trans' (s1 s2 s3: loc_aux) : Lemma ((loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3) ==> loc_aux_includes s1 s3)
val loc_aux_includes_trans' (s1 s2 s3: loc_aux) : Lemma ((loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3) ==> loc_aux_includes s1 s3)
let loc_aux_includes_trans' (s1 s2: loc_aux) (s3: loc_aux) : Lemma ((loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3) ==> loc_aux_includes s1 s3) = Classical.move_requires (loc_aux_includes_trans s1 s2) s3
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 98, "start_col": 0, "start_line": 93 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc_aux -> s2: FStar.Modifies.loc_aux -> s3: FStar.Modifies.loc_aux -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_aux_includes s1 s2 /\ FStar.Modifies.loc_aux_includes s2 s3 ==> FStar.Modifies.loc_aux_includes s1 s3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Classical.move_requires", "Prims.l_and", "FStar.Modifies.loc_aux_includes", "FStar.Modifies.loc_aux_includes_trans", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_imp", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
false
false
true
false
false
let loc_aux_includes_trans' (s1 s2 s3: loc_aux) : Lemma ((loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3) ==> loc_aux_includes s1 s3) =
Classical.move_requires (loc_aux_includes_trans s1 s2) s3
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_disjoint_buffer
val loc_aux_disjoint_buffer (l: loc_aux) (#t: Type) (p: B.buffer t) : GTot Type0
val loc_aux_disjoint_buffer (l: loc_aux) (#t: Type) (p: B.buffer t) : GTot Type0
let loc_aux_disjoint_buffer (l: loc_aux) (#t: Type) (p: B.buffer t) : GTot Type0 = match l with | LocBuffer b -> B.disjoint b p
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 106, "start_col": 0, "start_line": 100 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Modifies.loc_aux -> p: FStar.Buffer.buffer t -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Buffer.disjoint" ]
[]
false
false
false
false
true
let loc_aux_disjoint_buffer (l: loc_aux) (#t: Type) (p: B.buffer t) : GTot Type0 =
match l with | LocBuffer b -> B.disjoint b p
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_in_addr
val loc_aux_in_addr (l: loc_aux) (r: HS.rid) (n: nat) : GTot Type0
val loc_aux_in_addr (l: loc_aux) (r: HS.rid) (n: nat) : GTot Type0
let loc_aux_in_addr (l: loc_aux) (r: HS.rid) (n: nat) : GTot Type0 = match l with | LocBuffer b -> B.frameOf b == r /\ B.as_addr b == n
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 38, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Modifies.loc_aux -> r: FStar.Monotonic.HyperHeap.rid -> n: Prims.nat -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Monotonic.HyperHeap.rid", "Prims.nat", "FStar.Buffer.buffer", "Prims.l_and", "Prims.eq2", "FStar.Buffer.frameOf", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_GreaterThan", "FStar.Buffer.as_addr" ]
[]
false
false
false
false
true
let loc_aux_in_addr (l: loc_aux) (r: HS.rid) (n: nat) : GTot Type0 =
match l with | LocBuffer b -> B.frameOf b == r /\ B.as_addr b == n
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_disjoint
val loc_aux_disjoint (l1 l2: loc_aux) : GTot Type0
val loc_aux_disjoint (l1 l2: loc_aux) : GTot Type0
let loc_aux_disjoint (l1 l2: loc_aux) : GTot Type0 = match l2 with | LocBuffer b -> loc_aux_disjoint_buffer l1 b
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 113, "start_col": 0, "start_line": 108 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc_aux -> l2: FStar.Modifies.loc_aux -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_disjoint_buffer" ]
[]
false
false
false
false
true
let loc_aux_disjoint (l1 l2: loc_aux) : GTot Type0 =
match l2 with | LocBuffer b -> loc_aux_disjoint_buffer l1 b
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_includes_loc_aux_includes_buffer
val loc_aux_includes_loc_aux_includes_buffer (#a: Type) (s1 s2: loc_aux) (b: B.buffer a) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes_buffer s2 b)) (ensures (loc_aux_includes_buffer s1 b))
val loc_aux_includes_loc_aux_includes_buffer (#a: Type) (s1 s2: loc_aux) (b: B.buffer a) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes_buffer s2 b)) (ensures (loc_aux_includes_buffer s1 b))
let loc_aux_includes_loc_aux_includes_buffer (#a: Type) (s1 s2: loc_aux) (b: B.buffer a) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes_buffer s2 b)) (ensures (loc_aux_includes_buffer s1 b)) = match s2 with | LocBuffer b2 -> loc_aux_includes_buffer_includes s1 b2 b
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 81, "start_col": 0, "start_line": 73 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc_aux -> s2: FStar.Modifies.loc_aux -> b: FStar.Buffer.buffer a -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_aux_includes s1 s2 /\ FStar.Modifies.loc_aux_includes_buffer s2 b ) (ensures FStar.Modifies.loc_aux_includes_buffer s1 b)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_includes_buffer_includes", "Prims.unit", "Prims.l_and", "FStar.Modifies.loc_aux_includes", "FStar.Modifies.loc_aux_includes_buffer", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
false
false
true
false
false
let loc_aux_includes_loc_aux_includes_buffer (#a: Type) (s1 s2: loc_aux) (b: B.buffer a) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes_buffer s2 b)) (ensures (loc_aux_includes_buffer s1 b)) =
match s2 with | LocBuffer b2 -> loc_aux_includes_buffer_includes s1 b2 b
false
FStar.Modifies.fst
FStar.Modifies.loc
val loc : Type u#1
val loc : Type u#1
let loc = MG.loc cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 183, "start_col": 0, "start_line": 183 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.loc", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
true
true
let loc =
MG.loc cls
false
FStar.Modifies.fst
FStar.Modifies.loc_none
val loc_none: loc
val loc_none: loc
let loc_none = MG.loc_none
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 185, "start_col": 0, "start_line": 185 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Modifies.loc
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.loc_none", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
true
false
let loc_none =
MG.loc_none
false
FStar.Modifies.fst
FStar.Modifies.loc_union
val loc_union (s1 s2: loc) : GTot loc
val loc_union (s1 s2: loc) : GTot loc
let loc_union = MG.loc_union
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 187, "start_col": 0, "start_line": 187 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> Prims.GTot FStar.Modifies.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.loc_union", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
false
let loc_union =
MG.loc_union
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_includes_trans
val loc_aux_includes_trans (s1 s2 s3: loc_aux) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3)) (ensures (loc_aux_includes s1 s3))
val loc_aux_includes_trans (s1 s2 s3: loc_aux) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3)) (ensures (loc_aux_includes s1 s3))
let loc_aux_includes_trans (s1 s2 s3: loc_aux) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3)) (ensures (loc_aux_includes s1 s3)) = match s3 with | LocBuffer b -> loc_aux_includes_loc_aux_includes_buffer s1 s2 b
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 67, "end_line": 89, "start_col": 0, "start_line": 83 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc_aux -> s2: FStar.Modifies.loc_aux -> s3: FStar.Modifies.loc_aux -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_aux_includes s1 s2 /\ FStar.Modifies.loc_aux_includes s2 s3) (ensures FStar.Modifies.loc_aux_includes s1 s3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_includes_loc_aux_includes_buffer", "Prims.unit", "Prims.l_and", "FStar.Modifies.loc_aux_includes", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
false
false
true
false
false
let loc_aux_includes_trans (s1 s2 s3: loc_aux) : Lemma (requires (loc_aux_includes s1 s2 /\ loc_aux_includes s2 s3)) (ensures (loc_aux_includes s1 s3)) =
match s3 with | LocBuffer b -> loc_aux_includes_loc_aux_includes_buffer s1 s2 b
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_disjoint_loc_aux_includes_buffer
val loc_aux_disjoint_loc_aux_includes_buffer (l1 l2: loc_aux) (#t3: Type) (b3: B.buffer t3) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes_buffer l2 b3)) (ensures (loc_aux_disjoint_buffer l1 b3))
val loc_aux_disjoint_loc_aux_includes_buffer (l1 l2: loc_aux) (#t3: Type) (b3: B.buffer t3) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes_buffer l2 b3)) (ensures (loc_aux_disjoint_buffer l1 b3))
let loc_aux_disjoint_loc_aux_includes_buffer (l1 l2: loc_aux) (#t3: Type) (b3: B.buffer t3) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes_buffer l2 b3)) (ensures (loc_aux_disjoint_buffer l1 b3)) = match l2 with | LocBuffer b2 -> loc_aux_disjoint_buffer_includes l1 b2 b3
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 139, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc_aux -> l2: FStar.Modifies.loc_aux -> b3: FStar.Buffer.buffer t3 -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_aux_disjoint l1 l2 /\ FStar.Modifies.loc_aux_includes_buffer l2 b3) (ensures FStar.Modifies.loc_aux_disjoint_buffer l1 b3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_disjoint_buffer_includes", "Prims.unit", "Prims.l_and", "FStar.Modifies.loc_aux_disjoint", "FStar.Modifies.loc_aux_includes_buffer", "Prims.squash", "FStar.Modifies.loc_aux_disjoint_buffer", "Prims.Nil", "FStar.Pervasives.p...
[]
false
false
true
false
false
let loc_aux_disjoint_loc_aux_includes_buffer (l1 l2: loc_aux) (#t3: Type) (b3: B.buffer t3) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes_buffer l2 b3)) (ensures (loc_aux_disjoint_buffer l1 b3)) =
match l2 with | LocBuffer b2 -> loc_aux_disjoint_buffer_includes l1 b2 b3
false
Vale.Transformers.InstructionReorder.fst
Vale.Transformers.InstructionReorder.lemma_perform_reordering_with_hint
val lemma_perform_reordering_with_hint (t: transformation_hint) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hint t cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) ...
val lemma_perform_reordering_with_hint (t: transformation_hint) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hint t cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) ...
let rec lemma_perform_reordering_with_hint (t:transformation_hint) (cs:codes) (fuel:nat) (s:machine_state) : Lemma (requires ( (Ok? (perform_reordering_with_hint t cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) (ensures ( let ...
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.InstructionReorder.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 2126, "start_col": 0, "start_line": 1968 }
(** This module defines a transformer that performs safe instruction reordering. Example: The following set of instructions can be reordered in any order without any observable change in behavior: mov rax, 10 mov rbx, 3 Usage: Actual vale-tool or user-facing code should pr...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Transformers.Lo...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Transformers.BoundedInstructionEffects", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Locations", "short_module": null }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 3, "initial_ifuel": 1, "max_fuel": 3, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Vale.Transformers.InstructionReorder.transformation_hint -> cs: Vale.X64.Machine_Semantics_s.codes -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> FStar.Pervasives.Lemma (requires Ok? (Vale.Transformers.InstructionReorder.perform_reordering_with_hint t cs) /\ ...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[ "lemma_perform_reordering_with_hint", "lemma_perform_reordering_with_hints" ]
[ "Vale.Transformers.InstructionReorder.transformation_hint", "Vale.X64.Machine_Semantics_s.codes", "Prims.nat", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X64.Bytes_Code_s.code_t", "Vale.X64.Machine_Semantics_s.instr_annotation", "Prims.list", "Vale.Transformers.InstructionReorder.is_empty_cod...
[ "mutual recursion" ]
false
false
true
false
false
let rec lemma_perform_reordering_with_hint (t: transformation_hint) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hint t cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) ...
let c = cs in let Ok cs' = perform_reordering_with_hint t cs in let Some s' = machine_eval_codes cs fuel s in let x :: xs = cs in if is_empty_codes [x] then (lemma_is_empty_codes [x] fuel s; match machine_eval_code x fuel s with | None -> () | Some s' -> lemma_eval_codes_equiv_states xs fuel s s'; ...
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_disjoint_loc_aux_includes
val loc_aux_disjoint_loc_aux_includes (l1 l2 l3: loc_aux) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes l2 l3)) (ensures (loc_aux_disjoint l1 l3))
val loc_aux_disjoint_loc_aux_includes (l1 l2 l3: loc_aux) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes l2 l3)) (ensures (loc_aux_disjoint l1 l3))
let loc_aux_disjoint_loc_aux_includes (l1 l2 l3: loc_aux) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes l2 l3)) (ensures (loc_aux_disjoint l1 l3)) = match l3 with | LocBuffer b3 -> loc_aux_disjoint_loc_aux_includes_buffer l1 l2 b3
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 148, "start_col": 0, "start_line": 141 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc_aux -> l2: FStar.Modifies.loc_aux -> l3: FStar.Modifies.loc_aux -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_aux_disjoint l1 l2 /\ FStar.Modifies.loc_aux_includes l2 l3) (ensures FStar.Modifies.loc_aux_disjoint l1 l3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Buffer.buffer", "FStar.Modifies.loc_aux_disjoint_loc_aux_includes_buffer", "Prims.unit", "Prims.l_and", "FStar.Modifies.loc_aux_disjoint", "FStar.Modifies.loc_aux_includes", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
false
false
true
false
false
let loc_aux_disjoint_loc_aux_includes (l1 l2 l3: loc_aux) : Lemma (requires (loc_aux_disjoint l1 l2 /\ loc_aux_includes l2 l3)) (ensures (loc_aux_disjoint l1 l3)) =
match l3 with | LocBuffer b3 -> loc_aux_disjoint_loc_aux_includes_buffer l1 l2 b3
false
FStar.Modifies.fst
FStar.Modifies.loc_aux_preserved
val loc_aux_preserved (l: loc_aux) (h1 h2: HS.mem) : GTot Type0
val loc_aux_preserved (l: loc_aux) (h1 h2: HS.mem) : GTot Type0
let loc_aux_preserved (l: loc_aux) (h1 h2: HS.mem) : GTot Type0 = match l with | LocBuffer b -> ( B.live h1 b ) ==> ( B.live h2 b /\ B.as_seq h2 b == B.as_seq h1 b )
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 158, "start_col": 0, "start_line": 150 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Modifies.loc_aux -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Modifies.loc_aux", "FStar.Monotonic.HyperStack.mem", "FStar.Buffer.buffer", "Prims.l_imp", "FStar.Buffer.live", "Prims.l_and", "Prims.eq2", "FStar.Seq.Base.seq", "Prims.l_or", "Prims.nat", "FStar.Seq.Base.length", "FStar.Buffer.length", "FStar.Buffer.as_seq" ]
[]
false
false
false
false
true
let loc_aux_preserved (l: loc_aux) (h1 h2: HS.mem) : GTot Type0 =
match l with | LocBuffer b -> (B.live h1 b) ==> (B.live h2 b /\ B.as_seq h2 b == B.as_seq h1 b)
false
FStar.Modifies.fst
FStar.Modifies.loc_regions
val loc_regions (preserve_liveness: bool) (r: Set.set HS.rid) : GTot loc
val loc_regions (preserve_liveness: bool) (r: Set.set HS.rid) : GTot loc
let loc_regions = MG.loc_regions
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 204, "start_col": 0, "start_line": 204 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> r: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> Prims.GTot FStar.Modifies.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.loc_regions", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
false
let loc_regions =
MG.loc_regions
false
FStar.Modifies.fst
FStar.Modifies.loc_includes
val loc_includes (s1 s2: loc) : GTot Type0
val loc_includes (s1 s2: loc) : GTot Type0
let loc_includes = MG.loc_includes
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 206, "start_col": 0, "start_line": 206 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.loc_includes", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
true
let loc_includes =
MG.loc_includes
false
FStar.Modifies.fst
FStar.Modifies.cls
val cls:MG.cls aloc
val cls:MG.cls aloc
let cls : MG.cls aloc = MG.Cls #aloc (fun #r #a -> loc_aux_includes) (fun #r #a x -> ()) (fun #r #a x1 x2 x3 -> ()) (fun #r #a -> loc_aux_disjoint) (fun #r #a x1 x2 -> ()) (fun #r #a larger1 larger2 smaller1 smaller2 -> ()) (fun #r #a -> loc_aux_preserved) (fun #r #a x h -> ()) (fun #r #a x h1 h2 h3 -...
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 181, "start_col": 0, "start_line": 162 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.ModifiesGen.cls FStar.Modifies.aloc
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.Cls", "FStar.Modifies.aloc", "FStar.Monotonic.HyperHeap.rid", "Prims.nat", "FStar.Modifies.loc_aux_includes", "Prims.unit", "FStar.Modifies.loc_aux_disjoint", "FStar.Modifies.loc_aux_preserved", "FStar.Monotonic.HyperStack.mem", "FStar.Preorder.preorder", "FStar.Monotonic.Hype...
[]
false
false
false
true
false
let cls:MG.cls aloc =
MG.Cls #aloc (fun #r #a -> loc_aux_includes) (fun #r #a x -> ()) (fun #r #a x1 x2 x3 -> ()) (fun #r #a -> loc_aux_disjoint) (fun #r #a x1 x2 -> ()) (fun #r #a larger1 larger2 smaller1 smaller2 -> ()) (fun #r #a -> loc_aux_preserved) (fun #r #a x h -> ()) (fun #r #a x h1 h2 h3 -> ()) (fun #r #a b h1 ...
false
Vale.Transformers.InstructionReorder.fst
Vale.Transformers.InstructionReorder.lemma_perform_reordering_with_hints
val lemma_perform_reordering_with_hints (ts: transformation_hints) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hints ts cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) ...
val lemma_perform_reordering_with_hints (ts: transformation_hints) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hints ts cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) ...
let rec lemma_perform_reordering_with_hint (t:transformation_hint) (cs:codes) (fuel:nat) (s:machine_state) : Lemma (requires ( (Ok? (perform_reordering_with_hint t cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok)) (ensures ( let ...
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.InstructionReorder.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 2126, "start_col": 0, "start_line": 1968 }
(** This module defines a transformer that performs safe instruction reordering. Example: The following set of instructions can be reordered in any order without any observable change in behavior: mov rax, 10 mov rbx, 3 Usage: Actual vale-tool or user-facing code should pr...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Transformers.Lo...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Transformers.BoundedInstructionEffects", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.Locations", "short_module": null }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 3, "initial_ifuel": 1, "max_fuel": 3, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ts: Vale.Transformers.InstructionReorder.transformation_hints -> cs: Vale.X64.Machine_Semantics_s.codes -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> FStar.Pervasives.Lemma (requires Ok? (Vale.Transformers.InstructionReorder.perform_reordering_with_hints ts cs) ...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[ "lemma_perform_reordering_with_hint", "lemma_perform_reordering_with_hints" ]
[ "Vale.Transformers.InstructionReorder.transformation_hints", "Vale.X64.Machine_Semantics_s.codes", "Prims.nat", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.Transformers.InstructionReorder.lemma_is_empty_codes", "Vale.Transformers.InstructionReorder.transformation_hint", "Prims.list", "Vale.X64...
[ "mutual recursion" ]
false
false
true
false
false
let rec lemma_perform_reordering_with_hints (ts: transformation_hints) (cs: codes) (fuel: nat) (s: machine_state) : Lemma (requires ((Ok? (perform_reordering_with_hints ts cs)) /\ (Some? (machine_eval_codes cs fuel s)) /\ (Some?.v (machine_eval_codes cs fuel s)).ms_ok...
let c = cs in let Ok cs' = perform_reordering_with_hints ts cs in let Some s' = machine_eval_codes cs fuel s in match ts with | [] -> lemma_is_empty_codes cs fuel s | t :: ts' -> let Ok (x :: xs) = perform_reordering_with_hint t c in lemma_perform_reordering_with_hint t c fuel s; let Ok xs' = perform_reordering_w...
false
FStar.Modifies.fst
FStar.Modifies.loc_union_idem
val loc_union_idem (s: loc) : Lemma (loc_union s s == s) [SMTPat (loc_union s s)]
val loc_union_idem (s: loc) : Lemma (loc_union s s == s) [SMTPat (loc_union s s)]
let loc_union_idem = MG.loc_union_idem
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 189, "start_col": 0, "start_line": 189 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_union s s == s) [SMTPat (FStar.Modifies.loc_union s s)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_union_idem", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_union_idem =
MG.loc_union_idem
false
FStar.Modifies.fst
FStar.Modifies.loc_union_loc_none_r
val loc_union_loc_none_r (s: loc) : Lemma (loc_union s loc_none == s) [SMTPat (loc_union s loc_none)]
val loc_union_loc_none_r (s: loc) : Lemma (loc_union s loc_none == s) [SMTPat (loc_union s loc_none)]
let loc_union_loc_none_r = MG.loc_union_loc_none_r
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 197, "start_col": 0, "start_line": 197 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_union s FStar.Modifies.loc_none == s) [SMTPat (FStar.Modifies.loc_union s FStar.Modifies.loc_none)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_union_loc_none_r", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_union_loc_none_r =
MG.loc_union_loc_none_r
false
FStar.Modifies.fst
FStar.Modifies.loc_union_comm
val loc_union_comm (s1 s2: loc) : Lemma (loc_union s1 s2 == loc_union s2 s1) [SMTPat (loc_union s1 s2)]
val loc_union_comm (s1 s2: loc) : Lemma (loc_union s1 s2 == loc_union s2 s1) [SMTPat (loc_union s1 s2)]
let loc_union_comm = MG.loc_union_comm
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 191, "start_col": 0, "start_line": 191 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_union s1 s2 == FStar.Modifies.loc_union s2 s1) [SMTPat (FStar.Modifies.loc_union s1 s2)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_union_comm", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_union_comm =
MG.loc_union_comm
false
FStar.Modifies.fst
FStar.Modifies.loc_union_assoc
val loc_union_assoc (s1 s2 s3: loc) : Lemma (loc_union s1 (loc_union s2 s3) == loc_union (loc_union s1 s2) s3)
val loc_union_assoc (s1 s2 s3: loc) : Lemma (loc_union s1 (loc_union s2 s3) == loc_union (loc_union s1 s2) s3)
let loc_union_assoc = MG.loc_union_assoc
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 193, "start_col": 0, "start_line": 193 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> s3: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_union s1 (FStar.Modifies.loc_union s2 s3) == FStar.Modifies.loc_union (FStar.Modifies.loc_union s1 s2) s3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_union_assoc", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_union_assoc =
MG.loc_union_assoc
false
FStar.Modifies.fst
FStar.Modifies.loc_union_loc_none_l
val loc_union_loc_none_l (s: loc) : Lemma (loc_union loc_none s == s) [SMTPat (loc_union loc_none s)]
val loc_union_loc_none_l (s: loc) : Lemma (loc_union loc_none s == s) [SMTPat (loc_union loc_none s)]
let loc_union_loc_none_l = MG.loc_union_loc_none_l
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 195, "start_col": 0, "start_line": 195 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_union FStar.Modifies.loc_none s == s) [SMTPat (FStar.Modifies.loc_union FStar.Modifies.loc_none s)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_union_loc_none_l", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_union_loc_none_l =
MG.loc_union_loc_none_l
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_refl
val loc_includes_refl (s: loc) : Lemma (loc_includes s s) [SMTPat (loc_includes s s)]
val loc_includes_refl (s: loc) : Lemma (loc_includes s s) [SMTPat (loc_includes s s)]
let loc_includes_refl = MG.loc_includes_refl
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 208, "start_col": 0, "start_line": 208 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes s s) [SMTPat (FStar.Modifies.loc_includes s s)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_refl", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_refl =
MG.loc_includes_refl
false
FStar.Modifies.fst
FStar.Modifies.loc_buffer
val loc_buffer (#t: Type) (b: B.buffer t) : GTot loc
val loc_buffer (#t: Type) (b: B.buffer t) : GTot loc
let loc_buffer #t b = MG.loc_of_aloc #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 200, "start_col": 0, "start_line": 199 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Buffer.buffer t -> Prims.GTot FStar.Modifies.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_of_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "FStar.Modifies.loc" ]
[]
false
false
false
false
false
let loc_buffer #t b =
MG.loc_of_aloc #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint
val loc_disjoint (s1 s2: loc) : GTot Type0
val loc_disjoint (s1 s2: loc) : GTot Type0
let loc_disjoint = MG.loc_disjoint
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 240, "start_col": 0, "start_line": 240 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.loc_disjoint", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
true
let loc_disjoint =
MG.loc_disjoint
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_trans
val loc_includes_trans (s1 s2 s3: loc) : Lemma (requires (loc_includes s1 s2 /\ loc_includes s2 s3)) (ensures (loc_includes s1 s3))
val loc_includes_trans (s1 s2 s3: loc) : Lemma (requires (loc_includes s1 s2 /\ loc_includes s2 s3)) (ensures (loc_includes s1 s3))
let loc_includes_trans = MG.loc_includes_trans
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 210, "start_col": 0, "start_line": 210 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> s3: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_includes s1 s2 /\ FStar.Modifies.loc_includes s2 s3) (ensures FStar.Modifies.loc_includes s1 s3)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_trans", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_trans =
MG.loc_includes_trans
false
FStar.Modifies.fst
FStar.Modifies.loc_addresses
val loc_addresses (preserve_liveness: bool) (r: HS.rid) (n: Set.set nat) : GTot loc
val loc_addresses (preserve_liveness: bool) (r: HS.rid) (n: Set.set nat) : GTot loc
let loc_addresses = MG.loc_addresses
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 36, "end_line": 202, "start_col": 0, "start_line": 202 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> r: FStar.Monotonic.HyperHeap.rid -> n: FStar.Set.set Prims.nat -> Prims.GTot FStar.Modifies.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.loc_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
false
let loc_addresses =
MG.loc_addresses
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_addresses_buffer
val loc_includes_addresses_buffer (#t: Type) (preserve_liveness: bool) (r: HS.rid) (s: Set.set nat) (p: B.buffer t) : Lemma (requires (B.frameOf p == r /\ Set.mem (B.as_addr p) s)) (ensures (loc_includes (loc_addresses preserve_liveness r s) (loc_buffer p))) [SMTPat (loc_includes (loc_addresses preserve...
val loc_includes_addresses_buffer (#t: Type) (preserve_liveness: bool) (r: HS.rid) (s: Set.set nat) (p: B.buffer t) : Lemma (requires (B.frameOf p == r /\ Set.mem (B.as_addr p) s)) (ensures (loc_includes (loc_addresses preserve_liveness r s) (loc_buffer p))) [SMTPat (loc_includes (loc_addresses preserve...
let loc_includes_addresses_buffer #t preserve_liveness r s p = MG.loc_includes_addresses_aloc #_ #cls preserve_liveness r s #(B.as_addr p) (LocBuffer p)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 91, "end_line": 227, "start_col": 0, "start_line": 226 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> r: FStar.Monotonic.HyperHeap.rid -> s: FStar.Set.set Prims.nat -> p: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (requires FStar.Buffer.frameOf p == r /\ FStar.Set.mem (FStar.Buffer.as_addr p) s) (ensures FStar.Modifies.loc_includes (FStar.Modi...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.bool", "FStar.Monotonic.HyperHeap.rid", "FStar.Set.set", "Prims.nat", "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_includes_addresses_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let loc_includes_addresses_buffer #t preserve_liveness r s p =
MG.loc_includes_addresses_aloc #_ #cls preserve_liveness r s #(B.as_addr p) (LocBuffer p)
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_region_buffer
val loc_includes_region_buffer (#t: Type) (preserve_liveness: bool) (s: Set.set HS.rid) (b: B.buffer t) : Lemma (requires (Set.mem (B.frameOf b) s)) (ensures (loc_includes (loc_regions preserve_liveness s) (loc_buffer b))) [SMTPat (loc_includes (loc_regions preserve_liveness s) (loc_buffer b))]
val loc_includes_region_buffer (#t: Type) (preserve_liveness: bool) (s: Set.set HS.rid) (b: B.buffer t) : Lemma (requires (Set.mem (B.frameOf b) s)) (ensures (loc_includes (loc_regions preserve_liveness s) (loc_buffer b))) [SMTPat (loc_includes (loc_regions preserve_liveness s) (loc_buffer b))]
let loc_includes_region_buffer #t preserve_liveness s b = MG.loc_includes_region_aloc #_ #cls preserve_liveness s #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 101, "end_line": 230, "start_col": 0, "start_line": 229 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> s: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> b: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (requires FStar.Set.mem (FStar.Buffer.frameOf b) s) (ensures FStar.Modifies.loc_includes (FStar.Modifies.loc_regions preserve_liveness s) (FStar.Mo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.bool", "FStar.Set.set", "FStar.Monotonic.HyperHeap.rid", "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_includes_region_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let loc_includes_region_buffer #t preserve_liveness s b =
MG.loc_includes_region_aloc #_ #cls preserve_liveness s #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_none
val loc_includes_none (s: loc) : Lemma (loc_includes s loc_none) [SMTPat (loc_includes s loc_none)]
val loc_includes_none (s: loc) : Lemma (loc_includes s loc_none) [SMTPat (loc_includes s loc_none)]
let loc_includes_none = MG.loc_includes_none
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 216, "start_col": 0, "start_line": 216 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes s FStar.Modifies.loc_none) [SMTPat (FStar.Modifies.loc_includes s FStar.Modifies.loc_none)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_none", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_none =
MG.loc_includes_none
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_region_addresses
val loc_includes_region_addresses (preserve_liveness1: bool) (preserve_liveness2: bool) (s: Set.set HS.rid) (r: HS.rid) (a: Set.set nat) : Lemma (requires (Set.mem r s)) (ensures (loc_includes (loc_regions preserve_liveness1 s) (loc_addresses preserve_liveness2 r a))) [SMTPat (loc_includes (loc_regions ...
val loc_includes_region_addresses (preserve_liveness1: bool) (preserve_liveness2: bool) (s: Set.set HS.rid) (r: HS.rid) (a: Set.set nat) : Lemma (requires (Set.mem r s)) (ensures (loc_includes (loc_regions preserve_liveness1 s) (loc_addresses preserve_liveness2 r a))) [SMTPat (loc_includes (loc_regions ...
let loc_includes_region_addresses = MG.loc_includes_region_addresses #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 76, "end_line": 232, "start_col": 0, "start_line": 232 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness1: Prims.bool -> preserve_liveness2: Prims.bool -> s: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> r: FStar.Monotonic.HyperHeap.rid -> a: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (requires FStar.Set.mem r s) (ensures FStar.Modifies.loc_includes (FStar.Mod...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_region_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_region_addresses =
MG.loc_includes_region_addresses #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_region_region
val loc_includes_region_region (preserve_liveness1: bool) (preserve_liveness2: bool) (s1 s2: Set.set HS.rid) : Lemma (requires ((preserve_liveness1 ==> preserve_liveness2) /\ Set.subset s2 s1)) (ensures (loc_includes (loc_regions preserve_liveness1 s1) (loc_regions preserve_liveness2 s2))) [SMTPat (loc_incl...
val loc_includes_region_region (preserve_liveness1: bool) (preserve_liveness2: bool) (s1 s2: Set.set HS.rid) : Lemma (requires ((preserve_liveness1 ==> preserve_liveness2) /\ Set.subset s2 s1)) (ensures (loc_includes (loc_regions preserve_liveness1 s1) (loc_regions preserve_liveness2 s2))) [SMTPat (loc_incl...
let loc_includes_region_region = MG.loc_includes_region_region #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 70, "end_line": 234, "start_col": 0, "start_line": 234 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness1: Prims.bool -> preserve_liveness2: Prims.bool -> s1: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> s2: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires (preserve_liveness1 ==> preserve_liveness2) /\ FStar.Set.subset s2 s1) (ensures ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_region_region", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_region_region =
MG.loc_includes_region_region #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_union_l
val loc_includes_union_l (s1 s2 s: loc) : Lemma (requires (loc_includes s1 s \/ loc_includes s2 s)) (ensures (loc_includes (loc_union s1 s2) s)) [SMTPat (loc_includes (loc_union s1 s2) s)]
val loc_includes_union_l (s1 s2 s: loc) : Lemma (requires (loc_includes s1 s \/ loc_includes s2 s)) (ensures (loc_includes (loc_union s1 s2) s)) [SMTPat (loc_includes (loc_union s1 s2) s)]
let loc_includes_union_l = MG.loc_includes_union_l
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 214, "start_col": 0, "start_line": 214 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_includes s1 s \/ FStar.Modifies.loc_includes s2 s) (ensures FStar.Modifies.loc_includes (FStar.Modifies.loc_union s1 s2) s) [SMTPat (FStar.Modifies.loc_includes (FStar.Mod...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_union_l", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_union_l =
MG.loc_includes_union_l
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_gsub_buffer_r
val loc_includes_gsub_buffer_r (l: loc) (#t: Type) (b: B.buffer t) (i: UInt32.t) (len: UInt32.t) : Lemma (requires (UInt32.v i + UInt32.v len <= (B.length b) /\ loc_includes l (loc_buffer b))) (ensures (UInt32.v i + UInt32.v len <= (B.length b) /\ loc_includes l (loc_buffer (B.sub b i len)))) [SMTPat (l...
val loc_includes_gsub_buffer_r (l: loc) (#t: Type) (b: B.buffer t) (i: UInt32.t) (len: UInt32.t) : Lemma (requires (UInt32.v i + UInt32.v len <= (B.length b) /\ loc_includes l (loc_buffer b))) (ensures (UInt32.v i + UInt32.v len <= (B.length b) /\ loc_includes l (loc_buffer (B.sub b i len)))) [SMTPat (l...
let loc_includes_gsub_buffer_r l #t b i len = loc_includes_trans l (loc_buffer b) (loc_buffer (B.sub b i len))
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 222, "start_col": 0, "start_line": 221 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Modifies.loc -> b: FStar.Buffer.buffer t -> i: FStar.UInt32.t -> len: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires FStar.UInt32.v i + FStar.UInt32.v len <= FStar.Buffer.length b /\ FStar.Modifies.loc_includes l (FStar.Modifies.loc_buffer b)) (ensures FStar.UInt32.v i...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc", "FStar.Buffer.buffer", "FStar.UInt32.t", "FStar.Modifies.loc_includes_trans", "FStar.Modifies.loc_buffer", "FStar.Buffer.sub", "Prims.unit" ]
[]
true
false
true
false
false
let loc_includes_gsub_buffer_r l #t b i len =
loc_includes_trans l (loc_buffer b) (loc_buffer (B.sub b i len))
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_union_r
val loc_includes_union_r (s s1 s2: loc) : Lemma (requires (loc_includes s s1 /\ loc_includes s s2)) (ensures (loc_includes s (loc_union s1 s2))) [SMTPat (loc_includes s (loc_union s1 s2))]
val loc_includes_union_r (s s1 s2: loc) : Lemma (requires (loc_includes s s1 /\ loc_includes s s2)) (ensures (loc_includes s (loc_union s1 s2))) [SMTPat (loc_includes s (loc_union s1 s2))]
let loc_includes_union_r = MG.loc_includes_union_r
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 212, "start_col": 0, "start_line": 212 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_includes s s1 /\ FStar.Modifies.loc_includes s s2) (ensures FStar.Modifies.loc_includes s (FStar.Modifies.loc_union s1 s2)) [SMTPat (FStar.Modifies.loc_includes s (FStar.M...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_union_r", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_union_r =
MG.loc_includes_union_r
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_buffer
val loc_includes_buffer (#t: Type) (b1 b2: B.buffer t) : Lemma (requires (b1 `B.includes` b2)) (ensures (loc_includes (loc_buffer b1) (loc_buffer b2))) [SMTPatOr [ [SMTPat (B.includes b1 b2)]; [SMTPat (loc_includes(loc_buffer b1) (loc_buffer b2))] ]]
val loc_includes_buffer (#t: Type) (b1 b2: B.buffer t) : Lemma (requires (b1 `B.includes` b2)) (ensures (loc_includes (loc_buffer b1) (loc_buffer b2))) [SMTPatOr [ [SMTPat (B.includes b1 b2)]; [SMTPat (loc_includes(loc_buffer b1) (loc_buffer b2))] ]]
let loc_includes_buffer #t b1 b2 = MG.loc_includes_aloc #_ #cls #(B.frameOf b1) #(B.as_addr b1) (LocBuffer b1) (LocBuffer b2)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 92, "end_line": 219, "start_col": 0, "start_line": 218 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b1: FStar.Buffer.buffer t -> b2: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (requires FStar.Buffer.includes b1 b2) (ensures FStar.Modifies.loc_includes (FStar.Modifies.loc_buffer b1) (FStar.Modifies.loc_buffer b2)) [ SMTPatOr [ [SMTPat (FStar.Buffer.includes b1 b2)]; ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_includes_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let loc_includes_buffer #t b1 b2 =
MG.loc_includes_aloc #_ #cls #(B.frameOf b1) #(B.as_addr b1) (LocBuffer b1) (LocBuffer b2)
false
FStar.Modifies.fst
FStar.Modifies.modifies
val modifies (s: loc) (h1 h2: HS.mem) : GTot Type0
val modifies (s: loc) (h1 h2: HS.mem) : GTot Type0
let modifies = MG.modifies
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 262, "start_col": 0, "start_line": 262 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.modifies", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
false
true
let modifies =
MG.modifies
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_addresses_addresses
val loc_includes_addresses_addresses (preserve_liveness1 preserve_liveness2: bool) (r: HS.rid) (s1 s2: Set.set nat) : Lemma (requires ((preserve_liveness1 ==> preserve_liveness2) /\ Set.subset s2 s1)) (ensures (loc_includes (loc_addresses preserve_liveness1 r s1) (loc_addresses preserve_liveness2 r s2)))
val loc_includes_addresses_addresses (preserve_liveness1 preserve_liveness2: bool) (r: HS.rid) (s1 s2: Set.set nat) : Lemma (requires ((preserve_liveness1 ==> preserve_liveness2) /\ Set.subset s2 s1)) (ensures (loc_includes (loc_addresses preserve_liveness1 r s1) (loc_addresses preserve_liveness2 r s2)))
let loc_includes_addresses_addresses = MG.loc_includes_addresses_addresses #_ cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 81, "end_line": 238, "start_col": 0, "start_line": 238 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness1: Prims.bool -> preserve_liveness2: Prims.bool -> r: FStar.Monotonic.HyperHeap.rid -> s1: FStar.Set.set Prims.nat -> s2: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (requires (preserve_liveness1 ==> preserve_liveness2) /\ FStar.Set.subset s2 s1) (ensures ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_addresses_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_addresses_addresses =
MG.loc_includes_addresses_addresses #_ cls
false
FStar.Modifies.fst
FStar.Modifies.loc_includes_region_union_l
val loc_includes_region_union_l (preserve_liveness: bool) (l: loc) (s1 s2: Set.set HS.rid) : Lemma (requires (loc_includes l (loc_regions preserve_liveness (Set.intersect s2 (Set.complement s1))))) (ensures (loc_includes (loc_union (loc_regions preserve_liveness s1) l) (loc_regions preserve_liveness s2))) [...
val loc_includes_region_union_l (preserve_liveness: bool) (l: loc) (s1 s2: Set.set HS.rid) : Lemma (requires (loc_includes l (loc_regions preserve_liveness (Set.intersect s2 (Set.complement s1))))) (ensures (loc_includes (loc_union (loc_regions preserve_liveness s1) l) (loc_regions preserve_liveness s2))) [...
let loc_includes_region_union_l = MG.loc_includes_region_union_l
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 64, "end_line": 236, "start_col": 0, "start_line": 236 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> l: FStar.Modifies.loc -> s1: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> s2: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_includes l (FStar.Modifies.loc_regions preserve_liveness ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_region_union_l", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_includes_region_union_l =
MG.loc_includes_region_union_l
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_sym
val loc_disjoint_sym (s1 s2: loc) : Lemma (requires (loc_disjoint s1 s2)) (ensures (loc_disjoint s2 s1))
val loc_disjoint_sym (s1 s2: loc) : Lemma (requires (loc_disjoint s1 s2)) (ensures (loc_disjoint s2 s1))
let loc_disjoint_sym = MG.loc_disjoint_sym
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 242, "start_col": 0, "start_line": 242 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_disjoint s1 s2) (ensures FStar.Modifies.loc_disjoint s2 s1)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_sym", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_sym =
MG.loc_disjoint_sym
false
FStar.Modifies.fst
FStar.Modifies.region_liveness_insensitive_locs
val region_liveness_insensitive_locs: loc
val region_liveness_insensitive_locs: loc
let region_liveness_insensitive_locs = MG.region_liveness_insensitive_locs _
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 76, "end_line": 275, "start_col": 0, "start_line": 275 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Modifies.loc
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.region_liveness_insensitive_locs", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
true
false
let region_liveness_insensitive_locs =
MG.region_liveness_insensitive_locs _
false
FStar.Modifies.fst
FStar.Modifies.address_liveness_insensitive_locs
val address_liveness_insensitive_locs: loc
val address_liveness_insensitive_locs: loc
let address_liveness_insensitive_locs = MG.address_liveness_insensitive_locs _
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 273, "start_col": 0, "start_line": 273 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Modifies.loc
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.address_liveness_insensitive_locs", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
false
true
false
let address_liveness_insensitive_locs =
MG.address_liveness_insensitive_locs _
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_union_r
val loc_disjoint_union_r (s s1 s2: loc) : Lemma (requires (loc_disjoint s s1 /\ loc_disjoint s s2)) (ensures (loc_disjoint s (loc_union s1 s2))) [SMTPat (loc_disjoint s (loc_union s1 s2))]
val loc_disjoint_union_r (s s1 s2: loc) : Lemma (requires (loc_disjoint s s1 /\ loc_disjoint s s2)) (ensures (loc_disjoint s (loc_union s1 s2))) [SMTPat (loc_disjoint s (loc_union s1 s2))]
let loc_disjoint_union_r = MG.loc_disjoint_union_r
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 246, "start_col": 0, "start_line": 246 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> s1: FStar.Modifies.loc -> s2: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_disjoint s s1 /\ FStar.Modifies.loc_disjoint s s2) (ensures FStar.Modifies.loc_disjoint s (FStar.Modifies.loc_union s1 s2)) [SMTPat (FStar.Modifies.loc_disjoint s (FStar.M...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_union_r", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_union_r =
MG.loc_disjoint_union_r
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_addresses
val loc_disjoint_addresses (preserve_liveness1 preserve_liveness2: bool) (r1 r2: HS.rid) (n1 n2: Set.set nat) : Lemma (requires (r1 <> r2 \/ Set.subset (Set.intersect n1 n2) Set.empty)) (ensures (loc_disjoint (loc_addresses preserve_liveness1 r1 n1) (loc_addresses preserve_liveness2 r2 n2))) [SMTPat (loc_di...
val loc_disjoint_addresses (preserve_liveness1 preserve_liveness2: bool) (r1 r2: HS.rid) (n1 n2: Set.set nat) : Lemma (requires (r1 <> r2 \/ Set.subset (Set.intersect n1 n2) Set.empty)) (ensures (loc_disjoint (loc_addresses preserve_liveness1 r1 n1) (loc_addresses preserve_liveness2 r2 n2))) [SMTPat (loc_di...
let loc_disjoint_addresses = MG.loc_disjoint_addresses #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 62, "end_line": 255, "start_col": 0, "start_line": 255 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness1: Prims.bool -> preserve_liveness2: Prims.bool -> r1: FStar.Monotonic.HyperHeap.rid -> r2: FStar.Monotonic.HyperHeap.rid -> n1: FStar.Set.set Prims.nat -> n2: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (requires r1 <> r2 \/ FStar.Set.subset (FStar.Set.intersect ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_addresses =
MG.loc_disjoint_addresses #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_includes
val loc_disjoint_includes (p1 p2 p1' p2' : loc) : Lemma (requires (loc_includes p1 p1' /\ loc_includes p2 p2' /\ loc_disjoint p1 p2)) (ensures (loc_disjoint p1' p2')) [SMTPatOr [ [SMTPat (loc_disjoint p1 p2); SMTPat (loc_disjoint p1' p2')]; [SMTPat (loc_includes p1 p1'); SMTPat (loc_includes p2 p2')]; ...
val loc_disjoint_includes (p1 p2 p1' p2' : loc) : Lemma (requires (loc_includes p1 p1' /\ loc_includes p2 p2' /\ loc_disjoint p1 p2)) (ensures (loc_disjoint p1' p2')) [SMTPatOr [ [SMTPat (loc_disjoint p1 p2); SMTPat (loc_disjoint p1' p2')]; [SMTPat (loc_includes p1 p1'); SMTPat (loc_includes p2 p2')]; ...
let loc_disjoint_includes = MG.loc_disjoint_includes
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 248, "start_col": 0, "start_line": 248 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p1: FStar.Modifies.loc -> p2: FStar.Modifies.loc -> p1': FStar.Modifies.loc -> p2': FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_includes p1 p1' /\ FStar.Modifies.loc_includes p2 p2' /\ FStar.Modifies.loc_disjoint p1 p2) (ensures FStar.Modifies...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_includes", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_includes =
MG.loc_disjoint_includes
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_buffer
val loc_disjoint_buffer (#t1 #t2: Type) (b1: B.buffer t1) (b2: B.buffer t2) : Lemma (requires (B.disjoint b1 b2)) (ensures (loc_disjoint (loc_buffer b1) (loc_buffer b2))) [SMTPatOr [ [SMTPat (B.disjoint b1 b2)]; [SMTPat (loc_disjoint (loc_buffer b1) (loc_buffer b2))]; ]]
val loc_disjoint_buffer (#t1 #t2: Type) (b1: B.buffer t1) (b2: B.buffer t2) : Lemma (requires (B.disjoint b1 b2)) (ensures (loc_disjoint (loc_buffer b1) (loc_buffer b2))) [SMTPatOr [ [SMTPat (B.disjoint b1 b2)]; [SMTPat (loc_disjoint (loc_buffer b1) (loc_buffer b2))]; ]]
let loc_disjoint_buffer #t1 #t2 b1 b2 = MG.loc_disjoint_aloc_intro #_ #cls #(B.frameOf b1) #(B.as_addr b1) #(B.frameOf b2) #(B.as_addr b2) (LocBuffer b1) (LocBuffer b2)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 130, "end_line": 251, "start_col": 0, "start_line": 250 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b1: FStar.Buffer.buffer t1 -> b2: FStar.Buffer.buffer t2 -> FStar.Pervasives.Lemma (requires FStar.Buffer.disjoint b1 b2) (ensures FStar.Modifies.loc_disjoint (FStar.Modifies.loc_buffer b1) (FStar.Modifies.loc_buffer b2)) [ SMTPatOr [ [SMTPat (FStar.Buffer.disjoint b1 b2)]; ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_disjoint_aloc_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let loc_disjoint_buffer #t1 #t2 b1 b2 =
MG.loc_disjoint_aloc_intro #_ #cls #(B.frameOf b1) #(B.as_addr b1) #(B.frameOf b2) #(B.as_addr b2) (LocBuffer b1) (LocBuffer b2)
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_none_r
val loc_disjoint_none_r (s: loc) : Lemma (ensures (loc_disjoint s loc_none)) [SMTPat (loc_disjoint s loc_none)]
val loc_disjoint_none_r (s: loc) : Lemma (ensures (loc_disjoint s loc_none)) [SMTPat (loc_disjoint s loc_none)]
let loc_disjoint_none_r = MG.loc_disjoint_none_r
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 244, "start_col": 0, "start_line": 244 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_disjoint s FStar.Modifies.loc_none) [SMTPat (FStar.Modifies.loc_disjoint s FStar.Modifies.loc_none)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_none_r", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_none_r =
MG.loc_disjoint_none_r
false
FStar.Modifies.fst
FStar.Modifies.address_liveness_insensitive_buffer
val address_liveness_insensitive_buffer (#t: Type) (b: B.buffer t) : Lemma (address_liveness_insensitive_locs `loc_includes` (loc_buffer b)) [SMTPat (address_liveness_insensitive_locs `loc_includes` (loc_buffer b))]
val address_liveness_insensitive_buffer (#t: Type) (b: B.buffer t) : Lemma (address_liveness_insensitive_locs `loc_includes` (loc_buffer b)) [SMTPat (address_liveness_insensitive_locs `loc_includes` (loc_buffer b))]
let address_liveness_insensitive_buffer #t b = MG.loc_includes_address_liveness_insensitive_locs_aloc #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 108, "end_line": 278, "start_col": 0, "start_line": 277 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes FStar.Modifies.address_liveness_insensitive_locs (FStar.Modifies.loc_buffer b)) [ SMTPat (FStar.Modifies.loc_includes FStar.Modifies.address_liveness_insensitive_locs (FStar.Modi...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_includes_address_liveness_insensitive_locs_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let address_liveness_insensitive_buffer #t b =
MG.loc_includes_address_liveness_insensitive_locs_aloc #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_regions
val loc_disjoint_regions (preserve_liveness1 preserve_liveness2: bool) (rs1 rs2: Set.set HS.rid) : Lemma (requires (Set.subset (Set.intersect rs1 rs2) Set.empty)) (ensures (loc_disjoint (loc_regions preserve_liveness1 rs1) (loc_regions preserve_liveness2 rs2))) [SMTPat (loc_disjoint (loc_regions preserve_live...
val loc_disjoint_regions (preserve_liveness1 preserve_liveness2: bool) (rs1 rs2: Set.set HS.rid) : Lemma (requires (Set.subset (Set.intersect rs1 rs2) Set.empty)) (ensures (loc_disjoint (loc_regions preserve_liveness1 rs1) (loc_regions preserve_liveness2 rs2))) [SMTPat (loc_disjoint (loc_regions preserve_live...
let loc_disjoint_regions = MG.loc_disjoint_regions #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 260, "start_col": 0, "start_line": 260 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness1: Prims.bool -> preserve_liveness2: Prims.bool -> rs1: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> rs2: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires FStar.Set.subset (FStar.Set.intersect rs1 rs2) FStar.Set.empty) (ensures FSt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_disjoint_regions", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let loc_disjoint_regions =
MG.loc_disjoint_regions #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_refl
val modifies_refl (s: loc) (h: HS.mem) : Lemma (modifies s h h) [SMTPat (modifies s h h)]
val modifies_refl (s: loc) (h: HS.mem) : Lemma (modifies s h h) [SMTPat (modifies s h h)]
let modifies_refl = MG.modifies_refl
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 36, "end_line": 269, "start_col": 0, "start_line": 269 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (ensures FStar.Modifies.modifies s h h) [SMTPat (FStar.Modifies.modifies s h h)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_refl", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_refl =
MG.modifies_refl
false
FStar.Modifies.fst
FStar.Modifies.region_liveness_insensitive_buffer
val region_liveness_insensitive_buffer (#t: Type) (b: B.buffer t) : Lemma (region_liveness_insensitive_locs `loc_includes` (loc_buffer b)) [SMTPat (region_liveness_insensitive_locs `loc_includes` (loc_buffer b))]
val region_liveness_insensitive_buffer (#t: Type) (b: B.buffer t) : Lemma (region_liveness_insensitive_locs `loc_includes` (loc_buffer b)) [SMTPat (region_liveness_insensitive_locs `loc_includes` (loc_buffer b))]
let region_liveness_insensitive_buffer #t b = MG.loc_includes_region_liveness_insensitive_locs_loc_of_aloc #_ cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 113, "end_line": 284, "start_col": 0, "start_line": 283 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes FStar.Modifies.region_liveness_insensitive_locs (FStar.Modifies.loc_buffer b)) [ SMTPat (FStar.Modifies.loc_includes FStar.Modifies.region_liveness_insensitive_locs (FStar.Modifi...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "FStar.ModifiesGen.loc_includes_region_liveness_insensitive_locs_loc_of_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let region_liveness_insensitive_buffer #t b =
MG.loc_includes_region_liveness_insensitive_locs_loc_of_aloc #_ cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b)
false
FStar.Modifies.fst
FStar.Modifies.modifies_buffer_elim
val modifies_buffer_elim (#t1: Type) (b: B.buffer t1) (p: loc) (h h': HS.mem) : Lemma (requires ( loc_disjoint (loc_buffer b) p /\ B.live h b /\ modifies p h h' )) (ensures ( B.live h' b /\ ( B.as_seq h b == B.as_seq h' b ))) [SMTPatOr [ [ SMTPat (modifies p h h'); SMTPat (B.as...
val modifies_buffer_elim (#t1: Type) (b: B.buffer t1) (p: loc) (h h': HS.mem) : Lemma (requires ( loc_disjoint (loc_buffer b) p /\ B.live h b /\ modifies p h h' )) (ensures ( B.live h' b /\ ( B.as_seq h b == B.as_seq h' b ))) [SMTPatOr [ [ SMTPat (modifies p h h'); SMTPat (B.as...
let modifies_buffer_elim #t1 b p h h' = MG.modifies_aloc_elim #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b) p h h'
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 82, "end_line": 267, "start_col": 0, "start_line": 266 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Buffer.buffer t1 -> p: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_disjoint (FStar.Modifies.loc_buffer b) p /\ FStar.Buffer.live h b /\ FStar.Modifies.modifies p h h...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "FStar.Modifies.loc", "FStar.Monotonic.HyperStack.mem", "FStar.ModifiesGen.modifies_aloc_elim", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let modifies_buffer_elim #t1 b p h h' =
MG.modifies_aloc_elim #_ #cls #(B.frameOf b) #(B.as_addr b) (LocBuffer b) p h h'
false
FStar.Modifies.fst
FStar.Modifies.modifies_mreference_elim
val modifies_mreference_elim (#t: Type) (#pre: Preorder.preorder t) (b: HS.mreference t pre) (p: loc) (h h': HS.mem) : Lemma (requires ( loc_disjoint (loc_mreference b) p /\ HS.contains h b /\ modifies p h h' )) (ensures ( HS.contains h' b /\ HS.sel h b == HS.sel h' b )) [SMTPatO...
val modifies_mreference_elim (#t: Type) (#pre: Preorder.preorder t) (b: HS.mreference t pre) (p: loc) (h h': HS.mem) : Lemma (requires ( loc_disjoint (loc_mreference b) p /\ HS.contains h b /\ modifies p h h' )) (ensures ( HS.contains h' b /\ HS.sel h b == HS.sel h' b )) [SMTPatO...
let modifies_mreference_elim = MG.modifies_mreference_elim
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 264, "start_col": 0, "start_line": 264 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Monotonic.HyperStack.mreference t pre -> p: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Modifies.loc_disjoint (FStar.Modifies.loc_mreference b) p /\ FStar.Monotonic.HyperStack.co...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_mreference_elim", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_mreference_elim =
MG.modifies_mreference_elim
false
FStar.Modifies.fst
FStar.Modifies.loc_disjoint_buffer_addresses
val loc_disjoint_buffer_addresses (#t: Type) (p: B.buffer t) (preserve_liveness: bool) (r: HS.rid) (n: Set.set nat) : Lemma (requires (r <> B.frameOf p \/ (~ (Set.mem (B.as_addr p) n)))) (ensures (loc_disjoint (loc_buffer p) (loc_addresses preserve_liveness r n))) [SMTPat (loc_disjoint (loc_buffer p) (l...
val loc_disjoint_buffer_addresses (#t: Type) (p: B.buffer t) (preserve_liveness: bool) (r: HS.rid) (n: Set.set nat) : Lemma (requires (r <> B.frameOf p \/ (~ (Set.mem (B.as_addr p) n)))) (ensures (loc_disjoint (loc_buffer p) (loc_addresses preserve_liveness r n))) [SMTPat (loc_disjoint (loc_buffer p) (l...
let loc_disjoint_buffer_addresses #t p preserve_liveness r n = MG.loc_disjoint_aloc_addresses_intro #_ #cls #(B.frameOf p) #(B.as_addr p) (LocBuffer p) preserve_liveness r n
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 112, "end_line": 258, "start_col": 0, "start_line": 257 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.Buffer.buffer t -> preserve_liveness: Prims.bool -> r: FStar.Monotonic.HyperHeap.rid -> n: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (requires r <> FStar.Buffer.frameOf p \/ ~(FStar.Set.mem (FStar.Buffer.as_addr p) n)) (ensures FStar.Modifies.loc_disjoint (FStar.M...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Buffer.buffer", "Prims.bool", "FStar.Monotonic.HyperHeap.rid", "FStar.Set.set", "Prims.nat", "FStar.ModifiesGen.loc_disjoint_aloc_addresses_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let loc_disjoint_buffer_addresses #t p preserve_liveness r n =
MG.loc_disjoint_aloc_addresses_intro #_ #cls #(B.frameOf p) #(B.as_addr p) (LocBuffer p) preserve_liveness r n
false
FStar.Modifies.fst
FStar.Modifies.modifies_loc_includes
val modifies_loc_includes (s1: loc) (h h': HS.mem) (s2: loc) : Lemma (requires (modifies s2 h h' /\ loc_includes s1 s2)) (ensures (modifies s1 h h')) [SMTPatOr [ [SMTPat (modifies s1 h h'); SMTPat (modifies s2 h h')]; [SMTPat (modifies s1 h h'); SMTPat (loc_includes s1 s2)]; [SMTPat (modifies s2...
val modifies_loc_includes (s1: loc) (h h': HS.mem) (s2: loc) : Lemma (requires (modifies s2 h h' /\ loc_includes s1 s2)) (ensures (modifies s1 h h')) [SMTPatOr [ [SMTPat (modifies s1 h h'); SMTPat (modifies s2 h h')]; [SMTPat (modifies s1 h h'); SMTPat (loc_includes s1 s2)]; [SMTPat (modifies s2...
let modifies_loc_includes = MG.modifies_loc_includes
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 271, "start_col": 0, "start_line": 271 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s1: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> s2: FStar.Modifies.loc -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies s2 h h' /\ FStar.Modifies.loc_includes s1 s2) (ensures FStar.Modifies.modifies s1 h h') [ S...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_loc_includes", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_loc_includes =
MG.modifies_loc_includes
false
FStar.Modifies.fst
FStar.Modifies.address_liveness_insensitive_addresses
val address_liveness_insensitive_addresses (r: HS.rid) (a: Set.set nat) : Lemma (address_liveness_insensitive_locs `loc_includes` (loc_addresses true r a)) [SMTPat (address_liveness_insensitive_locs `loc_includes` (loc_addresses true r a))]
val address_liveness_insensitive_addresses (r: HS.rid) (a: Set.set nat) : Lemma (address_liveness_insensitive_locs `loc_includes` (loc_addresses true r a)) [SMTPat (address_liveness_insensitive_locs `loc_includes` (loc_addresses true r a))]
let address_liveness_insensitive_addresses = MG.loc_includes_address_liveness_insensitive_locs_addresses cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 65, "end_line": 281, "start_col": 0, "start_line": 280 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> a: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes FStar.Modifies.address_liveness_insensitive_locs (FStar.Modifies.loc_addresses true r a)) [ SMTPat (FStar.Modifies.loc_includes FStar.Modifies.address_liv...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_address_liveness_insensitive_locs_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let address_liveness_insensitive_addresses =
MG.loc_includes_address_liveness_insensitive_locs_addresses cls
false
FStar.Modifies.fst
FStar.Modifies.does_not_contain_addr
val does_not_contain_addr (h: HS.mem) (ra: HS.rid * nat) : GTot Type0
val does_not_contain_addr (h: HS.mem) (ra: HS.rid * nat) : GTot Type0
let does_not_contain_addr = MG.does_not_contain_addr
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 418, "start_col": 0, "start_line": 418 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> ra: (FStar.Monotonic.HyperHeap.rid * Prims.nat) -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.ModifiesGen.does_not_contain_addr" ]
[]
false
false
false
false
true
let does_not_contain_addr =
MG.does_not_contain_addr
false
FStar.Modifies.fst
FStar.Modifies.region_liveness_insensitive_address_liveness_insensitive
val region_liveness_insensitive_address_liveness_insensitive: squash (region_liveness_insensitive_locs `loc_includes` address_liveness_insensitive_locs)
val region_liveness_insensitive_address_liveness_insensitive: squash (region_liveness_insensitive_locs `loc_includes` address_liveness_insensitive_locs)
let region_liveness_insensitive_address_liveness_insensitive = MG.loc_includes_region_liveness_insensitive_locs_address_liveness_insensitive_locs cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 88, "end_line": 293, "start_col": 0, "start_line": 292 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.squash (FStar.Modifies.loc_includes FStar.Modifies.region_liveness_insensitive_locs FStar.Modifies.address_liveness_insensitive_locs)
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.loc_includes_region_liveness_insensitive_locs_address_liveness_insensitive_locs", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
false
false
true
true
false
let region_liveness_insensitive_address_liveness_insensitive =
MG.loc_includes_region_liveness_insensitive_locs_address_liveness_insensitive_locs cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_liveness_insensitive_mreference
val modifies_liveness_insensitive_mreference (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (#pre: Preorder.preorder t) (x: HS.mreference t pre) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_mreference x) /\ address_liveness_insensitive_locs `loc_includes` l2 /\ h `HS.contains` x)) ...
val modifies_liveness_insensitive_mreference (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (#pre: Preorder.preorder t) (x: HS.mreference t pre) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_mreference x) /\ address_liveness_insensitive_locs `loc_includes` l2 /\ h `HS.contains` x)) ...
let modifies_liveness_insensitive_mreference = MG.modifies_preserves_liveness
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 77, "end_line": 295, "start_col": 0, "start_line": 295 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc -> l2: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> x: FStar.Monotonic.HyperStack.mreference t pre -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union l1 l2) h h' /\ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_preserves_liveness", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_liveness_insensitive_mreference =
MG.modifies_preserves_liveness
false
FStar.Modifies.fst
FStar.Modifies.modifies_liveness_insensitive_region_buffer
val modifies_liveness_insensitive_region_buffer (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (x: B.buffer t) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_buffer x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h (B.frameOf x))) (ensures (HS.live_region h' ...
val modifies_liveness_insensitive_region_buffer (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (x: B.buffer t) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_buffer x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h (B.frameOf x))) (ensures (HS.live_region h' ...
let modifies_liveness_insensitive_region_buffer l1 l2 h h' #t x = MG.modifies_preserves_region_liveness_aloc l1 l2 h h' #(B.frameOf x) #(B.as_addr x) (LocBuffer x)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 99, "end_line": 305, "start_col": 0, "start_line": 304 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc -> l2: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> x: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union l1 l2) h h' /\ FStar.Modifies.loc_dis...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc", "FStar.Monotonic.HyperStack.mem", "FStar.Buffer.buffer", "FStar.ModifiesGen.modifies_preserves_region_liveness_aloc", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.frameOf", "FStar.Buffer.as_addr", "FStar.Modifies.LocBuffer", "Prims.unit" ]
[]
true
false
true
false
false
let modifies_liveness_insensitive_region_buffer l1 l2 h h' #t x =
MG.modifies_preserves_region_liveness_aloc l1 l2 h h' #(B.frameOf x) #(B.as_addr x) (LocBuffer x)
false
FStar.Modifies.fst
FStar.Modifies.cloc_aloc
val cloc_aloc : HS.rid -> nat -> Tot (Type u#1)
val cloc_aloc : HS.rid -> nat -> Tot (Type u#1)
let cloc_aloc = aloc
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 435, "start_col": 0, "start_line": 435 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: FStar.Monotonic.HyperHeap.rid -> _: Prims.nat -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Modifies.aloc" ]
[]
false
false
false
true
true
let cloc_aloc =
aloc
false
FStar.Modifies.fst
FStar.Modifies.no_upd_fresh_region
val no_upd_fresh_region: r:HS.rid -> l:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires (HS.fresh_region r h0 h1 /\ modifies (loc_union (loc_all_regions_from false r) l) h0 h1)) (ensures (modifies l h0 h1)) [SMTPat (HS.fresh_region r h0 h1); SMTPat (modifies l h0 h1)]
val no_upd_fresh_region: r:HS.rid -> l:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires (HS.fresh_region r h0 h1 /\ modifies (loc_union (loc_all_regions_from false r) l) h0 h1)) (ensures (modifies l h0 h1)) [SMTPat (HS.fresh_region r h0 h1); SMTPat (modifies l h0 h1)]
let no_upd_fresh_region = MG.no_upd_fresh_region
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 312, "start_col": 0, "start_line": 312 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> l: FStar.Modifies.loc -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Monotonic.HyperStack.fresh_region r h0 h1 /\ FStar.Modifies.modifies (FStar.Modifies.loc_union (FStar.M...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.no_upd_fresh_region", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let no_upd_fresh_region =
MG.no_upd_fresh_region
false
FStar.Modifies.fst
FStar.Modifies.modifies_trans
val modifies_trans (s12: loc) (h1 h2: HS.mem) (s23: loc) (h3: HS.mem) : Lemma (requires (modifies s12 h1 h2 /\ modifies s23 h2 h3)) (ensures (modifies (loc_union s12 s23) h1 h3)) [SMTPat (modifies s12 h1 h2); SMTPat (modifies s23 h2 h3)]
val modifies_trans (s12: loc) (h1 h2: HS.mem) (s23: loc) (h3: HS.mem) : Lemma (requires (modifies s12 h1 h2 /\ modifies s23 h2 h3)) (ensures (modifies (loc_union s12 s23) h1 h3)) [SMTPat (modifies s12 h1 h2); SMTPat (modifies s23 h2 h3)]
let modifies_trans = MG.modifies_trans
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 308, "start_col": 0, "start_line": 308 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s12: FStar.Modifies.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> s23: FStar.Modifies.loc -> h3: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies s12 h1 h2 /\ FStar.Modifies.modifies s23 h2 h3) (ensures FSt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_trans", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_trans =
MG.modifies_trans
false
FStar.Modifies.fst
FStar.Modifies.modifies_liveness_insensitive_buffer
val modifies_liveness_insensitive_buffer (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (x: B.buffer t) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_buffer x) /\ address_liveness_insensitive_locs `loc_includes` l2 /\ B.live h x)) (ensures (B.live h' x))
val modifies_liveness_insensitive_buffer (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (x: B.buffer t) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_buffer x) /\ address_liveness_insensitive_locs `loc_includes` l2 /\ B.live h x)) (ensures (B.live h' x))
let modifies_liveness_insensitive_buffer l1 l2 h h' #t x = MG.modifies_preserves_liveness_strong l1 l2 h h' (B.content x) (LocBuffer x)
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 298, "start_col": 0, "start_line": 297 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc -> l2: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> x: FStar.Buffer.buffer t -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union l1 l2) h h' /\ FStar.Modifies.loc_dis...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Modifies.loc", "FStar.Monotonic.HyperStack.mem", "FStar.Buffer.buffer", "FStar.ModifiesGen.modifies_preserves_liveness_strong", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Buffer.lseq", "FStar.Buffer.max_length", "FStar.Heap.trivial_preorder", "FStar.Buffer.content", "FStar.Modifi...
[]
true
false
true
false
false
let modifies_liveness_insensitive_buffer l1 l2 h h' #t x =
MG.modifies_preserves_liveness_strong l1 l2 h h' (B.content x) (LocBuffer x)
false
FStar.Modifies.fst
FStar.Modifies.modifies_loc_addresses_intro
val modifies_loc_addresses_intro (r: HS.rid) (a: Set.set nat) (l: loc) (h1 h2: HS.mem) : Lemma (requires ( HS.live_region h2 r /\ modifies (loc_union (loc_region_only false r) l) h1 h2 /\ HS.modifies_ref r a h1 h2 )) (ensures (modifies (loc_union (loc_addresses true r a) l) h1 h2))
val modifies_loc_addresses_intro (r: HS.rid) (a: Set.set nat) (l: loc) (h1 h2: HS.mem) : Lemma (requires ( HS.live_region h2 r /\ modifies (loc_union (loc_region_only false r) l) h1 h2 /\ HS.modifies_ref r a h1 h2 )) (ensures (modifies (loc_union (loc_addresses true r a) l) h1 h2))
let modifies_loc_addresses_intro = MG.modifies_loc_addresses_intro
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 318, "start_col": 0, "start_line": 318 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> a: FStar.Set.set Prims.nat -> l: FStar.Modifies.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Monotonic.HyperStack.live_region h2 r /\ FStar.Modifies.modifies (FSt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_loc_addresses_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_loc_addresses_intro =
MG.modifies_loc_addresses_intro
false
FStar.Modifies.fst
FStar.Modifies.modifies_none_modifies
val modifies_none_modifies (h1 h2: HS.mem) : Lemma (requires (HST.modifies_none h1 h2)) (ensures (modifies loc_none h1 h2))
val modifies_none_modifies (h1 h2: HS.mem) : Lemma (requires (HST.modifies_none h1 h2)) (ensures (modifies loc_none h1 h2))
let modifies_none_modifies = MG.modifies_none_modifies #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 62, "end_line": 326, "start_col": 0, "start_line": 326 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.HyperStack.ST.modifies_none h1 h2) (ensures FStar.Modifies.modifies FStar.Modifies.loc_none h1 h2)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_none_modifies", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_none_modifies =
MG.modifies_none_modifies #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_loc_regions_intro
val modifies_loc_regions_intro (rs: Set.set HS.rid) (h1 h2: HS.mem) : Lemma (requires (HS.modifies rs h1 h2)) (ensures (modifies (loc_regions true rs) h1 h2))
val modifies_loc_regions_intro (rs: Set.set HS.rid) (h1 h2: HS.mem) : Lemma (requires (HS.modifies rs h1 h2)) (ensures (modifies (loc_regions true rs) h1 h2))
let modifies_loc_regions_intro = MG.modifies_loc_regions_intro #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 70, "end_line": 316, "start_col": 0, "start_line": 316 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
rs: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Monotonic.HyperStack.modifies rs h1 h2) (ensures FStar.Modifies.modifies (FStar.Modifies.loc_regions true rs) h1 h2)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_loc_regions_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_loc_regions_intro =
MG.modifies_loc_regions_intro #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_only_live_regions
val modifies_only_live_regions (rs: Set.set HS.rid) (l: loc) (h h' : HS.mem) : Lemma (requires ( modifies (loc_union (loc_regions false rs) l) h h' /\ (forall r . Set.mem r rs ==> (~ (HS.live_region h r))) )) (ensures (modifies l h h'))
val modifies_only_live_regions (rs: Set.set HS.rid) (l: loc) (h h' : HS.mem) : Lemma (requires ( modifies (loc_union (loc_regions false rs) l) h h' /\ (forall r . Set.mem r rs ==> (~ (HS.live_region h r))) )) (ensures (modifies l h h'))
let modifies_only_live_regions = MG.modifies_only_live_regions
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 62, "end_line": 310, "start_col": 0, "start_line": 310 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
rs: FStar.Set.set FStar.Monotonic.HyperHeap.rid -> l: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union (FStar.Modifies.loc_regions false rs) l) h ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_only_live_regions", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_only_live_regions =
MG.modifies_only_live_regions
false
FStar.Modifies.fst
FStar.Modifies.modifies_liveness_insensitive_region_mreference
val modifies_liveness_insensitive_region_mreference (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (#pre: Preorder.preorder t) (x: HS.mreference t pre) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_mreference x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h...
val modifies_liveness_insensitive_region_mreference (l1 l2 : loc) (h h' : HS.mem) (#t: Type) (#pre: Preorder.preorder t) (x: HS.mreference t pre) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_mreference x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h...
let modifies_liveness_insensitive_region_mreference = MG.modifies_preserves_region_liveness_reference
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 101, "end_line": 302, "start_col": 0, "start_line": 302 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc -> l2: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> x: FStar.Monotonic.HyperStack.mreference t pre -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union l1 l2) h h' /\ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_preserves_region_liveness_reference", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_liveness_insensitive_region_mreference =
MG.modifies_preserves_region_liveness_reference
false
FStar.Modifies.fst
FStar.Modifies.modifies_ralloc_post
val modifies_ralloc_post (#a: Type) (#rel: Preorder.preorder a) (i: HS.rid) (init: a) (h: HS.mem) (x: HST.mreference a rel { HST.is_eternal_region (HS.frameOf x) } ) (h' : HS.mem) : Lemma (requires (HST.ralloc_post i init h x h')) (ensures (modifies loc_none h h'))
val modifies_ralloc_post (#a: Type) (#rel: Preorder.preorder a) (i: HS.rid) (init: a) (h: HS.mem) (x: HST.mreference a rel { HST.is_eternal_region (HS.frameOf x) } ) (h' : HS.mem) : Lemma (requires (HST.ralloc_post i init h x h')) (ensures (modifies loc_none h h'))
let modifies_ralloc_post = MG.modifies_ralloc_post #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 320, "start_col": 0, "start_line": 320 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: FStar.Monotonic.HyperHeap.rid -> init: a -> h: FStar.Monotonic.HyperStack.mem -> x: FStar.HyperStack.ST.mreference a rel {FStar.HyperStack.ST.is_eternal_region (FStar.Monotonic.HyperStack.frameOf x)} -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_ralloc_post", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_ralloc_post =
MG.modifies_ralloc_post #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_fresh_frame_popped
val modifies_fresh_frame_popped (h0 h1: HS.mem) (s: loc) (h2 h3: HS.mem) : Lemma (requires ( HS.fresh_frame h0 h1 /\ modifies (loc_union (loc_all_regions_from false (HS.get_tip h1)) s) h1 h2 /\ (HS.get_tip h2) == (HS.get_tip h1) /\ HS.popped h2 h3 )) (ensures ( modifies s h0 h3 /\ (H...
val modifies_fresh_frame_popped (h0 h1: HS.mem) (s: loc) (h2 h3: HS.mem) : Lemma (requires ( HS.fresh_frame h0 h1 /\ modifies (loc_union (loc_all_regions_from false (HS.get_tip h1)) s) h1 h2 /\ (HS.get_tip h2) == (HS.get_tip h1) /\ HS.popped h2 h3 )) (ensures ( modifies s h0 h3 /\ (H...
let modifies_fresh_frame_popped = MG.modifies_fresh_frame_popped
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 64, "end_line": 314, "start_col": 0, "start_line": 314 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: FStar.Modifies.loc -> h2: FStar.Monotonic.HyperStack.mem -> h3: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Monotonic.HyperStack.fresh_frame h0 h1 /\ FStar.Modifies.mo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_fresh_frame_popped", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_fresh_frame_popped =
MG.modifies_fresh_frame_popped
false
FStar.Modifies.fst
FStar.Modifies.cloc_cls
val cloc_cls: MG.cls cloc_aloc
val cloc_cls: MG.cls cloc_aloc
let cloc_cls = cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 437, "start_col": 0, "start_line": 437 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.ModifiesGen.cls FStar.Modifies.cloc_aloc
Prims.Tot
[ "total" ]
[]
[ "FStar.Modifies.cls" ]
[]
false
false
false
true
false
let cloc_cls =
cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_salloc_post
val modifies_salloc_post (#a: Type) (#rel: Preorder.preorder a) (init: a) (h: HS.mem) (x: HST.mreference a rel { HS.is_stack_region (HS.frameOf x) } ) (h' : HS.mem) : Lemma (requires (HST.salloc_post init h x h')) (ensures (modifies loc_none h h'))
val modifies_salloc_post (#a: Type) (#rel: Preorder.preorder a) (init: a) (h: HS.mem) (x: HST.mreference a rel { HS.is_stack_region (HS.frameOf x) } ) (h' : HS.mem) : Lemma (requires (HST.salloc_post init h x h')) (ensures (modifies loc_none h h'))
let modifies_salloc_post = MG.modifies_salloc_post #_ #cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 322, "start_col": 0, "start_line": 322 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
init: a -> h: FStar.Monotonic.HyperStack.mem -> x: FStar.HyperStack.ST.mreference a rel {FStar.Monotonic.HyperStack.is_stack_region (FStar.Monotonic.HyperStack.frameOf x)} -> h': FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.HyperStack.ST.salloc_post init h x ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_salloc_post", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_salloc_post =
MG.modifies_salloc_post #_ #cls
false
FStar.Modifies.fst
FStar.Modifies.modifies_liveness_insensitive_region
val modifies_liveness_insensitive_region (l1 l2 : loc) (h h' : HS.mem) (x: HS.rid) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_region_only false x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h x)) (ensures (HS.live_region h' x))
val modifies_liveness_insensitive_region (l1 l2 : loc) (h h' : HS.mem) (x: HS.rid) : Lemma (requires (modifies (loc_union l1 l2) h h' /\ loc_disjoint l1 (loc_region_only false x) /\ region_liveness_insensitive_locs `loc_includes` l2 /\ HS.live_region h x)) (ensures (HS.live_region h' x))
let modifies_liveness_insensitive_region = MG.modifies_preserves_region_liveness
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 80, "end_line": 300, "start_col": 0, "start_line": 300 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l1: FStar.Modifies.loc -> l2: FStar.Modifies.loc -> h: FStar.Monotonic.HyperStack.mem -> h': FStar.Monotonic.HyperStack.mem -> x: FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires FStar.Modifies.modifies (FStar.Modifies.loc_union l1 l2) h h' /\ FStar.Modifies...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.modifies_preserves_region_liveness", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let modifies_liveness_insensitive_region =
MG.modifies_preserves_region_liveness
false
FStar.Modifies.fst
FStar.Modifies.region_liveness_insensitive_addresses
val region_liveness_insensitive_addresses (preserve_liveness: bool) (r: HS.rid) (a: Set.set nat) : Lemma (region_liveness_insensitive_locs `loc_includes` (loc_addresses preserve_liveness r a)) [SMTPat (region_liveness_insensitive_locs `loc_includes` (loc_addresses preserve_liveness r a))]
val region_liveness_insensitive_addresses (preserve_liveness: bool) (r: HS.rid) (a: Set.set nat) : Lemma (region_liveness_insensitive_locs `loc_includes` (loc_addresses preserve_liveness r a)) [SMTPat (region_liveness_insensitive_locs `loc_includes` (loc_addresses preserve_liveness r a))]
let region_liveness_insensitive_addresses = MG.loc_includes_region_liveness_insensitive_locs_loc_addresses cls
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 287, "start_col": 0, "start_line": 286 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
preserve_liveness: Prims.bool -> r: FStar.Monotonic.HyperHeap.rid -> a: FStar.Set.set Prims.nat -> FStar.Pervasives.Lemma (ensures FStar.Modifies.loc_includes FStar.Modifies.region_liveness_insensitive_locs (FStar.Modifies.loc_addresses preserve_liveness r a)) [ SMTPat (FStar.Mod...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.ModifiesGen.loc_includes_region_liveness_insensitive_locs_loc_addresses", "FStar.Modifies.aloc", "FStar.Modifies.cls" ]
[]
true
false
true
false
false
let region_liveness_insensitive_addresses =
MG.loc_includes_region_liveness_insensitive_locs_loc_addresses cls
false
FStar.Modifies.fst
FStar.Modifies.cloc_of_loc
val cloc_of_loc (l: loc) : Tot (MG.loc cloc_cls)
val cloc_of_loc (l: loc) : Tot (MG.loc cloc_cls)
let cloc_of_loc l = l
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 439, "start_col": 0, "start_line": 439 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Modifies.loc -> FStar.ModifiesGen.loc FStar.Modifies.cloc_cls
Prims.Tot
[ "total" ]
[]
[ "FStar.Modifies.loc", "FStar.ModifiesGen.loc", "FStar.Modifies.cloc_aloc", "FStar.Modifies.cloc_cls" ]
[]
false
false
false
true
false
let cloc_of_loc l =
l
false
FStar.Modifies.fst
FStar.Modifies.modifies_0_modifies
val modifies_0_modifies (h1 h2: HS.mem) : Lemma (requires (B.modifies_0 h1 h2)) (ensures (modifies loc_none h1 h2)) [SMTPat (B.modifies_0 h1 h2)]
val modifies_0_modifies (h1 h2: HS.mem) : Lemma (requires (B.modifies_0 h1 h2)) (ensures (modifies loc_none h1 h2)) [SMTPat (B.modifies_0 h1 h2)]
let modifies_0_modifies h1 h2 = B.lemma_reveal_modifies_0 h1 h2; MG.modifies_none_intro #_ #cls h1 h2 (fun _ -> ()) (fun _ _ _ -> ()) (fun _ _ -> ())
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 339, "start_col": 0, "start_line": 334 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Buffer.modifies_0 h1 h2) (ensures FStar.Modifies.modifies FStar.Modifies.loc_none h1 h2) [SMTPat (FStar.Buffer.modifies_0 h1 h2)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "FStar.ModifiesGen.modifies_none_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls", "FStar.Monotonic.HyperHeap.rid", "Prims.unit", "FStar.Preorder.preorder", "FStar.Monotonic.HyperStack.mreference", "Prims.nat", "FStar.Buffer.lemma_reveal_modifies_0" ]
[]
false
false
true
false
false
let modifies_0_modifies h1 h2 =
B.lemma_reveal_modifies_0 h1 h2; MG.modifies_none_intro #_ #cls h1 h2 (fun _ -> ()) (fun _ _ _ -> ()) (fun _ _ -> ())
false
FStar.Modifies.fst
FStar.Modifies.loc_of_cloc
val loc_of_cloc (l: MG.loc cloc_cls) : Tot loc
val loc_of_cloc (l: MG.loc cloc_cls) : Tot loc
let loc_of_cloc l = l
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 441, "start_col": 0, "start_line": 441 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.ModifiesGen.loc FStar.Modifies.cloc_cls -> FStar.Modifies.loc
Prims.Tot
[ "total" ]
[]
[ "FStar.ModifiesGen.loc", "FStar.Modifies.cloc_aloc", "FStar.Modifies.cloc_cls", "FStar.Modifies.loc" ]
[]
false
false
false
true
false
let loc_of_cloc l =
l
false
FStar.Modifies.fst
FStar.Modifies.modifies_buffer_rcreate_post_common
val modifies_buffer_rcreate_post_common (#a: Type) (r: HS.rid) (init: a) (len: FStar.UInt32.t) (b: B.buffer a) (h0 h1: HS.mem) : Lemma (requires (B.rcreate_post_common r init len b h0 h1)) (ensures (modifies loc_none h0 h1))
val modifies_buffer_rcreate_post_common (#a: Type) (r: HS.rid) (init: a) (len: FStar.UInt32.t) (b: B.buffer a) (h0 h1: HS.mem) : Lemma (requires (B.rcreate_post_common r init len b h0 h1)) (ensures (modifies loc_none h0 h1))
let modifies_buffer_rcreate_post_common #a r init len b h0 h1 = MG.modifies_none_intro #_ #cls h0 h1 (fun _ -> ()) (fun _ _ _ -> ()) (fun _ _ -> ())
{ "file_name": "ulib/FStar.Modifies.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 410, "start_col": 0, "start_line": 406 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.ModifiesGen.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked", "FStar.Classical.fsti.checked", ...
[ { "abbrev": true, "full_module": "FStar.ModifiesGen", "short_module": "MG" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> init: a -> len: FStar.UInt32.t -> b: FStar.Buffer.buffer a -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Buffer.rcreate_post_common r init len b h0 h1) (ensures FStar.Modifies.mod...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.UInt32.t", "FStar.Buffer.buffer", "FStar.Monotonic.HyperStack.mem", "FStar.ModifiesGen.modifies_none_intro", "FStar.Modifies.aloc", "FStar.Modifies.cls", "Prims.unit", "FStar.Preorder.preorder", "FStar.Monotonic.HyperStack.mreference", "Prims.nat" ]
[]
false
false
true
false
false
let modifies_buffer_rcreate_post_common #a r init len b h0 h1 =
MG.modifies_none_intro #_ #cls h0 h1 (fun _ -> ()) (fun _ _ _ -> ()) (fun _ _ -> ())
false