effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val mem_correspondence (args: list arg) : hsprop
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
false
let rec mem_correspondence (args:list arg) : hsprop = match args with | [] -> fun h s -> True | hd :: tl -> let (| tag, x |) = hd in match tag with | TD_Buffer src bt _ -> fun h s -> mem_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_ImmBuffer src bt _ -> ...
val mem_correspondence (args: list arg) : hsprop let rec mem_correspondence (args: list arg) : hsprop =
false
null
false
match args with | [] -> fun h s -> True | hd :: tl -> let (| tag , x |) = hd in match tag with | TD_Buffer src bt _ -> fun h s -> mem_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_ImmBuffer src bt _ -> fun h s -> mem_imm_correspondence_1 src bt x h s /\ mem_correspondence tl h s | TD_Bas...
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "total" ]
[ "Prims.list", "Vale.Interop.Base.arg", "FStar.Monotonic.HyperStack.mem", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Vale.Interop.Base.td", "Vale.Interop.Base.td_as_type", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buffer_qualifiers", "Prims.l_and", "Vale.AsLowStar.Lo...
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
true
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val mem_correspondence (args: list arg) : hsprop
[ "recursion" ]
Vale.AsLowStar.LowStarSig.mem_correspondence
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Prims.list Vale.Interop.Base.arg -> Vale.AsLowStar.LowStarSig.hsprop
{ "end_col": 27, "end_line": 118, "start_col": 2, "start_line": 104 }
Prims.Tot
val nat_to_uint (t: ME.base_typ) (x: ME.base_typ_as_vale_type t) : base_typ_as_type t
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_mo...
false
let nat_to_uint (t:ME.base_typ) (x:ME.base_typ_as_vale_type t) : base_typ_as_type t = let open ME in match t with | TUInt8 -> UInt8.uint_to_t x | TUInt16 -> UInt16.uint_to_t x | TUInt32 -> UInt32.uint_to_t x | TUInt64 -> UInt64.uint_to_t x | TUInt128 -> x
val nat_to_uint (t: ME.base_typ) (x: ME.base_typ_as_vale_type t) : base_typ_as_type t let nat_to_uint (t: ME.base_typ) (x: ME.base_typ_as_vale_type t) : base_typ_as_type t =
false
null
false
let open ME in match t with | TUInt8 -> UInt8.uint_to_t x | TUInt16 -> UInt16.uint_to_t x | TUInt32 -> UInt32.uint_to_t x | TUInt64 -> UInt64.uint_to_t x | TUInt128 -> x
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.X64.Memory.base_typ_as_vale_type", "FStar.UInt8.uint_to_t", "FStar.UInt16.uint_to_t", "FStar.UInt32.uint_to_t", "FStar.UInt64.uint_to_t", "Vale.Interop.Types.base_typ_as_type" ]
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
false
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val nat_to_uint (t: ME.base_typ) (x: ME.base_typ_as_vale_type t) : base_typ_as_type t
[]
Vale.AsLowStar.LowStarSig.nat_to_uint
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.X64.Memory.base_typ_as_vale_type t -> Vale.Interop.Types.base_typ_as_type t
{ "end_col": 19, "end_line": 30, "start_col": 4, "start_line": 24 }
Prims.Tot
val stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
false
let rec stack_args (max_arity:nat) (n:nat) (args:list arg{List.Tot.length args = n}) : VSig.sprop = match args with | [] -> (fun s -> True) | hd::tl -> fun s -> stack_args max_arity (n - 1) tl s /\ (if n <= max_arity then True //...
val stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop let rec stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop =
false
null
false
match args with | [] -> (fun s -> True) | hd :: tl -> fun s -> stack_args max_arity (n - 1) tl s /\ (if n <= max_arity then True else let ptr = ((n - max_arity) - 1) * 8 + (if IA.win then 32 else 0) + 8 + VS.eval_reg_64 MS.rRsp s in SI.valid_stack_slot64 ptr s.VS....
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "total" ]
[ "Prims.nat", "Prims.list", "Vale.Interop.Base.arg", "Prims.b2t", "Prims.op_Equality", "FStar.List.Tot.Base.length", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Prims.l_and", "Vale.AsLowStar.LowStarSig.stack_args", "Prims.op_Subtraction", "Prims.op_LessThanOrEqual", "Prims.b...
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
false
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val stack_args (max_arity n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
[ "recursion" ]
Vale.AsLowStar.LowStarSig.stack_args
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
max_arity: Prims.nat -> n: Prims.nat -> args: Prims.list Vale.Interop.Base.arg {FStar.List.Tot.Base.length args = n} -> Vale.AsLowStar.ValeSig.sprop
{ "end_col": 66, "end_line": 172, "start_col": 4, "start_line": 159 }
Prims.Tot
val register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
false
let rec register_args (max_arity:nat) (arg_reg:IX64.arg_reg_relation max_arity) (n:nat) (args:list arg{List.Tot.length args = n}) : VSig.sprop = match args with | [] -> (fun s -> True) | hd::tl -> fun s -> register_args max_ari...
val register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop let rec register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length ...
false
null
false
match args with | [] -> (fun s -> True) | hd :: tl -> fun s -> register_args max_arity arg_reg (n - 1) tl s /\ (if n > max_arity then True else VS.eval_reg_64 (arg_reg.IX64.of_arg (n - 1)) s == arg_as_nat64 hd s)
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "total" ]
[ "Prims.nat", "Vale.Interop.X64.arg_reg_relation", "Prims.list", "Vale.Interop.Base.arg", "Prims.b2t", "Prims.op_Equality", "FStar.List.Tot.Base.length", "Vale.X64.State.vale_state", "Prims.l_True", "Prims.prop", "Prims.l_and", "Vale.AsLowStar.LowStarSig.register_args", "Prims.op_Subtraction"...
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
false
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val register_args (max_arity: nat) (arg_reg: IX64.arg_reg_relation max_arity) (n: nat) (args: list arg {List.Tot.length args = n}) : VSig.sprop
[ "recursion" ]
Vale.AsLowStar.LowStarSig.register_args
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
max_arity: Prims.nat -> arg_reg: Vale.Interop.X64.arg_reg_relation max_arity -> n: Prims.nat -> args: Prims.list Vale.Interop.Base.arg {FStar.List.Tot.Base.length args = n} -> Vale.AsLowStar.ValeSig.sprop
{ "end_col": 82, "end_line": 152, "start_col": 4, "start_line": 146 }
Prims.Tot
val uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_mo...
false
let uint_to_nat (t:ME.base_typ) (x:base_typ_as_type t) : ME.base_typ_as_vale_type t = let open ME in match t with | TUInt8 -> UInt8.v x | TUInt16 -> UInt16.v x | TUInt32 -> UInt32.v x | TUInt64 -> UInt64.v x | TUInt128 -> x
val uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t let uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t =
false
null
false
let open ME in match t with | TUInt8 -> UInt8.v x | TUInt16 -> UInt16.v x | TUInt32 -> UInt32.v x | TUInt64 -> UInt64.v x | TUInt128 -> x
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Types.base_typ_as_type", "FStar.UInt8.v", "FStar.UInt16.v", "FStar.UInt32.v", "FStar.UInt64.v", "Vale.X64.Memory.base_typ_as_vale_type" ]
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
false
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val uint_to_nat (t: ME.base_typ) (x: base_typ_as_type t) : ME.base_typ_as_vale_type t
[]
Vale.AsLowStar.LowStarSig.uint_to_nat
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.Interop.Types.base_typ_as_type t -> Vale.X64.Memory.base_typ_as_vale_type t
{ "end_col": 19, "end_line": 41, "start_col": 4, "start_line": 35 }
Prims.GTot
val arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64
[ { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": true, "full_module": ...
false
let arg_as_nat64 (a:arg) (s:VS.vale_state) : GTot ME.nat64 = let (| tag, x |) = a in let open ME in match tag with | TD_Base TUInt8 -> UInt8.v x | TD_Base TUInt16 -> UInt16.v x | TD_Base TUInt32 -> UInt32.v x | TD_Base TUInt64 -> UInt64.v x | TD_Buffer src bt _ -> buffer_addr_is...
val arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64 let arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64 =
false
null
false
let (| tag , x |) = a in let open ME in match tag with | TD_Base TUInt8 -> UInt8.v x | TD_Base TUInt16 -> UInt16.v x | TD_Base TUInt32 -> UInt32.v x | TD_Base TUInt64 -> UInt64.v x | TD_Buffer src bt _ -> buffer_addr_is_nat64 (as_vale_buffer #src #bt x) s; ME.buffer_addr (as_vale_buffer #src #bt x) (ME.get_vale_hea...
{ "checked_file": "Vale.AsLowStar.LowStarSig.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.MemoryAdapters.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "...
[ "sometrivial" ]
[ "Vale.Interop.Base.arg", "Vale.X64.State.vale_state", "Vale.Interop.Base.td", "Vale.Interop.Base.td_as_type", "FStar.UInt8.v", "FStar.UInt16.v", "FStar.UInt32.v", "FStar.UInt64.v", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buffer_qualifiers", "Vale.X64.Memory.buffer_addr", "Vale.X64...
[]
module Vale.AsLowStar.LowStarSig open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module BS = Vale.X64.Machine_Semantics_s module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module HS = FStar.HyperStack module ME = Vale.X64.Memory module SI = Vale....
false
false
Vale.AsLowStar.LowStarSig.fst
{ "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...
null
val arg_as_nat64 (a: arg) (s: VS.vale_state) : GTot ME.nat64
[]
Vale.AsLowStar.LowStarSig.arg_as_nat64
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.LowStarSig.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Interop.Base.arg -> s: Vale.X64.State.vale_state -> Prims.GTot Vale.X64.Memory.nat64
{ "end_col": 82, "end_line": 138, "start_col": 60, "start_line": 121 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
false
let uint8 = Lib.IntTypes.uint8
let uint8 =
false
null
false
Lib.IntTypes.uint8
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Lib.IntTypes.uint8" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val uint8 : Type0
[]
Hacl.Streaming.Keccak.uint8
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 30, "end_line": 22, "start_col": 12, "start_line": 22 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let alg = keccak_alg
let alg =
false
null
false
keccak_alg
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Spec.Hash.Definitions.keccak_alg" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val alg : Type0
[]
Hacl.Streaming.Keccak.alg
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 20, "end_line": 48, "start_col": 10, "start_line": 48 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let hash_buf2 = hash_buf & hash_buf
let hash_buf2 =
false
null
false
hash_buf & hash_buf
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.hash_buf" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_buf2 : Type0
[]
Hacl.Streaming.Keccak.hash_buf2
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 35, "end_line": 85, "start_col": 16, "start_line": 85 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
false
let uint32 = Lib.IntTypes.uint32
let uint32 =
false
null
false
Lib.IntTypes.uint32
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Lib.IntTypes.uint32" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val uint32 : Type0
[]
Hacl.Streaming.Keccak.uint32
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 32, "end_line": 25, "start_col": 13, "start_line": 25 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let singleton #t (x: t) = y:t { y == x }
let singleton #t (x: t) =
false
null
false
y: t{y == x}
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Prims.eq2" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val singleton : x: t -> Type
[]
Hacl.Streaming.Keccak.singleton
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: t -> Type
{ "end_col": 40, "end_line": 81, "start_col": 26, "start_line": 81 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let hash_buf = hash_alg & B.buffer uint64
let hash_buf =
false
null
false
hash_alg & B.buffer uint64
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Pervasives.Native.tuple2", "Spec.Hash.Definitions.hash_alg", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_buf : Type0
[]
Hacl.Streaming.Keccak.hash_buf
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 41, "end_line": 84, "start_col": 15, "start_line": 84 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let sha3_state a = singleton a & b:B.buffer uint64 { B.len b == 25ul }
let sha3_state a =
false
null
false
singleton a & b: B.buffer uint64 {B.len b == 25ul}
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.singleton", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64", "Prims.eq2", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.len", "LowStar.Buffer.trivial_preorder", "FStar.UInt32.__uint_to_t" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sha3_state : a: _ -> Type
[]
Hacl.Streaming.Keccak.sha3_state
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: _ -> Type
{ "end_col": 70, "end_line": 190, "start_col": 19, "start_line": 190 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Streaming.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": true, "full_modu...
false
let uint64 = Lib.IntTypes.uint64
let uint64 =
false
null
false
Lib.IntTypes.uint64
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Lib.IntTypes.uint64" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val uint64 : Type0
[]
Hacl.Streaming.Keccak.uint64
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 32, "end_line": 28, "start_col": 13, "start_line": 28 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let is_shake_ a = a = Shake128 || a = Shake256
let is_shake_ a =
false
null
false
a = Shake128 || a = Shake256
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Prims.op_BarBar", "Prims.op_Equality", "Spec.Hash.Definitions.Shake128", "Spec.Hash.Definitions.Shake256", "Prims.bool" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_shake_ : a: Spec.Hash.Definitions.hash_alg -> Prims.bool
[]
Hacl.Streaming.Keccak.is_shake_
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> Prims.bool
{ "end_col": 46, "end_line": 118, "start_col": 18, "start_line": 118 }
Prims.Tot
val coerce (#b #a: Type) (x: a{a == b}) : b
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let coerce (#b #a:Type) (x:a{a == b}) : b = x
val coerce (#b #a: Type) (x: a{a == b}) : b let coerce (#b #a: Type) (x: a{a == b}) : b =
false
null
false
x
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Prims.eq2" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val coerce (#b #a: Type) (x: a{a == b}) : b
[]
Hacl.Streaming.Keccak.coerce
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: a{a == b} -> b
{ "end_col": 52, "end_line": 50, "start_col": 51, "start_line": 50 }
FStar.HyperStack.ST.Stack
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let get_alg (a: G.erased alg) = F.index_of_state (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
let get_alg (a: G.erased alg) =
true
null
false
F.index_of_state (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.index_of_state", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.state", "FStar.Monotonic.HyperStack.mem", "Hacl.Streaming.Functor.invaria...
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val get_alg : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> s: Hacl.Streaming.Functor.state (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Hacl.St...
[]
Hacl.Streaming.Keccak.get_alg
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> s: Hacl.Streaming.Functor.state (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit) -> FStar.HyperStack.ST.Stack Hacl.Streaming.K...
{ "end_col": 78, "end_line": 193, "start_col": 2, "start_line": 193 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let reset (a: G.erased alg) = F.init (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
let reset (a: G.erased alg) =
false
null
false
F.init (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.init", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.init_st", "FStar.Ghost.hide" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val reset : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.init_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.hide (FStar.Ghost.reveal a)) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.reset
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.init_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.hide (FStar.Ghost.reveal a)) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
{ "end_col": 68, "end_line": 205, "start_col": 2, "start_line": 205 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let copy (a: G.erased alg) = F.copy (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
let copy (a: G.erased alg) =
false
null
false
F.copy (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.copy", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.copy_st" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val copy : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.copy_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.copy
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.copy_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
{ "end_col": 68, "end_line": 202, "start_col": 2, "start_line": 202 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let malloc (a: alg) = F.create_in (hacl_keccak a) a (sha3_state a) (G.erased unit)
let malloc (a: alg) =
false
null
false
F.create_in (hacl_keccak a) a (sha3_state a) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.create_in", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.erased", "Prims.unit", "Hacl.Streaming.Functor.create_in_st" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val malloc : a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.create_in_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.malloc
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.create_in_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
{ "end_col": 62, "end_line": 196, "start_col": 2, "start_line": 196 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let update (a: G.erased alg) = F.update (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
let update (a: G.erased alg) =
false
null
false
F.update (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.update", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.update_st" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.update_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.update
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.update_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
{ "end_col": 70, "end_line": 208, "start_col": 2, "start_line": 208 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let finish_ (a: alg) = F.mk_finish #alg (hacl_keccak a) a (sha3_state a) (G.erased unit)
let finish_ (a: alg) =
false
null
false
F.mk_finish #alg (hacl_keccak a) a (sha3_state a) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.mk_finish", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.erased", "Prims.unit", "Hacl.Streaming.Functor.finish_st" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val finish_ : a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.finish_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.finish_
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.finish_st (Hacl.Streaming.Keccak.hacl_keccak (FStar.Ghost.hide a)) a (Hacl.Streaming.Keccak.sha3_state a) (FStar.Ghost.erased Prims.unit)
{ "end_col": 67, "end_line": 212, "start_col": 2, "start_line": 212 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let update_multi_s (a : alg) acc (prevlen : nat) input = Agile.update_multi a acc () input
let update_multi_s (a: alg) acc (prevlen: nat) input =
false
null
false
Agile.update_multi a acc () input
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "Spec.Hash.Definitions.bytes_blocks", "Spec.Agile.Hash.update_multi" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_multi_s : a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> input: Spec.Hash.Definitions.bytes_blocks a -> Spec.Hash.Definitions.words_state a
[]
Hacl.Streaming.Keccak.update_multi_s
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> input: Spec.Hash.Definitions.bytes_blocks a -> Spec.Hash.Definitions.words_state a
{ "end_col": 35, "end_line": 54, "start_col": 2, "start_line": 54 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let free (a: G.erased alg) = F.free (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
let free (a: G.erased alg) =
false
null
false
F.free (hacl_keccak a) a (sha3_state (G.reveal a)) (G.erased unit)
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Functor.free", "Hacl.Streaming.Keccak.hacl_keccak", "Hacl.Streaming.Keccak.sha3_state", "FStar.Ghost.reveal", "Prims.unit", "Hacl.Streaming.Functor.free_st" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val free : a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.free_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
[]
Hacl.Streaming.Keccak.free
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Functor.free_st (Hacl.Streaming.Keccak.hacl_keccak a) (FStar.Ghost.reveal a) (Hacl.Streaming.Keccak.sha3_state (FStar.Ghost.reveal a)) (FStar.Ghost.erased Prims.unit)
{ "end_col": 68, "end_line": 199, "start_col": 2, "start_line": 199 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let state = F.state_s' (hacl_keccak SHA3_256) SHA3_256
let state =
false
null
false
F.state_s' (hacl_keccak SHA3_256) SHA3_256
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Hacl.Streaming.Functor.state_s'", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Keccak.hacl_keccak", "FStar.Ghost.hide", "Spec.Hash.Definitions.SHA3_256" ]
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val state : Type0
[]
Hacl.Streaming.Keccak.state
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 54, "end_line": 188, "start_col": 12, "start_line": 188 }
FStar.Pervasives.Lemma
val update_multi_zero (a: alg) (acc: _) (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc)
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let update_multi_zero (a : alg) acc (prevlen : nat) : Lemma(update_multi_s a acc prevlen S.empty == acc) = Spec.Hash.Lemmas.update_multi_zero a acc
val update_multi_zero (a: alg) (acc: _) (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc) let update_multi_zero (a: alg) acc (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc) =
false
null
true
Spec.Hash.Lemmas.update_multi_zero a acc
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "lemma" ]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "Spec.Hash.Lemmas.update_multi_zero", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Hacl.Streaming.Keccak.update_multi_s", "FStar.Seq.Base.empty", "Lib.IntTypes.uint8", "Prims.Nil", "FStar.Pervasives...
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_multi_zero (a: alg) (acc: _) (prevlen: nat) : Lemma (update_multi_s a acc prevlen S.empty == acc)
[]
Hacl.Streaming.Keccak.update_multi_zero
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen: Prims.nat -> FStar.Pervasives.Lemma (ensures Hacl.Streaming.Keccak.update_multi_s a acc prevlen FStar.Seq.Base.empty == acc)
{ "end_col": 95, "end_line": 58, "start_col": 55, "start_line": 58 }
Prims.Tot
val stateful_keccak:stateful alg
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let stateful_keccak: stateful alg = Stateful (* s: *) (fun (a: alg) -> singleton a & b:B.buffer uint64 { B.len b == 25ul }) (* footprint: *) (fun #_ h (_, s) -> B.loc_addr_of_buffer s) (* freeable: *) (fun #_ h (_, s) -> B.freeable s) (* invariant: *) (fun #_ h (_, s) -> B.live...
val stateful_keccak:stateful alg let stateful_keccak:stateful alg =
false
null
false
Stateful (fun (a: alg) -> singleton a & b: B.buffer uint64 {B.len b == 25ul}) (fun #_ h (_, s) -> B.loc_addr_of_buffer s) (fun #_ h (_, s) -> B.freeable s) (fun #_ h (_, s) -> B.live h s) (fun _ -> s: S.seq uint64 {S.length s == 25}) (fun _ h (a, s) -> B.as_seq h s) (fun #_ h (_, s) -> ()) (fun #_ l (_, s...
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "Hacl.Streaming.Interface.Stateful", "Hacl.Streaming.Keccak.alg", "FStar.Pervasives.Native.tuple2", "Hacl.Streaming.Keccak.singleton", "LowStar.Buffer.buffer", "Hacl.Streaming.Keccak.uint64", "Prims.eq2", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.len", "LowStar.Buffer.trivial_preorder", "FStar...
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val stateful_keccak:stateful alg
[]
Hacl.Streaming.Keccak.stateful_keccak
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Streaming.Interface.stateful Hacl.Streaming.Keccak.alg
{ "end_col": 38, "end_line": 115, "start_col": 2, "start_line": 89 }
FStar.Pervasives.Lemma
val update_multi_associative (a: alg) (acc: _) (prevlen1 prevlen2: nat) (input1 input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevlen2 = prevlen1 + S.length input1)...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let update_multi_associative (a : alg) acc (prevlen1 prevlen2 : nat) (input1 input2 : S.seq uint8) : Lemma (requires ( prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevle...
val update_multi_associative (a: alg) (acc: _) (prevlen1 prevlen2: nat) (input1 input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevlen2 = prevlen1 + S.length input1)...
false
null
true
Spec.Hash.Lemmas.update_multi_associative a acc input1 input2
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "lemma" ]
[ "Hacl.Streaming.Keccak.alg", "Spec.Hash.Definitions.words_state", "Prims.nat", "FStar.Seq.Base.seq", "Hacl.Streaming.Interface.uint8", "Spec.Hash.Lemmas.update_multi_associative", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "FStar.UInt32.v"...
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
false
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val update_multi_associative (a: alg) (acc: _) (prevlen1 prevlen2: nat) (input1 input2: S.seq uint8) : Lemma (requires (prevlen1 % U32.v (D.block_len a) = 0 /\ S.length input1 % U32.v (D.block_len a) = 0 /\ S.length input2 % U32.v (D.block_len a) = 0 /\ prevlen2 = prevlen1 + S.length input1)...
[]
Hacl.Streaming.Keccak.update_multi_associative
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Streaming.Keccak.alg -> acc: Spec.Hash.Definitions.words_state a -> prevlen1: Prims.nat -> prevlen2: Prims.nat -> input1: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8 -> input2: FStar.Seq.Base.seq Hacl.Streaming.Interface.uint8 -> FStar.Pervasives.Lemma (requires pr...
{ "end_col": 63, "end_line": 77, "start_col": 2, "start_line": 77 }
Prims.Tot
val hacl_keccak (a: G.erased alg) : block alg
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Agile" }, { "abbrev": true, "full_module": "Hacl.Hash.Definitions", "short_module": "D" }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false,...
false
let hacl_keccak (a: G.erased alg): block alg = Block Erased stateful_keccak (* state *) (stateful_unused alg) (* key *) Lib.IntTypes.(x:size_t { v x > 0 }) (* output_length_t *) (fun _ -> [@inline_let] let max = Lib.IntTypes.(ones U64 PUB) in assert (forall (a: alg). Hacl.Hash.D...
val hacl_keccak (a: G.erased alg) : block alg let hacl_keccak (a: G.erased alg) : block alg =
false
null
false
Block Erased stateful_keccak (stateful_unused alg) Lib.IntTypes.(x: size_t{v x > 0}) (fun _ -> [@@ inline_let ]let max = let open Lib.IntTypes in ones U64 PUB in assert (forall (a: alg). Hacl.Hash.Definitions.max_input_len64 a == max); max) (fun a l -> if is_shake_ a then Lib.IntTypes.v l el...
{ "checked_file": "Hacl.Streaming.Keccak.fst.checked", "dependencies": [ "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.c...
[ "total" ]
[ "FStar.Ghost.erased", "Hacl.Streaming.Keccak.alg", "Hacl.Streaming.Interface.Block", "Hacl.Streaming.Interface.Erased", "Hacl.Streaming.Keccak.stateful_keccak", "Hacl.Streaming.Interface.stateful_unused", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes...
[]
module Hacl.Streaming.Keccak open FStar.HyperStack.ST #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module HS = FStar.HyperStack module B = LowStar.Buffer module G = FStar.Ghost module S = FStar.Seq module U32 = FStar.UInt32 module U64 = FStar.UInt64 module F = Hacl.Streaming.Functor module ST = FStar.Hy...
false
true
Hacl.Streaming.Keccak.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hacl_keccak (a: G.erased alg) : block alg
[]
Hacl.Streaming.Keccak.hacl_keccak
{ "file_name": "code/streaming/Hacl.Streaming.Keccak.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: FStar.Ghost.erased Hacl.Streaming.Keccak.alg -> Hacl.Streaming.Interface.block Hacl.Streaming.Keccak.alg
{ "end_col": 47, "end_line": 185, "start_col": 2, "start_line": 122 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let gbuffer (a:Type0) = c:cbuffer a{CB.qual_of c == CB.IMMUTABLE}
let gbuffer (a: Type0) =
false
null
false
c: cbuffer a {CB.qual_of c == CB.IMMUTABLE}
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val gbuffer : a: Type0 -> Type0
[]
Lib.Buffer.gbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> Type0
{ "end_col": 72, "end_line": 46, "start_col": 31, "start_line": 46 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let clbuffer (a:Type0) (len:size_t) = lbuffer_t CONST a len
let clbuffer (a: Type0) (len: size_t) =
false
null
false
lbuffer_t CONST a len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.CONST" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val clbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
[]
Lib.Buffer.clbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
{ "end_col": 66, "end_line": 74, "start_col": 45, "start_line": 74 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies1 (#a:Type0) (b:buffer_t MUT a) (h1 h2:HS.mem) = modifies (loc b) h1 h2
let modifies1 (#a: Type0) (b: buffer_t MUT a) (h1 h2: HS.mem) =
false
null
false
modifies (loc b) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies1 : b: Lib.Buffer.buffer_t Lib.Buffer.MUT a -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies1
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t Lib.Buffer.MUT a -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 24, "end_line": 176, "start_col": 2, "start_line": 176 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let ilbuffer (a:Type0) (len:size_t) = lbuffer_t IMMUT a len
let ilbuffer (a: Type0) (len: size_t) =
false
null
false
lbuffer_t IMMUT a len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.IMMUT" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val ilbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
[]
Lib.Buffer.ilbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
{ "end_col": 66, "end_line": 73, "start_col": 45, "start_line": 73 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies2 (#a0:Type0) (#a1:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1) h1 h2
let modifies2 (#a0 #a1: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (h1 h2: HS.mem) =
false
null
false
modifies (loc b0 |+| loc b1) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies2 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies2
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 36, "end_line": 181, "start_col": 2, "start_line": 181 }
Prims.GTot
val union (l1 l2: B.loc) : GTot B.loc
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let union (l1:B.loc) (l2:B.loc) : GTot B.loc = B.loc_union l1 l2
val union (l1 l2: B.loc) : GTot B.loc let union (l1 l2: B.loc) : GTot B.loc =
false
null
false
B.loc_union l1 l2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "LowStar.Monotonic.Buffer.loc", "LowStar.Monotonic.Buffer.loc_union" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val union (l1 l2: B.loc) : GTot B.loc
[]
Lib.Buffer.union
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l1: LowStar.Monotonic.Buffer.loc -> l2: LowStar.Monotonic.Buffer.loc -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 64, "end_line": 139, "start_col": 47, "start_line": 139 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies3 (#a0:Type0) (#a1:Type0) (#a2:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2) h1 h2
let modifies3 (#a0 #a1 #a2: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (h1 h2: HS.mem) =
false
null
false
modifies (loc b0 |+| loc b1 |+| loc b2) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies3 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies3
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 47, "end_line": 186, "start_col": 2, "start_line": 186 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies5 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (#a4:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (b4:buffer_t MUT a4) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4) h1 h2
let modifies5 (#a0 #a1 #a2 #a3 #a4: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (b4: buffer_t MUT a4) (h1 h2: HS.mem) =
false
null
false
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies5 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monoton...
[]
Lib.Buffer.modifies5
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperSta...
{ "end_col": 69, "end_line": 198, "start_col": 2, "start_line": 198 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let cbuffer (a:Type0) = buffer_t CONST a
let cbuffer (a: Type0) =
false
null
false
buffer_t CONST a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.CONST" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val cbuffer : a: Type0 -> Type0
[]
Lib.Buffer.cbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> Type0
{ "end_col": 47, "end_line": 43, "start_col": 31, "start_line": 43 }
FStar.HyperStack.ST.Stack
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let op_Array_Assignment #a #len = upd #a #len
let op_Array_Assignment #a #len =
true
null
false
upd #a #len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.upd", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Prims.op_LessThan", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.live", ...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Array_Assignment : b: Lib.Buffer.lbuffer_t Lib.Buffer.MUT a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> x: a -> FStar.HyperStack.ST.Stack Prims.unit
[]
Lib.Buffer.op_Array_Assignment
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer_t Lib.Buffer.MUT a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> x: a -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 45, "end_line": 304, "start_col": 34, "start_line": 304 }
FStar.HyperStack.ST.Stack
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let op_Array_Access #t #a #len = index #t #a #len
let op_Array_Access #t #a #len =
true
null
false
index #t #a #len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.index", "Lib.Buffer.lbuffer_t", "Lib.IntTypes.int_t", "Prims.op_LessThan", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.live", "Prims.l_a...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Array_Access : b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> FStar.HyperStack.ST.Stack a
[]
Lib.Buffer.op_Array_Access
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v i < Lib.IntTypes.v len} -> FStar.HyperStack.ST.Stack a
{ "end_col": 49, "end_line": 308, "start_col": 33, "start_line": 308 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies4 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3) h1 h2
let modifies4 (#a0 #a1 #a2 #a3: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (h1 h2: HS.mem) =
false
null
false
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies4 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies4
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 58, "end_line": 192, "start_col": 2, "start_line": 192 }
Prims.GTot
val op_Bar_Plus_Bar (l1 l2: B.loc) : GTot B.loc
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let ( |+| ) (l1:B.loc) (l2:B.loc) : GTot B.loc = union l1 l2
val op_Bar_Plus_Bar (l1 l2: B.loc) : GTot B.loc let op_Bar_Plus_Bar (l1 l2: B.loc) : GTot B.loc =
false
null
false
union l1 l2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "LowStar.Monotonic.Buffer.loc", "Lib.Buffer.union" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Bar_Plus_Bar (l1 l2: B.loc) : GTot B.loc
[]
Lib.Buffer.op_Bar_Plus_Bar
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l1: LowStar.Monotonic.Buffer.loc -> l2: LowStar.Monotonic.Buffer.loc -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 60, "end_line": 140, "start_col": 49, "start_line": 140 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let lbuffer (a:Type0) (len:size_t) = lbuffer_t MUT a len
let lbuffer (a: Type0) (len: size_t) =
false
null
false
lbuffer_t MUT a len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val lbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
[]
Lib.Buffer.lbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
{ "end_col": 63, "end_line": 72, "start_col": 44, "start_line": 72 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let ibuffer (a:Type0) = buffer_t IMMUT a
let ibuffer (a: Type0) =
false
null
false
buffer_t IMMUT a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.IMMUT" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val ibuffer : a: Type0 -> Type0
[]
Lib.Buffer.ibuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> Type0
{ "end_col": 47, "end_line": 40, "start_col": 31, "start_line": 40 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies (s:B.loc) (h1 h2:HS.mem) = B.modifies s h1 h2
let modifies (s: B.loc) (h1 h2: HS.mem) =
false
null
false
B.modifies s h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.modifies" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies : s: LowStar.Monotonic.Buffer.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: LowStar.Monotonic.Buffer.loc -> h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 58, "end_line": 143, "start_col": 40, "start_line": 143 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let disjoint (#t1 #t2:buftype) (#a1 #a2:Type0) (b1:buffer_t t1 a1) (b2:buffer_t t2 a2) = B.loc_disjoint (loc b1) (loc b2)
let disjoint (#t1 #t2: buftype) (#a1 #a2: Type0) (b1: buffer_t t1 a1) (b2: buffer_t t2 a2) =
false
null
false
B.loc_disjoint (loc b1) (loc b2)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_disjoint", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val disjoint : b1: Lib.Buffer.buffer_t t1 a1 -> b2: Lib.Buffer.buffer_t t2 a2 -> Type0
[]
Lib.Buffer.disjoint
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b1: Lib.Buffer.buffer_t t1 a1 -> b2: Lib.Buffer.buffer_t t2 a2 -> Type0
{ "end_col": 34, "end_line": 152, "start_col": 2, "start_line": 152 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies0 (h1 h2:HS.mem) = modifies (B.loc_none) h1 h2
let modifies0 (h1 h2: HS.mem) =
false
null
false
modifies (B.loc_none) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_none" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies0 : h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
[]
Lib.Buffer.modifies0
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h1: FStar.Monotonic.HyperStack.mem -> h2: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 29, "end_line": 172, "start_col": 2, "start_line": 172 }
Prims.GTot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let op_Brack_Lens_Access #t #a #len = as_seq #t #a #len
let op_Brack_Lens_Access #t #a #len =
false
null
false
as_seq #t #a #len
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.as_seq", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Brack_Lens_Access : h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
[]
Lib.Buffer.op_Brack_Lens_Access
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
{ "end_col": 55, "end_line": 313, "start_col": 38, "start_line": 313 }
Prims.Tot
val cpred (#a: Type0) (s: Seq.seq a) : B.spred a
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let cpred (#a:Type0) (s:Seq.seq a) : B.spred a = fun s1 -> FStar.Seq.equal s s1
val cpred (#a: Type0) (s: Seq.seq a) : B.spred a let cpred (#a: Type0) (s: Seq.seq a) : B.spred a =
false
null
false
fun s1 -> FStar.Seq.equal s s1
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Sequence.seq", "FStar.Seq.Base.seq", "FStar.Seq.Base.equal", "LowStar.Monotonic.Buffer.spred" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val cpred (#a: Type0) (s: Seq.seq a) : B.spred a
[]
Lib.Buffer.cpred
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Lib.Sequence.seq a -> LowStar.Monotonic.Buffer.spred a
{ "end_col": 79, "end_line": 367, "start_col": 49, "start_line": 367 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let modifies6 (#a0:Type0) (#a1:Type0) (#a2:Type0) (#a3:Type0) (#a4:Type0) (#a5:Type0) (b0:buffer_t MUT a0) (b1:buffer_t MUT a1) (b2:buffer_t MUT a2) (b3:buffer_t MUT a3) (b4:buffer_t MUT a4) (b5:buffer_t MUT a5) (h1 h2: HS.mem) = modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4 |+| loc b5) h1 h2
let modifies6 (#a0 #a1 #a2 #a3 #a4 #a5: Type0) (b0: buffer_t MUT a0) (b1: buffer_t MUT a1) (b2: buffer_t MUT a2) (b3: buffer_t MUT a3) (b4: buffer_t MUT a4) (b5: buffer_t MUT a5) (h1 h2: HS.mem) =
false
null
false
modifies (loc b0 |+| loc b1 |+| loc b2 |+| loc b3 |+| loc b4 |+| loc b5) h1 h2
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.modifies", "Lib.Buffer.op_Bar_Plus_Bar", "Lib.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modifies6 : b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> b5: Lib.Buffer.buffer_t Lib.Buffer.MUT a5 -> h1: FStar....
[]
Lib.Buffer.modifies6
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b0: Lib.Buffer.buffer_t Lib.Buffer.MUT a0 -> b1: Lib.Buffer.buffer_t Lib.Buffer.MUT a1 -> b2: Lib.Buffer.buffer_t Lib.Buffer.MUT a2 -> b3: Lib.Buffer.buffer_t Lib.Buffer.MUT a3 -> b4: Lib.Buffer.buffer_t Lib.Buffer.MUT a4 -> b5: Lib.Buffer.buffer_t Lib.Buffer.MUT a5 -> h1: FStar.Monotonic.H...
{ "end_col": 80, "end_line": 204, "start_col": 2, "start_line": 204 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let buffer (a:Type0) = buffer_t MUT a
let buffer (a: Type0) =
false
null
false
buffer_t MUT a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val buffer : a: Type0 -> Type0
[]
Lib.Buffer.buffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> Type0
{ "end_col": 44, "end_line": 37, "start_col": 30, "start_line": 37 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let lbuffer_t (t:buftype) (a:Type0) (len:size_t) = b:buffer_t t a{length #t #a b == v len}
let lbuffer_t (t: buftype) (a: Type0) (len: size_t) =
false
null
false
b: buffer_t t a {length #t #a b == v len}
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.buffer_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Lib.Buffer.length", "Lib.IntTypes.v", "Lib.IntTypes.PUB" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val lbuffer_t : t: Lib.Buffer.buftype -> a: Type0 -> len: Lib.IntTypes.size_t -> Type0
[]
Lib.Buffer.lbuffer_t
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Lib.Buffer.buftype -> a: Type0 -> len: Lib.IntTypes.size_t -> Type0
{ "end_col": 41, "end_line": 70, "start_col": 2, "start_line": 70 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let buffer_t (t:buftype) (a:Type0) = match t with | IMMUT -> IB.ibuffer a | MUT -> B.buffer a | CONST -> CB.const_buffer a
let buffer_t (t: buftype) (a: Type0) =
false
null
false
match t with | IMMUT -> IB.ibuffer a | MUT -> B.buffer a | CONST -> CB.const_buffer a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "LowStar.ImmutableBuffer.ibuffer", "LowStar.Buffer.buffer", "LowStar.ConstBuffer.const_buffer" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val buffer_t : t: Lib.Buffer.buftype -> a: Type0 -> Type0
[]
Lib.Buffer.buffer_t
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Lib.Buffer.buftype -> a: Type0 -> Type0
{ "end_col": 30, "end_line": 34, "start_col": 2, "start_line": 31 }
Prims.GTot
val freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let freeable (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot Type0 = match t with | IMMUT -> IB.freeable (b <: ibuffer a) | MUT -> B.freeable (b <: buffer a) | CONST -> B.freeable (CB.as_mbuf (b <: cbuffer a))
val freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0 let freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0 =
false
null
false
match t with | IMMUT -> IB.freeable (b <: ibuffer a) | MUT -> B.freeable (b <: buffer a) | CONST -> B.freeable (CB.as_mbuf (b <: cbuffer a))
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.freeable", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf"...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val freeable (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot Type0
[]
Lib.Buffer.freeable
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> Prims.GTot Type0
{ "end_col": 53, "end_line": 106, "start_col": 2, "start_line": 103 }
Prims.Tot
val const_to_buffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b}
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let const_to_buffer #a (b:cbuffer a{CB.qual_of b == CB.MUTABLE}) : r:buffer a{length r == length b} = CB.to_buffer b
val const_to_buffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b} let const_to_buffer #a (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b} =
false
null
false
CB.to_buffer b
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.MUTABLE", "LowStar.ConstBuffer.to_buffer", "Lib.Buffer.buffer", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.MUT", "Lib.Buffer.CONST" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val const_to_buffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.MUTABLE}) : r: buffer a {length r == length b}
[]
Lib.Buffer.const_to_buffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.cbuffer a {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.MUTABLE} -> r: Lib.Buffer.buffer a {Lib.Buffer.length r == Lib.Buffer.length b}
{ "end_col": 16, "end_line": 62, "start_col": 2, "start_line": 62 }
Prims.GTot
val g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let g_is_null (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot bool = match t with | IMMUT -> IB.g_is_null (b <: ibuffer a) | MUT -> B.g_is_null (b <: buffer a) | CONST -> B.g_is_null (CB.as_mbuf (b <: cbuffer a))
val g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool let g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool =
false
null
false
match t with | IMMUT -> IB.g_is_null (b <: ibuffer a) | MUT -> B.g_is_null (b <: buffer a) | CONST -> B.g_is_null (CB.as_mbuf (b <: cbuffer a))
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.g_is_null", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val g_is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot bool
[]
Lib.Buffer.g_is_null
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.bool
{ "end_col": 54, "end_line": 94, "start_col": 2, "start_line": 91 }
Prims.Tot
val const_to_ilbuffer (#a #len: _) (b: glbuffer a len) : ilbuffer a len
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let const_to_ilbuffer #a #len (b:glbuffer a len) : ilbuffer a len = const_to_ibuffer #a b
val const_to_ilbuffer (#a #len: _) (b: glbuffer a len) : ilbuffer a len let const_to_ilbuffer #a #len (b: glbuffer a len) : ilbuffer a len =
false
null
false
const_to_ibuffer #a b
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "Lib.Buffer.const_to_ibuffer", "Lib.Buffer.ilbuffer" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val const_to_ilbuffer (#a #len: _) (b: glbuffer a len) : ilbuffer a len
[]
Lib.Buffer.const_to_ilbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.glbuffer a len -> Lib.Buffer.ilbuffer a len
{ "end_col": 23, "end_line": 82, "start_col": 2, "start_line": 82 }
Prims.Tot
val to_const (#a #t: _) (b: buffer_t t a) : r: cbuffer a {length r == length b}
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let to_const #a #t (b:buffer_t t a) : r:cbuffer a {length r == length b}= match t with | MUT -> CB.of_buffer (b <: buffer a) | IMMUT -> CB.of_ibuffer (b <: ibuffer a) | CONST -> b <: cbuffer a
val to_const (#a #t: _) (b: buffer_t t a) : r: cbuffer a {length r == length b} let to_const #a #t (b: buffer_t t a) : r: cbuffer a {length r == length b} =
false
null
false
match t with | MUT -> CB.of_buffer (b <: buffer a) | IMMUT -> CB.of_ibuffer (b <: ibuffer a) | CONST -> b <: cbuffer a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.ConstBuffer.of_buffer", "Lib.Buffer.buffer", "LowStar.ConstBuffer.of_ibuffer", "Lib.Buffer.ibuffer", "Lib.Buffer.cbuffer", "Prims.eq2", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.CONST" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val to_const (#a #t: _) (b: buffer_t t a) : r: cbuffer a {length r == length b}
[]
Lib.Buffer.to_const
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> r: Lib.Buffer.cbuffer a {Lib.Buffer.length r == Lib.Buffer.length b}
{ "end_col": 27, "end_line": 59, "start_col": 2, "start_line": 56 }
Prims.Tot
val null (#t: buftype) (a: Type0) : buffer_t t a
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let null (#t : buftype) (a : Type0) : buffer_t t a = match t with | IMMUT -> IB.inull #a | MUT -> B.null #a | CONST -> CB.null a
val null (#t: buftype) (a: Type0) : buffer_t t a let null (#t: buftype) (a: Type0) : buffer_t t a =
false
null
false
match t with | IMMUT -> IB.inull #a | MUT -> B.null #a | CONST -> CB.null a
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "LowStar.ImmutableBuffer.inull", "LowStar.Buffer.null", "LowStar.ConstBuffer.null", "Lib.Buffer.buffer_t" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val null (#t: buftype) (a: Type0) : buffer_t t a
[]
Lib.Buffer.null
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> Lib.Buffer.buffer_t t a
{ "end_col": 22, "end_line": 88, "start_col": 2, "start_line": 85 }
Prims.GTot
val loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loc (#t:buftype) (#a:Type0) (b:buffer_t t a) : GTot B.loc = match t with | MUT -> B.loc_buffer (b <: buffer a) | IMMUT -> B.loc_buffer (b <: ibuffer a) | CONST -> CB.loc_buffer (b <: cbuffer a)
val loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc let loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc =
false
null
false
match t with | MUT -> B.loc_buffer (b <: buffer a) | IMMUT -> B.loc_buffer (b <: ibuffer a) | CONST -> CB.loc_buffer (b <: cbuffer a)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_buffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.loc_buffer", "Lib.Buffer.cbuffer", "LowStar.Monotonic.Buffer.loc" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val loc (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
[]
Lib.Buffer.loc
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 43, "end_line": 112, "start_col": 2, "start_line": 109 }
Prims.GTot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let length (#t:buftype) (#a:Type0) (b:buffer_t t a) = match t with | MUT -> B.length (b <: buffer a) | IMMUT -> IB.length (b <: ibuffer a) | CONST -> CB.length (b <: cbuffer a)
let length (#t: buftype) (#a: Type0) (b: buffer_t t a) =
false
null
false
match t with | MUT -> B.length (b <: buffer a) | IMMUT -> IB.length (b <: ibuffer a) | CONST -> CB.length (b <: cbuffer a)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.length", "Lib.Buffer.cbuffer", "Prims.nat" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val length : b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.nat
[]
Lib.Buffer.length
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> Prims.GTot Prims.nat
{ "end_col": 39, "end_line": 52, "start_col": 2, "start_line": 49 }
FStar.Pervasives.Lemma
val mut_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)]
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let mut_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem): Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)] = IB.buffer_immutable_buffer_disjoint b ib h
val mut_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)] let mut_immut_disjoint #t #t' (b: buffer_t MUT t) (ib:...
false
null
true
IB.buffer_immutable_buffer_disjoint b ib h
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "lemma" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "Lib.Buffer.IMMUT", "FStar.Monotonic.HyperStack.mem", "LowStar.ImmutableBuffer.buffer_immutable_buffer_disjoint", "Prims.unit", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "LowStar.ImmutableBuffer.immutable_preorder", ...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mut_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t IMMUT t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h ib)) (ensures (disjoint b ib)) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B.live h ib)]
[]
Lib.Buffer.mut_immut_disjoint
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t Lib.Buffer.MUT t -> ib: Lib.Buffer.buffer_t Lib.Buffer.IMMUT t' -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.live h b /\ LowStar.Monotonic.Buffer.live h ib) (ensures Lib.Buffer.disjoint b ib) [ SMTPat (L...
{ "end_col": 44, "end_line": 160, "start_col": 2, "start_line": 160 }
Prims.GTot
val get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let get (#t : buftype) (#a : Type0) (h : mem) (b : buffer_t t a) (i : nat{i < length b}) : GTot a = match t with | IMMUT -> IB.get h (b <: ibuffer a) i | MUT -> B.get h (b <: buffer a) i | CONST -> B.get h (CB.as_mbuf (b <: cbuffer a)) i
val get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a let get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a =
false
null
false
match t with | IMMUT -> IB.get h (b <: ibuffer a) i | MUT -> B.get h (b <: buffer a) i | CONST -> B.get h (CB.as_mbuf (b <: cbuffer a)) i
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.buffer_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Lib.Buffer.length", "LowStar.Monotonic.Buffer.get", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer....
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val get (#t: buftype) (#a: Type0) (h: mem) (b: buffer_t t a) (i: nat{i < length b}) : GTot a
[]
Lib.Buffer.get
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.buffer_t t a -> i: Prims.nat{i < Lib.Buffer.length b} -> Prims.GTot a
{ "end_col": 52, "end_line": 135, "start_col": 2, "start_line": 132 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let recallable (#t:buftype) (#a:Type0) (#len:size_t) (b:lbuffer_t t a len) = match t with | IMMUT -> B.recallable (b <: ibuffer a) | MUT -> B.recallable (b <: buffer a) | CONST -> B.recallable (CB.as_mbuf (b <: cbuffer a))
let recallable (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) =
false
null
false
match t with | IMMUT -> B.recallable (b <: ibuffer a) | MUT -> B.recallable (b <: buffer a) | CONST -> B.recallable (CB.as_mbuf (b <: cbuffer a))
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "LowStar.Monotonic.Buffer.recallable", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val recallable : b: Lib.Buffer.lbuffer_t t a len -> Type0
[]
Lib.Buffer.recallable
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer_t t a len -> Type0
{ "end_col": 55, "end_line": 354, "start_col": 2, "start_line": 351 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let glbuffer (a:Type0) (len:size_t) = c:clbuffer a len{CB.qual_of #a c == CB.IMMUTABLE}
let glbuffer (a: Type0) (len: size_t) =
false
null
false
c: clbuffer a len {CB.qual_of #a c == CB.IMMUTABLE}
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.clbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
true
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val glbuffer : a: Type0 -> len: Lib.IntTypes.size_t -> Type0
[]
Lib.Buffer.glbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Type0 -> len: Lib.IntTypes.size_t -> Type0
{ "end_col": 94, "end_line": 75, "start_col": 45, "start_line": 75 }
Prims.GTot
val loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loc_addr_of_buffer (#t : buftype) (#a : Type0) (b : buffer_t t a) : GTot B.loc = match t with | IMMUT -> IB.loc_addr_of_buffer (b <: ibuffer a) | MUT -> B.loc_addr_of_buffer (b <: buffer a) | CONST -> B.loc_addr_of_buffer (CB.as_mbuf (b <: cbuffer a))
val loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc let loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc =
false
null
false
match t with | IMMUT -> IB.loc_addr_of_buffer (b <: ibuffer a) | MUT -> B.loc_addr_of_buffer (b <: buffer a) | CONST -> B.loc_addr_of_buffer (CB.as_mbuf (b <: cbuffer a))
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffe...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val loc_addr_of_buffer (#t: buftype) (#a: Type0) (b: buffer_t t a) : GTot B.loc
[]
Lib.Buffer.loc_addr_of_buffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 63, "end_line": 118, "start_col": 2, "start_line": 115 }
Prims.GTot
val bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let bget (#t:buftype) (#a:Type0) (#len:size_t) (h:mem) (b:lbuffer_t t a len) (i:size_nat{i < v len}) : GTot a = match t with | MUT -> B.get h (b <: buffer a) i | IMMUT -> IB.get h (b <: ibuffer a) i | CONST -> FStar.Seq.index (CB.as_seq h (b <: cbuffer a)) i
val bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a let bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a =
false
null
false
match t with | MUT -> B.get h (b <: buffer a) i | IMMUT -> IB.get h (b <: ibuffer a) i | CONST -> FStar.Seq.index (CB.as_seq h (b <: cbuffer a)) i
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.get", "LowStar.Buffer.trivial_preorder", "Lib....
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val bget (#t: buftype) (#a: Type0) (#len: size_t) (h: mem) (b: lbuffer_t t a len) (i: size_nat{i < v len}) : GTot a
[]
Lib.Buffer.bget
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v len} -> Prims.GTot a
{ "end_col": 61, "end_line": 322, "start_col": 2, "start_line": 319 }
Prims.Tot
val loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loop_refl_inv (h0:mem) (n:size_t) (a_spec: Type) (refl:(mem -> GTot a_spec)) (footprint:B.loc) (spec:(mem -> GTot (i:size_nat{i < v n} -> a_spec -> a_spec))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies footprint h0 h /\ refl h == Loop.repeati i (spec h0) (refl h0)
val loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0 let loop_refl_inv (h0: mem) (n: size_t) (...
false
null
false
modifies footprint h0 h /\ refl h == Loop.repeati i (spec h0) (refl h0)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "LowStar.Monotonic.Buffer.loc", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Prims.l_and", "Lib.Buffer.modifies", "Prims.eq2", "Lib....
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val loop_refl_inv (h0: mem) (n: size_t) (a_spec: Type) (refl: (mem -> GTot a_spec)) (footprint: B.loc) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec -> a_spec))) (i: size_nat{i <= v n}) (h: mem) : Type0
[]
Lib.Buffer.loop_refl_inv
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> a_spec: Type -> refl: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot a_spec) -> footprint: LowStar.Monotonic.Buffer.loc -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot (i: Lib.IntTypes.size_nat{i < Lib.I...
{ "end_col": 46, "end_line": 665, "start_col": 2, "start_line": 664 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Li...
false
let eq_or_disjoint (#t1:buftype) (#t2:buftype) (#a1:Type) (#a2:Type) (#clen1:size_t) (#clen2:size_t) (b1:lbuffer_t t1 a1 clen1) (b2:lbuffer_t t2 a2 clen2) = disjoint b1 b2 \/ (t1 == t2 /\ a1 == a2 /\ clen1 == clen2 /\ b1 == b2)
let eq_or_disjoint (#t1 #t2: buftype) (#a1 #a2: Type) (#clen1 #clen2: size_t) (b1: lbuffer_t t1 a1 clen1) (b2: lbuffer_t t2 a2 clen2) =
false
null
false
disjoint b1 b2 \/ (t1 == t2 /\ a1 == a2 /\ clen1 == clen2 /\ b1 == b2)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Prims.l_or", "Lib.Buffer.disjoint", "Prims.l_and", "Prims.eq2", "Lib.Buffer.buffer_t", "Prims.int", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Lib.Buffer.length", "Lib.IntTyp...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val eq_or_disjoint : b1: Lib.Buffer.lbuffer_t t1 a1 clen1 -> b2: Lib.Buffer.lbuffer_t t2 a2 clen2 -> Prims.logical
[]
Lib.Buffer.eq_or_disjoint
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b1: Lib.Buffer.lbuffer_t t1 a1 clen1 -> b2: Lib.Buffer.lbuffer_t t2 a2 clen2 -> Prims.logical
{ "end_col": 56, "end_line": 1116, "start_col": 4, "start_line": 1115 }
FStar.HyperStack.ST.Stack
val is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b))
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let is_null (#t : buftype) (#a : Type0) (b : buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b)) = match t with | IMMUT -> IB.is_null (b <: ibuffer a) | MUT -> B.is_null (b <: buffer a) | CONST -> CB.is_null (b <: cbuffer a)
val is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b)) let is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\...
true
null
false
match t with | IMMUT -> IB.is_null (b <: ibuffer a) | MUT -> B.is_null (b <: buffer a) | CONST -> CB.is_null (b <: cbuffer a)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[]
[ "Lib.Buffer.buftype", "Lib.Buffer.buffer_t", "LowStar.Monotonic.Buffer.is_null", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "Prims.bool", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ConstBuffer.is_null", "Lib.Buffer.cbuffer", "FStar.Monotonic.HyperSt...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val is_null (#t: buftype) (#a: Type0) (b: buffer_t t a) : Stack bool (requires (fun h -> live h b)) (ensures (fun h y h' -> h == h' /\ y == g_is_null b))
[]
Lib.Buffer.is_null
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t t a -> FStar.HyperStack.ST.Stack Prims.bool
{ "end_col": 40, "end_line": 128, "start_col": 2, "start_line": 125 }
Prims.GTot
val as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len))
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let as_seq (#t:buftype) (#a:Type0) (#len:size_t) (h:HS.mem) (b:lbuffer_t t a len) : GTot (Seq.lseq a (v len)) = match t with | MUT -> B.as_seq h (b <: buffer a) | IMMUT -> IB.as_seq h (b <: ibuffer a) | CONST -> CB.as_seq h (b <: cbuffer a)
val as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len)) let as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len)) =
false
null
false
match t with | MUT -> B.as_seq h (b <: buffer a) | IMMUT -> IB.as_seq h (b <: ibuffer a) | CONST -> CB.as_seq h (b <: cbuffer a)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer_t", "LowStar.Monotonic.Buffer.as_seq", "LowStar.Buffer.trivial_preorder", "Lib.Buffer.buffer", "LowStar.ImmutableBuffer.immutable_preorder", "Lib.Buffer.ibuffer", "LowStar.ConstBuffer.as_seq", "Lib...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val as_seq (#t: buftype) (#a: Type0) (#len: size_t) (h: HS.mem) (b: lbuffer_t t a len) : GTot (Seq.lseq a (v len))
[]
Lib.Buffer.as_seq
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> b: Lib.Buffer.lbuffer_t t a len -> Prims.GTot (Lib.Sequence.lseq a (Lib.IntTypes.v len))
{ "end_col": 41, "end_line": 212, "start_col": 2, "start_line": 209 }
Prims.Tot
val const_to_lbuffer (#a #len: _) (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let const_to_lbuffer #a #len (b:clbuffer a len{CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len = const_to_buffer #a b
val const_to_lbuffer (#a #len: _) (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len let const_to_lbuffer #a #len (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len =
false
null
false
const_to_buffer #a b
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.clbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "Lib.Buffer.cbuffer", "LowStar.ConstBuffer.MUTABLE", "Lib.Buffer.const_to_buffer", "Lib.Buffer.lbuffer" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val const_to_lbuffer (#a #len: _) (b: clbuffer a len {CB.qual_of (b <: cbuffer a) == CB.MUTABLE}) : lbuffer a len
[]
Lib.Buffer.const_to_lbuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.clbuffer a len {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.MUTABLE} -> Lib.Buffer.lbuffer a len
{ "end_col": 22, "end_line": 79, "start_col": 2, "start_line": 79 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let stack_allocated (#a:Type0) (#len:size_t) (b:lbuffer a len) (h0:mem) (h1:mem) (s:Seq.lseq a (v len)) = let b: B.buffer a = b in B.alloc_post_mem_common b h0 h1 s /\ B.frameOf b = HS.get_tip h0 /\ B.frameOf b <> HyperStack.root
let stack_allocated (#a: Type0) (#len: size_t) (b: lbuffer a len) (h0 h1: mem) (s: Seq.lseq a (v len)) =
false
null
false
let b:B.buffer a = b in B.alloc_post_mem_common b h0 h1 s /\ B.frameOf b = HS.get_tip h0 /\ B.frameOf b <> HyperStack.root
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "FStar.Monotonic.HyperStack.mem", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.l_and", "LowStar.Monotonic.Buffer.alloc_post_mem_common", "LowStar.Buffer.trivial_preorder", "Prims.b2t", "Prims.op_Equality", ...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val stack_allocated : b: Lib.Buffer.lbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.logical
[]
Lib.Buffer.stack_allocated
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.logical
{ "end_col": 32, "end_line": 342, "start_col": 62, "start_line": 338 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let witnessed (#a:Type0) (#len:size_t) (b:glbuffer a len) (s:Seq.lseq a (v len)) = B.witnessed (CB.as_mbuf b) (cpred s)
let witnessed (#a: Type0) (#len: size_t) (b: glbuffer a len) (s: Seq.lseq a (v len)) =
false
null
false
B.witnessed (CB.as_mbuf b) (cpred s)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.witnessed", "LowStar.ConstBuffer.qbuf_pre", "LowStar.ConstBuffer.as_qbuf", "LowStar.ConstBuffer.as_mbuf", "Lib.Buffer.cpred" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val witnessed : b: Lib.Buffer.glbuffer a len -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Type0
[]
Lib.Buffer.witnessed
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.glbuffer a len -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Type0
{ "end_col": 38, "end_line": 370, "start_col": 2, "start_line": 370 }
Prims.GTot
val gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n)
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let gsub (#t:buftype) (#a:Type0) (#len:size_t) (b:lbuffer_t t a len) (start:size_t) (n:size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n) = match t with | IMMUT-> let b = IB.igsub (b <: ibuffer a) start n in assert (B.length b == v n); (b <: ilbuffer a n) | MUT -> let b = B.gsub (b <: buff...
val gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n) let gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: s...
false
null
false
match t with | IMMUT -> let b = IB.igsub (b <: ibuffer a) start n in assert (B.length b == v n); (b <: ilbuffer a n) | MUT -> let b = B.gsub (b <: buffer a) start n in assert (B.length b == v n); (b <: lbuffer a n) | CONST -> let b = CB.gsub (b <: cbuffer a) start n in assert (CB.length b == v n); (b ...
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.Buffer.buftype", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.ilbuffer", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.l_or", "Pr...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gsub (#t: buftype) (#a: Type0) (#len: size_t) (b: lbuffer_t t a len) (start: size_t) (n: size_t{v start + v n <= v len}) : GTot (lbuffer_t t a n)
[]
Lib.Buffer.gsub
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer_t t a len -> start: Lib.IntTypes.size_t -> n: Lib.IntTypes.size_t{Lib.IntTypes.v start + Lib.IntTypes.v n <= Lib.IntTypes.v len} -> Prims.GTot (Lib.Buffer.lbuffer_t t a n)
{ "end_col": 23, "end_line": 230, "start_col": 2, "start_line": 218 }
Prims.GTot
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let global_allocated (#a:Type0) (#len:size_t) (b:glbuffer a len) (h0:mem) (h1:mem) (s:Seq.lseq a (v len)) = let b: ibuffer a = CB.as_mbuf b in B.frameOf b == HyperStack.root /\ B.alloc_post_mem_common b h0 h1 s
let global_allocated (#a: Type0) (#len: size_t) (b: glbuffer a len) (h0 h1: mem) (s: Seq.lseq a (v len)) =
false
null
false
let b:ibuffer a = CB.as_mbuf b in B.frameOf b == HyperStack.root /\ B.alloc_post_mem_common b h0 h1 s
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "sometrivial" ]
[ "Lib.IntTypes.size_t", "Lib.Buffer.glbuffer", "FStar.Monotonic.HyperStack.mem", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.l_and", "Prims.eq2", "FStar.Monotonic.HyperHeap.rid", "LowStar.Monotonic.Buffer.frameOf", "LowStar.ImmutableBuffer.immutable_pre...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val global_allocated : b: Lib.Buffer.glbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.GTot Prims.logical
[]
Lib.Buffer.global_allocated
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.glbuffer a len -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> s: Lib.Sequence.lseq a (Lib.IntTypes.v len) -> Prims.GTot Prims.logical
{ "end_col": 35, "end_line": 348, "start_col": 62, "start_line": 345 }
Prims.Tot
val loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loop1_inv (h0:mem) (n:size_t) (b: Type) (blen: size_t) (write:lbuffer b blen) (spec:(mem -> GTot (i:size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies1 write h0 h /\ as_seq h write == Loop.repeati i (spec h0) (a...
val loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0 let loop1_inv (h0: mem) (n: size_t) ...
false
null
false
modifies1 write h0 h /\ as_seq h write == Loop.repeati i (spec h0) (as_seq h0 write)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Sequence.lseq", "Prims.op_LessThanOrEqual", "Prims.l_and", "Lib.Buffer.modifies1", "Prims...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val loop1_inv (h0: mem) (n: size_t) (b: Type) (blen: size_t) (write: lbuffer b blen) (spec: (mem -> GTot (i: size_nat{i < v n} -> Seq.lseq b (v blen) -> Seq.lseq b (v blen)))) (i: size_nat{i <= v n}) (h: mem) : Type0
[]
Lib.Buffer.loop1_inv
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> b: Type0 -> blen: Lib.IntTypes.size_t -> write: Lib.Buffer.lbuffer b blen -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot ( i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v n} -> ...
{ "end_col": 62, "end_line": 694, "start_col": 2, "start_line": 693 }
Prims.Tot
val loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loop2_inv (#b0:Type) (#blen0:size_t) (#b1:Type) (#blen1:size_t) (h0:mem) (n:size_t) (write0:lbuffer b0 blen0) (write1:lbuffer b1 blen1) (spec:(mem -> GTot (i:size_nat{i < v n} -> (Seq.lseq b0 (v blen0)) & (Seq.lseq b1 (v blen1)) -> (Seq.lseq b0 (v blen0)) & (Seq.lseq b1 (...
val loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
false
null
false
modifies2 write0 write1 h0 h /\ (let s0, s1 = Loop.repeati i (spec h0) (as_seq h0 write0, as_seq h0 write1) in as_seq h write0 == s0 /\ as_seq h write1 == s1)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Pervasives.Native.tuple2", "Lib.Sequence.lseq", "Prims.op_LessThanOrEqual", "Prims.l_and"...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val loop2_inv (#b0: Type) (#blen0: size_t) (#b1: Type) (#blen1: size_t) (h0: mem) (n: size_t) (write0: lbuffer b0 blen0) (write1: lbuffer b1 blen1) (spec: (mem -> GTot (i: size_nat{i < v n} -> ((Seq.lseq b0 (v blen0)) & (Seq.l...
[]
Lib.Buffer.loop2_inv
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> write0: Lib.Buffer.lbuffer b0 blen0 -> write1: Lib.Buffer.lbuffer b1 blen1 -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot ( i: Lib.IntTypes.size_nat{i < Lib.IntTypes.v n} -> ...
{ "end_col": 50, "end_line": 730, "start_col": 2, "start_line": 728 }
Prims.Tot
val loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let loop_inv (h0:mem) (n:size_t) (a_spec:(i:size_nat{i <= v n} -> Type)) (refl:(mem -> i:size_nat{i <= v n} -> GTot (a_spec i))) (footprint:(i:size_nat{i <= v n} -> GTot B.loc)) (spec:(mem -> GTot (i:size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i:size_nat{i <= v n}) (h:mem): Type0 = modifies ...
val loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
false
null
false
modifies (footprint i) h0 h /\ refl h i == Loop.repeat_gen i a_spec (spec h0) (refl h0 0)
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.loc", "Prims.op_LessThan", "Prims.op_Addition", "Prims.l_and", "Lib.Buffer.modifies",...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val loop_inv (h0: mem) (n: size_t) (a_spec: (i: size_nat{i <= v n} -> Type)) (refl: (mem -> i: size_nat{i <= v n} -> GTot (a_spec i))) (footprint: (i: size_nat{i <= v n} -> GTot B.loc)) (spec: (mem -> GTot (i: size_nat{i < v n} -> a_spec i -> a_spec (i + 1)))) (i: size_nat{i <=...
[]
Lib.Buffer.loop_inv
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h0: FStar.Monotonic.HyperStack.mem -> n: Lib.IntTypes.size_t -> a_spec: (i: Lib.IntTypes.size_nat{i <= Lib.IntTypes.v n} -> Type) -> refl: (_: FStar.Monotonic.HyperStack.mem -> i: Lib.IntTypes.size_nat{i <= Lib.IntTypes.v n} -> Prims.GTot (a_spec i)) -> footprint: (i: Lib.IntT...
{ "end_col": 60, "end_line": 623, "start_col": 2, "start_line": 622 }
Prims.Tot
val const_to_ibuffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b}
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let const_to_ibuffer #a (b:cbuffer a{CB.qual_of b == CB.IMMUTABLE}) : r:ibuffer a{length r == length b} = CB.to_ibuffer b
val const_to_ibuffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b} let const_to_ibuffer #a (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b} =
false
null
false
CB.to_ibuffer b
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "total" ]
[ "Lib.Buffer.cbuffer", "Prims.eq2", "LowStar.ConstBuffer.qual", "LowStar.ConstBuffer.qual_of", "LowStar.ConstBuffer.IMMUTABLE", "LowStar.ConstBuffer.to_ibuffer", "Lib.Buffer.ibuffer", "Prims.nat", "Lib.Buffer.length", "Lib.Buffer.IMMUT", "Lib.Buffer.CONST" ]
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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...
null
val const_to_ibuffer (#a: _) (b: cbuffer a {CB.qual_of b == CB.IMMUTABLE}) : r: ibuffer a {length r == length b}
[]
Lib.Buffer.const_to_ibuffer
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.cbuffer a {LowStar.ConstBuffer.qual_of b == LowStar.ConstBuffer.IMMUTABLE} -> r: Lib.Buffer.ibuffer a {Lib.Buffer.length r == Lib.Buffer.length b}
{ "end_col": 17, "end_line": 65, "start_col": 2, "start_line": 65 }
FStar.Pervasives.Lemma
val mut_const_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "ByteSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": true, "ful...
false
let mut_const_immut_disjoint #t #t' (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem): Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat (B.live h b); SMTPat (B....
val mut_const_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat...
false
null
true
IB.buffer_immutable_buffer_disjoint #t #t' b (CB.as_mbuf #t' ib) h
{ "checked_file": "Lib.Buffer.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.ConstBuffer.fsti.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked...
[ "lemma" ]
[ "Lib.Buffer.buffer_t", "Lib.Buffer.MUT", "Lib.Buffer.CONST", "FStar.Monotonic.HyperStack.mem", "LowStar.ImmutableBuffer.buffer_immutable_buffer_disjoint", "LowStar.ConstBuffer.as_mbuf", "Prims.unit", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "LowStar.Cons...
[]
module Lib.Buffer open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.RawIntTypes module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module CB = LowStar.ConstBuffer module LMB = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module HS = FStar.Hype...
false
false
Lib.Buffer.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mut_const_immut_disjoint (#t #t': _) (b: buffer_t MUT t) (ib: buffer_t CONST t') (h: HS.mem) : Lemma (requires (B.live h b /\ B.live h (CB.as_mbuf ib) /\ CB.qual_of #t' ib == CB.IMMUTABLE)) (ensures (B.loc_disjoint (loc b) (loc ib))) [ SMTPat (B.loc_disjoint (loc b) (loc ib)); SMTPat...
[]
Lib.Buffer.mut_const_immut_disjoint
{ "file_name": "lib/Lib.Buffer.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.buffer_t Lib.Buffer.MUT t -> ib: Lib.Buffer.buffer_t Lib.Buffer.CONST t' -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.live h b /\ LowStar.Monotonic.Buffer.live h (LowStar.ConstBuffer.as_mbuf ib) /\ LowStar.Co...
{ "end_col": 68, "end_line": 168, "start_col": 2, "start_line": 168 }
Prims.Tot
val parse_int32le:parser (total_constant_size_parser_kind 4) U32.t
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let parse_int32le : parser (total_constant_size_parser_kind 4) U32.t = decode_int32le_total_constant () ; make_total_constant_size_parser 4 U32.t decode_int32le
val parse_int32le:parser (total_constant_size_parser_kind 4) U32.t let parse_int32le:parser (total_constant_size_parser_kind 4) U32.t =
false
null
false
decode_int32le_total_constant (); make_total_constant_size_parser 4 U32.t decode_int32le
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "total" ]
[ "LowParse.Spec.Combinators.make_total_constant_size_parser", "FStar.UInt32.t", "LowParse.Spec.Int32le.decode_int32le", "Prims.unit", "LowParse.Spec.Int32le.decode_int32le_total_constant" ]
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val parse_int32le:parser (total_constant_size_parser_kind 4) U32.t
[]
LowParse.Spec.Int32le.parse_int32le
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Spec.Base.parser (LowParse.Spec.Base.total_constant_size_parser_kind 4) FStar.UInt32.t
{ "end_col": 56, "end_line": 53, "start_col": 2, "start_line": 52 }
FStar.Pervasives.Lemma
val le_to_n_0_eq (b: bytes{Seq.length b == 0}) : Lemma (le_to_n b == 0)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let le_to_n_0_eq (b : bytes { Seq.length b == 0 } ) : Lemma (le_to_n b == 0) = reveal_le_to_n b
val le_to_n_0_eq (b: bytes{Seq.length b == 0}) : Lemma (le_to_n b == 0) let le_to_n_0_eq (b: bytes{Seq.length b == 0}) : Lemma (le_to_n b == 0) =
false
null
true
reveal_le_to_n b
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.Endianness.reveal_le_to_n", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Endianness.le_to_n", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val le_to_n_0_eq (b: bytes{Seq.length b == 0}) : Lemma (le_to_n b == 0)
[]
LowParse.Spec.Int32le.le_to_n_0_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 0} -> FStar.Pervasives.Lemma (ensures FStar.Endianness.le_to_n b == 0)
{ "end_col": 18, "end_line": 63, "start_col": 2, "start_line": 63 }
Prims.Tot
val decode_int32le (b: bytes{Seq.length b == 4}) : Tot (v: U32.t{0 <= U32.v v /\ U32.v v < 4294967296})
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let decode_int32le (b: bytes { Seq.length b == 4 } ) : Tot (v: U32.t { 0 <= U32.v v /\ U32.v v < 4294967296 } ) = lemma_le_to_n_is_bounded b; M.pow2_le_compat 32 32; let res = le_to_n b in assert (0 <= res /\ res < 4294967296); U32.uint_to_t res
val decode_int32le (b: bytes{Seq.length b == 4}) : Tot (v: U32.t{0 <= U32.v v /\ U32.v v < 4294967296}) let decode_int32le (b: bytes{Seq.length b == 4}) : Tot (v: U32.t{0 <= U32.v v /\ U32.v v < 4294967296}) =
false
null
false
lemma_le_to_n_is_bounded b; M.pow2_le_compat 32 32; let res = le_to_n b in assert (0 <= res /\ res < 4294967296); U32.uint_to_t res
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "total" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.UInt32.uint_to_t", "Prims.unit", "Prims._assert", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.nat", "FStar.Endianness.le_to_n", "FStar.Math.Lem...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val decode_int32le (b: bytes{Seq.length b == 4}) : Tot (v: U32.t{0 <= U32.v v /\ U32.v v < 4294967296})
[]
LowParse.Spec.Int32le.decode_int32le
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 4} -> v: FStar.UInt32.t{0 <= FStar.UInt32.v v /\ FStar.UInt32.v v < 4294967296}
{ "end_col": 19, "end_line": 28, "start_col": 2, "start_line": 24 }
FStar.Pervasives.Lemma
val decode_int32le_total_constant: Prims.unit -> Lemma (make_total_constant_size_parser_precond 4 U32.t decode_int32le)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let decode_int32le_total_constant () : Lemma (make_total_constant_size_parser_precond 4 U32.t decode_int32le) = Classical.forall_intro_2 decode_int32le_injective
val decode_int32le_total_constant: Prims.unit -> Lemma (make_total_constant_size_parser_precond 4 U32.t decode_int32le) let decode_int32le_total_constant () : Lemma (make_total_constant_size_parser_precond 4 U32.t decode_int32le) =
false
null
true
Classical.forall_intro_2 decode_int32le_injective
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "Prims.unit", "FStar.Classical.forall_intro_2", "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.l_imp", "FStar.UInt32.t", "Prims.l_or", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", ...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val decode_int32le_total_constant: Prims.unit -> Lemma (make_total_constant_size_parser_precond 4 U32.t decode_int32le)
[]
LowParse.Spec.Int32le.decode_int32le_total_constant
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.make_total_constant_size_parser_precond 4 FStar.UInt32.t LowParse.Spec.Int32le.decode_int32le)
{ "end_col": 51, "end_line": 49, "start_col": 2, "start_line": 49 }
Prims.Tot
val serialize_int32le:serializer parse_int32le
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let serialize_int32le : serializer parse_int32le = fun (x : U32.t) -> n_to_le 4 (U32.v x)
val serialize_int32le:serializer parse_int32le let serialize_int32le:serializer parse_int32le =
false
null
false
fun (x: U32.t) -> n_to_le 4 (U32.v x)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "total" ]
[ "FStar.UInt32.t", "FStar.Endianness.n_to_le", "FStar.UInt32.v", "FStar.Endianness.bytes", "Prims.l_and", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "FStar.UInt8.t", "FStar.Endianness.le_to_n" ]
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val serialize_int32le:serializer parse_int32le
[]
LowParse.Spec.Int32le.serialize_int32le
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Spec.Base.serializer LowParse.Spec.Int32le.parse_int32le
{ "end_col": 40, "end_line": 56, "start_col": 2, "start_line": 56 }
FStar.Pervasives.Lemma
val decode_int32le_injective (b1: bytes{Seq.length b1 == 4}) (b2: bytes{Seq.length b2 == 4}) : Lemma (decode_int32le b1 == decode_int32le b2 ==> b1 == b2)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let decode_int32le_injective (b1 : bytes { Seq.length b1 == 4 } ) (b2 : bytes { Seq.length b2 == 4 } ) : Lemma (decode_int32le b1 == decode_int32le b2 ==> b1 == b2) = if (decode_int32le b1) = (decode_int32le b2) then begin lemma_le_to_n_is_bounded b1; lemma_le_to_n_is_bounded b2; asser...
val decode_int32le_injective (b1: bytes{Seq.length b1 == 4}) (b2: bytes{Seq.length b2 == 4}) : Lemma (decode_int32le b1 == decode_int32le b2 ==> b1 == b2) let decode_int32le_injective (b1: bytes{Seq.length b1 == 4}) (b2: bytes{Seq.length b2 == 4}) : Lemma (decode_int32le b1 == decode_int32le b2 ==> b1 == b2) =
false
null
true
if (decode_int32le b1) = (decode_int32le b2) then (lemma_le_to_n_is_bounded b1; lemma_le_to_n_is_bounded b2; assert (U32.v (U32.uint_to_t (le_to_n b1)) == le_to_n b1); assert (U32.v (U32.uint_to_t (le_to_n b2)) == le_to_n b2); assert (le_to_n b1 == le_to_n b2); le_to_n_inj b1 b2)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.op_Equality", "FStar.UInt32.t", "Prims.l_or", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "LowParse.Spec.Int32le.decode_int32le", "F...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val decode_int32le_injective (b1: bytes{Seq.length b1 == 4}) (b2: bytes{Seq.length b2 == 4}) : Lemma (decode_int32le b1 == decode_int32le b2 ==> b1 == b2)
[]
LowParse.Spec.Int32le.decode_int32le_injective
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b1: LowParse.Bytes.bytes{FStar.Seq.Base.length b1 == 4} -> b2: LowParse.Bytes.bytes{FStar.Seq.Base.length b2 == 4} -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Int32le.decode_int32le b1 == LowParse.Spec.Int32le.decode_int32le b2 ==> b1 == b2)
{ "end_col": 6, "end_line": 46, "start_col": 2, "start_line": 36 }
FStar.Pervasives.Lemma
val le_to_n_1_eq (b: bytes{Seq.length b == 1}) : Lemma (le_to_n b == U8.v (Seq.index b 0))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let le_to_n_1_eq (b : bytes { Seq.length b == 1 } ) : Lemma (le_to_n b == U8.v (Seq.index b 0)) = assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_0_eq (Seq.tail b)
val le_to_n_1_eq (b: bytes{Seq.length b == 1}) : Lemma (le_to_n b == U8.v (Seq.index b 0)) let le_to_n_1_eq (b: bytes{Seq.length b == 1}) : Lemma (le_to_n b == U8.v (Seq.index b 0)) =
false
null
true
assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_0_eq (Seq.tail b)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.Int32le.le_to_n_0_eq", "FStar.Seq.Properties.tail", "Prims.unit", "FStar.Endianness.reveal_le_to_n", "FStar.Pervasives.assert_norm", "Prims.pow2", "Prims.l_True", "Prims.squash", ...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val le_to_n_1_eq (b: bytes{Seq.length b == 1}) : Lemma (le_to_n b == U8.v (Seq.index b 0))
[]
LowParse.Spec.Int32le.le_to_n_1_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 1} -> FStar.Pervasives.Lemma (ensures FStar.Endianness.le_to_n b == FStar.UInt8.v (FStar.Seq.Base.index b 0))
{ "end_col": 27, "end_line": 71, "start_col": 2, "start_line": 69 }
FStar.Pervasives.Lemma
val decode_int32le_eq (b: bytes{Seq.length b == 4}) : Lemma (U32.v (decode_int32le b) == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3)))))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let decode_int32le_eq (b : bytes { Seq.length b == 4 } ) : Lemma (U32.v (decode_int32le b) == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3))))) = lemma_le_to_n_is_bounded b; as...
val decode_int32le_eq (b: bytes{Seq.length b == 4}) : Lemma (U32.v (decode_int32le b) == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3))))) let de...
false
null
true
lemma_le_to_n_is_bounded b; assert (U32.v (decode_int32le b) == le_to_n b); le_to_n_4_eq b
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.Int32le.le_to_n_4_eq", "Prims.unit", "Prims._assert", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "LowPars...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val decode_int32le_eq (b: bytes{Seq.length b == 4}) : Lemma (U32.v (decode_int32le b) == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3)))))
[]
LowParse.Spec.Int32le.decode_int32le_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 4} -> FStar.Pervasives.Lemma (ensures FStar.UInt32.v (LowParse.Spec.Int32le.decode_int32le b) == FStar.UInt8.v (FStar.Seq.Base.index b 0) + 256 * (FStar.UInt8.v (FStar.Seq.Base.index b 1) + 256 * (FStar.UInt8.v (FStar.Seq.B...
{ "end_col": 16, "end_line": 113, "start_col": 2, "start_line": 111 }
FStar.Pervasives.Lemma
val le_to_n_3_eq (b: bytes{Seq.length b == 3}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2))))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let le_to_n_3_eq (b : bytes { Seq.length b == 3 } ) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2)))) = assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_2_eq (Seq.tail b)
val le_to_n_3_eq (b: bytes{Seq.length b == 3}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2)))) let le_to_n_3_eq (b: bytes{Seq.length b == 3}) : Lemma (le_to_n b == U8.v (Seq.index ...
false
null
true
assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_2_eq (Seq.tail b)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.Int32le.le_to_n_2_eq", "FStar.Seq.Properties.tail", "Prims.unit", "FStar.Endianness.reveal_le_to_n", "FStar.Pervasives.assert_norm", "Prims.pow2", "Prims.l_True", "Prims.squash", ...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val le_to_n_3_eq (b: bytes{Seq.length b == 3}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2))))
[]
LowParse.Spec.Int32le.le_to_n_3_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 3} -> FStar.Pervasives.Lemma (ensures FStar.Endianness.le_to_n b == FStar.UInt8.v (FStar.Seq.Base.index b 0) + 256 * (FStar.UInt8.v (FStar.Seq.Base.index b 1) + 256 * FStar.UInt8.v (FStar.Seq.Base.index b 2)))
{ "end_col": 27, "end_line": 90, "start_col": 2, "start_line": 88 }
FStar.Pervasives.Lemma
val le_to_n_2_eq (b: bytes{Seq.length b == 2}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1)))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let le_to_n_2_eq (b : bytes { Seq.length b == 2 } ) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1))) = assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_1_eq (Seq.tail b)
val le_to_n_2_eq (b: bytes{Seq.length b == 2}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1))) let le_to_n_2_eq (b: bytes{Seq.length b == 2}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1))) =
false
null
true
assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_1_eq (Seq.tail b)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.Int32le.le_to_n_1_eq", "FStar.Seq.Properties.tail", "Prims.unit", "FStar.Endianness.reveal_le_to_n", "FStar.Pervasives.assert_norm", "Prims.pow2", "Prims.l_True", "Prims.squash", ...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val le_to_n_2_eq (b: bytes{Seq.length b == 2}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1)))
[]
LowParse.Spec.Int32le.le_to_n_2_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 2} -> FStar.Pervasives.Lemma (ensures FStar.Endianness.le_to_n b == FStar.UInt8.v (FStar.Seq.Base.index b 0) + 256 * FStar.UInt8.v (FStar.Seq.Base.index b 1))
{ "end_col": 27, "end_line": 80, "start_col": 2, "start_line": 78 }
FStar.Pervasives.Lemma
val le_to_n_4_eq (b: bytes{Seq.length b == 4}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3)))))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt...
false
let le_to_n_4_eq (b : bytes { Seq.length b == 4 } ) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3))))) = assert_norm (pow2 8 == 256); reveal_le_to_n b; le...
val le_to_n_4_eq (b: bytes{Seq.length b == 4}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3))))) let le_to_n_4_eq (b: bytes...
false
null
true
assert_norm (pow2 8 == 256); reveal_le_to_n b; le_to_n_3_eq (Seq.tail b)
{ "checked_file": "LowParse.Spec.Int32le.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Math.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "F...
[ "lemma" ]
[ "LowParse.Bytes.bytes", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec.Int32le.le_to_n_3_eq", "FStar.Seq.Properties.tail", "Prims.unit", "FStar.Endianness.reveal_le_to_n", "FStar.Pervasives.assert_norm", "Prims.pow2", "Prims.l_True", "Prims.squash", ...
[]
module LowParse.Spec.Int32le (* LowParse specification module for parsing unconstrainted 32 bits = 4 bytes unsigned little endian integers Examples: uint32le foo *) include FStar.Endianness include LowParse.Spec.Base include LowParse.Spec.Combinators module U32 = FStar.UInt32 module U8 = FStar.UInt8 module...
false
false
LowParse.Spec.Int32le.fst
{ "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...
null
val le_to_n_4_eq (b: bytes{Seq.length b == 4}) : Lemma (le_to_n b == U8.v (Seq.index b 0) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 1) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 2) + 256 `FStar.Mul.op_Star` (U8.v (Seq.index b 3)))))
[]
LowParse.Spec.Int32le.le_to_n_4_eq
{ "file_name": "src/lowparse/LowParse.Spec.Int32le.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 4} -> FStar.Pervasives.Lemma (ensures FStar.Endianness.le_to_n b == FStar.UInt8.v (FStar.Seq.Base.index b 0) + 256 * (FStar.UInt8.v (FStar.Seq.Base.index b 1) + 256 * (FStar.UInt8.v (FStar.Seq.Base.index b 2) + 256 * FStar....
{ "end_col": 27, "end_line": 101, "start_col": 2, "start_line": 99 }
Prims.Tot
val buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a)
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s
val buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) =
false
null
false
s
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "total" ]
[ "LowParse.Slice.srel", "LowStar.Monotonic.Buffer.srel" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract
false
false
LowParse.Slice.fst
{ "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...
null
val buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a)
[]
LowParse.Slice.buffer_srel_of_srel
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Slice.srel a -> LowStar.Monotonic.Buffer.srel a
{ "end_col": 3, "end_line": 15, "start_col": 2, "start_line": 15 }
Prims.Tot
val srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a)
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a) = s
val srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a) let srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a) =
false
null
false
s
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "total" ]
[ "LowStar.Monotonic.Buffer.srel", "LowParse.Slice.srel" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val srel_of_buffer_srel (#a: Type) (s: B.srel a) : Tot (srel a)
[]
LowParse.Slice.srel_of_buffer_srel
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowStar.Monotonic.Buffer.srel a -> LowParse.Slice.srel a
{ "end_col": 3, "end_line": 20, "start_col": 2, "start_line": 20 }
Prims.GTot
val live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0 = B.live h s.base
val live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0 let live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0 =
false
null
false
B.live h s.base
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "sometrivial" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.slice", "LowStar.Monotonic.Buffer.live", "LowParse.Slice.buffer_srel_of_srel", "LowParse.Slice.__proj__Mkslice__item__base" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val live_slice (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) : GTot Type0
[]
LowParse.Slice.live_slice
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> s: LowParse.Slice.slice rrel rel -> Prims.GTot Type0
{ "end_col": 94, "end_line": 46, "start_col": 79, "start_line": 46 }
Prims.GTot
val loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc = loc_slice_from_to s pos s.len
val loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc let loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc =
false
null
false
loc_slice_from_to s pos s.len
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "sometrivial" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Slice.loc_slice_from_to", "LowParse.Slice.__proj__Mkslice__item__len", "LowStar.Monotonic.Buffer.loc" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val loc_slice_from (#rrel #rel: _) (s: slice rrel rel) (pos: U32.t) : GTot B.loc
[]
LowParse.Slice.loc_slice_from
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 31, "end_line": 58, "start_col": 2, "start_line": 58 }
Prims.GTot
val loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos' : U32.t) : GTot B.loc = B.loc_buffer_from_to s.base pos pos'
val loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc let loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc =
false
null
false
B.loc_buffer_from_to s.base pos pos'
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "sometrivial" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.loc_buffer_from_to", "LowParse.Slice.buffer_srel_of_srel", "LowParse.Slice.__proj__Mkslice__item__base", "LowStar.Monotonic.Buffer.loc" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val loc_slice_from_to (#rrel #rel: _) (s: slice rrel rel) (pos pos': U32.t) : GTot B.loc
[]
LowParse.Slice.loc_slice_from_to
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 38, "end_line": 55, "start_col": 2, "start_line": 55 }
Prims.Tot
val make_slice (#rrel #rel: _) (b: B.mbuffer byte rrel rel) (len: U32.t{U32.v len <= B.length b}) : Tot (slice (srel_of_buffer_srel rrel) (srel_of_buffer_srel rel))
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let make_slice (#rrel #rel: _) (b: B.mbuffer byte rrel rel) (len: U32.t { U32.v len <= B.length b } ) : Tot (slice (srel_of_buffer_srel rrel) (srel_of_buffer_srel rel)) = { base = b; len = len; }
val make_slice (#rrel #rel: _) (b: B.mbuffer byte rrel rel) (len: U32.t{U32.v len <= B.length b}) : Tot (slice (srel_of_buffer_srel rrel) (srel_of_buffer_srel rel)) let make_slice (#rrel #rel: _) (b: B.mbuffer byte rrel rel) (len: U32.t{U32.v len <= B.length b}) : Tot (slice (srel_of_buffer_srel rrel) (srel_of_...
false
null
false
{ base = b; len = len }
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "total" ]
[ "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "LowParse.Slice.Mkslice", "LowParse.Slice.srel_of_buffer_srel", "LowParse.Slice.slice" ]
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val make_slice (#rrel #rel: _) (b: B.mbuffer byte rrel rel) (len: U32.t{U32.v len <= B.length b}) : Tot (slice (srel_of_buffer_srel rrel) (srel_of_buffer_srel rel))
[]
LowParse.Slice.make_slice
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowStar.Monotonic.Buffer.mbuffer LowParse.Bytes.byte rrel rel -> len: FStar.UInt32.t{FStar.UInt32.v len <= LowStar.Monotonic.Buffer.length b} -> LowParse.Slice.slice (LowParse.Slice.srel_of_buffer_srel rrel) (LowParse.Slice.srel_of_buffer_srel rel)
{ "end_col": 12, "end_line": 43, "start_col": 2, "start_line": 42 }
Prims.GTot
val bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": false, "full_...
false
let bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes = if (U32.v pos <= U32.v s.len) then Seq.slice (B.as_seq h s.base) (U32.v pos) (U32.v s.len) else Seq.empty
val bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes let bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes =
false
null
false
if (U32.v pos <= U32.v s.len) then Seq.slice (B.as_seq h s.base) (U32.v pos) (U32.v s.len) else Seq.empty
{ "checked_file": "LowParse.Slice.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Bytes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.fst.checked" ], "int...
[ "sometrivial" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.__proj__Mkslice__item__len", "FStar.Seq.Base.slice", "LowStar.Monotonic.Buffer.as_seq", "LowParse.Slice.buffer_s...
[]
module LowParse.Slice open LowParse.Bytes module B = LowStar.Monotonic.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack inline_for_extraction noextract type srel (a: Type) = (B.srel a) inline_for_extraction noextract let buffer_srel_of_srel (#a: Type) (s: srel a) : Tot (B.srel a) = s inline_for_extra...
false
false
LowParse.Slice.fst
{ "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...
null
val bytes_of_slice_from (#rrel #rel: _) (h: HS.mem) (s: slice rrel rel) (pos: U32.t) : GTot bytes
[]
LowParse.Slice.bytes_of_slice_from
{ "file_name": "src/lowparse/LowParse.Slice.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> Prims.GTot LowParse.Bytes.bytes
{ "end_col": 16, "end_line": 52, "start_col": 2, "start_line": 50 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": false, ...
false
let felem = lbuffer uint64 (size 4)
let felem =
false
null
false
lbuffer uint64 (size 4)
{ "checked_file": "Hacl.Impl.P256.Bignum.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "FStar.UInt32.fsti.checked", ...
[ "total" ]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "Lib.IntTypes.size" ]
[]
module Hacl.Impl.P256.Bignum open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence module BD = Hacl.Spec.Bignum.Definitions #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
true
Hacl.Impl.P256.Bignum.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val felem : Type0
[]
Hacl.Impl.P256.Bignum.felem
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Bignum.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 35, "end_line": 18, "start_col": 12, "start_line": 18 }