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.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_quick_AES128EncryptBlock
val va_quick_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock ()))
val va_quick_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock ()))
let va_quick_AES128EncryptBlock (input:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock ())) = (va_QProc (va_code_AES128EncryptBlock ()) ([va_Mod_vec 2; va_Mod_vec 0; va_Mod_reg 10]) (va_wp_AES128EncryptBlock input key round_keys keys_b...
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 149, "start_col": 0, "start_line": 145 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
input: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 -> keys_buffer: Vale.PPC64LE.Memory.buffer128 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.AES128.va_code_AES128EncryptBlock...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.AES128.va_code_AES128EncryptBlock", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec"...
[]
false
false
false
false
false
let va_quick_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock ())) =
(va_QProc (va_code_AES128EncryptBlock ()) ([va_Mod_vec 2; va_Mod_vec 0; va_Mod_reg 10]) (va_wp_AES128EncryptBlock input key round_keys keys_buffer) (va_wpProof_AES128EncryptBlock input key round_keys keys_buffer))
false
Steel.HigherReference.fst
Steel.HigherReference.write
val write (#a:Type) (#v:erased a) (r:ref a) (x:a) : SteelT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x)
val write (#a:Type) (#v:erased a) (r:ref a) (x:a) : SteelT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x)
let write (#a:Type) (#v:erased a) (r:ref a) (x:a) : SteelT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) = let v_old : erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, full_perm)) in let v_new : fractional a = Some (x, full_perm) in rewrite_slprop (pts_to r full_perm v) (RP.pts_to r v...
{ "file_name": "lib/steel/Steel.HigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 84, "end_line": 198, "start_col": 0, "start_line": 187 }
(* Copyright 2020 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.PCMReference.fsti.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked"...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "Steel.PCMReference", "short_module": "RP" }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "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: Steel.HigherReference.ref a -> x: a -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "FStar.Ghost.erased", "Steel.HigherReference.ref", "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.PCMReference.pts_to", "Steel.PCMFrac.fractional", "Steel.PCMFrac.pcm_frac", "Steel.HigherReference.pts_to", "Steel.Fract...
[]
false
true
false
false
false
let write (#a: Type) (#v: erased a) (r: ref a) (x: a) : SteelT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) =
let v_old:erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, full_perm)) in let v_new:fractional a = Some (x, full_perm) in rewrite_slprop (pts_to r full_perm v) ((RP.pts_to r v_old) `star` (pure (perm_ok full_perm))) (fun _ -> ()); elim_pure (perm_ok full_perm); RP.write r v_old v_new; rewrite_slprop (RP.pt...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_4
val read_bounded_integer_4 : unit -> Tot (leaf_reader (parse_bounded_integer 4))
val read_bounded_integer_4 : unit -> Tot (leaf_reader (parse_bounded_integer 4))
let read_bounded_integer_4 () = [@inline_let] let _ = decode_bounded_integer_injective 4 in make_total_constant_size_reader 4 4ul #(bounded_integer 4) (decode_bounded_integer 4) () (fun #rrel #rel input pos -> let h = HST.get () in E.lemma_be_to_n_is_bounded (Seq.slice (B.as_seq h input) (U32.v pos) (...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 88, "start_col": 0, "start_line": 80 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer 4)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt...
[]
false
false
false
false
false
let read_bounded_integer_4 () =
[@@ inline_let ]let _ = decode_bounded_integer_injective 4 in make_total_constant_size_reader 4 4ul #(bounded_integer 4) (decode_bounded_integer 4) () (fun #rrel #rel input pos -> let h = HST.get () in E.lemma_be_to_n_is_bounded (Seq.slice (B.as_seq h input) (U32.v pos) (U32.v pos + 4)); LE....
false
Vale.AES.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_quick_KeyExpansion128Stdcall
val va_quick_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansion128Stdcall ()))
val va_quick_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansion128Stdcall ()))
let va_quick_KeyExpansion128Stdcall (input_key_b:buffer128) (output_key_expansion_b:buffer128) : (va_quickCode unit (va_code_KeyExpansion128Stdcall ())) = (va_QProc (va_code_KeyExpansion128Stdcall ()) ([va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_mem_heaplet 1; va...
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 98, "start_col": 0, "start_line": 93 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
input_key_b: Vale.PPC64LE.Memory.buffer128 -> output_key_expansion_b: Vale.PPC64LE.Memory.buffer128 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.AES.PPC64LE.AES128.va_code_KeyExpansion128Stdcall ())
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.AES128.va_code_KeyExpansion128Stdcall", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Vale.PPC64LE.QuickCode.va_Mod_reg", "Vale.PPC64LE.QuickCode.va_Mod_mem_heapl...
[]
false
false
false
false
false
let va_quick_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) : (va_quickCode unit (va_code_KeyExpansion128Stdcall ())) =
(va_QProc (va_code_KeyExpansion128Stdcall ()) ([ va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10; va_Mod_mem_heaplet 1; va_Mod_mem ]) (va_wp_KeyExpansion128Stdcall input_key_b output_key_expansion_b) (v...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_1
val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_bounded_integer 1))
val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_bounded_integer 1))
let read_bounded_integer_1 () = [@inline_let] let _ = decode_bounded_integer_injective 1 in make_total_constant_size_reader 1 1ul #(bounded_integer 1) (decode_bounded_integer 1) () (fun #rrel #rel input pos -> let h = HST.get () in E.index_be_to_n (Seq.slice (B.as_seq h input) (U32.v pos) (U32.v pos...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 47, "start_col": 0, "start_line": 36 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer 1)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt...
[]
false
false
false
false
false
let read_bounded_integer_1 () =
[@@ inline_let ]let _ = decode_bounded_integer_injective 1 in make_total_constant_size_reader 1 1ul #(bounded_integer 1) (decode_bounded_integer 1) () (fun #rrel #rel input pos -> let h = HST.get () in E.index_be_to_n (Seq.slice (B.as_seq h input) (U32.v pos) (U32.v pos + 1)) 0; E.lemma_be_t...
false
Vale.AES.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_quick_AES128EncryptBlock_6way
val va_quick_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock_6way ()))
val va_quick_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock_6way ()))
let va_quick_AES128EncryptBlock_6way (in1:quad32) (in2:quad32) (in3:quad32) (in4:quad32) (in5:quad32) (in6:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock_6way ())) = (va_QProc (va_code_AES128EncryptBlock_6way ()) ([va_Mod_vec 6; va_Mod_...
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 221, "start_col": 0, "start_line": 215 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
in1: Vale.PPC64LE.Memory.quad32 -> in2: Vale.PPC64LE.Memory.quad32 -> in3: Vale.PPC64LE.Memory.quad32 -> in4: Vale.PPC64LE.Memory.quad32 -> in5: Vale.PPC64LE.Memory.quad32 -> in6: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Ba...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.AES.PPC64LE.AES128.va_code_AES128EncryptBlock_6way", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod...
[]
false
false
false
false
false
let va_quick_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) : (va_quickCode unit (va_code_AES128EncryptBlock_6way ())) =
(va_QProc (va_code_AES128EncryptBlock_6way ()) ([ va_Mod_vec 6; va_Mod_vec 5; va_Mod_vec 4; va_Mod_vec 3; va_Mod_vec 2; va_Mod_vec 1; va_Mod_vec 0; va_Mod_reg 10 ]) (va_wp_AES128EncryptBlock_6way in1 in2 in3 in4 in5 in6 key round_keys keys_bu...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_2
val read_bounded_integer_2 : unit -> Tot (leaf_reader (parse_bounded_integer 2))
val read_bounded_integer_2 : unit -> Tot (leaf_reader (parse_bounded_integer 2))
let read_bounded_integer_2 () = [@inline_let] let _ = decode_bounded_integer_injective 2 in make_total_constant_size_reader 2 2ul #(bounded_integer 2) (decode_bounded_integer 2) () (fun #rrel #rel input pos -> let h = HST.get () in let r = LE.load16_be_i (* #(Ghost.hide rrel) #(Ghost.hide rel) *) inpu...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 58, "start_col": 0, "start_line": 49 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer 2)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt...
[]
false
false
false
false
false
let read_bounded_integer_2 () =
[@@ inline_let ]let _ = decode_bounded_integer_injective 2 in make_total_constant_size_reader 2 2ul #(bounded_integer 2) (decode_bounded_integer 2) () (fun #rrel #rel input pos -> let h = HST.get () in let r = LE.load16_be_i input pos in E.lemma_be_to_n_is_bounded (Seq.slice (B.as_seq h inpu...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_1
val write_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32_1 min32 max32 = write_bounded_int32' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 176, "start_col": 0, "start_line": 174 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v min32) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.write_bounded_int32'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", ...
[]
false
false
false
false
false
let write_bounded_int32_1 min32 max32 =
write_bounded_int32' min32 max32 1
false
Vale.AES.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_wp_AES128EncryptBlock
val va_wp_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_AES128EncryptBlock (input:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ Vale.AES.AES_BE_s.is_aes_key_word AES_128 key /\ FStar.Seq.Base.length #quad32 round_keys == 11 /\ round_keys == Vale....
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 135, "start_col": 0, "start_line": 123 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
input: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 -> keys_buffer: Vale.PPC64LE.Memory.buffer128 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Ty...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.AES.AES_BE_s.is_aes_key_word", "Vale.AES.AES_common_s.AES_128", "Prim...
[]
false
false
false
true
true
let va_wp_AES128EncryptBlock (input: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ Vale.AES.AES_BE_s.is_aes_key_word AES_128 key /\ FStar.Seq.Base.length #quad32 round_keys == 11 /\ round_keys == Vale.AES.AES_BE_s.key_to_round_keys_word AES_128 key /\ va_get_vec 0 va_s0 == input /\ va_get_reg 4 va_s0 == Vale.PPC64LE.Memory.buffer_addr #Vale.PPC64LE.Memory.vuint128 keys...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_2
val write_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32_2 min32 max32 = write_bounded_int32' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 180, "start_col": 0, "start_line": 178 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v min32)...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", ...
[]
false
false
false
false
false
let write_bounded_int32_2 min32 max32 =
write_bounded_int32' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32'
val write_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let]...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 172, "start_col": 0, "start_line": 156 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.leaf_writer_strong ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.write_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_...
[]
false
false
false
false
false
let write_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in write_synth (write_filter (write_bounded_integer sz) (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) (fun x -> x) (fun x -> x) ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_3
val write_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32_3 min32 max32 = write_bounded_int32' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 184, "start_col": 0, "start_line": 182 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v m...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", ...
[]
false
false
false
false
false
let write_bounded_int32_3 min32 max32 =
write_bounded_int32' min32 max32 3
false
Vale.AES.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_wp_AES128EncryptBlock_6way
val va_wp_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_AES128EncryptBlock_6way (in1:quad32) (in2:quad32) (in3:quad32) (in4:quad32) (in5:quad32) (in6:quad32) (key:(seq nat32)) (round_keys:(seq quad32)) (keys_buffer:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ Vale.AES.AES_BE_s.is_aes_key_word AES_128 key /\ FSt...
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 203, "start_col": 0, "start_line": 182 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
in1: Vale.PPC64LE.Memory.quad32 -> in2: Vale.PPC64LE.Memory.quad32 -> in3: Vale.PPC64LE.Memory.quad32 -> in4: Vale.PPC64LE.Memory.quad32 -> in5: Vale.PPC64LE.Memory.quad32 -> in6: Vale.PPC64LE.Memory.quad32 -> key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 -> round_keys: FStar.Seq.Ba...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.quad32", "FStar.Seq.Base.seq", "Vale.PPC64LE.Memory.nat32", "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.AES.AES_BE_s.is_aes_key_word", "Vale.AES.AES_common_s.AES_128", "Prim...
[]
false
false
false
true
true
let va_wp_AES128EncryptBlock_6way (in1 in2 in3 in4 in5 in6: quad32) (key: (seq nat32)) (round_keys: (seq quad32)) (keys_buffer: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ Vale.AES.AES_BE_s.is_aes_key_word AES_128 key /\ FStar.Seq.Base.length #quad32 round_keys == 11 /\ round_keys == Vale.AES.AES_BE_s.key_to_round_keys_word AES_128 key /\ va_get_vec 0 va_s0 == in1 /\ va_get_vec 1 va_s0 == in2 /\ va_get_vec 2 va_s0 == in3 /\ va_get_vec 3 va_s0 == in4 /\ va_get_...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_1
val read_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32_1 min32 max32 = read_bounded_int32' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 212, "start_col": 0, "start_line": 210 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) (FStar...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.read_bounded_int32'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPars...
[]
false
false
false
false
false
let read_bounded_int32_1 min32 max32 =
read_bounded_int32' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.serialize32_bounded_integer_1
val serialize32_bounded_integer_1 : unit -> Tot (serializer32 (serialize_bounded_integer 1))
val serialize32_bounded_integer_1 : unit -> Tot (serializer32 (serialize_bounded_integer 1))
let serialize32_bounded_integer_1 () = fun (v: bounded_integer 1) #rrel #rel out pos -> bounded_integer_prop_equiv 1 v; E.index_n_to_be 1 (U32.v v) 0; mbuffer_upd out (Ghost.hide (U32.v pos)) (Ghost.hide (U32.v pos + 1)) pos (Cast.uint32_to_uint8 v); 1ul
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 108, "start_col": 0, "start_line": 103 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 1)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Spec.BoundedInt.bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "LowParse.Low.Base.mbuffer_upd", "FStar.Ghost.hide", "Prims.nat", "FStar.UInt32.v", "Prims.op_Addi...
[]
false
false
false
false
false
let serialize32_bounded_integer_1 () =
fun (v: bounded_integer 1) #rrel #rel out pos -> bounded_integer_prop_equiv 1 v; E.index_n_to_be 1 (U32.v v) 0; mbuffer_upd out (Ghost.hide (U32.v pos)) (Ghost.hide (U32.v pos + 1)) pos (Cast.uint32_to_uint8 v); 1ul
false
Vale.AES.PPC64LE.AES128.fsti
Vale.AES.PPC64LE.AES128.va_wp_KeyExpansion128Stdcall
val va_wp_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_KeyExpansion128Stdcall (input_key_b:buffer128) (output_key_expansion_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (key:(FStar.Seq.Base.seq Vale.Def.Types_s.nat32)) = Vale.AES.AES_helpers_BE.be_quad32_to_seq (Vale.Def.Types_s.reverse_bytes_quad32 ...
{ "file_name": "obj/Vale.AES.PPC64LE.AES128.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 82, "start_col": 0, "start_line": 55 }
module Vale.AES.PPC64LE.AES128 open Vale.Def.Opaque_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_BE_s open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.InsBasic open Vale.PPC64LE.InsMem open Vale.PPC64LE.InsVector open Vale.PPC64LE.QuickCo...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCodes.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsVector.fsti.checked", "Vale.PPC64LE.InsMem....
[ { "abbrev": false, "full_module": "Vale.AES.AES_helpers_BE", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.QuickCodes", "short_module": null }, { "abbrev": false...
{ "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
input_key_b: Vale.PPC64LE.Memory.buffer128 -> output_key_expansion_b: Vale.PPC64LE.Memory.buffer128 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.PPC64LE.Decls.validSrcAddrs128", "Vale.PPC64LE.Decls.va_get_mem_heaplet", "Vale.PPC64LE.Decls.va_get_reg", "Vale.PPC64LE.Decls.va_get_mem_layout", "Vale...
[]
false
false
false
true
true
let va_wp_KeyExpansion128Stdcall (input_key_b output_key_expansion_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let key:(FStar.Seq.Base.seq Vale.Def.Types_s.nat32) = Vale.AES.AES_helpers_BE.be_quad32_to_seq (Vale.Def.Types_s.reverse_bytes_quad32 (Vale.PPC64LE.Decls.buffer128_read input_key_b 0 (va_get_mem_heaplet 0 va_s0))) in Vale.PPC64LE.Decls...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_2
val read_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32_2 min32 max32 = read_bounded_int32' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 216, "start_col": 0, "start_line": 214 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) (...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPars...
[]
false
false
false
false
false
let read_bounded_int32_2 min32 max32 =
read_bounded_int32' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_3
val read_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32_3 min32 max32 = read_bounded_int32' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 220, "start_col": 0, "start_line": 218 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPars...
[]
false
false
false
false
false
let read_bounded_int32_3 min32 max32 =
read_bounded_int32' min32 max32 3
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_4
val write_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32_4 min32 max32 = write_bounded_int32' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 188, "start_col": 0, "start_line": 186 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", ...
[]
false
false
false
false
false
let write_bounded_int32_4 min32 max32 =
write_bounded_int32' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_4
val read_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32_4 min32 max32 = read_bounded_int32' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 224, "start_col": 0, "start_line": 222 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPars...
[]
false
false
false
false
false
let read_bounded_int32_4 min32 max32 =
read_bounded_int32' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.mul256
val mul256 (x: U16.t) : Tot (y: U32.t{U32.v y == 256 `Prims.op_Multiply` (U16.v x)})
val mul256 (x: U16.t) : Tot (y: U32.t{U32.v y == 256 `Prims.op_Multiply` (U16.v x)})
let mul256 (x: U16.t) : Tot (y: U32.t { U32.v y == 256 `Prims.op_Multiply` U16.v x }) = assert_norm (pow2 8 == 256); FStar.Math.Lemmas.pow2_lt_compat 32 24; FStar.Math.Lemmas.pow2_lt_compat 24 16; FStar.Math.Lemmas.pow2_lt_compat 16 8; FStar.Math.Lemmas.pow2_plus 8 16; FStar.Math.Lemmas.small_mod (U16.v x `...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 26, "start_col": 0, "start_line": 18 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
x: FStar.UInt16.t -> y: FStar.UInt32.t{FStar.UInt32.v y == 256 * FStar.UInt16.v x}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "FStar.UInt32.shift_left", "FStar.Int.Cast.uint16_to_uint32", "FStar.UInt32.__uint_to_t", "Prims.unit", "FStar.UInt.shift_left_value_lemma", "FStar.UInt16.v", "FStar.Math.Lemmas.small_mod", "Prims.op_Multiply", "Prims.pow2", "FStar.Math.Lemmas.pow2_plus", "FStar.Math.Lemmas.p...
[]
false
false
false
false
false
let mul256 (x: U16.t) : Tot (y: U32.t{U32.v y == 256 `Prims.op_Multiply` (U16.v x)}) =
assert_norm (pow2 8 == 256); FStar.Math.Lemmas.pow2_lt_compat 32 24; FStar.Math.Lemmas.pow2_lt_compat 24 16; FStar.Math.Lemmas.pow2_lt_compat 16 8; FStar.Math.Lemmas.pow2_plus 8 16; FStar.Math.Lemmas.small_mod ((U16.v x) `Prims.op_Multiply` 256) (pow2 32); FStar.UInt.shift_left_value_lemma #32 (U16.v x) 8; (Cast.uint16...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32'
val read_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let] let ma...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 208, "start_col": 0, "start_line": 191 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.leaf_reader (LowPar...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.read_inline_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt....
[]
false
false
false
false
false
let read_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in read_inline_synth (parse_filter (parse_bounded_integer sz) (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) (fun x -> x) (read_filter (read_bounded_integer sz) (in_bounds min max)) ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_4
val validate_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32_4 min32 max32 = validate_bounded_int32' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 261, "start_col": 0, "start_line": 259 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPa...
[]
false
false
false
false
false
let validate_bounded_int32_4 min32 max32 =
validate_bounded_int32' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_1
val jump_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32_1 min32 max32 = jump_bounded_int32' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 283, "start_col": 0, "start_line": 281 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32) (FStar.UInt32.v max32))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.jump_bounded_int32'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spe...
[]
false
false
false
false
false
let jump_bounded_int32_1 min32 max32 =
jump_bounded_int32' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_3
val validate_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32_3 min32 max32 = validate_bounded_int32' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 257, "start_col": 0, "start_line": 255 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPa...
[]
false
false
false
false
false
let validate_bounded_int32_3 min32 max32 =
validate_bounded_int32' min32 max32 3
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32'
val validate_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let] let ...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 245, "start_col": 0, "start_line": 227 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.validator (LowParse...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.validate_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.par...
[]
false
false
false
false
false
let validate_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in validate_synth (validate_filter (validate_bounded_integer sz) (read_bounded_integer sz) (in_bounds min max) (fun x -> not (x `U32.lt` min32 || max32 `U32.lt` x))) (fun x -> (x <: bounded_int32 min max)) ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_2
val validate_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32_2 min32 max32 = validate_bounded_int32' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 253, "start_col": 0, "start_line": 251 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) (FSta...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPa...
[]
false
false
false
false
false
let validate_bounded_int32_2 min32 max32 =
validate_bounded_int32' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_1
val validate_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32_1 min32 max32 = validate_bounded_int32' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 249, "start_col": 0, "start_line": 247 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) (FStar.UIn...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.validate_bounded_int32'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowPa...
[]
false
false
false
false
false
let validate_bounded_int32_1 min32 max32 =
validate_bounded_int32' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.serialize32_bounded_integer_2
val serialize32_bounded_integer_2 : unit -> Tot (serializer32 (serialize_bounded_integer 2))
val serialize32_bounded_integer_2 : unit -> Tot (serializer32 (serialize_bounded_integer 2))
let serialize32_bounded_integer_2 () = fun (v: bounded_integer 2) #rrel #rel out pos -> bounded_integer_prop_equiv 2 v; let h = HST.get () in let v' = (Cast.uint32_to_uint16 v) in LE.writable_store_pre out (U32.v pos) 2 (fun s -> E.be_to_n s == U16.v v') h; LE.store16_be_i (* #(Ghost.hide rrel) #(Ghost.hide...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 119, "start_col": 0, "start_line": 110 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 2)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Spec.BoundedInt.bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "LowParse.Low.Endianness.store_post_modifies", "FStar.UInt32.v", "FStar.Seq.Base.seq", "Prims.eq2", ...
[]
false
false
false
false
false
let serialize32_bounded_integer_2 () =
fun (v: bounded_integer 2) #rrel #rel out pos -> bounded_integer_prop_equiv 2 v; let h = HST.get () in let v' = (Cast.uint32_to_uint16 v) in LE.writable_store_pre out (U32.v pos) 2 (fun s -> E.be_to_n s == U16.v v') h; LE.store16_be_i out pos v'; let h' = HST.get () in LE.store_post_modifies out (U32.v po...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32'
val jump_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let] let max = U...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 279, "start_col": 0, "start_line": 264 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.jumper (LowParse.Sp...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.jump_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_b...
[]
false
false
false
false
false
let jump_bounded_int32' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in jump_synth (jump_filter (jump_bounded_integer sz) (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_ct
val read_bounded_integer_ct (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) (#rrel: _) (#rel: _) (sl: slice rrel rel) (pos: U32.t) : HST.Stack (bounded_integer (U32.v i)) (requires (fun h -> live_slice h sl /\ U32.v pos + 4 <= U32.v sl.len )) (ensures (fun h res h' -> B.modifies B.loc_none h h' ...
val read_bounded_integer_ct (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) (#rrel: _) (#rel: _) (sl: slice rrel rel) (pos: U32.t) : HST.Stack (bounded_integer (U32.v i)) (requires (fun h -> live_slice h sl /\ U32.v pos + 4 <= U32.v sl.len )) (ensures (fun h res h' -> B.modifies B.loc_none h h' ...
let read_bounded_integer_ct i #rrel #rel sl pos = let h = HST.get () in valid_total_constant_size h (parse_bounded_integer (U32.v i)) (U32.v i) sl pos; valid_facts (parse_bounded_integer (U32.v i)) h sl pos; valid_total_constant_size h parse_u32 4 sl pos; valid_facts parse_u32 h sl pos; decode_bounded_integ...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 72, "end_line": 101, "start_col": 0, "start_line": 90 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.UInt32.t{1 <= FStar.UInt32.v i /\ FStar.UInt32.v i <= 4} -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.HyperStack.ST.Stack (LowParse.Spec.BoundedInt.bounded_integer (FStar.UInt32.v i))
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.BitFields.__proj__Mkuint_t__item__get_bitfield_gen", "LowParse.BitFields.uint32", "FStar.UInt32.mul", "FStar.UInt32.__uint...
[]
false
true
false
false
false
let read_bounded_integer_ct i #rrel #rel sl pos =
let h = HST.get () in valid_total_constant_size h (parse_bounded_integer (U32.v i)) (U32.v i) sl pos; valid_facts (parse_bounded_integer (U32.v i)) h sl pos; valid_total_constant_size h parse_u32 4 sl pos; valid_facts parse_u32 h sl pos; decode_bounded_integer_injective (U32.v i); parse_u32_spec (bytes_of_slice_from h ...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_2
val jump_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32_2 min32 max32 = jump_bounded_int32' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 287, "start_col": 0, "start_line": 285 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32) (FStar.UInt32.v max...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spe...
[]
false
false
false
false
false
let jump_bounded_int32_2 min32 max32 =
jump_bounded_int32' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_3
val read_bounded_integer_3 : unit -> Tot (leaf_reader (parse_bounded_integer 3))
val read_bounded_integer_3 : unit -> Tot (leaf_reader (parse_bounded_integer 3))
let read_bounded_integer_3 () = [@inline_let] let _ = decode_bounded_integer_injective 3 in make_total_constant_size_reader 3 3ul #(bounded_integer 3) (decode_bounded_integer 3) () (fun #rrel #rel input pos -> let h = HST.get () in Seq.lemma_split (Seq.slice (B.as_seq h input) (U32.v pos) (U32.v pos +...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 76, "start_col": 0, "start_line": 62 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer 3)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.decode_bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt...
[]
false
false
false
false
false
let read_bounded_integer_3 () =
[@@ inline_let ]let _ = decode_bounded_integer_injective 3 in make_total_constant_size_reader 3 3ul #(bounded_integer 3) (decode_bounded_integer 3) () (fun #rrel #rel input pos -> let h = HST.get () in Seq.lemma_split (Seq.slice (B.as_seq h input) (U32.v pos) (U32.v pos + 3)) 2; E.reveal_be_...
false
LocalState.fst
LocalState.t2
val t2: Prims.unit -> Tac unit
val t2: Prims.unit -> Tac unit
let t2 () : Tac unit = fail "always fail"
{ "file_name": "examples/tactics/LocalState.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 27, "start_col": 0, "start_line": 27 }
(* 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.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LocalState.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "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.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.fail" ]
[]
false
true
false
false
false
let t2 () : Tac unit =
fail "always fail"
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.serialize32_bounded_integer_4
val serialize32_bounded_integer_4 : unit -> Tot (serializer32 (serialize_bounded_integer 4))
val serialize32_bounded_integer_4 : unit -> Tot (serializer32 (serialize_bounded_integer 4))
let serialize32_bounded_integer_4 () = fun (v: bounded_integer 4) #rrel #rel out pos -> bounded_integer_prop_equiv 4 v; let h = HST.get () in LE.writable_store_pre out (U32.v pos) 4 (fun s -> E.be_to_n s == U32.v v) h; LE.store32_be_i (* #(Ghost.hide rrel) #(Ghost.hide rel) *) out pos v; let h' = HST.get ()...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 153, "start_col": 0, "start_line": 145 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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.unit -> LowParse.Low.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 4)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Spec.BoundedInt.bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "LowParse.Low.Endianness.store_post_modifies", "FStar.UInt32.v", "FStar.Seq.Base.seq", "Prims.eq2", ...
[]
false
false
false
false
false
let serialize32_bounded_integer_4 () =
fun (v: bounded_integer 4) #rrel #rel out pos -> bounded_integer_prop_equiv 4 v; let h = HST.get () in LE.writable_store_pre out (U32.v pos) 4 (fun s -> E.be_to_n s == U32.v v) h; LE.store32_be_i out pos v; let h' = HST.get () in LE.store_post_modifies out (U32.v pos) 4 (fun s -> E.be_to_n s == U32.v v) h h...
false
LowParse.Low.Sum.fst
LowParse.Low.Sum.gaccessor_clens_dsum_payload_no_lookahead
val gaccessor_clens_dsum_payload_no_lookahead (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t)...
val gaccessor_clens_dsum_payload_no_lookahead (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t)...
let gaccessor_clens_dsum_payload_no_lookahead (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t) -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t) (sl sl' : bytes) : Lemma ...
{ "file_name": "src/lowparse/LowParse.Low.Sum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 26, "end_line": 1887, "start_col": 0, "start_line": 1865 }
module LowParse.Low.Sum include LowParse.Low.Enum include LowParse.Spec.Sum module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 inline_for_extraction let validate_sum_cases_aux (t: sum) (pc: ((x: sum_key t) -> Tot (k: parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Sum.fst.checked", "LowParse.Low.Enum.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "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
t: LowParse.Spec.Sum.dsum -> p: LowParse.Spec.Base.parser kt (LowParse.Spec.Sum.dsum_repr_type t) -> f: (x: LowParse.Spec.Sum.dsum_known_key t -> Prims.dtuple2 LowParse.Spec.Base.parser_kind (fun k -> LowParse.Spec.Base.parser k (LowParse.Spec.Sum.dsum_type_of_known_tag t x)))...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Sum.dsum", "LowParse.Spec.Base.parser", "LowParse.Spec.Sum.dsum_repr_type", "LowParse.Spec.Sum.dsum_known_key", "Prims.dtuple2", "LowParse.Spec.Sum.dsum_type_of_known_tag", "LowParse.Spec.Sum.dsum_type_of_unknown_tag", "LowParse.Spec.Sum.dsum_key", ...
[]
true
false
true
false
false
let gaccessor_clens_dsum_payload_no_lookahead (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t)...
parse_dsum_eq3 t p f g sl; parse_dsum_eq3 t p f g sl'; parse_strong_prefix (parse_dsum t p f g) sl sl'; parse_injective p sl sl'
false
LocalState.fst
LocalState.t1
val t1: unit -> Tac unit
val t1: unit -> Tac unit
let t1 (_:unit) : Tac unit = let r1 = alloc {x = 1; y = 1} in let r2 = alloc #st2 (fun x -> x + 1) in let s1 = read r1 in let s2 = read r2 in let s = s1.x + s1.y + s2 1 in if s <> 4 then fail "Expected 4" else let _ = write r1 ({x = 2; y = 2}) in let _ = write r2 (fun x -> x + 2) in let s1 =...
{ "file_name": "examples/tactics/LocalState.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 23, "end_line": 50, "start_col": 0, "start_line": 29 }
(* 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.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LocalState.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "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.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "Prims.op_disEquality", "Prims.int", "FStar.Tactics.V2.Derived.fail", "Prims.bool", "FStar.Tactics.V2.Derived.try_with", "LocalState.t2", "FStar.Stubs.Tactics.V2.Builtins.write", "LocalState.st1", "LocalState.Mkst1", "Prims.exn", "Prims.op_Addition", "LocalState.__proj__Mkst1__...
[]
false
true
false
false
false
let t1 (_: unit) : Tac unit =
let r1 = alloc ({ x = 1; y = 1 }) in let r2 = alloc #st2 (fun x -> x + 1) in let s1 = read r1 in let s2 = read r2 in let s = s1.x + s1.y + s2 1 in if s <> 4 then fail "Expected 4" else let _ = write r1 ({ x = 2; y = 2 }) in let _ = write r2 (fun x -> x + 2) in let s1 = read r1 in let s2 = read r2 in let s = s...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_3
val jump_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32_3 min32 max32 = jump_bounded_int32' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 291, "start_col": 0, "start_line": 289 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32) (FStar.UInt32....
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spe...
[]
false
false
false
false
false
let jump_bounded_int32_3 min32 max32 =
jump_bounded_int32' min32 max32 3
false
Steel.HigherReference.fst
Steel.HigherReference.share_gen
val share_gen (#a:Type) (#u:_) (#p:perm) (#x:erased a) (r:ref a) (p1 p2: perm) : SteelGhost unit u (pts_to r p x) (fun _ -> pts_to r p1 x `star` pts_to r p2 x) (fun _ -> p == p1 `sum_perm` p2) (fun _ _ _ -> True)
val share_gen (#a:Type) (#u:_) (#p:perm) (#x:erased a) (r:ref a) (p1 p2: perm) : SteelGhost unit u (pts_to r p x) (fun _ -> pts_to r p1 x `star` pts_to r p2 x) (fun _ -> p == p1 `sum_perm` p2) (fun _ _ _ -> True)
let share_gen (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) (p1 p2: perm) : SteelGhost unit uses (pts_to r p v) (fun _ -> pts_to r p1 v `star` pts_to r p2 v) (fun _ -> p == p1 `sum_perm` p2) (fun _ _ _ -> True) = let v_old : erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, p)) in ...
{ "file_name": "lib/steel/Steel.HigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 264, "start_col": 0, "start_line": 249 }
(* Copyright 2020 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.PCMReference.fsti.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked"...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "Steel.PCMReference", "short_module": "RP" }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "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: Steel.HigherReference.ref a -> p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Steel.Effect.Atomic.SteelGhost Prims.unit
Steel.Effect.Atomic.SteelGhost
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.HigherReference.ref", "Steel.HigherReference.intro_pts_to", "Prims.unit", "Steel.HigherReference.share_atomic_raw_gen", "Steel.Effect.Atomic.elim_pure", "Steel.HigherReference.perm_ok", "Steel.Effect.Atomic.rewr...
[]
false
true
false
false
false
let share_gen (#a: Type) (#uses: _) (#p: perm) (#v: erased a) (r: ref a) (p1 p2: perm) : SteelGhost unit uses (pts_to r p v) (fun _ -> (pts_to r p1 v) `star` (pts_to r p2 v)) (fun _ -> p == p1 `sum_perm` p2) (fun _ _ _ -> True) =
let v_old:erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, p)) in rewrite_slprop (pts_to r p v) (pts_to' r p v) (fun _ -> ()); elim_pure (perm_ok p); share_atomic_raw_gen r v p1 p2; intro_pts_to p1 r; intro_pts_to p2 r
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_u16_le
val read_u16_le : leaf_reader parse_u16_le
val read_u16_le : leaf_reader parse_u16_le
let read_u16_le = [@inline_let] let _ = synth_u16_le_injective in read_inline_synth' _ synth_u16_le read_bounded_integer_le_2 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 349, "start_col": 0, "start_line": 343 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader LowParse.Spec.BoundedInt.parse_u16_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.read_inline_synth'", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.synth_u16_le", "LowParse.Low.BoundedInt.read_bounded_integer_...
[]
false
false
false
true
false
let read_u16_le =
[@@ inline_let ]let _ = synth_u16_le_injective in read_inline_synth' _ synth_u16_le read_bounded_integer_le_2 ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_4
val jump_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32_4 min32 max32 = jump_bounded_int32' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 295, "start_col": 0, "start_line": 293 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32) (FStar.UI...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spe...
[]
false
false
false
false
false
let jump_bounded_int32_4 min32 max32 =
jump_bounded_int32' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_le_2
val read_bounded_integer_le_2 : leaf_reader (parse_bounded_integer_le 2)
val read_bounded_integer_le_2 : leaf_reader (parse_bounded_integer_le 2)
let read_bounded_integer_le_2 = [@inline_let] let _ = bounded_integer_of_le_injective 2 in make_total_constant_size_reader 2 2ul #(bounded_integer 2) (bounded_integer_of_le 2) () (fun #rrel #rel b pos -> let h = HST.get () in let r = LE.load16_le_i (* #(Ghost.hide rrel) #(Ghost.hide rel) *) b pos in E.l...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 315, "start_col": 0, "start_line": 308 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer_le 2)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.I...
[]
false
false
false
false
false
let read_bounded_integer_le_2 =
[@@ inline_let ]let _ = bounded_integer_of_le_injective 2 in make_total_constant_size_reader 2 2ul #(bounded_integer 2) (bounded_integer_of_le 2) () (fun #rrel #rel b pos -> let h = HST.get () in let r = LE.load16_le_i b pos in E.lemma_le_to_n_is_bounded (Seq.slice (B.as_seq h b) (U32.v pos)...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_le_1
val read_bounded_integer_le_1 : leaf_reader (parse_bounded_integer_le 1)
val read_bounded_integer_le_1 : leaf_reader (parse_bounded_integer_le 1)
let read_bounded_integer_le_1 = [@inline_let] let _ = bounded_integer_of_le_injective 1 in make_total_constant_size_reader 1 1ul #(bounded_integer 1) (bounded_integer_of_le 1) () (fun #rrel #rel b pos -> let h = HST.get () in E.index_le_to_n (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 1)) 0; E.le...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 306, "start_col": 0, "start_line": 298 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer_le 1)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.I...
[]
false
false
false
false
false
let read_bounded_integer_le_1 =
[@@ inline_let ]let _ = bounded_integer_of_le_injective 1 in make_total_constant_size_reader 1 1ul #(bounded_integer 1) (bounded_integer_of_le 1) () (fun #rrel #rel b pos -> let h = HST.get () in E.index_le_to_n (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 1)) 0; E.lemma_le_to_n_is_bou...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_le_4
val read_bounded_integer_le_4 : leaf_reader (parse_bounded_integer_le 4)
val read_bounded_integer_le_4 : leaf_reader (parse_bounded_integer_le 4)
let read_bounded_integer_le_4 = [@inline_let] let _ = bounded_integer_of_le_injective 4 in make_total_constant_size_reader 4 4ul #(bounded_integer 4) (bounded_integer_of_le 4) () (fun #rrel #rel b pos -> let h = HST.get () in E.lemma_le_to_n_is_bounded (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 4));...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 341, "start_col": 0, "start_line": 335 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer_le 4)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "LowStar...
[]
false
false
false
false
false
let read_bounded_integer_le_4 =
[@@ inline_let ]let _ = bounded_integer_of_le_injective 4 in make_total_constant_size_reader 4 4ul #(bounded_integer 4) (bounded_integer_of_le 4) () (fun #rrel #rel b pos -> let h = HST.get () in E.lemma_le_to_n_is_bounded (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 4)); LE.load32_le_...
false
Lattice.fst
Lattice.abides
val abides (#a: _) (f: repr0 a) (ann: annot) : prop
val abides (#a: _) (f: repr0 a) (ann: annot) : prop
let abides #a (f : repr0 a) (ann:annot) : prop = (ann RD = false ==> (forall s0 s1. fst (f s0) == fst (f s1))) /\ (ann WR = false ==> (forall s0. snd (f s0) == s0)) /\ (ann EXN = false ==> (forall s0. Some? (fst (f s0))))
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 32, "start_col": 0, "start_line": 29 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
f: Lattice.repr0 a -> ann: Lattice.annot -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Lattice.repr0", "Lattice.annot", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_Equality", "Prims.bool", "Lattice.RD", "Prims.l_Forall", "Lattice.state", "Prims.eq2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.fst", "Lattice.WR", "FStar.Pervasives.Native.snd", "L...
[]
false
false
false
true
true
let abides #a (f: repr0 a) (ann: annot) : prop =
(ann RD = false ==> (forall s0 s1. fst (f s0) == fst (f s1))) /\ (ann WR = false ==> (forall s0. snd (f s0) == s0)) /\ (ann EXN = false ==> (forall s0. Some? (fst (f s0))))
false
LowParse.Low.Sum.fst
LowParse.Low.Sum.valid_dsum_intro_known
val valid_dsum_intro_known (h: HS.mem) (t: dsum) (#kt: parser_kind) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (#rrel #rel: _) ...
val valid_dsum_intro_known (h: HS.mem) (t: dsum) (#kt: parser_kind) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (#rrel #rel: _) ...
let valid_dsum_intro_known (h: HS.mem) (t: dsum) (#kt: parser_kind) (p: parser kt (dsum_repr_type t)) (f: ((x: dsum_known_key t) -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (#rrel #rel: _) (input: slice rrel rel) (p...
{ "file_name": "src/lowparse/LowParse.Low.Sum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 57, "end_line": 1131, "start_col": 0, "start_line": 1099 }
module LowParse.Low.Sum include LowParse.Low.Enum include LowParse.Spec.Sum module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 inline_for_extraction let validate_sum_cases_aux (t: sum) (pc: ((x: sum_key t) -> Tot (k: parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Sum.fst.checked", "LowParse.Low.Enum.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 8, "max_fuel": 2, "max_ifuel": 8, "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 -> t: LowParse.Spec.Sum.dsum -> p: LowParse.Spec.Base.parser kt (LowParse.Spec.Sum.dsum_repr_type t) -> f: (x: LowParse.Spec.Sum.dsum_known_key t -> Prims.dtuple2 LowParse.Spec.Base.parser_kind (fun k -> LowParse.Spec.Base.parser k (LowPar...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowParse.Spec.Sum.dsum", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Sum.dsum_repr_type", "LowParse.Spec.Sum.dsum_known_key", "Prims.dtuple2", "LowParse.Spec.Sum.dsum_type_of_known_tag", "LowParse.Spec.Sum.dsum_type_of_unknown_tag"...
[]
false
false
true
false
false
let valid_dsum_intro_known (h: HS.mem) (t: dsum) (#kt: parser_kind) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (#rrel #rel: _) ...
valid_facts (parse_maybe_enum_key p (dsum_enum t)) h input pos; let Known k = contents (parse_maybe_enum_key p (dsum_enum t)) h input pos in let pos_payload = get_valid_pos (parse_maybe_enum_key p (dsum_enum t)) h input pos in valid_facts (dsnd (f k)) h input pos_payload; valid_facts (parse_dsum t p f g) h input pos; p...
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_u32_le
val read_u32_le : leaf_reader parse_u32_le
val read_u32_le : leaf_reader parse_u32_le
let read_u32_le = read_inline_synth' _ synth_u32_le read_bounded_integer_le_4 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 356, "start_col": 0, "start_line": 351 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader LowParse.Spec.BoundedInt.parse_u32_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.read_inline_synth'", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.synth_u32_le", "LowParse.Low.BoundedInt.read_bounded_integer_...
[]
false
false
false
true
false
let read_u32_le =
read_inline_synth' _ synth_u32_le read_bounded_integer_le_4 ()
false
Lattice.fst
Lattice.ann_le
val ann_le (ann1 ann2: annot) : prop
val ann_le (ann1 ann2: annot) : prop
let ann_le (ann1 ann2 : annot) : prop = forall x. ann1 x ==> ann2 x
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 76, "start_col": 0, "start_line": 75 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
ann1: Lattice.annot -> ann2: Lattice.annot -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Lattice.annot", "Prims.l_Forall", "Lattice.eff_label", "Prims.l_imp", "Prims.b2t", "Prims.prop" ]
[]
false
false
false
true
true
let ann_le (ann1 ann2: annot) : prop =
forall x. ann1 x ==> ann2 x
false
Lattice.fst
Lattice.ite
val ite : p: Type0 -> q: Type0 -> r: Type0 -> Prims.logical
let ite (p q r : Type0) = (p ==> q) /\ (~p ==> r)
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 102, "start_col": 0, "start_line": 102 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Type0 -> q: Type0 -> r: Type0 -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.l_and", "Prims.l_imp", "Prims.l_not", "Prims.logical" ]
[]
false
false
false
true
true
let ite (p q r: Type0) =
(p ==> q) /\ (~p ==> r)
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_integer_le_3
val read_bounded_integer_le_3 : leaf_reader (parse_bounded_integer_le 3)
val read_bounded_integer_le_3 : leaf_reader (parse_bounded_integer_le 3)
let read_bounded_integer_le_3 = [@inline_let] let _ = bounded_integer_of_le_injective 3 in make_total_constant_size_reader 3 3ul #(bounded_integer 3) (bounded_integer_of_le 3) () (fun #rrel #rel b pos -> let h = HST.get () in Seq.lemma_split (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 3)) 1; E.re...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 331, "start_col": 0, "start_line": 319 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer_le 3)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.make_total_constant_size_reader", "FStar.UInt32.__uint_to_t", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.bounded_integer_of_le", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.U...
[]
false
false
false
false
false
let read_bounded_integer_le_3 =
[@@ inline_let ]let _ = bounded_integer_of_le_injective 3 in make_total_constant_size_reader 3 3ul #(bounded_integer 3) (bounded_integer_of_le 3) () (fun #rrel #rel b pos -> let h = HST.get () in Seq.lemma_split (Seq.slice (B.as_seq h b) (U32.v pos) (U32.v pos + 3)) 1; E.reveal_le_to_n (Seq....
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_integer_le_1
val write_bounded_integer_le_1 : leaf_writer_strong (serialize_bounded_integer_le 1)
val write_bounded_integer_le_1 : leaf_writer_strong (serialize_bounded_integer_le 1)
let write_bounded_integer_le_1 = leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_1 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 72, "end_line": 366, "start_col": 0, "start_line": 365 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 1)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.serialize32_boun...
[]
false
false
false
false
false
let write_bounded_integer_le_1 =
leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_1 ()
false
Steel.HigherReference.fst
Steel.HigherReference.gather
val gather (#a:Type) (#uses:_) (#p0:perm) (#p1:perm) (#v0 #v1:erased a) (r:ref a) : SteelGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires fun _ -> True) (ensures fun _ _ _ -> v0 == v1)
val gather (#a:Type) (#uses:_) (#p0:perm) (#p1:perm) (#v0 #v1:erased a) (r:ref a) : SteelGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires fun _ -> True) (ensures fun _ _ _ -> v0 == v1)
let gather (#a:Type) (#uses:_) (#p0:perm) (#p1:perm) (#v0 #v1:erased a) (r:ref a) = let v0_old : erased (fractional a) = Ghost.hide (Some (Ghost.reveal v0, p0)) in let v1_old : erased (fractional a) = Ghost.hide (Some (Ghost.reveal v1, p1)) in rewrite_slprop (pts_to r p0 v0) (pts_to_raw r p0 v0 `s...
{ "file_name": "lib/steel/Steel.HigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 305, "start_col": 0, "start_line": 291 }
(* Copyright 2020 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.PCMReference.fsti.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked"...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "Steel.PCMReference", "short_module": "RP" }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "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: Steel.HigherReference.ref a -> Steel.Effect.Atomic.SteelGhost Prims.unit
Steel.Effect.Atomic.SteelGhost
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.HigherReference.ref", "Steel.HigherReference.intro_pts_to", "Steel.FractionalPermission.sum_perm", "Prims.unit", "Prims.l_and", "Prims.eq2", "Steel.HigherReference.perm_ok", "Steel.HigherReference.gather_atomi...
[]
false
true
false
false
false
let gather (#a: Type) (#uses: _) (#p0 #p1: perm) (#v0 #v1: erased a) (r: ref a) =
let v0_old:erased (fractional a) = Ghost.hide (Some (Ghost.reveal v0, p0)) in let v1_old:erased (fractional a) = Ghost.hide (Some (Ghost.reveal v1, p1)) in rewrite_slprop (pts_to r p0 v0) ((pts_to_raw r p0 v0) `star` (pure (perm_ok p0))) (fun _ -> ()); rewrite_slprop (pts_to r p1 v1) ((pts_to_raw r p1 v1) `star` (pure ...
false
Lattice.fst
Lattice.coerce
val coerce (#a #b: _) (x: a{a == b}) : b
val coerce (#a #b: _) (x: a{a == b}) : b
let coerce #a #b (x:a{a == b}) : b = x
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 7, "start_col": 0, "start_line": 7 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
x: a{a == b} -> b
Prims.Tot
[ "total" ]
[]
[ "Prims.eq2" ]
[]
false
false
false
false
false
let coerce #a #b (x: a{a == b}) : b =
x
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_integer_le_3
val write_bounded_integer_le_3 : leaf_writer_strong (serialize_bounded_integer_le 3)
val write_bounded_integer_le_3 : leaf_writer_strong (serialize_bounded_integer_le 3)
let write_bounded_integer_le_3 = leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_3 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 103, "end_line": 407, "start_col": 0, "start_line": 407 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 3)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.serialize32_boun...
[]
false
false
false
false
false
let write_bounded_integer_le_3 =
leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_3 ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_integer_le_4
val write_bounded_integer_le_4 : leaf_writer_strong (serialize_bounded_integer_le 4)
val write_bounded_integer_le_4 : leaf_writer_strong (serialize_bounded_integer_le 4)
let write_bounded_integer_le_4 = leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_4 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 103, "end_line": 419, "start_col": 0, "start_line": 419 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 4)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.serialize32_boun...
[]
false
false
false
false
false
let write_bounded_integer_le_4 =
leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_4 ()
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_u16_le
val write_u16_le : leaf_writer_strong serialize_u16_le
val write_u16_le : leaf_writer_strong serialize_u16_le
let write_u16_le = [@inline_let] let _ = synth_u16_le_injective; synth_u16_le_inverse in write_synth write_bounded_integer_le_2 synth_u16_le synth_u16_le_recip (fun x -> synth_u16_le_recip x) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 107, "end_line": 423, "start_col": 0, "start_line": 421 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong LowParse.Spec.BoundedInt.serialize_u16_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.write_synth", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.write_bounded_integer_le_2", "...
[]
false
false
false
true
false
let write_u16_le =
[@@ inline_let ]let _ = synth_u16_le_injective; synth_u16_le_inverse in write_synth write_bounded_integer_le_2 synth_u16_le synth_u16_le_recip (fun x -> synth_u16_le_recip x) ()
false
Lattice.fst
Lattice.sublist
val sublist : l1: Prims.list Lattice.eff_label -> l2: Prims.list Lattice.eff_label -> Prims.logical
let sublist (l1 l2 : list eff_label) = forall x. mem x l1 ==> mem x l2
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 45, "start_col": 0, "start_line": 44 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Prims.list Lattice.eff_label -> l2: Prims.list Lattice.eff_label -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Lattice.eff_label", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "FStar.List.Tot.Base.mem", "Prims.logical" ]
[]
false
false
false
true
true
let sublist (l1 l2: list eff_label) =
forall x. mem x l1 ==> mem x l2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.serialize32_bounded_integer_le_1
val serialize32_bounded_integer_le_1 : serializer32 (serialize_bounded_integer_le 1)
val serialize32_bounded_integer_le_1 : serializer32 (serialize_bounded_integer_le 1)
let serialize32_bounded_integer_le_1 = fun x #rrel #rel b pos -> bounded_integer_prop_equiv 1 x; E.index_n_to_le 1 (U32.v x) 0; mbuffer_upd b (Ghost.hide (U32.v pos)) (Ghost.hide (U32.v pos + 1)) pos (Cast.uint32_to_uint8 x); 1ul
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 363, "start_col": 0, "start_line": 358 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 1)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "Prims.unit", "LowParse.Low.Base.mbuffer_upd", "FStar.Ghost.hide", "Prims.nat", "FStar.UInt32.v", "Prims.op_Addi...
[]
false
false
false
false
false
let serialize32_bounded_integer_le_1 =
fun x #rrel #rel b pos -> bounded_integer_prop_equiv 1 x; E.index_n_to_le 1 (U32.v x) 0; mbuffer_upd b (Ghost.hide (U32.v pos)) (Ghost.hide (U32.v pos + 1)) pos (Cast.uint32_to_uint8 x); 1ul
false
LowParse.Low.Sum.fst
LowParse.Low.Sum.gaccessor_clens_dsum_payload_injective
val gaccessor_clens_dsum_payload_injective (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t) ...
val gaccessor_clens_dsum_payload_injective (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t) ...
let gaccessor_clens_dsum_payload_injective (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t) -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t) (sl sl' : bytes) : Lemma (...
{ "file_name": "src/lowparse/LowParse.Low.Sum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 26, "end_line": 1863, "start_col": 0, "start_line": 1841 }
module LowParse.Low.Sum include LowParse.Low.Enum include LowParse.Spec.Sum module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 inline_for_extraction let validate_sum_cases_aux (t: sum) (pc: ((x: sum_key t) -> Tot (k: parser_k...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Sum.fst.checked", "LowParse.Low.Enum.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "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
t: LowParse.Spec.Sum.dsum -> p: LowParse.Spec.Base.parser kt (LowParse.Spec.Sum.dsum_repr_type t) -> f: (x: LowParse.Spec.Sum.dsum_known_key t -> Prims.dtuple2 LowParse.Spec.Base.parser_kind (fun k -> LowParse.Spec.Base.parser k (LowParse.Spec.Sum.dsum_type_of_known_tag t x)))...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Sum.dsum", "LowParse.Spec.Base.parser", "LowParse.Spec.Sum.dsum_repr_type", "LowParse.Spec.Sum.dsum_known_key", "Prims.dtuple2", "LowParse.Spec.Sum.dsum_type_of_known_tag", "LowParse.Spec.Sum.dsum_type_of_unknown_tag", "LowParse.Spec.Sum.dsum_key", ...
[]
true
false
true
false
false
let gaccessor_clens_dsum_payload_injective (#kt: parser_kind) (t: dsum) (p: parser kt (dsum_repr_type t)) (f: (x: dsum_known_key t -> Tot (k: parser_kind & parser k (dsum_type_of_known_tag t x)))) (#ku: parser_kind) (g: parser ku (dsum_type_of_unknown_tag t)) (k: dsum_key t) ...
parse_dsum_eq3 t p f g sl; parse_dsum_eq3 t p f g sl'; parse_injective (parse_dsum t p f g) sl sl'; parse_injective p sl sl'
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_le_4
val validate_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le_4 min32 max32 = validate_bounded_int32_le' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 463, "start_col": 0, "start_line": 461 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32_le'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "Lo...
[]
false
false
false
false
false
let validate_bounded_int32_le_4 min32 max32 =
validate_bounded_int32_le' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_u32_le
val write_u32_le : leaf_writer_strong serialize_u32_le
val write_u32_le : leaf_writer_strong serialize_u32_le
let write_u32_le = write_synth write_bounded_integer_le_4 synth_u32_le synth_u32_le_recip (fun x -> synth_u32_le_recip x) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 107, "end_line": 426, "start_col": 0, "start_line": 425 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong LowParse.Spec.BoundedInt.serialize_u32_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Combinators.write_synth", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.write_bounded_integer_le_4", "...
[]
false
false
false
true
false
let write_u32_le =
write_synth write_bounded_integer_le_4 synth_u32_le synth_u32_le_recip (fun x -> synth_u32_le_recip x) ()
false
Lattice.fst
Lattice.interp
val interp (l: list eff_label) : annot
val interp (l: list eff_label) : annot
let interp (l : list eff_label) : annot = fun lab -> mem lab l
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 35, "start_col": 0, "start_line": 34 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Prims.list Lattice.eff_label -> Lattice.annot
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Lattice.eff_label", "FStar.List.Tot.Base.mem", "Prims.bool", "Lattice.annot" ]
[]
false
false
false
true
false
let interp (l: list eff_label) : annot =
fun lab -> mem lab l
false
Lattice.fst
Lattice.interp_at
val interp_at (l1 l2: list eff_label) (l: eff_label) : Lemma (interp (l1 @ l2) l == (interp l1 l || interp l2 l)) [SMTPat (interp (l1 @ l2) l)]
val interp_at (l1 l2: list eff_label) (l: eff_label) : Lemma (interp (l1 @ l2) l == (interp l1 l || interp l2 l)) [SMTPat (interp (l1 @ l2) l)]
let rec interp_at (l1 l2 : list eff_label) (l : eff_label) : Lemma (interp (l1@l2) l == (interp l1 l || interp l2 l)) [SMTPat (interp (l1@l2) l)] = match l1 with | [] -> () | _::l1 -> interp_at l1 l2 l
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 42, "start_col": 0, "start_line": 37 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Prims.list Lattice.eff_label -> l2: Prims.list Lattice.eff_label -> l: Lattice.eff_label -> FStar.Pervasives.Lemma (ensures Lattice.interp (l1 @ l2) l == (Lattice.interp l1 l || Lattice.interp l2 l)) [SMTPat (Lattice.interp (l1 @ l2) l)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "Lattice.eff_label", "Lattice.interp_at", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Prims.bool", "Lattice.interp", "FStar.List.Tot.Base.op_At", "Prims.op_BarBar", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[ "recursion" ]
false
false
true
false
false
let rec interp_at (l1 l2: list eff_label) (l: eff_label) : Lemma (interp (l1 @ l2) l == (interp l1 l || interp l2 l)) [SMTPat (interp (l1 @ l2) l)] =
match l1 with | [] -> () | _ :: l1 -> interp_at l1 l2 l
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_integer_le_2
val write_bounded_integer_le_2 : leaf_writer_strong (serialize_bounded_integer_le 2)
val write_bounded_integer_le_2 : leaf_writer_strong (serialize_bounded_integer_le 2)
let write_bounded_integer_le_2 = leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_2 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 103, "end_line": 381, "start_col": 0, "start_line": 381 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 2)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "LowParse.Spec.BoundedInt.serialize_bounded_integer_le", "LowParse.Low.BoundedInt.serialize32_boun...
[]
false
false
false
false
false
let write_bounded_integer_le_2 =
leaf_writer_strong_of_serializer32 serialize32_bounded_integer_le_2 ()
false
Lattice.fst
Lattice.subcomp
val subcomp (a: Type) (labs1 labs2: list eff_label) (f: repr a labs1) : Pure (repr a labs2) (requires (sublist labs1 labs2)) (ensures (fun _ -> True))
val subcomp (a: Type) (labs1 labs2: list eff_label) (f: repr a labs1) : Pure (repr a labs2) (requires (sublist labs1 labs2)) (ensures (fun _ -> True))
let subcomp (a:Type) (labs1 labs2 : list eff_label) (f : repr a labs1) : Pure (repr a labs2) (requires (sublist labs1 labs2)) (ensures (fun _ -> True)) = f
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 100, "start_col": 0, "start_line": 94 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
a: Type -> labs1: Prims.list Lattice.eff_label -> labs2: Prims.list Lattice.eff_label -> f: Lattice.repr a labs1 -> Prims.Pure (Lattice.repr a labs2)
Prims.Pure
[]
[]
[ "Prims.list", "Lattice.eff_label", "Lattice.repr", "Lattice.sublist", "Prims.l_True" ]
[]
false
false
false
false
false
let subcomp (a: Type) (labs1 labs2: list eff_label) (f: repr a labs1) : Pure (repr a labs2) (requires (sublist labs1 labs2)) (ensures (fun _ -> True)) =
f
false
Lattice.fst
Lattice.sublist_at
val sublist_at (l1 l2: list eff_label) : Lemma (sublist l1 (l1 @ l2) /\ sublist l2 (l1 @ l2)) [SMTPatOr [[SMTPat (sublist l1 (l1 @ l2))]; [SMTPat (sublist l2 (l1 @ l2))]]]
val sublist_at (l1 l2: list eff_label) : Lemma (sublist l1 (l1 @ l2) /\ sublist l2 (l1 @ l2)) [SMTPatOr [[SMTPat (sublist l1 (l1 @ l2))]; [SMTPat (sublist l2 (l1 @ l2))]]]
let rec sublist_at (l1 l2 : list eff_label) : Lemma (sublist l1 (l1@l2) /\ sublist l2 (l1@l2)) [SMTPatOr [[SMTPat (sublist l1 (l1@l2))]; [SMTPat (sublist l2 (l1@l2))]]] = match l1 with | [] -> () | _::l1 -> sublist_at l1 l2
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 68, "start_col": 0, "start_line": 61 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Prims.list Lattice.eff_label -> l2: Prims.list Lattice.eff_label -> FStar.Pervasives.Lemma (ensures Lattice.sublist l1 (l1 @ l2) /\ Lattice.sublist l2 (l1 @ l2)) [SMTPatOr [[SMTPat (Lattice.sublist l1 (l1 @ l2))]; [SMTPat (Lattice.sublist l2 (l1 @ l2))]]]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "Lattice.eff_label", "Lattice.sublist_at", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_and", "Lattice.sublist", "FStar.List.Tot.Base.op_At", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat_or", "FStar.Pervasives.smt_pat", "Prims.logical", "Pri...
[ "recursion" ]
false
false
true
false
false
let rec sublist_at (l1 l2: list eff_label) : Lemma (sublist l1 (l1 @ l2) /\ sublist l2 (l1 @ l2)) [SMTPatOr [[SMTPat (sublist l1 (l1 @ l2))]; [SMTPat (sublist l2 (l1 @ l2))]]] =
match l1 with | [] -> () | _ :: l1 -> sublist_at l1 l2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_le_3
val validate_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le_3 min32 max32 = validate_bounded_int32_le' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 459, "start_col": 0, "start_line": 457 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32_le'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "Lo...
[]
false
false
false
false
false
let validate_bounded_int32_le_3 min32 max32 =
validate_bounded_int32_le' min32 max32 3
false
Lattice.fst
Lattice.put
val put (s: state) : EFF unit [WR]
val put (s: state) : EFF unit [WR]
let put (s:state) : EFF unit [WR] = EFF?.reflect (fun _ -> (Some (), s))
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 137, "start_col": 0, "start_line": 136 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Lattice.state -> Lattice.EFF Prims.unit
Lattice.EFF
[]
[]
[ "Lattice.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "Prims.unit", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.Cons", "Lattice.eff_label", "Lattice.WR", "Prims.Nil" ]
[]
false
true
false
false
false
let put (s: state) : EFF unit [WR] =
EFF?.reflect (fun _ -> (Some (), s))
false
Lattice.fst
Lattice.return
val return (a: Type) (x: a) : repr a []
val return (a: Type) (x: a) : repr a []
let return (a:Type) (x:a) : repr a [] = fun s0 -> (Some x, s0)
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 80, "start_col": 0, "start_line": 78 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
a: Type -> x: a -> Lattice.repr a []
Prims.Tot
[ "total" ]
[]
[ "Lattice.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Lattice.repr", "Prims.Nil", "Lattice.eff_label" ]
[]
false
false
false
true
false
let return (a: Type) (x: a) : repr a [] =
fun s0 -> (Some x, s0)
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_le'
val validate_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let] ...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 447, "start_col": 0, "start_line": 429 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.validator (LowParse...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.validate_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.par...
[]
false
false
false
false
false
let validate_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in validate_synth (validate_filter (validate_bounded_integer_le sz) (read_bounded_integer_le sz) (in_bounds min max) (fun x -> not (x `U32.lt` min32 || max32 `U32.lt` x))) (fun x -> (x <: bounded_int32 min max)) ()
false
Lattice.fst
Lattice.interp_sublist
val interp_sublist (l1 l2: list eff_label) (l: eff_label) : Lemma (requires (sublist l1 l2)) (ensures (interp l1 l ==> interp l2 l)) [SMTPat (interp l1 l); SMTPat (sublist l1 l2)]
val interp_sublist (l1 l2: list eff_label) (l: eff_label) : Lemma (requires (sublist l1 l2)) (ensures (interp l1 l ==> interp l2 l)) [SMTPat (interp l1 l); SMTPat (sublist l1 l2)]
let rec interp_sublist (l1 l2 : list eff_label) (l : eff_label) : Lemma (requires (sublist l1 l2)) (ensures (interp l1 l ==> interp l2 l)) [SMTPat (interp l1 l); SMTPat (sublist l1 l2)] = match l1 with | [] -> () | _::l1 -> interp_sublist l1 l2 l
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 59, "start_col": 0, "start_line": 53 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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: Prims.list Lattice.eff_label -> l2: Prims.list Lattice.eff_label -> l: Lattice.eff_label -> FStar.Pervasives.Lemma (requires Lattice.sublist l1 l2) (ensures Lattice.interp l1 l ==> Lattice.interp l2 l) [SMTPat (Lattice.interp l1 l); SMTPat (Lattice.sublist l1 l2)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "Lattice.eff_label", "Lattice.interp_sublist", "Prims.unit", "Lattice.sublist", "Prims.squash", "Prims.l_imp", "Prims.b2t", "Lattice.interp", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.bool", "Prims.logical", "Prims.Nil" ]
[ "recursion" ]
false
false
true
false
false
let rec interp_sublist (l1 l2: list eff_label) (l: eff_label) : Lemma (requires (sublist l1 l2)) (ensures (interp l1 l ==> interp l2 l)) [SMTPat (interp l1 l); SMTPat (sublist l1 l2)] =
match l1 with | [] -> () | _ :: l1 -> interp_sublist l1 l2 l
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_le_1
val jump_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le_1 min32 max32 = jump_bounded_int32_le' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 485, "start_col": 0, "start_line": 483 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) (FStar.UIn...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.jump_bounded_int32_le'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse....
[]
false
false
false
false
false
let jump_bounded_int32_le_1 min32 max32 =
jump_bounded_int32_le' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_le_1
val validate_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le_1 min32 max32 = validate_bounded_int32_le' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 451, "start_col": 0, "start_line": 449 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) (FSta...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.validate_bounded_int32_le'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "Lo...
[]
false
false
false
false
false
let validate_bounded_int32_le_1 min32 max32 =
validate_bounded_int32_le' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_le_3
val jump_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le_3 min32 max32 = jump_bounded_int32_le' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 493, "start_col": 0, "start_line": 491 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32_le'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse....
[]
false
false
false
false
false
let jump_bounded_int32_le_3 min32 max32 =
jump_bounded_int32_le' min32 max32 3
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_le_1
val write_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
val write_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
let write_bounded_int32_le_1 min32 max32 = write_bounded_int32_le' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 520, "start_col": 0, "start_line": 518 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v min32) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.write_bounded_int32_le'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32",...
[]
false
false
false
false
false
let write_bounded_int32_le_1 min32 max32 =
write_bounded_int32_le' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_le_2
val write_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
val write_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
let write_bounded_int32_le_2 min32 max32 = write_bounded_int32_le' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 524, "start_col": 0, "start_line": 522 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v min...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32_le'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32",...
[]
false
false
false
false
false
let write_bounded_int32_le_2 min32 max32 =
write_bounded_int32_le' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_le_1
val read_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val read_bounded_int32_le_1 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let read_bounded_int32_le_1 min32 max32 = read_bounded_int32_le' min32 max32 1
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 556, "start_col": 0, "start_line": 554 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 256 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) (FS...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Low.BoundedInt.read_bounded_int32_le'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowP...
[]
false
false
false
false
false
let read_bounded_int32_le_1 min32 max32 =
read_bounded_int32_le' min32 max32 1
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_le'
val jump_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le' (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) (sz: nat { sz == log256' (U32.v max32) }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32))) = [@inline_let] let min = U32.v min32 in [@inline_let] let m...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 481, "start_col": 0, "start_line": 466 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> sz: Prims.nat{sz == LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32)} -> LowParse.Low.Base.jumper (LowParse.Sp...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.nat", "Prims.eq2", "LowParse.Spec.BoundedInt.log256'", "LowParse.Low.Combinators.jump_synth", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_b...
[]
false
false
false
false
false
let jump_bounded_int32_le' (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) (sz: nat{sz == log256' (U32.v max32)}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32))) =
[@@ inline_let ]let min = U32.v min32 in [@@ inline_let ]let max = U32.v max32 in jump_synth (jump_filter (jump_bounded_integer_le sz) (in_bounds min max)) (fun x -> (x <: bounded_int32 min max)) ()
false
Lattice.fst
Lattice.get
val get: Prims.unit -> EFF int [RD]
val get: Prims.unit -> EFF int [RD]
let get () : EFF int [RD] = EFF?.reflect (fun s0 -> (Some s0, s0))
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 134, "start_col": 0, "start_line": 133 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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.unit -> Lattice.EFF Prims.int
Lattice.EFF
[]
[]
[ "Prims.unit", "Prims.int", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.Cons", "Lattice.eff_label", "Lattice.RD", "Prims.Nil" ]
[]
false
true
false
false
false
let get () : EFF int [RD] =
EFF?.reflect (fun s0 -> (Some s0, s0))
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_le_4
val jump_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le_4 min32 max32 = jump_bounded_int32_le' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 497, "start_col": 0, "start_line": 495 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32_le'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse....
[]
false
false
false
false
false
let jump_bounded_int32_le_4 min32 max32 =
jump_bounded_int32_le' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_le_4
val read_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val read_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let read_bounded_int32_le_4 min32 max32 = read_bounded_int32_le' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 568, "start_col": 0, "start_line": 566 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32_le'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowP...
[]
false
false
false
false
false
let read_bounded_int32_le_4 min32 max32 =
read_bounded_int32_le' min32 max32 4
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_le_3
val read_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val read_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let read_bounded_int32_le_3 min32 max32 = read_bounded_int32_le' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 564, "start_col": 0, "start_line": 562 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32_le'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowP...
[]
false
false
false
false
false
let read_bounded_int32_le_3 min32 max32 =
read_bounded_int32_le' min32 max32 3
false
Lattice.fst
Lattice.lift_pure_eff
val lift_pure_eff (a: Type) (wp: pure_wp a) (f: (unit -> PURE a wp)) : Pure (repr a []) (requires (wp (fun _ -> True))) (ensures (fun _ -> True))
val lift_pure_eff (a: Type) (wp: pure_wp a) (f: (unit -> PURE a wp)) : Pure (repr a []) (requires (wp (fun _ -> True))) (ensures (fun _ -> True))
let lift_pure_eff (a:Type) (wp : pure_wp a) (f : unit -> PURE a wp) : Pure (repr a []) (requires (wp (fun _ -> True))) (ensures (fun _ -> True)) = FStar.Monotonic.Pure.elim_pure_wp_monotonicity wp; fun s0 -> (Some (f ()), s0)
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 129, "start_col": 0, "start_line": 121 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
a: Type -> wp: Prims.pure_wp a -> f: (_: Prims.unit -> Prims.PURE a) -> Prims.Pure (Lattice.repr a [])
Prims.Pure
[]
[]
[ "Prims.pure_wp", "Prims.unit", "Lattice.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity", "Lattice.repr", "Prims.Nil", "Lattice.eff_label", "Prims.l_T...
[]
false
false
false
false
false
let lift_pure_eff (a: Type) (wp: pure_wp a) (f: (unit -> PURE a wp)) : Pure (repr a []) (requires (wp (fun _ -> True))) (ensures (fun _ -> True)) =
FStar.Monotonic.Pure.elim_pure_wp_monotonicity wp; fun s0 -> (Some (f ()), s0)
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.jump_bounded_int32_le_2
val jump_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le_2 min32 max32 = jump_bounded_int32_le' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 489, "start_col": 0, "start_line": 487 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) (FSta...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.jump_bounded_int32_le'", "LowParse.Low.Base.jumper", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse....
[]
false
false
false
false
false
let jump_bounded_int32_le_2 min32 max32 =
jump_bounded_int32_le' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_le_4
val write_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
val write_bounded_int32_le_4 (min32: U32.t) (max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
let write_bounded_int32_le_4 min32 max32 = write_bounded_int32_le' min32 max32 4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 532, "start_col": 0, "start_line": 530 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32_le'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32",...
[]
false
false
false
false
false
let write_bounded_int32_le_4 min32 max32 =
write_bounded_int32_le' min32 max32 4
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.iand
val iand : a: Vale.Def.Words_s.natN n -> b: Vale.Def.Words_s.natN n -> Vale.Def.Words_s.natN n
let iand #n = Vale.Def.Types_s.iand #n
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 11, "start_col": 7, "start_line": 11 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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.Def.Words_s.natN n -> b: Vale.Def.Words_s.natN n -> Vale.Def.Words_s.natN n
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Def.Types_s.iand", "Vale.Def.Words_s.natN" ]
[]
false
false
false
false
false
let iand #n =
Vale.Def.Types_s.iand #n
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.validate_bounded_int32_le_2
val validate_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le_2 min32 max32 = validate_bounded_int32_le' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 455, "start_col": 0, "start_line": 453 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.validate_bounded_int32_le'", "LowParse.Low.Base.validator", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "Lo...
[]
false
false
false
false
false
let validate_bounded_int32_le_2 min32 max32 =
validate_bounded_int32_le' min32 max32 2
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.serialize32_bounded_integer_le_4
val serialize32_bounded_integer_le_4 : serializer32 (serialize_bounded_integer_le 4)
val serialize32_bounded_integer_le_4 : serializer32 (serialize_bounded_integer_le 4)
let serialize32_bounded_integer_le_4 = fun v #rrel #rel out pos -> bounded_integer_prop_equiv 4 v; let h = HST.get () in LE.writable_store_pre out (U32.v pos) 4 (fun s -> E.le_to_n s == U32.v v) h; LE.store32_le_i (* #(Ghost.hide rrel) #(Ghost.hide rel) *) out pos v; let h' = HST.get () in LE.store_post_mod...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 417, "start_col": 0, "start_line": 409 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
LowParse.Low.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 4)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.bounded_integer", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "Prims.unit", "LowParse.Low.Endianness.store_post_modifies", "FStar.UInt32.v", "FStar.Seq.Base.seq", "Prims.eq2", ...
[]
false
false
false
false
false
let serialize32_bounded_integer_le_4 =
fun v #rrel #rel out pos -> bounded_integer_prop_equiv 4 v; let h = HST.get () in LE.writable_store_pre out (U32.v pos) 4 (fun s -> E.le_to_n s == U32.v v) h; LE.store32_le_i out pos v; let h' = HST.get () in LE.store_post_modifies out (U32.v pos) 4 (fun s -> E.le_to_n s == U32.v v) h h'; 4ul
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.pow2_128
val pow2_128 : Prims.int
let pow2_128 = Vale.Def.Words_s.pow2_128
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 9, "start_col": 7, "start_line": 9 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want.
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.pow2_128" ]
[]
false
false
false
true
false
let pow2_128 =
Vale.Def.Words_s.pow2_128
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_le_2
val read_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val read_bounded_int32_le_2 (min32: U32.t) (max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let read_bounded_int32_le_2 min32 max32 = read_bounded_int32_le' min32 max32 2
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 560, "start_col": 0, "start_line": 558 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 65536 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.read_bounded_int32_le'", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowP...
[]
false
false
false
false
false
let read_bounded_int32_le_2 min32 max32 =
read_bounded_int32_le' min32 max32 2
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.u64
val u64 : n: Lib.IntTypes.range_t Lib.IntTypes.U64 -> u29: Lib.IntTypes.uint64{Lib.IntTypes.v u29 == n}
let u64 = Lib.IntTypes.u64
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 15, "start_col": 7, "start_line": 15 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Words_s.nat64 unfold let...
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
n: Lib.IntTypes.range_t Lib.IntTypes.U64 -> u29: Lib.IntTypes.uint64{Lib.IntTypes.v u29 == n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.u64" ]
[]
false
false
false
false
false
let u64 =
Lib.IntTypes.u64
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.nat64
val nat64 : Type0
let nat64 = Vale.Def.Words_s.nat64
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 10, "start_col": 7, "start_line": 10 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want.
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Words_s.nat64" ]
[]
false
false
false
true
true
let nat64 =
Vale.Def.Words_s.nat64
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.read_bounded_int32_le_fixed_size
val read_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t { U32.v min32 <= U32.v max32 }) : Tot (leaf_reader (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)))
val read_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t { U32.v min32 <= U32.v max32 }) : Tot (leaf_reader (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)))
let read_bounded_int32_le_fixed_size min32 max32 = read_filter read_u32_le (in_bounds (U32.v min32) (U32.v max32))
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 65, "end_line": 576, "start_col": 0, "start_line": 574 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t{FStar.UInt32.v min32 <= FStar.UInt32.v max32} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le_fixed_size (FStar.UInt32.v min32) (FStar.UInt32.v max32))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Low.Combinators.read_filter", "LowParse.Spec.Int.parse_u32_kind", "LowParse.Spec.BoundedInt.parse_u32_le", "LowParse.Low.BoundedInt.read_u32_le", "LowParse.Spec.BoundedInt.in_bounds", "LowParse.Low.Base.leaf_rea...
[]
false
false
false
false
false
let read_bounded_int32_le_fixed_size min32 max32 =
read_filter read_u32_le (in_bounds (U32.v min32) (U32.v max32))
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.uint8
val uint8 : Type0
let uint8 = Lib.IntTypes.uint8
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 14, "start_col": 7, "start_line": 14 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Words_s.nat64 unfold let...
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint8" ]
[]
false
false
false
true
true
let uint8 =
Lib.IntTypes.uint8
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.uint_v
val uint_v : u28: Lib.IntTypes.int_t t l -> x: Prims.int{Lib.IntTypes.range x t}
let uint_v #t #l = Lib.IntTypes.uint_v #t #l
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 13, "start_col": 7, "start_line": 13 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Words_s.nat64 unfold let...
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
u28: Lib.IntTypes.int_t t l -> x: Prims.int{Lib.IntTypes.range x t}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.inttype", "Prims.b2t", "Lib.IntTypes.unsigned", "Lib.IntTypes.secrecy_level", "Lib.IntTypes.uint_v", "Lib.IntTypes.int_t", "Prims.int", "Lib.IntTypes.range" ]
[]
false
false
false
false
false
let uint_v #t #l =
Lib.IntTypes.uint_v #t #l
false
LowParse.Low.BoundedInt.fst
LowParse.Low.BoundedInt.write_bounded_int32_le_3
val write_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
val write_bounded_int32_le_3 (min32: U32.t) (max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
let write_bounded_int32_le_3 min32 max32 = write_bounded_int32_le' min32 max32 3
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 528, "start_col": 0, "start_line": 526 }
module LowParse.Low.BoundedInt open LowParse.Low.Combinators module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module HS = FStar.HyperStack module B = LowStar.Buffer module E = LowParse.Endianness.BitFields module BF = LowParse.BitFields...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BoundedInt.fst.checked", "LowParse.Low.Endianness.fst.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Endianness.BitFields.fst.checked", "LowParse.BitFields.fsti.checke...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowParse.Low.Endianness", "short_module": "LE" }, { "abbrev": true, "full_module": "LowParse.BitFields", "short_module": "BF" }, { "abbrev": true, "f...
{ "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
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 16777216 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Low.BoundedInt.write_bounded_int32_le'", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.BoundedInt.parse_bounded_int32_kind", "LowParse.Spec.BoundedInt.bounded_int32",...
[]
false
false
false
false
false
let write_bounded_int32_le_3 min32 max32 =
write_bounded_int32_le' min32 max32 3
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.repeati
val repeati : n: Prims.nat -> f: (i: Prims.nat{i < n} -> _: _ -> _) -> acc0: _ -> _
let repeati = Lib.LoopCombinators.repeati
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 17, "start_col": 7, "start_line": 17 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Words_s.nat64 unfold let...
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
n: Prims.nat -> f: (i: Prims.nat{i < n} -> _: _ -> _) -> acc0: _ -> _
Prims.Tot
[ "total" ]
[]
[ "Lib.LoopCombinators.repeati", "Prims.nat", "Prims.b2t", "Prims.op_LessThan" ]
[]
false
false
false
false
false
let repeati =
Lib.LoopCombinators.repeati
false
Lattice.fst
Lattice.raise
val raise: #a: _ -> Prims.unit -> EFF a [EXN]
val raise: #a: _ -> Prims.unit -> EFF a [EXN]
let raise #a () : EFF a [EXN] = EFF?.reflect (fun s0 -> (None, s0))
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 140, "start_col": 0, "start_line": 139 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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.unit -> Lattice.EFF a
Lattice.EFF
[]
[]
[ "Prims.unit", "Lattice.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "Prims.Cons", "Lattice.eff_label", "Lattice.EXN", "Prims.Nil" ]
[]
false
true
false
false
false
let raise #a () : EFF a [EXN] =
EFF?.reflect (fun s0 -> (None, s0))
false
Vale.Poly1305.Equiv.fst
Vale.Poly1305.Equiv.size_nat
val size_nat : Type0
let size_nat = Lib.IntTypes.size_nat
{ "file_name": "vale/code/crypto/poly1305/Vale.Poly1305.Equiv.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 12, "start_col": 7, "start_line": 12 }
module Vale.Poly1305.Equiv open FStar.Mul module BSeq = Lib.ByteSequence // REVIEW: S and V use different smtencoding flags, // so some equalities between S and V definitions aren't as obvious to Z3 as we might want. unfold let pow2_128 = Vale.Def.Words_s.pow2_128 unfold let nat64 = Vale.Def.Words_s.nat64
{ "checked_file": "/", "dependencies": [ "Vale.Poly1305.Math.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.TypesNative.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti....
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Poly1305.Spec_s", "short_module": "V" }, { "abbrev": true, "full_module...
{ "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
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat" ]
[]
false
false
false
true
true
let size_nat =
Lib.IntTypes.size_nat
false
Lattice.fst
Lattice.test1
val test1 (x y: int) : EFF int [EXN; RD; WR]
val test1 (x y: int) : EFF int [EXN; RD; WR]
let test1 (x y : int) : EFF int [EXN; RD; WR] = let z = get () in if x + z > 0 then raise () else (put 42; y - z)
{ "file_name": "examples/layeredeffects/Lattice.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 152, "start_col": 0, "start_line": 148 }
module Lattice open FStar.Tactics.V2 open FStar.List.Tot // GM: Force a type equality by SMT let coerce #a #b (x:a{a == b}) : b = x let unreachable #a () : Pure a (requires False) (ensures (fun _ -> False)) = coerce "whatever" type eff_label = | RD | WR //| DIV | EXN // DONE: split ST into READ/WRITE with ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.Properties.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Clas...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mod...
{ "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
x: Prims.int -> y: Prims.int -> Lattice.EFF Prims.int
Lattice.EFF
[]
[]
[ "Prims.int", "Prims.op_GreaterThan", "Prims.op_Addition", "Lattice.raise", "Prims.bool", "Prims.op_Subtraction", "Prims.unit", "Lattice.put", "Lattice.get", "Prims.Cons", "Lattice.eff_label", "Lattice.EXN", "Lattice.RD", "Lattice.WR", "Prims.Nil" ]
[]
false
true
false
false
false
let test1 (x y: int) : EFF int [EXN; RD; WR] =
let z = get () in if x + z > 0 then raise () else (put 42; y - z)
false