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
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_app fn = function | None -> fn | Some args -> Printf.sprintf "(%s %s)" fn args
let mk_app fn =
false
null
false
function | None -> fn | Some args -> Printf.sprintf "(%s %s)" fn args
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "FStar.Pervasives.Native.option", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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 mk_app : fn: Prims.string -> _: FStar.Pervasives.Native.option Prims.string -> Prims.string
[]
Z3TestGen.mk_app
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
fn: Prims.string -> _: FStar.Pervasives.Native.option Prims.string -> Prims.string
{ "end_col": 49, "end_line": 224, "start_col": 16, "start_line": 222 }
Prims.Tot
val readable_itype_parser_suffix (i: I.itype) : Tot string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let readable_itype_parser_suffix (i: I.itype) : Tot string = match i with | I.UInt8 | I.UInt8BE -> "u8" | I.UInt16 -> "u16-le" | I.UInt16BE -> "u16-be" | I.UInt32 -> "u32-le" | I.UInt32BE -> "u32-be" | I.UInt64 -> "u64-le" | I.UInt64BE -> "u64-be" | I.Unit -> "empty" | I.AllBytes -> "all-bytes" | I....
val readable_itype_parser_suffix (i: I.itype) : Tot string let readable_itype_parser_suffix (i: I.itype) : Tot string =
false
null
false
match i with | I.UInt8 | I.UInt8BE -> "u8" | I.UInt16 -> "u16-le" | I.UInt16BE -> "u16-be" | I.UInt32 -> "u32-le" | I.UInt32BE -> "u32-be" | I.UInt64 -> "u64-le" | I.UInt64BE -> "u64-be" | I.Unit -> "empty" | I.AllBytes -> "all-bytes" | I.AllZeros -> "all-zeros"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.itype", "Prims.string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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 readable_itype_parser_suffix (i: I.itype) : Tot string
[]
Z3TestGen.readable_itype_parser_suffix
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: InterpreterTarget.itype -> Prims.string
{ "end_col": 29, "end_line": 352, "start_col": 61, "start_line": 342 }
FStar.All.ML
val mk_op: T.op -> option string -> ML string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_op : T.op -> option string -> ML string = function | T.Eq -> mk_app "=" | T.Neq -> (fun s -> mk_app "not" (Some (mk_app "=" s))) | T.And -> mk_app "and" | T.Or -> mk_app "or" | T.Not -> mk_app "not" | T.Plus _ -> mk_app "+" | T.Minus _ -> mk_app "-" | T.Mul _ -> mk_app "*" | T.Division _ -> mk_...
val mk_op: T.op -> option string -> ML string let mk_op: T.op -> option string -> ML string =
true
null
false
function | T.Eq -> mk_app "=" | T.Neq -> (fun s -> mk_app "not" (Some (mk_app "=" s))) | T.And -> mk_app "and" | T.Or -> mk_app "or" | T.Not -> mk_app "not" | T.Plus _ -> mk_app "+" | T.Minus _ -> mk_app "-" | T.Mul _ -> mk_app "*" | T.Division _ -> mk_app "div" | T.Remainder _ -> mk_app "mod" | T.BitwiseAnd _ -> mk_bi...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Target.op", "Z3TestGen.mk_app", "FStar.Pervasives.Native.option", "Prims.string", "FStar.Pervasives.Native.Some", "Ast.integer_type", "Z3TestGen.mk_bitwise_op", "Z3TestGen.mk_bitwise_not", "Prims.int", "Ast.bitfield_bit_order", "FStar.Printf.sprintf", "Z3TestGen.assert_some" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 mk_op: T.op -> option string -> ML string
[]
Z3TestGen.mk_op
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Target.op -> _: FStar.Pervasives.Native.option Prims.string -> FStar.All.ML Prims.string
{ "end_col": 23, "end_line": 279, "start_col": 49, "start_line": 255 }
FStar.All.ALL
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let assert_some = function | None -> failwith "assert_some" | Some x -> x
let assert_some =
true
null
false
function | None -> failwith "assert_some" | Some x -> x
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[]
[ "FStar.Pervasives.Native.option", "FStar.All.failwith" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 assert_some : _: FStar.Pervasives.Native.option _ -> FStar.All.ALL _
[]
Z3TestGen.assert_some
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: FStar.Pervasives.Native.option _ -> FStar.All.ALL _
{ "end_col": 15, "end_line": 228, "start_col": 18, "start_line": 226 }
Prims.Tot
val parse_itype: I.itype -> parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_itype : I.itype -> parser not_reading = function | I.AllBytes -> parse_all_bytes | I.AllZeros -> parse_all_zeros | i -> wrap_parser (parse_readable_itype i)
val parse_itype: I.itype -> parser not_reading let parse_itype: I.itype -> parser not_reading =
false
null
false
function | I.AllBytes -> parse_all_bytes | I.AllZeros -> parse_all_zeros | i -> wrap_parser (parse_readable_itype i)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.itype", "Z3TestGen.parse_all_bytes", "Z3TestGen.parse_all_zeros", "Z3TestGen.wrap_parser", "Z3TestGen.parse_readable_itype", "Z3TestGen.parser", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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_itype: I.itype -> parser not_reading
[]
Z3TestGen.parse_itype
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: InterpreterTarget.itype -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 45, "end_line": 407, "start_col": 51, "start_line": 404 }
Prims.Tot
val arg_type_of_typ (t: T.typ) : Tot (option arg_type)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let arg_type_of_typ (t: T.typ) : Tot (option arg_type) = match t with | T.T_pointer _ | T.T_app _ A.KindOutput _ | T.T_app _ A.KindExtern _ | T.T_app {v = {modul_name = None; name = "PUINT8"}} _ _ -> Some ArgPointer | T.T_app {v = {modul_name = None; name = "Bool"}} _ _ -> Some ArgBool | T.T_app i...
val arg_type_of_typ (t: T.typ) : Tot (option arg_type) let arg_type_of_typ (t: T.typ) : Tot (option arg_type) =
false
null
false
match t with | T.T_pointer _ | T.T_app _ A.KindOutput _ | T.T_app _ A.KindExtern _ | T.T_app { v = { modul_name = None ; name = "PUINT8" } } _ _ -> Some ArgPointer | T.T_app { v = { modul_name = None ; name = "Bool" } } _ _ -> Some ArgBool | T.T_app i _ _ -> (match A.maybe_as_integer_typ i with | Some t -> Some (...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Target.typ", "FStar.Pervasives.Native.Some", "Z3TestGen.arg_type", "Z3TestGen.ArgPointer", "Ast.ident", "Prims.list", "FStar.Pervasives.either", "Target.expr", "Ast.range", "Ast.comments", "Ast.t_kind", "Z3TestGen.ArgBool", "Ast.maybe_as_integer_typ", "Ast.integer_type", "Z3TestGen.ArgI...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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 arg_type_of_typ (t: T.typ) : Tot (option arg_type)
[]
Z3TestGen.arg_type_of_typ
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: Target.typ -> FStar.Pervasives.Native.option Z3TestGen.arg_type
{ "end_col": 13, "end_line": 764, "start_col": 2, "start_line": 750 }
FStar.All.ML
val with_option_out_file (#a: Type) (name: option string) : Tot (body: ((string -> ML unit) -> ML a) -> ML a)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let with_option_out_file (#a: Type) (name: option string) : Tot ((body: ((string -> ML unit) -> ML a)) -> ML a) = match name with | Some name -> with_out_file name | None -> (fun body -> body (fun _ -> ()))
val with_option_out_file (#a: Type) (name: option string) : Tot (body: ((string -> ML unit) -> ML a) -> ML a) let with_option_out_file (#a: Type) (name: option string) : Tot (body: ((string -> ML unit) -> ML a) -> ML a) =
true
null
false
match name with | Some name -> with_out_file name | None -> (fun body -> body (fun _ -> ()))
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "FStar.Pervasives.Native.option", "Prims.string", "Z3TestGen.with_out_file", "Prims.unit" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 with_option_out_file (#a: Type) (name: option string) : Tot (body: ((string -> ML unit) -> ML a) -> ML a)
[]
Z3TestGen.with_option_out_file
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: FStar.Pervasives.Native.option Prims.string -> body: (_: (_: Prims.string -> FStar.All.ML Prims.unit) -> FStar.All.ML a) -> FStar.All.ML a
{ "end_col": 44, "end_line": 839, "start_col": 2, "start_line": 837 }
FStar.All.ML
val produce_decl (out: (string -> ML unit)) (accu: prog) (a: I.decl) : ML prog
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let produce_decl (out: string -> ML unit) (accu: prog) (a: I.decl) : ML prog = match a with | Inl a -> produce_not_type_decl a out; accu | Inr a -> produce_type_decl out accu a
val produce_decl (out: (string -> ML unit)) (accu: prog) (a: I.decl) : ML prog let produce_decl (out: (string -> ML unit)) (accu: prog) (a: I.decl) : ML prog =
true
null
false
match a with | Inl a -> produce_not_type_decl a out; accu | Inr a -> produce_type_decl out accu a
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Z3TestGen.prog", "InterpreterTarget.decl", "InterpreterTarget.not_type_decl", "Z3TestGen.produce_not_type_decl", "InterpreterTarget.type_decl", "Z3TestGen.produce_type_decl" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 produce_decl (out: (string -> ML unit)) (accu: prog) (a: I.decl) : ML prog
[]
Z3TestGen.produce_decl
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> accu: Z3TestGen.prog -> a: InterpreterTarget.decl -> FStar.All.ML Z3TestGen.prog
{ "end_col": 41, "end_line": 816, "start_col": 2, "start_line": 814 }
FStar.All.ML
val produce_type_decl (out: (string -> ML unit)) (accu: prog) (a: I.type_decl) : ML prog
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let produce_type_decl (out: string -> ML unit) (accu: prog) (a: I.type_decl) : ML prog = let binders = binders_of_params a.name.td_params in let name = ident_to_string a.name.td_name in if type_has_actions a.typ then failwith (Printf.sprintf "produce_type_decl: %s still has some actions" name); let _ = parse_ty...
val produce_type_decl (out: (string -> ML unit)) (accu: prog) (a: I.type_decl) : ML prog let produce_type_decl (out: (string -> ML unit)) (accu: prog) (a: I.type_decl) : ML prog =
true
null
false
let binders = binders_of_params a.name.td_params in let name = ident_to_string a.name.td_name in if type_has_actions a.typ then failwith (Printf.sprintf "produce_type_decl: %s still has some actions" name); let _ = parse_typ a.typ name binders true out in (name, List.map (fun (i, ty) -> match arg_type_of_typ ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Z3TestGen.prog", "InterpreterTarget.type_decl", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "Prims.list", "Z3TestGen.arg_type", "FStar.Pervasives.Native.Mktuple2", "FStar.List.map", "Ast.with_meta_t", "Ast.ident'", "Target.typ", "Z3TestGen.arg_type_of_typ...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 produce_type_decl (out: (string -> ML unit)) (accu: prog) (a: I.type_decl) : ML prog
[]
Z3TestGen.produce_type_decl
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> accu: Z3TestGen.prog -> a: InterpreterTarget.type_decl -> FStar.All.ML Z3TestGen.prog
{ "end_col": 212, "end_line": 811, "start_col": 88, "start_line": 806 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec type_has_actions = function | I.T_with_dep_action _ _ _ | I.T_dep_pair_with_action _ _ _ _ | I.T_refine_with_action _ _ _ _ | I.T_dep_pair_with_refinement_and_action _ _ _ _ _ | I.T_with_action _ _ _ -> true | I.T_false _ | I.T_denoted _ _ | I.T_refine _ _ _ | I.T_string _ _ _ -> false...
let rec type_has_actions =
false
null
false
function | I.T_with_dep_action _ _ _ | I.T_dep_pair_with_action _ _ _ _ | I.T_refine_with_action _ _ _ _ | I.T_dep_pair_with_refinement_and_action _ _ _ _ _ | I.T_with_action _ _ _ -> true | I.T_false _ | I.T_denoted _ _ | I.T_refine _ _ _ | I.T_string _ _ _ -> false | I.T_if_else _ t1 t2 | I.T_pair _ t1 t2 -> type_has...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.typ", "InterpreterTarget.non_empty_string", "InterpreterTarget.readable_dtyp", "InterpreterTarget.lam", "InterpreterTarget.action", "InterpreterTarget.expr", "InterpreterTarget.dtyp", "Prims.op_BarBar", "Z3TestGen.type_has_actions", "Prims.string", "Ast.ident", "Prims.bool" ...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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 type_has_actions : _: InterpreterTarget.typ -> Prims.bool
[ "recursion" ]
Z3TestGen.type_has_actions
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: InterpreterTarget.typ -> Prims.bool
{ "end_col": 22, "end_line": 725, "start_col": 27, "start_line": 704 }
FStar.All.ML
val print_witness_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit = print_witness_as_c_gen out witness (fun len -> print_witness_call_as_c out positive wrapper_name arg_types len args )
val print_witness_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit let print_witness_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) ...
true
null
false
print_witness_as_c_gen out witness (fun len -> print_witness_call_as_c out positive wrapper_name arg_types len args)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Prims.bool", "Prims.list", "Z3TestGen.arg_type", "FStar.Seq.Base.seq", "Prims.int", "Z3TestGen.print_witness_as_c_gen", "Prims.eq2", "FStar.Seq.Base.length", "Z3TestGen.print_witness_call_as_c" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 print_witness_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[]
Z3TestGen.print_witness_as_c
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> positive: Prims.bool -> wrapper_name: Prims.string -> arg_types: Prims.list Z3TestGen.arg_type -> witness: FStar.Seq.Base.seq Prims.int -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 3, "end_line": 973, "start_col": 2, "start_line": 971 }
Prims.Tot
val mk_arg_conj (accu: string) (i: nat) (l: list string) : Tot string (decreases l)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec mk_arg_conj (accu: string) (i: nat) (l: list string) : Tot string (decreases l) = match l with | [] -> accu | arg :: q -> mk_arg_conj (Printf.sprintf "(and %s (= arg-%d %s))" accu i arg) (i + 1) q
val mk_arg_conj (accu: string) (i: nat) (l: list string) : Tot string (decreases l) let rec mk_arg_conj (accu: string) (i: nat) (l: list string) : Tot string (decreases l) =
false
null
false
match l with | [] -> accu | arg :: q -> mk_arg_conj (Printf.sprintf "(and %s (= arg-%d %s))" accu i arg) (i + 1) q
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total", "" ]
[ "Prims.string", "Prims.nat", "Prims.list", "Z3TestGen.mk_arg_conj", "FStar.Printf.sprintf", "Prims.op_Addition" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.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 mk_arg_conj (accu: string) (i: nat) (l: list string) : Tot string (decreases l)
[ "recursion" ]
Z3TestGen.mk_arg_conj
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
accu: Prims.string -> i: Prims.nat -> l: Prims.list Prims.string -> Prims.Tot Prims.string
{ "end_col": 78, "end_line": 1083, "start_col": 2, "start_line": 1080 }
FStar.All.ALL
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let do_diff_test (out_file: option string) (z3: Z3.z3) (prog: prog) name1 name2 nbwitnesses = let args = List.assoc name1 prog in if None? args then failwith (Printf.sprintf "do_diff_test: parser %s not found" name1); let args = Some?.v args in let args2 = List.assoc name2 prog in if None? args2 then fail...
let do_diff_test (out_file: option string) (z3: Z3.z3) (prog: prog) name1 name2 nbwitnesses =
true
null
false
let args = List.assoc name1 prog in if None? args then failwith (Printf.sprintf "do_diff_test: parser %s not found" name1); let args = Some?.v args in let args2 = List.assoc name2 prog in if None? args2 then failwith (Printf.sprintf "do_diff_test: parser %s not found" name2); if args2 <> Some args then failwith (Prin...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[]
[ "FStar.Pervasives.Native.option", "Prims.string", "Z3.Base.z3", "Z3TestGen.prog", "Prims.int", "Z3TestGen.with_option_out_file", "Prims.unit", "Z3TestGen.do_diff_test_for", "FStar.Pervasives.Native.tuple2", "Z3TestGen.module_and_wrapper_name", "Prims.nat", "Z3TestGen.count_args", "Prims.op_d...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.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 do_diff_test : out_file: FStar.Pervasives.Native.option Prims.string -> z3: Z3.Base.z3 -> prog: Z3TestGen.prog -> name1: Prims.string -> name2: Prims.string -> nbwitnesses: Prims.int -> FStar.All.ALL Prims.unit
[]
Z3TestGen.do_diff_test
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out_file: FStar.Pervasives.Native.option Prims.string -> z3: Z3.Base.z3 -> prog: Z3TestGen.prog -> name1: Prims.string -> name2: Prims.string -> nbwitnesses: Prims.int -> FStar.All.ALL Prims.unit
{ "end_col": 1, "end_line": 1166, "start_col": 93, "start_line": 1138 }
Prims.Tot
val heap_taint (hi:heap_impl) : memTaint_t
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_taint hi = hi.vf_layout.vl_taint
val heap_taint (hi:heap_impl) : memTaint_t let heap_taint hi =
false
null
false
hi.vf_layout.vl_taint
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[ "total" ]
[ "Vale.Arch.Heap.heap_impl", "Vale.Arch.HeapImpl.__proj__Mkvale_heap_layout__item__vl_taint", "Vale.Arch.HeapImpl.__proj__Mkvale_full_heap__item__vf_layout", "Vale.Arch.HeapTypes_s.memTaint_t" ]
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh
false
true
Vale.Arch.Heap.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 heap_taint (hi:heap_impl) : memTaint_t
[]
Vale.Arch.Heap.heap_taint
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hi: Vale.Arch.Heap.heap_impl -> Vale.Arch.HeapTypes_s.memTaint_t
{ "end_col": 41, "end_line": 12, "start_col": 20, "start_line": 12 }
Prims.GTot
val one_heaplet (ih: interop_heap) (id: option heaplet_id) : GTot vale_heap
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let one_heaplet (ih:interop_heap) (id:option heaplet_id) : GTot vale_heap = let m = down_mem ih in let g = Ghost.hide ih in ValeHeap m g id
val one_heaplet (ih: interop_heap) (id: option heaplet_id) : GTot vale_heap let one_heaplet (ih: interop_heap) (id: option heaplet_id) : GTot vale_heap =
false
null
false
let m = down_mem ih in let g = Ghost.hide ih in ValeHeap m g id
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[ "sometrivial" ]
[ "Vale.Interop.Heap_s.interop_heap", "FStar.Pervasives.Native.option", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.ValeHeap", "FStar.Ghost.erased", "FStar.Ghost.hide", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.Interop.Heap_s.correct_down", "Vale.Interop.down_mem", "Vale.Arch.HeapImpl.v...
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh let heap_taint hi = hi.vf_layout.vl_taint // Update heaplet k with mh', but only for the addresses that k owns (addres...
false
false
Vale.Arch.Heap.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 one_heaplet (ih: interop_heap) (id: option heaplet_id) : GTot vale_heap
[]
Vale.Arch.Heap.one_heaplet
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ih: Vale.Interop.Heap_s.interop_heap -> id: FStar.Pervasives.Native.option Vale.Arch.HeapImpl.heaplet_id -> Prims.GTot Vale.Arch.HeapImpl.vale_heap
{ "end_col": 17, "end_line": 37, "start_col": 75, "start_line": 34 }
Prims.Tot
val heap_impl : Type u#1
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_impl = vale_full_heap
val heap_impl : Type u#1 let heap_impl =
false
null
false
vale_full_heap
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[ "total" ]
[ "Vale.Arch.HeapImpl.vale_full_heap" ]
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl
false
true
Vale.Arch.Heap.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 heap_impl : Type u#1
[]
Vale.Arch.Heap.heap_impl
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type
{ "end_col": 30, "end_line": 8, "start_col": 16, "start_line": 8 }
Prims.Tot
val heap_get (hi:heap_impl) : machine_heap
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_get hi = hi.vf_heap.mh
val heap_get (hi:heap_impl) : machine_heap let heap_get hi =
false
null
false
hi.vf_heap.mh
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[ "total" ]
[ "Vale.Arch.Heap.heap_impl", "Vale.Arch.HeapImpl.__proj__ValeHeap__item__mh", "Vale.Arch.HeapImpl.__proj__Mkvale_full_heap__item__vf_heap", "Vale.Arch.MachineHeap_s.machine_heap" ]
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap
false
true
Vale.Arch.Heap.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 heap_get (hi:heap_impl) : machine_heap
[]
Vale.Arch.Heap.heap_get
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hi: Vale.Arch.Heap.heap_impl -> Vale.Arch.MachineHeap_s.machine_heap
{ "end_col": 31, "end_line": 10, "start_col": 18, "start_line": 10 }
Prims.Ghost
val heap_create_machine (ih:interop_heap) : Ghost machine_heap (requires True) (ensures fun mh -> correct_down ih mh)
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_create_machine ih = down_mem ih
val heap_create_machine (ih:interop_heap) : Ghost machine_heap (requires True) (ensures fun mh -> correct_down ih mh) let heap_create_machine ih =
false
null
false
down_mem ih
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[]
[ "Vale.Interop.Heap_s.interop_heap", "Vale.Interop.down_mem", "Vale.Arch.MachineHeap_s.machine_heap" ]
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh let heap_taint hi = hi.vf_layout.vl_taint // Update heaplet k with mh', but only for the addresses that k owns (addres...
false
false
Vale.Arch.Heap.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 heap_create_machine (ih:interop_heap) : Ghost machine_heap (requires True) (ensures fun mh -> correct_down ih mh)
[]
Vale.Arch.Heap.heap_create_machine
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ih: Vale.Interop.Heap_s.interop_heap -> Prims.Ghost Vale.Arch.MachineHeap_s.machine_heap
{ "end_col": 13, "end_line": 32, "start_col": 2, "start_line": 32 }
Prims.Ghost
val heap_create_impl (ih:interop_heap) (mt:memTaint_t) : Ghost heap_impl (requires True) (ensures fun hi -> heap_get hi == heap_create_machine ih /\ heap_taint hi == mt)
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_create_impl ih mt = let vh = one_heaplet ih None in let layout = {vl_inner = empty_vale_heap_layout_inner vh; vl_taint = mt;} in { vf_layout = layout; vf_heap = vh; vf_heaplets = empty_vale_heaplets vh; }
val heap_create_impl (ih:interop_heap) (mt:memTaint_t) : Ghost heap_impl (requires True) (ensures fun hi -> heap_get hi == heap_create_machine ih /\ heap_taint hi == mt) let heap_create_impl ih mt =
false
null
false
let vh = one_heaplet ih None in let layout = { vl_inner = empty_vale_heap_layout_inner vh; vl_taint = mt } in { vf_layout = layout; vf_heap = vh; vf_heaplets = empty_vale_heaplets vh }
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[]
[ "Vale.Interop.Heap_s.interop_heap", "Vale.Arch.HeapTypes_s.memTaint_t", "Vale.Arch.HeapImpl.Mkvale_full_heap", "Vale.Arch.HeapImpl.empty_vale_heaplets", "Vale.Arch.HeapImpl.vale_heap_layout", "Vale.Arch.HeapImpl.Mkvale_heap_layout", "Vale.Arch.HeapImpl.empty_vale_heap_layout_inner", "Vale.Arch.HeapImp...
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh let heap_taint hi = hi.vf_layout.vl_taint // Update heaplet k with mh', but only for the addresses that k owns (addres...
false
false
Vale.Arch.Heap.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 heap_create_impl (ih:interop_heap) (mt:memTaint_t) : Ghost heap_impl (requires True) (ensures fun hi -> heap_get hi == heap_create_machine ih /\ heap_taint hi == mt)
[]
Vale.Arch.Heap.heap_create_impl
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ih: Vale.Interop.Heap_s.interop_heap -> mt: Vale.Arch.HeapTypes_s.memTaint_t -> Prims.Ghost Vale.Arch.Heap.heap_impl
{ "end_col": 3, "end_line": 46, "start_col": 28, "start_line": 39 }
Prims.Pure
val heap_upd (hi:heap_impl) (mh':machine_heap) (mt':memTaint_t) : Pure heap_impl (requires is_machine_heap_update (heap_get hi) mh') (ensures fun hi -> heap_get hi == mh' /\ heap_taint hi == mt')
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heap_upd hi mh' mt' = let h' = mi_heap_upd hi.vf_heap mh' in let hs' = Map16.init vale_heap (heaplet_upd_f hi mh') in { vf_layout = {hi.vf_layout with vl_taint = mt'}; vf_heap = h'; vf_heaplets = hs'; }
val heap_upd (hi:heap_impl) (mh':machine_heap) (mt':memTaint_t) : Pure heap_impl (requires is_machine_heap_update (heap_get hi) mh') (ensures fun hi -> heap_get hi == mh' /\ heap_taint hi == mt') let heap_upd hi mh' mt' =
false
null
false
let h' = mi_heap_upd hi.vf_heap mh' in let hs' = Map16.init vale_heap (heaplet_upd_f hi mh') in { vf_layout = { hi.vf_layout with vl_taint = mt' }; vf_heap = h'; vf_heaplets = hs' }
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[]
[ "Vale.Arch.Heap.heap_impl", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.Arch.HeapTypes_s.memTaint_t", "Vale.Arch.HeapImpl.Mkvale_full_heap", "Vale.Arch.HeapImpl.Mkvale_heap_layout", "Vale.Arch.HeapImpl.__proj__Mkvale_heap_layout__item__vl_inner", "Vale.Arch.HeapImpl.vale_heap_layout", "Vale.Arch.Hea...
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh let heap_taint hi = hi.vf_layout.vl_taint // Update heaplet k with mh', but only for the addresses that k owns (addres...
false
false
Vale.Arch.Heap.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 heap_upd (hi:heap_impl) (mh':machine_heap) (mt':memTaint_t) : Pure heap_impl (requires is_machine_heap_update (heap_get hi) mh') (ensures fun hi -> heap_get hi == mh' /\ heap_taint hi == mt')
[]
Vale.Arch.Heap.heap_upd
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hi: Vale.Arch.Heap.heap_impl -> mh': Vale.Arch.MachineHeap_s.machine_heap -> mt': Vale.Arch.HeapTypes_s.memTaint_t -> Prims.Pure Vale.Arch.Heap.heap_impl
{ "end_col": 3, "end_line": 29, "start_col": 25, "start_line": 22 }
Prims.Tot
val heaplet_upd_f (vfh: vale_full_heap) (mh': machine_heap) (k: heaplet_id) : vale_heap
[ { "abbrev": true, "full_module": "Vale.Lib.Map16", "short_module": "Map16" }, { "abbrev": false, "full_module": "Vale.Arch.HeapImpl", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop", "short_module": null }, { "abbrev": false, "full_mod...
false
let heaplet_upd_f (vfh:vale_full_heap) (mh':machine_heap) (k:heaplet_id) : vale_heap = let hk = Map16.sel vfh.vf_heaplets k in let mhk = hk.mh in let dom_upd = Set.intersect (vfh.vf_layout.vl_inner.vl_heaplet_sets k) (Map.domain mhk) in let mhk' = Map.concat mhk (Map.restrict dom_upd mh') in mi_heap_upd hk mh...
val heaplet_upd_f (vfh: vale_full_heap) (mh': machine_heap) (k: heaplet_id) : vale_heap let heaplet_upd_f (vfh: vale_full_heap) (mh': machine_heap) (k: heaplet_id) : vale_heap =
false
null
false
let hk = Map16.sel vfh.vf_heaplets k in let mhk = hk.mh in let dom_upd = Set.intersect (vfh.vf_layout.vl_inner.vl_heaplet_sets k) (Map.domain mhk) in let mhk' = Map.concat mhk (Map.restrict dom_upd mh') in mi_heap_upd hk mhk'
{ "checked_file": "Vale.Arch.Heap.fst.checked", "dependencies": [ "Vale.Lib.Map16.fsti.checked", "Vale.Interop.fsti.checked", "Vale.Arch.HeapImpl.fst.checked", "Vale.Arch.HeapImpl.fst.checked", "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul...
[ "total" ]
[ "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.mi_heap_upd", "FStar.Map.t", "Prims.int", "Vale.Def.Words_s.nat8", "FStar.Map.concat", "Vale.Def.Types_s.nat8", "FStar.Map.restrict", "FStar.Set.set", "FStar.Set.in...
[]
module Vale.Arch.Heap open FStar.Mul open Vale.Interop open Vale.Arch.HeapImpl module Map16 = Vale.Lib.Map16 friend Vale.Arch.HeapImpl let heap_impl = vale_full_heap let heap_get hi = hi.vf_heap.mh let heap_taint hi = hi.vf_layout.vl_taint
false
true
Vale.Arch.Heap.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 heaplet_upd_f (vfh: vale_full_heap) (mh': machine_heap) (k: heaplet_id) : vale_heap
[]
Vale.Arch.Heap.heaplet_upd_f
{ "file_name": "vale/code/arch/Vale.Arch.Heap.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
vfh: Vale.Arch.HeapImpl.vale_full_heap -> mh': Vale.Arch.MachineHeap_s.machine_heap -> k: Vale.Arch.HeapImpl.heaplet_id -> Vale.Arch.HeapImpl.vale_heap
{ "end_col": 21, "end_line": 20, "start_col": 86, "start_line": 15 }
Prims.Tot
val va_ens_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_ens_Memcpy (va_b0:va_code) (va_s0:va_state) (win:bool) (dst:buffer64) (src:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Memcpy va_b0 va_s0 win dst src /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.X64.Memory.buffer_as_seq #Vale.X64.Memory.vuint64 (va_get_mem va_sM) ...
val va_ens_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop let va_ens_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) (va_sM: va_state) (va_fM: va_fue...
false
null
false
(va_req_Memcpy va_b0 va_s0 win dst src /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.X64.Memory.buffer_as_seq #Vale.X64.Memory.vuint64 (va_get_mem va_sM) dst == Vale.X64.Memory.buffer_as_seq #Vale.X64.Memory.vuint64 (va_get_mem va_sM) src /\ Vale.X64.Decls.modifies_mem (Vale.X64.Decls.loc_...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Test.X64.Vale_memcpy.va_req_Memcpy", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "FStar.Seq.Base.seq", "Va...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- Memcpy val va_code_Memcpy...
false
true
Vale.Test.X64.Vale_memcpy.fsti
{ "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 va_ens_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
[]
Vale.Test.X64.Vale_memcpy.va_ens_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.va_fuel -> Prims.prop
{ "end_col": 86, "end_line": 37, "start_col": 2, "start_line": 31 }
Prims.Tot
val va_req_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) : prop
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_req_Memcpy (va_b0:va_code) (va_s0:va_state) (win:bool) (dst:buffer64) (src:buffer64) : prop = (va_require_total va_b0 (va_code_Memcpy win) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.locs_disjoint ([Vale.X64.Decls.loc_buffer...
val va_req_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) : prop let va_req_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) : prop =
false
null
false
(va_require_total va_b0 (va_code_Memcpy win) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.locs_disjoint ([ Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 dst; Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 src ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Test.X64.Vale_memcpy.va_code_Memcpy", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Memory.is_initial_heap", "Vale.X64.Decls.va_get_mem_layo...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- Memcpy val va_code_Memcpy...
false
true
Vale.Test.X64.Vale_memcpy.fsti
{ "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 va_req_Memcpy (va_b0: va_code) (va_s0: va_state) (win: bool) (dst src: buffer64) : prop
[]
Vale.Test.X64.Vale_memcpy.va_req_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Prims.prop
{ "end_col": 67, "end_line": 28, "start_col": 2, "start_line": 20 }
Prims.Tot
val va_wp_Memcpy (win: bool) (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_wp_Memcpy (win:bool) (dst:buffer64) (src:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.locs_disjoint ([Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 dst; V...
val va_wp_Memcpy (win: bool) (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 let va_wp_Memcpy (win: bool) (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
false
null
false
(va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.locs_disjoint ([ Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 dst; Vale.X64.Decls.loc_buffer #Vale.X64.Memory.vuint64 src ]) /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem va...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ "total" ]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Memory.is_initial_heap", "Vale.X64.Decls.va_get_mem_layout", "Vale.X64.Decls.va_get_mem", "Vale.X64.Decls.locs_disjoint", "Prims.Cons", "Vale.X...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- Memcpy val va_code_Memcpy...
false
true
Vale.Test.X64.Vale_memcpy.fsti
{ "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 va_wp_Memcpy (win: bool) (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[]
Vale.Test.X64.Vale_memcpy.va_wp_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
{ "end_col": 63, "end_line": 75, "start_col": 2, "start_line": 60 }
Prims.Tot
val va_quick_Memcpy (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win))
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_quick_Memcpy (win:bool) (dst:buffer64) (src:buffer64) : (va_quickCode unit (va_code_Memcpy win)) = (va_QProc (va_code_Memcpy win) ([va_Mod_mem_heaplet 1; va_Mod_mem_layout; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_mem]) (va_wp_Memcpy win dst src) (va_wpProof_Memcpy win dst src))
val va_quick_Memcpy (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win)) let va_quick_Memcpy (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win)) =
false
null
false
(va_QProc (va_code_Memcpy win) ([ va_Mod_mem_heaplet 1; va_Mod_mem_layout; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_mem ]) (va_wp_Memcpy win dst src) (va_wpProof_Memcpy win dst src))
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X6...
[ "total" ]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Test.X64.Vale_memcpy.va_code_Memcpy", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_mem_layout", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- Memcpy val va_code_Memcpy...
false
false
Vale.Test.X64.Vale_memcpy.fsti
{ "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 va_quick_Memcpy (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win))
[]
Vale.Test.X64.Vale_memcpy.va_quick_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Test.X64.Vale_memcpy.va_code_Memcpy win)
{ "end_col": 36, "end_line": 89, "start_col": 2, "start_line": 87 }
Prims.Tot
val all_finite_map_facts_ambient:squash (all_finite_map_facts u#b)
[ { "abbrev": false, "full_module": "FStar.FiniteMap.Base", "short_module": null }, { "abbrev": false, "full_module": "FStar.FiniteMap", "short_module": null }, { "abbrev": false, "full_module": "FStar.FiniteMap", "short_module": null }, { "abbrev": false, "full...
false
let all_finite_map_facts_ambient : squash (all_finite_map_facts u#b) = all_finite_map_facts_lemma u#b ()
val all_finite_map_facts_ambient:squash (all_finite_map_facts u#b) let all_finite_map_facts_ambient:squash (all_finite_map_facts u#b) =
false
null
true
all_finite_map_facts_lemma u#b ()
{ "checked_file": "FStar.FiniteMap.Ambient.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.FiniteMap.Base.fsti.checked" ], "interface_file": false, "source_file": "FStar.FiniteMap.Ambient.fst" }
[ "total" ]
[ "FStar.FiniteMap.Base.all_finite_map_facts_lemma" ]
[]
(* Copyright 2008-2021 John Li, Jay Lorch, Rustan Leino, Alex Summers, Dan Rosen, Nikhil Swamy, Microsoft Research, and contributors to the Dafny Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a c...
false
true
FStar.FiniteMap.Ambient.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 all_finite_map_facts_ambient:squash (all_finite_map_facts u#b)
[]
FStar.FiniteMap.Ambient.all_finite_map_facts_ambient
{ "file_name": "ulib/FStar.FiniteMap.Ambient.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Prims.squash FStar.FiniteMap.Base.all_finite_map_facts
{ "end_col": 35, "end_line": 43, "start_col": 2, "start_line": 43 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": false, "full_module": "FStar.FunctionalExtensionality", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": fal...
false
let disjoint (#a:Type) (s1: set a) (s2: set a) = equal (intersect s1 s2) empty
let disjoint (#a: Type) (s1 s2: set a) =
false
null
false
equal (intersect s1 s2) empty
{ "checked_file": "FStar.GSet.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "source_file": "FStar.GSet.fsti" }
[ "total" ]
[ "FStar.GSet.set", "FStar.GSet.equal", "FStar.GSet.intersect", "FStar.GSet.empty" ]
[]
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, Microsoft Research, University of Maryland Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
false
false
FStar.GSet.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 disjoint : s1: FStar.GSet.set a -> s2: FStar.GSet.set a -> Type0
[]
FStar.GSet.disjoint
{ "file_name": "ulib/FStar.GSet.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
s1: FStar.GSet.set a -> s2: FStar.GSet.set a -> Type0
{ "end_col": 31, "end_line": 44, "start_col": 2, "start_line": 44 }
Prims.Tot
val as_set' (#a: Type) (l: list a) : set a
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": false, "full_module": "FStar.FunctionalExtensionality", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": fal...
false
let rec as_set' (#a:Type) (l:list a) : set a = match l with | [] -> empty | hd::tl -> union (singleton hd) (as_set' tl)
val as_set' (#a: Type) (l: list a) : set a let rec as_set' (#a: Type) (l: list a) : set a =
false
null
false
match l with | [] -> empty | hd :: tl -> union (singleton hd) (as_set' tl)
{ "checked_file": "FStar.GSet.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "source_file": "FStar.GSet.fsti" }
[ "total" ]
[ "Prims.list", "FStar.GSet.empty", "FStar.GSet.union", "FStar.GSet.singleton", "FStar.GSet.as_set'", "FStar.GSet.set" ]
[]
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, Microsoft Research, University of Maryland Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
false
false
FStar.GSet.fsti
{ "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 as_set' (#a: Type) (l: list a) : set a
[ "recursion" ]
FStar.GSet.as_set'
{ "file_name": "ulib/FStar.GSet.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
l: Prims.list a -> FStar.GSet.set a
{ "end_col": 47, "end_line": 124, "start_col": 2, "start_line": 122 }
FStar.Pervasives.Lemma
val disjoint_not_in_both (a: Type) (s1 s2: set a) : Lemma (requires (disjoint s1 s2)) (ensures (forall (x: a). {:pattern (mem x s1)\/(mem x s2)} mem x s1 ==> ~(mem x s2))) [SMTPat (disjoint s1 s2)]
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": false, "full_module": "FStar.FunctionalExtensionality", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": fal...
false
let disjoint_not_in_both (a:Type) (s1:set a) (s2:set a) : Lemma (requires (disjoint s1 s2)) (ensures (forall (x:a).{:pattern (mem x s1) \/ (mem x s2)} mem x s1 ==> ~(mem x s2))) [SMTPat (disjoint s1 s2)] = let f (x:a) : Lemma (~(mem x (intersect s1 s2))) = () in FStar.Classical.forall_intro f
val disjoint_not_in_both (a: Type) (s1 s2: set a) : Lemma (requires (disjoint s1 s2)) (ensures (forall (x: a). {:pattern (mem x s1)\/(mem x s2)} mem x s1 ==> ~(mem x s2))) [SMTPat (disjoint s1 s2)] let disjoint_not_in_both (a: Type) (s1 s2: set a) : Lemma (requires (disjoint s1 s2)) (ensures (...
false
null
true
let f (x: a) : Lemma (~(mem x (intersect s1 s2))) = () in FStar.Classical.forall_intro f
{ "checked_file": "FStar.GSet.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": false, "source_file": "FStar.GSet.fsti" }
[ "lemma" ]
[ "FStar.GSet.set", "FStar.Classical.forall_intro", "Prims.l_not", "Prims.b2t", "FStar.GSet.mem", "FStar.GSet.intersect", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "FStar.GSet.disjoint", "Prims.l_Forall", "Prims.l_imp", "Prims.Cons", "FStar.Pe...
[]
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, Microsoft Research, University of Maryland Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.a...
false
false
FStar.GSet.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 disjoint_not_in_both (a: Type) (s1 s2: set a) : Lemma (requires (disjoint s1 s2)) (ensures (forall (x: a). {:pattern (mem x s1)\/(mem x s2)} mem x s1 ==> ~(mem x s2))) [SMTPat (disjoint s1 s2)]
[]
FStar.GSet.disjoint_not_in_both
{ "file_name": "ulib/FStar.GSet.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> s1: FStar.GSet.set a -> s2: FStar.GSet.set a -> FStar.Pervasives.Lemma (requires FStar.GSet.disjoint s1 s2) (ensures forall (x: a). {:pattern FStar.GSet.mem x s1\/FStar.GSet.mem x s2} FStar.GSet.mem x s1 ==> ~(FStar.GSet.mem x s2)) [SMTPat (FStar.GSet.disjoint s1 s2)]
{ "end_col": 32, "end_line": 116, "start_col": 1, "start_line": 115 }
Prims.Tot
val shift_left: v:int -> i:nat -> Tot (res:int{res = v * (pow2 i)})
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let shift_left v i = v * (pow2 i)
val shift_left: v:int -> i:nat -> Tot (res:int{res = v * (pow2 i)}) let shift_left v i =
false
null
false
v * (pow2 i)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.nat", "FStar.Mul.op_Star", "Prims.pow2", "Prims.b2t", "Prims.op_Equality" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 shift_left: v:int -> i:nat -> Tot (res:int{res = v * (pow2 i)})
[]
FStar.Math.Lib.shift_left
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> i: Prims.nat -> res: Prims.int{res = v * Prims.pow2 i}
{ "end_col": 14, "end_line": 97, "start_col": 2, "start_line": 97 }
Prims.Tot
val arithmetic_shift_right: v:int -> i:nat -> Tot (res:int{ res = div v (pow2 i) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let arithmetic_shift_right v i = div v (pow2 i)
val arithmetic_shift_right: v:int -> i:nat -> Tot (res:int{ res = div v (pow2 i) }) let arithmetic_shift_right v i =
false
null
false
div v (pow2 i)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.nat", "FStar.Math.Lib.div", "Prims.pow2", "Prims.b2t", "Prims.op_Equality" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 arithmetic_shift_right: v:int -> i:nat -> Tot (res:int{ res = div v (pow2 i) })
[]
FStar.Math.Lib.arithmetic_shift_right
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> i: Prims.nat -> res: Prims.int{res = FStar.Math.Lib.div v (Prims.pow2 i)}
{ "end_col": 16, "end_line": 102, "start_col": 2, "start_line": 102 }
Prims.Tot
val log_2: x:pos -> Tot nat
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let rec log_2 x = if x >= 2 then 1 + log_2 (x / 2) else 0
val log_2: x:pos -> Tot nat let rec log_2 x =
false
null
false
if x >= 2 then 1 + log_2 (x / 2) else 0
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.pos", "Prims.op_GreaterThanOrEqual", "Prims.op_Addition", "FStar.Math.Lib.log_2", "Prims.op_Division", "Prims.bool", "Prims.nat" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Math.Lib.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 log_2: x:pos -> Tot nat
[ "recursion" ]
FStar.Math.Lib.log_2
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.pos -> Prims.nat
{ "end_col": 41, "end_line": 55, "start_col": 2, "start_line": 55 }
Prims.Tot
val min: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = y) /\ (x < y ==> z = x) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let min x y = if x >= y then y else x
val min: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = y) /\ (x < y ==> z = x) }) let min x y =
false
null
false
if x >= y then y else x
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.op_GreaterThanOrEqual", "Prims.bool", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_Equality", "Prims.op_LessThan" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 min: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = y) /\ (x < y ==> z = x) })
[]
FStar.Math.Lib.min
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = y) /\ (x < y ==> z = x)}
{ "end_col": 37, "end_line": 74, "start_col": 14, "start_line": 74 }
Prims.Tot
val powx : x:int -> n:nat -> Tot int
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let rec powx x n = match n with | 0 -> 1 | n -> x * powx x (n - 1)
val powx : x:int -> n:nat -> Tot int let rec powx x n =
false
null
false
match n with | 0 -> 1 | n -> x * powx x (n - 1)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.nat", "FStar.Mul.op_Star", "FStar.Math.Lib.powx", "Prims.op_Subtraction" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Math.Lib.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 powx : x:int -> n:nat -> Tot int
[ "recursion" ]
FStar.Math.Lib.powx
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> n: Prims.nat -> Prims.int
{ "end_col": 27, "end_line": 62, "start_col": 2, "start_line": 60 }
Prims.Tot
val max: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = x) /\ (x < y ==> z = y) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let max x y = if x >= y then x else y
val max: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = x) /\ (x < y ==> z = y) }) let max x y =
false
null
false
if x >= y then x else y
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.op_GreaterThanOrEqual", "Prims.bool", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_Equality", "Prims.op_LessThan" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 max: x:int -> y:int -> Tot (z:int{ (x >= y ==> z = x) /\ (x < y ==> z = y) })
[]
FStar.Math.Lib.max
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = x) /\ (x < y ==> z = y)}
{ "end_col": 37, "end_line": 70, "start_col": 14, "start_line": 70 }
Prims.Tot
val abs: x:int -> Tot (y:int{ (x >= 0 ==> y = x) /\ (x < 0 ==> y = -x) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let abs x = if x >= 0 then x else -x
val abs: x:int -> Tot (y:int{ (x >= 0 ==> y = x) /\ (x < 0 ==> y = -x) }) let abs x =
false
null
false
if x >= 0 then x else - x
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.op_GreaterThanOrEqual", "Prims.bool", "Prims.op_Minus", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_Equality", "Prims.op_LessThan" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 abs: x:int -> Tot (y:int{ (x >= 0 ==> y = x) /\ (x < 0 ==> y = -x) })
[]
FStar.Math.Lib.abs
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> y: Prims.int{(x >= 0 ==> y = x) /\ (x < 0 ==> y = - x)}
{ "end_col": 36, "end_line": 66, "start_col": 12, "start_line": 66 }
Prims.Tot
val signed_modulo: v:int -> p:pos -> Tot (res:int{ res = v - ((div_non_eucl v p) * p) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let signed_modulo v p = if v >= 0 then v % p else 0 - ( (0-v) % p)
val signed_modulo: v:int -> p:pos -> Tot (res:int{ res = v - ((div_non_eucl v p) * p) }) let signed_modulo v p =
false
null
false
if v >= 0 then v % p else 0 - ((0 - v) % p)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.pos", "Prims.op_GreaterThanOrEqual", "Prims.op_Modulus", "Prims.bool", "Prims.op_Subtraction", "Prims.b2t", "Prims.op_Equality", "FStar.Mul.op_Star", "FStar.Math.Lib.div_non_eucl" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 signed_modulo: v:int -> p:pos -> Tot (res:int{ res = v - ((div_non_eucl v p) * p) })
[]
FStar.Math.Lib.signed_modulo
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
v: Prims.int -> p: Prims.pos -> res: Prims.int{res = v - FStar.Math.Lib.div_non_eucl v p * p}
{ "end_col": 23, "end_line": 109, "start_col": 2, "start_line": 108 }
FStar.Pervasives.Lemma
val div_non_eucl_decr_lemma: a:int -> b:pos -> Lemma (abs (div_non_eucl a b) <= abs a)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let div_non_eucl_decr_lemma a b = slash_decr_axiom (abs a) b
val div_non_eucl_decr_lemma: a:int -> b:pos -> Lemma (abs (div_non_eucl a b) <= abs a) let div_non_eucl_decr_lemma a b =
false
null
true
slash_decr_axiom (abs a) b
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "lemma" ]
[ "Prims.int", "Prims.pos", "FStar.Math.Lib.slash_decr_axiom", "FStar.Math.Lib.abs", "Prims.unit" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 div_non_eucl_decr_lemma: a:int -> b:pos -> Lemma (abs (div_non_eucl a b) <= abs a)
[]
FStar.Math.Lib.div_non_eucl_decr_lemma
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.int -> b: Prims.pos -> FStar.Pervasives.Lemma (ensures FStar.Math.Lib.abs (FStar.Math.Lib.div_non_eucl a b) <= FStar.Math.Lib.abs a)
{ "end_col": 28, "end_line": 140, "start_col": 2, "start_line": 140 }
FStar.Pervasives.Lemma
val slash_decr_axiom: a:nat -> b:pos -> Lemma (a / b <= a)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let slash_decr_axiom a b = mul_lemma 1 b a; mul_div_lemma a b; mul_lemma' (a / b) a b
val slash_decr_axiom: a:nat -> b:pos -> Lemma (a / b <= a) let slash_decr_axiom a b =
false
null
true
mul_lemma 1 b a; mul_div_lemma a b; mul_lemma' (a / b) a b
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "lemma" ]
[ "Prims.nat", "Prims.pos", "FStar.Math.Lib.mul_lemma'", "Prims.op_Division", "Prims.unit", "FStar.Math.Lib.mul_div_lemma", "FStar.Math.Lib.mul_lemma" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 slash_decr_axiom: a:nat -> b:pos -> Lemma (a / b <= a)
[]
FStar.Math.Lib.slash_decr_axiom
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.nat -> b: Prims.pos -> FStar.Pervasives.Lemma (ensures a / b <= a)
{ "end_col": 26, "end_line": 38, "start_col": 4, "start_line": 36 }
Prims.Tot
val op_Plus_Percent : a:int -> p:pos -> Tot (res:int{ (a >= 0 ==> res = a % p) /\ (a < 0 ==> res = -((-a) % p)) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let op_Plus_Percent a p = signed_modulo a p
val op_Plus_Percent : a:int -> p:pos -> Tot (res:int{ (a >= 0 ==> res = a % p) /\ (a < 0 ==> res = -((-a) % p)) }) let op_Plus_Percent a p =
false
null
false
signed_modulo a p
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.pos", "FStar.Math.Lib.signed_modulo", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_Equality", "Prims.op_Modulus", "Prims.op_LessThan", "Prims.op_Minus" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 op_Plus_Percent : a:int -> p:pos -> Tot (res:int{ (a >= 0 ==> res = a % p) /\ (a < 0 ==> res = -((-a) % p)) })
[]
FStar.Math.Lib.op_Plus_Percent
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.int -> p: Prims.pos -> res: Prims.int{(a >= 0 ==> res = a % p) /\ (a < 0 ==> res = - (- a) % p)}
{ "end_col": 43, "end_line": 113, "start_col": 26, "start_line": 113 }
Prims.Tot
val div: a:int -> b:pos -> Tot (c:int{(a < 0 ==> c < 0) /\ (a >= 0 ==> c >= 0)})
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let div a b = if a < 0 then begin slash_decr_axiom (-a) b; if a % b = 0 then - (-a / b) else - (-a / b) - 1 end else a / b
val div: a:int -> b:pos -> Tot (c:int{(a < 0 ==> c < 0) /\ (a >= 0 ==> c >= 0)}) let div a b =
false
null
false
if a < 0 then (slash_decr_axiom (- a) b; if a % b = 0 then - (- a / b) else - (- a / b) - 1) else a / b
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.pos", "Prims.op_LessThan", "Prims.op_Equality", "Prims.op_Modulus", "Prims.op_Minus", "Prims.op_Division", "Prims.bool", "Prims.op_Subtraction", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.unit", "FStar.Math.Lib.slash_decr_axiom" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 div: a:int -> b:pos -> Tot (c:int{(a < 0 ==> c < 0) /\ (a >= 0 ==> c >= 0)})
[]
FStar.Math.Lib.div
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.int -> b: Prims.pos -> c: Prims.int{(a < 0 ==> c < 0) /\ (a >= 0 ==> c >= 0)}
{ "end_col": 12, "end_line": 85, "start_col": 2, "start_line": 79 }
Prims.Tot
val div_non_eucl: a:int -> b:pos -> Tot (q:int{ ( a >= 0 ==> q = a / b ) /\ ( a < 0 ==> q = -((-a)/b) ) })
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let div_non_eucl a b = if a < 0 then 0 - ((0 - a) / b) else a / b
val div_non_eucl: a:int -> b:pos -> Tot (q:int{ ( a >= 0 ==> q = a / b ) /\ ( a < 0 ==> q = -((-a)/b) ) }) let div_non_eucl a b =
false
null
false
if a < 0 then 0 - ((0 - a) / b) else a / b
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "total" ]
[ "Prims.int", "Prims.pos", "Prims.op_LessThan", "Prims.op_Subtraction", "Prims.op_Division", "Prims.bool", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_Equality", "Prims.op_Minus" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 div_non_eucl: a:int -> b:pos -> Tot (q:int{ ( a >= 0 ==> q = a / b ) /\ ( a < 0 ==> q = -((-a)/b) ) })
[]
FStar.Math.Lib.div_non_eucl
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.int -> b: Prims.pos -> q: Prims.int{(a >= 0 ==> q = a / b) /\ (a < 0 ==> q = - (- a) / b)}
{ "end_col": 12, "end_line": 92, "start_col": 2, "start_line": 91 }
FStar.Pervasives.Lemma
val powx_lemma2: x:int -> n:nat -> m:nat -> Lemma (powx x n * powx x m = powx x (n + m))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let rec powx_lemma2 x n m = let ass (x y z : int) : Lemma ((x*y)*z == x*(y*z)) = () in match n with | 0 -> () | _ -> powx_lemma2 x (n-1) m; ass x (powx x (n-1)) (powx x m)
val powx_lemma2: x:int -> n:nat -> m:nat -> Lemma (powx x n * powx x m = powx x (n + m)) let rec powx_lemma2 x n m =
false
null
true
let ass (x y z: int) : Lemma ((x * y) * z == x * (y * z)) = () in match n with | 0 -> () | _ -> powx_lemma2 x (n - 1) m; ass x (powx x (n - 1)) (powx x m)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "lemma" ]
[ "Prims.int", "Prims.nat", "FStar.Math.Lib.powx", "Prims.op_Subtraction", "Prims.unit", "FStar.Math.Lib.powx_lemma2", "Prims.l_True", "Prims.squash", "Prims.eq2", "Prims.op_Multiply", "Prims.Nil", "FStar.Pervasives.pattern", "FStar.Mul.op_Star" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 powx_lemma2: x:int -> n:nat -> m:nat -> Lemma (powx x n * powx x m = powx x (n + m))
[ "recursion" ]
FStar.Math.Lib.powx_lemma2
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> n: Prims.nat -> m: Prims.nat -> FStar.Pervasives.Lemma (ensures FStar.Math.Lib.powx x n * FStar.Math.Lib.powx x m = FStar.Math.Lib.powx x (n + m))
{ "end_col": 63, "end_line": 127, "start_col": 27, "start_line": 123 }
FStar.Pervasives.Lemma
val slash_star_axiom: a:nat -> b:pos -> c:nat -> Lemma (requires (a * b = c)) (ensures (a = c / b))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Math", "short_module": null }, { "abbrev": false, "full_module": "FStar.Perv...
false
let slash_star_axiom a b c = lemma_div_def c b; lemma_mul_minus_distr_l b a (c/b)
val slash_star_axiom: a:nat -> b:pos -> c:nat -> Lemma (requires (a * b = c)) (ensures (a = c / b)) let slash_star_axiom a b c =
false
null
true
lemma_div_def c b; lemma_mul_minus_distr_l b a (c / b)
{ "checked_file": "FStar.Math.Lib.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.Math.Lib.fst" }
[ "lemma" ]
[ "Prims.nat", "Prims.pos", "FStar.Math.Lib.lemma_mul_minus_distr_l", "Prims.op_Division", "Prims.unit", "FStar.Math.Lib.lemma_div_def" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Math.Lib.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 slash_star_axiom: a:nat -> b:pos -> c:nat -> Lemma (requires (a * b = c)) (ensures (a = c / b))
[]
FStar.Math.Lib.slash_star_axiom
{ "file_name": "ulib/FStar.Math.Lib.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.nat -> b: Prims.pos -> c: Prims.nat -> FStar.Pervasives.Lemma (requires a * b = c) (ensures a = c / b)
{ "end_col": 35, "end_line": 50, "start_col": 2, "start_line": 49 }
Prims.Tot
val everparse_version : string
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
false
let everparse_version = "afb6fff3 (unreleased)"
val everparse_version : string let everparse_version =
false
null
false
"afb6fff3 (unreleased)"
{ "checked_file": "Version.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Version.fst" }
[ "total" ]
[]
[]
false
true
Version.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 everparse_version : string
[]
Version.everparse_version
{ "file_name": "src/3d/Version.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Prims.string
{ "end_col": 47, "end_line": 2, "start_col": 24, "start_line": 2 }
Prims.Tot
val karamel_commit : string
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
false
let karamel_commit = "7460546b"
val karamel_commit : string let karamel_commit =
false
null
false
"7460546b"
{ "checked_file": "Version.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Version.fst" }
[ "total" ]
[]
[]
module Version let everparse_version = "afb6fff3 (unreleased)"
false
true
Version.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 karamel_commit : string
[]
Version.karamel_commit
{ "file_name": "src/3d/Version.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Prims.string
{ "end_col": 31, "end_line": 4, "start_col": 21, "start_line": 4 }
Prims.Tot
val fstar_commit : string
[ { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null } ]
false
let fstar_commit = "61ccb46077"
val fstar_commit : string let fstar_commit =
false
null
false
"61ccb46077"
{ "checked_file": "Version.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Version.fst" }
[ "total" ]
[]
[]
module Version
false
true
Version.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 fstar_commit : string
[]
Version.fstar_commit
{ "file_name": "src/3d/Version.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Prims.string
{ "end_col": 31, "end_line": 3, "start_col": 19, "start_line": 3 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2_s", "short_module": null }, { "abbrev": true, "full_module": ...
false
let min = FStar.Math.Lib.min
let min =
false
null
false
FStar.Math.Lib.min
{ "checked_file": "Vale.Math.Poly2.Galois.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Spec.GaloisField.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FS...
[ "total" ]
[ "FStar.Math.Lib.min" ]
[]
module Vale.Math.Poly2.Galois open FStar.Mul module I = Lib.IntTypes module G = Spec.GaloisField module P = Vale.Math.Poly2_s open Vale.Math.Poly2_s open Vale.Math.Poly2 open FStar.Seq (* Connect Spec.GaloisField to Vale.Math.Poly2* *) val to_poly (#f:G.field) (e:G.felem f) : poly val to_felem (f:G.field) (p:poly) : ...
false
false
Vale.Math.Poly2.Galois.fsti
{ "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 min : x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = y) /\ (x < y ==> z = x)}
[]
Vale.Math.Poly2.Galois.min
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Galois.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = y) /\ (x < y ==> z = x)}
{ "end_col": 35, "end_line": 21, "start_col": 17, "start_line": 21 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2_s", "short_module": null }, { "abbrev": true, "full_module": ...
false
let max = FStar.Math.Lib.max
let max =
false
null
false
FStar.Math.Lib.max
{ "checked_file": "Vale.Math.Poly2.Galois.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Spec.GaloisField.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FS...
[ "total" ]
[ "FStar.Math.Lib.max" ]
[]
module Vale.Math.Poly2.Galois open FStar.Mul module I = Lib.IntTypes module G = Spec.GaloisField module P = Vale.Math.Poly2_s open Vale.Math.Poly2_s open Vale.Math.Poly2 open FStar.Seq (* Connect Spec.GaloisField to Vale.Math.Poly2* *) val to_poly (#f:G.field) (e:G.felem f) : poly val to_felem (f:G.field) (p:poly) : ...
false
false
Vale.Math.Poly2.Galois.fsti
{ "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 max : x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = x) /\ (x < y ==> z = y)}
[]
Vale.Math.Poly2.Galois.max
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Galois.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = x) /\ (x < y ==> z = y)}
{ "end_col": 35, "end_line": 22, "start_col": 17, "start_line": 22 }
Prims.Tot
val irred_poly (f: G.field) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2_s", "short_module": null }, { "abbrev": true, "full_module": ...
false
let irred_poly (f:G.field) : poly = let G.GF t irred = f in monomial (I.bits t) +. to_poly #f irred
val irred_poly (f: G.field) : poly let irred_poly (f: G.field) : poly =
false
null
false
let G.GF t irred = f in monomial (I.bits t) +. to_poly #f irred
{ "checked_file": "Vale.Math.Poly2.Galois.fsti.checked", "dependencies": [ "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.fsti.checked", "Spec.GaloisField.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FS...
[ "total" ]
[ "Spec.GaloisField.field", "Lib.IntTypes.inttype", "Prims.l_and", "Prims.b2t", "Lib.IntTypes.unsigned", "Prims.op_disEquality", "Lib.IntTypes.U1", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Vale.Math.Poly2.op_Plus_Dot", "Vale.Math.Poly2_s.monomial", "Lib.IntTypes.bits", "Vale.Math.Poly2.Galo...
[]
module Vale.Math.Poly2.Galois open FStar.Mul module I = Lib.IntTypes module G = Spec.GaloisField module P = Vale.Math.Poly2_s open Vale.Math.Poly2_s open Vale.Math.Poly2 open FStar.Seq (* Connect Spec.GaloisField to Vale.Math.Poly2* *) val to_poly (#f:G.field) (e:G.felem f) : poly val to_felem (f:G.field) (p:poly) : ...
false
true
Vale.Math.Poly2.Galois.fsti
{ "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 irred_poly (f: G.field) : poly
[]
Vale.Math.Poly2.Galois.irred_poly
{ "file_name": "vale/code/lib/math/Vale.Math.Poly2.Galois.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Spec.GaloisField.field -> Vale.Math.Poly2_s.poly
{ "end_col": 41, "end_line": 19, "start_col": 35, "start_line": 17 }
Prims.Tot
val reseed: a:supported_alg -> reseed_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let reseed a st entropy_input_len entropy_input additional_input_input_len additional_input_input = match a with | SHA1 -> mk_reseed Hacl.HMAC.legacy_compute_sha1 st entropy_input_len entropy_input additional_input_input_len additional_input_input | SHA2_256 -> mk_reseed Hacl.HMAC.compute_...
val reseed: a:supported_alg -> reseed_st a let reseed a st entropy_input_len entropy_input additional_input_input_len additional_input_input =
false
null
false
match a with | SHA1 -> mk_reseed Hacl.HMAC.legacy_compute_sha1 st entropy_input_len entropy_input additional_input_input_len additional_input_input | SHA2_256 -> mk_reseed Hacl.HMAC.compute_sha2_256 st entropy_input_len entropy_input additional_input_input_len additional_inpu...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.mk_reseed", "Spec.Hash.Definitions.SHA1", "Hacl.HMAC.legacy_compute_sha1", "Prims.unit", "Spec.Hash.Definitions.SHA2_256", "Hacl.HMAC.compute_sha2_256", "S...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 reseed: a:supported_alg -> reseed_st a
[]
Hacl.HMAC_DRBG.reseed
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> Hacl.HMAC_DRBG.reseed_st a
{ "end_col": 55, "end_line": 257, "start_col": 2, "start_line": 241 }
Prims.Tot
val invariant: #a:supported_alg -> st:state a -> h:HS.mem -> Type0
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let invariant #a st h = live h st.k /\ live h st.v /\ live h st.reseed_counter /\ ( // JP: the disjoint predicate from lib hardcodes loc_buffer instead of // loc_addr_of_buffer, which prevents us from writing a proper free function // (probably why it wasn't written here in the first place)... we add on top /...
val invariant: #a:supported_alg -> st:state a -> h:HS.mem -> Type0 let invariant #a st h =
false
null
false
live h st.k /\ live h st.v /\ live h st.reseed_counter /\ (let k = st.k <: B.buffer uint8 in let v = st.v <: B.buffer uint8 in let ctr = st.reseed_counter <: B.buffer size_t in let open B in all_disjoint [loc_addr_of_buffer k; loc_addr_of_buffer v; loc_addr_of_buffer ctr])
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.__proj__State__item__k", "Hacl.HMAC_DRBG.__proj__State__item__v", "Lib.IntTypes.size_t", "Hacl.HMAC_DRBG.__proj__Sta...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 invariant: #a:supported_alg -> st:state a -> h:HS.mem -> Type0
[]
Hacl.HMAC_DRBG.invariant
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
st: Hacl.HMAC_DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Type0
{ "end_col": 90, "end_line": 122, "start_col": 2, "start_line": 113 }
Prims.Tot
val generate: a:supported_alg -> generate_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let generate a output st n additional_input_len additional_input = match a with | SHA1 -> mk_generate Hacl.HMAC.legacy_compute_sha1 output st n additional_input_len additional_input | SHA2_256 -> mk_generate Hacl.HMAC.compute_sha2_256 output st n additional_input_len additional_input | S...
val generate: a:supported_alg -> generate_st a let generate a output st n additional_input_len additional_input =
false
null
false
match a with | SHA1 -> mk_generate Hacl.HMAC.legacy_compute_sha1 output st n additional_input_len additional_input | SHA2_256 -> mk_generate Hacl.HMAC.compute_sha2_256 output st n additional_input_len additional_input | SHA2_384 -> mk_generate Hacl.HMAC.compute_sha2_384 output st n additional_input_len additional...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Lib.Buffer.buffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Hacl.HMAC_DRBG.mk_generate", "Spec.Hash.Definitions.SHA1", "Hacl.HMAC.legacy_compute_sha1", "Prims.bool", "Spec.Hash.Definitions.SHA2_256", "Hacl.HMA...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 generate: a:supported_alg -> generate_st a
[]
Hacl.HMAC_DRBG.generate
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> Hacl.HMAC_DRBG.generate_st a
{ "end_col": 43, "end_line": 319, "start_col": 2, "start_line": 307 }
Prims.Tot
val instantiate: a:supported_alg -> instantiate_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let instantiate a st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_string = match a with | SHA1 -> mk_instantiate Hacl.HMAC.legacy_compute_sha1 st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_s...
val instantiate: a:supported_alg -> instantiate_st a let instantiate a st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_string =
false
null
false
match a with | SHA1 -> mk_instantiate Hacl.HMAC.legacy_compute_sha1 st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_string | SHA2_256 -> mk_instantiate Hacl.HMAC.compute_sha2_256 st entropy_input_len entropy_input nonce_len ...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.mk_instantiate", "Spec.Hash.Definitions.SHA1", "Hacl.HMAC.legacy_compute_sha1", "Prims.unit", "Spec.Hash.Definitions.SHA2_256", "Hacl.HMAC.compute_sha2_256",...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 instantiate: a:supported_alg -> instantiate_st a
[]
Hacl.HMAC_DRBG.instantiate
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> Hacl.HMAC_DRBG.instantiate_st a
{ "end_col": 55, "end_line": 217, "start_col": 2, "start_line": 197 }
Prims.Tot
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "LowSt...
false
let hash_len (a:supported_alg) = Hacl.Hash.Definitions.hash_len a
let hash_len (a: supported_alg) =
false
null
false
Hacl.Hash.Definitions.hash_len a
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.Hash.Definitions.hash_len", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t",...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG
false
false
Hacl.HMAC_DRBG.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 hash_len : a: Hacl.HMAC_DRBG.supported_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.hash_length a}
[]
Hacl.HMAC_DRBG.hash_len
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.hash_length a}
{ "end_col": 65, "end_line": 21, "start_col": 33, "start_line": 21 }
Prims.GTot
val footprint: #a:supported_alg -> st:state a -> GTot B.loc
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let footprint #a st = let k:B.buffer uint8 = st.k in let v:B.buffer uint8 = st.v in let ctr:B.buffer size_t = st.reseed_counter in B.loc_addr_of_buffer k |+| B.loc_addr_of_buffer v |+| B.loc_addr_of_buffer ctr
val footprint: #a:supported_alg -> st:state a -> GTot B.loc let footprint #a st =
false
null
false
let k:B.buffer uint8 = st.k in let v:B.buffer uint8 = st.v in let ctr:B.buffer size_t = st.reseed_counter in B.loc_addr_of_buffer k |+| B.loc_addr_of_buffer v |+| B.loc_addr_of_buffer ctr
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "sometrivial" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "Lib.Buffer.op_Bar_Plus_Bar", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "LowStar.Buffer.trivial_preorder", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Buffer.buffer", ...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 footprint: #a:supported_alg -> st:state a -> GTot B.loc
[]
Hacl.HMAC_DRBG.footprint
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
st: Hacl.HMAC_DRBG.state a -> Prims.GTot LowStar.Monotonic.Buffer.loc
{ "end_col": 80, "end_line": 110, "start_col": 21, "start_line": 106 }
Prims.Tot
val freeable: #a:supported_alg -> st:state a -> Type0
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let freeable #a st = let k:B.buffer uint8 = st.k in let v:B.buffer uint8 = st.v in let ctr:B.buffer size_t = st.reseed_counter in B.freeable k /\ B.freeable v /\ B.freeable ctr
val freeable: #a:supported_alg -> st:state a -> Type0 let freeable #a st =
false
null
false
let k:B.buffer uint8 = st.k in let v:B.buffer uint8 = st.v in let ctr:B.buffer size_t = st.reseed_counter in B.freeable k /\ B.freeable v /\ B.freeable ctr
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "Prims.l_and", "LowStar.Monotonic.Buffer.freeable", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "LowStar.Buffer.trivial_preorder", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Buffer.buffer", "Hacl.HMAC_DRBG.__proj__S...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 freeable: #a:supported_alg -> st:state a -> Type0
[]
Hacl.HMAC_DRBG.freeable
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
st: Hacl.HMAC_DRBG.state a -> Type0
{ "end_col": 48, "end_line": 104, "start_col": 20, "start_line": 100 }
Prims.GTot
val repr: #a:supported_alg -> st:state a -> h:HS.mem -> GTot (S.state a)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let repr #a st h = S.State (as_seq h st.k) (as_seq h st.v) (v (bget h st.reseed_counter 0))
val repr: #a:supported_alg -> st:state a -> h:HS.mem -> GTot (S.state a) let repr #a st h =
false
null
false
S.State (as_seq h st.k) (as_seq h st.v) (v (bget h st.reseed_counter 0))
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "sometrivial" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "FStar.Monotonic.HyperStack.mem", "Spec.HMAC_DRBG.State", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "Hacl.HMAC_DRBG.__proj__State__item__k", "Hacl.HMAC_DRBG.__proj__State__item__v", "Lib.IntType...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 repr: #a:supported_alg -> st:state a -> h:HS.mem -> GTot (S.state a)
[]
Hacl.HMAC_DRBG.repr
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
st: Hacl.HMAC_DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot (Spec.HMAC_DRBG.state a)
{ "end_col": 74, "end_line": 125, "start_col": 2, "start_line": 125 }
Prims.Tot
val free: #a:supported_alg -> free_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let free #_ s = let State k v ctr = s in B.free (k <: B.buffer uint8); B.free (v <: B.buffer uint8); B.free (ctr <: B.buffer size_t)
val free: #a:supported_alg -> free_st a let free #_ s =
false
null
false
let State k v ctr = s in B.free (k <: B.buffer uint8); B.free (v <: B.buffer uint8); B.free (ctr <: B.buffer size_t)
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.state", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "Lib.IntTypes.size_t", "FStar.UInt32.__uint_to_t", "Prims.l_and", "Lib.Buffer.disjoint", "Lib.Buffer.MUT", "LowStar.Monotonic.Buffer.free", "LowStar.Buffer.trivial_pre...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 free: #a:supported_alg -> free_st a
[]
Hacl.HMAC_DRBG.free
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.HMAC_DRBG.free_st a
{ "end_col": 33, "end_line": 325, "start_col": 15, "start_line": 321 }
FStar.HyperStack.ST.ST
val create_in: a:supported_alg -> r:HS.rid -> ST (state a) (requires fun _ -> is_eternal_region r) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true r)) (footprint st) /\ invariant st h1 /\ freeable st)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let create_in a r = let k:B.buffer uint8 = match a with | SHA1 -> B.malloc r (u8 0) (hash_len SHA1) | SHA2_256 -> B.malloc r (u8 0) (hash_len SHA2_256) | SHA2_384 -> B.malloc r (u8 0) (hash_len SHA2_384) | SHA2_512 -> B.malloc r (u8 0) (hash_len SHA2_512) in let v:B.buffer uint8 = matc...
val create_in: a:supported_alg -> r:HS.rid -> ST (state a) (requires fun _ -> is_eternal_region r) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true r)) (footprint st) /\ invariant st h1 /\ freeable st) let create_i...
true
null
false
let k:B.buffer uint8 = match a with | SHA1 -> B.malloc r (u8 0) (hash_len SHA1) | SHA2_256 -> B.malloc r (u8 0) (hash_len SHA2_256) | SHA2_384 -> B.malloc r (u8 0) (hash_len SHA2_384) | SHA2_512 -> B.malloc r (u8 0) (hash_len SHA2_512) in let v:B.buffer uint8 = match a with | SHA1 -> B.malloc r (u8 0) (ha...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[]
[ "Hacl.HMAC_DRBG.supported_alg", "FStar.Monotonic.HyperHeap.rid", "Hacl.HMAC_DRBG.State", "Hacl.HMAC_DRBG.state", "LowStar.Buffer.buffer", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Buffer.malloc", "FStar.UInt32.__uint_to_t", "LowStar.Monotonic.Buffer.mbuffer", "LowS...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 create_in: a:supported_alg -> r:HS.rid -> ST (state a) (requires fun _ -> is_eternal_region r) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true r)) (footprint st) /\ invariant st h1 /\ freeable st)
[]
Hacl.HMAC_DRBG.create_in
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (Hacl.HMAC_DRBG.state a)
{ "end_col": 15, "end_line": 161, "start_col": 19, "start_line": 145 }
FStar.HyperStack.ST.StackInline
val alloca: a:supported_alg -> StackInline (state a) (requires fun _ -> True) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st)) /\ invariant st h1)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let alloca a = let k = match a with | SHA1 -> create (hash_len SHA1) (u8 0) | SHA2_256 -> create (hash_len SHA2_256) (u8 0) | SHA2_384 -> create (hash_len SHA2_384) (u8 0) | SHA2_512 -> create (hash_len SHA2_512) (u8 0) in let v = match a with | SHA1 -> create (hash_len SHA...
val alloca: a:supported_alg -> StackInline (state a) (requires fun _ -> True) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st)) /\ invariant st h1) let alloca a =
true
null
false
let k = match a with | SHA1 -> create (hash_len SHA1) (u8 0) | SHA2_256 -> create (hash_len SHA2_256) (u8 0) | SHA2_384 -> create (hash_len SHA2_384) (u8 0) | SHA2_512 -> create (hash_len SHA2_512) (u8 0) in let v = match a with | SHA1 -> create (hash_len SHA1) (u8 0) | SHA2_256 -> create (hash_len SHA2...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC_DRBG.State", "Hacl.HMAC_DRBG.state", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.uint_to_t", "FStar.UInt32.t", "Lib.Buffer.create", "Lib.IntTypes.size_t", "FStar.UInt32.__uint...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 alloca: a:supported_alg -> StackInline (state a) (requires fun _ -> True) (ensures fun h0 st h1 -> B.modifies B.loc_none h0 h1 /\ B.fresh_loc (footprint st) h0 h1 /\ B.(loc_includes (loc_region_only true (HS.get_tip h1)) (footprint st)) /\ invariant st h1)
[]
Hacl.HMAC_DRBG.alloca
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.HMAC_DRBG.supported_alg -> FStar.HyperStack.ST.StackInline (Hacl.HMAC_DRBG.state a)
{ "end_col": 15, "end_line": 143, "start_col": 14, "start_line": 127 }
FStar.HyperStack.ST.Stack
val update: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 data /\ live h0 k /\ live h0 v /\ disjoint k v /\ disjoint k data /\ disjoint v data /\ hash_...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "LowSt...
false
let update #a hmac len data k v = update_round hmac len data (u8 0) k v; if len <> 0ul then update_round hmac len data (u8 1) k v
val update: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 data /\ live h0 k /\ live h0 v /\ disjoint k v /\ disjoint k data /\ disjoint v data /\ hash_...
true
null
false
update_round hmac len data (u8 0) k v; if len <> 0ul then update_round hmac len data (u8 1) k v
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC.compute_st", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "Prims.op_disEquality", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t", "Hacl.HMAC_DRBG.update_round", "Lib.IntTypes.u8", "Prims.unit", "Prims.b...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 update: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 data /\ live h0 k /\ live h0 v /\ disjoint k v /\ disjoint k data /\ disjoint v data /\ hash_...
[]
Hacl.HMAC_DRBG.update
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hmac: Hacl.HMAC.compute_st a -> len: Lib.IntTypes.size_t -> data: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (Hacl.HMAC_DRBG.hash_len a) -> v: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (Hacl.HMAC_DRBG.hash_len a) -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 41, "end_line": 88, "start_col": 2, "start_line": 86 }
Prims.Tot
val mk_reseed: #a:supported_alg -> hmac:HMAC.compute_st a -> reseed_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let mk_reseed #a hmac st entropy_input_len entropy_input additional_input_len additional_input = let h0 = ST.get () in push_frame(); let seed_material = create (entropy_input_len +! additional_input_len) (u8 0) in copy (sub seed_material 0ul entropy_input_len) entropy_input; copy (sub seed_material entrop...
val mk_reseed: #a:supported_alg -> hmac:HMAC.compute_st a -> reseed_st a let mk_reseed #a hmac st entropy_input_len entropy_input additional_input_len additional_input =
false
null
false
let h0 = ST.get () in push_frame (); let seed_material = create (entropy_input_len +! additional_input_len) (u8 0) in copy (sub seed_material 0ul entropy_input_len) entropy_input; copy (sub seed_material entropy_input_len additional_input_len) additional_input; let h1 = ST.get () in LSeq.eq_intro (as_seq h1 seed_materi...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC.compute_st", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "FStar.UInt32.__uint_to_t", "Prims.l_and", "Lib.Buffer.disjoint", "Lib.Buffer.MUT", "FStar.HyperStack.ST.pop_frame", "...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 mk_reseed: #a:supported_alg -> hmac:HMAC.compute_st a -> reseed_st a
[]
Hacl.HMAC_DRBG.mk_reseed
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hmac: Hacl.HMAC.compute_st a -> Hacl.HMAC_DRBG.reseed_st a
{ "end_col": 13, "end_line": 235, "start_col": 1, "start_line": 223 }
FStar.HyperStack.ST.Stack
val update_round: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> n:uint8 -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 k /\ live h0 v /\ live h0 data /\ disjoint k v /\ // HMAC input length mus...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "LowSt...
false
let update_round #a hmac len data n k v = let h0 = ST.get() in push_frame(); let input_len = hash_len a +! 1ul +! len in let input = create input_len (u8 0) in let k' = sub input 0ul (hash_len a) in copy k' v; if len <> 0ul then copy (sub input (hash_len a +! 1ul) len) data; input.(hash_len a) <- n; l...
val update_round: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> n:uint8 -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 k /\ live h0 v /\ live h0 data /\ disjoint k v /\ // HMAC input length mus...
true
null
false
let h0 = ST.get () in push_frame (); let input_len = hash_len a +! 1ul +! len in let input = create input_len (u8 0) in let k' = sub input 0ul (hash_len a) in copy k' v; if len <> 0ul then copy (sub input (hash_len a +! 1ul) len) data; input.(hash_len a) <- n; let h1 = ST.get () in assert (Seq.equal (as_seq h1 input) (...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC.compute_st", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Lib.Buffer.copy", "Lib.Buffer.MUT", "Spec.HMAC_DRBG.hmac_input_bound", "Prims._assert", "FStar...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 update_round: #a:supported_alg -> hmac:HMAC.compute_st a -> len:size_t -> data:lbuffer uint8 len -> n:uint8 -> k:lbuffer uint8 (hash_len a) -> v:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h0 -> live h0 k /\ live h0 v /\ live h0 data /\ disjoint k v /\ // HMAC input length mus...
[]
Hacl.HMAC_DRBG.update_round
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hmac: Hacl.HMAC.compute_st a -> len: Lib.IntTypes.size_t -> data: Lib.Buffer.lbuffer Lib.IntTypes.uint8 len -> n: Lib.IntTypes.uint8 -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (Hacl.HMAC_DRBG.hash_len a) -> v: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (Hacl.HMAC_DRBG.hash_len a) -> FStar.HyperSt...
{ "end_col": 13, "end_line": 63, "start_col": 41, "start_line": 47 }
Prims.Tot
val mk_generate: #a:supported_alg -> HMAC.compute_st a -> generate_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let mk_generate #a hmac output st n additional_input_len additional_input = if st.reseed_counter.(0ul) >. reseed_interval then false else begin S.hmac_input_bound a; Math.Lemmas.lemma_div_mod (v n) (hash_length a); let State k v ctr = st in if additional_input_len >. 0ul then update hm...
val mk_generate: #a:supported_alg -> HMAC.compute_st a -> generate_st a let mk_generate #a hmac output st n additional_input_len additional_input =
false
null
false
if st.reseed_counter.(0ul) >. reseed_interval then false else (S.hmac_input_bound a; Math.Lemmas.lemma_div_mod (v n) (hash_length a); let State k v ctr = st in if additional_input_len >. 0ul then update hmac additional_input_len additional_input k v; let output:lbuffer uint8 n = output in let max ...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC.compute_st", "Lib.Buffer.buffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Prims.bool", "Hacl.HMAC_DRBG.hash_len", "FStar.UInt32.__uint_to_t", "Prims.l_and", "Lib.Buffer.disjoint", "Lib.Buffer.MUT",...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 mk_generate: #a:supported_alg -> HMAC.compute_st a -> generate_st a
[]
Hacl.HMAC_DRBG.mk_generate
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hmac: Hacl.HMAC.compute_st a -> Hacl.HMAC_DRBG.generate_st a
{ "end_col": 7, "end_line": 302, "start_col": 2, "start_line": 262 }
Prims.Tot
val mk_instantiate: #a:supported_alg -> hmac:HMAC.compute_st a -> instantiate_st a
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.HMAC", "short_module": "HMAC" }, { "abbrev": true, "full_module": "...
false
let mk_instantiate #a hmac st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_string = let h0 = ST.get () in push_frame(); let seed_material = create (entropy_input_len +! nonce_len +! personalization_string_len) (u8 0) in copy (sub seed_material 0ul entropy_inpu...
val mk_instantiate: #a:supported_alg -> hmac:HMAC.compute_st a -> instantiate_st a let mk_instantiate #a hmac st entropy_input_len entropy_input nonce_len nonce personalization_string_len personalization_string =
false
null
false
let h0 = ST.get () in push_frame (); let seed_material = create (entropy_input_len +! nonce_len +! personalization_string_len) (u8 0) in copy (sub seed_material 0ul entropy_input_len) entropy_input; copy (sub seed_material entropy_input_len nonce_len) nonce; copy (sub seed_material (entropy_input_len +! nonce_len) pers...
{ "checked_file": "Hacl.HMAC_DRBG.fst.checked", "dependencies": [ "Spec.HMAC_DRBG.fst.checked", "Spec.HMAC_DRBG.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntT...
[ "total" ]
[ "Hacl.HMAC_DRBG.supported_alg", "Hacl.HMAC.compute_st", "Hacl.HMAC_DRBG.state", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.HMAC_DRBG.hash_len", "FStar.UInt32.__uint_to_t", "Prims.l_and", "Lib.Buffer.disjoint", "Lib.Buffer.MUT", "FStar.HyperStack.ST.pop_frame", "...
[]
module Hacl.HMAC_DRBG open FStar.HyperStack.ST module ST = FStar.HyperStack.ST open Spec.Hash.Definitions open Lib.IntTypes open Lib.Buffer module HS = FStar.HyperStack module B = LowStar.Buffer module LSeq = Lib.Sequence module HMAC = Hacl.HMAC module S = Spec.HMAC_DRBG friend Spec.HMAC_DRBG unfold let hash_len...
false
false
Hacl.HMAC_DRBG.fst
{ "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 mk_instantiate: #a:supported_alg -> hmac:HMAC.compute_st a -> instantiate_st a
[]
Hacl.HMAC_DRBG.mk_instantiate
{ "file_name": "code/drbg/Hacl.HMAC_DRBG.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
hmac: Hacl.HMAC.compute_st a -> Hacl.HMAC_DRBG.instantiate_st a
{ "end_col": 13, "end_line": 188, "start_col": 1, "start_line": 169 }
Prims.Tot
val int_of_char (c: char) : nat
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives"...
false
let int_of_char (c: char) : nat = U32.v (u32_of_char c)
val int_of_char (c: char) : nat let int_of_char (c: char) : nat =
false
null
false
U32.v (u32_of_char c)
{ "checked_file": "FStar.Char.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Char.fsti" }
[ "total" ]
[ "FStar.Char.char", "FStar.UInt32.v", "FStar.Char.u32_of_char", "Prims.nat" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Char.fsti
{ "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 int_of_char (c: char) : nat
[]
FStar.Char.int_of_char
{ "file_name": "ulib/FStar.Char.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
c: FStar.Char.char -> Prims.nat
{ "end_col": 55, "end_line": 56, "start_col": 34, "start_line": 56 }
Prims.Tot
val char_of_int (i: nat{i < 0xd7ff \/ (i >= 0xe000 /\ i <= 0x10ffff)}) : char
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives"...
false
let char_of_int (i: nat{i < 0xd7ff \/ (i >= 0xe000 /\ i <= 0x10ffff)}) : char = char_of_u32 (U32.uint_to_t i)
val char_of_int (i: nat{i < 0xd7ff \/ (i >= 0xe000 /\ i <= 0x10ffff)}) : char let char_of_int (i: nat{i < 0xd7ff \/ (i >= 0xe000 /\ i <= 0x10ffff)}) : char =
false
null
false
char_of_u32 (U32.uint_to_t i)
{ "checked_file": "FStar.Char.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Char.fsti" }
[ "total" ]
[ "Prims.nat", "Prims.l_or", "Prims.b2t", "Prims.op_LessThan", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "FStar.Char.char_of_u32", "FStar.UInt32.uint_to_t", "FStar.Char.char" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Char.fsti
{ "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 char_of_int (i: nat{i < 0xd7ff \/ (i >= 0xe000 /\ i <= 0x10ffff)}) : char
[]
FStar.Char.char_of_int
{ "file_name": "ulib/FStar.Char.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
i: Prims.nat{i < 0xd7ff \/ i >= 0xe000 /\ i <= 0x10ffff} -> FStar.Char.char
{ "end_col": 109, "end_line": 57, "start_col": 80, "start_line": 57 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let all_wp (a : Type) = all_wp_h heap a
let all_wp (a: Type) =
false
null
false
all_wp_h heap a
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_wp_h", "FStar.Monotonic.Heap.heap" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
true
FStar.All.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 all_wp : a: Type -> Type
[]
FStar.All.all_wp
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type
{ "end_col": 39, "end_line": 24, "start_col": 24, "start_line": 24 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let lift_state_all (a : Type) (wp : st_wp a) (p : all_post a) = wp (fun a -> p (V a))
let lift_state_all (a: Type) (wp: st_wp a) (p: all_post a) =
false
null
false
wp (fun a -> p (V a))
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.ST.st_wp", "FStar.All.all_post", "FStar.Pervasives.V", "FStar.Monotonic.Heap.heap", "Prims.l_True", "FStar.Pervasives.st_pre_h" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 lift_state_all : a: Type -> wp: FStar.ST.st_wp a -> p: FStar.All.all_post a -> FStar.Pervasives.st_pre_h FStar.Monotonic.Heap.heap
[]
FStar.All.lift_state_all
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> wp: FStar.ST.st_wp a -> p: FStar.All.all_post a -> FStar.Pervasives.st_pre_h FStar.Monotonic.Heap.heap
{ "end_col": 92, "end_line": 27, "start_col": 71, "start_line": 27 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let all_post (a : Type) = all_post_h heap a
let all_post (a: Type) =
false
null
false
all_post_h heap a
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_post_h", "FStar.Monotonic.Heap.heap" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
true
FStar.All.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 all_post : a: Type -> Type
[]
FStar.All.all_post
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type
{ "end_col": 43, "end_line": 23, "start_col": 26, "start_line": 23 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let all_pre = all_pre_h heap
let all_pre =
false
null
false
all_pre_h heap
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_pre_h", "FStar.Monotonic.Heap.heap" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
true
FStar.All.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 all_pre : Type
[]
FStar.All.all_pre
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Type
{ "end_col": 28, "end_line": 21, "start_col": 14, "start_line": 21 }
FStar.All.ML
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let pipe_right = ( |> )
let pipe_right =
false
null
false
( |> )
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "ml" ]
[ "FStar.All.op_Bar_Greater" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 pipe_right : x: _ -> f: (_: _ -> FStar.All.ML _) -> FStar.All.ML _
[]
FStar.All.pipe_right
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: _ -> f: (_: _ -> FStar.All.ML _) -> FStar.All.ML _
{ "end_col": 21, "end_line": 40, "start_col": 19, "start_line": 40 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let lift_exn_all (a : Type) (wp : ex_wp a) (p : all_post a) (h : heap) = wp (fun ra -> p ra h)
let lift_exn_all (a: Type) (wp: ex_wp a) (p: all_post a) (h: heap) =
false
null
false
wp (fun ra -> p ra h)
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.Pervasives.ex_wp", "FStar.All.all_post", "FStar.Monotonic.Heap.heap", "FStar.Pervasives.result", "Prims.l_True", "FStar.Pervasives.ex_pre" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 lift_exn_all : a: Type -> wp: FStar.Pervasives.ex_wp a -> p: FStar.All.all_post a -> h: FStar.Monotonic.Heap.heap -> FStar.Pervasives.ex_pre
[]
FStar.All.lift_exn_all
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> wp: FStar.Pervasives.ex_wp a -> p: FStar.All.all_post a -> h: FStar.Monotonic.Heap.heap -> FStar.Pervasives.ex_pre
{ "end_col": 94, "end_line": 31, "start_col": 73, "start_line": 31 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let all_post' (a : Type) (pre:Type) = all_post_h' heap a pre
let all_post' (a pre: Type) =
false
null
false
all_post_h' heap a pre
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_post_h'", "FStar.Monotonic.Heap.heap" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
true
FStar.All.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 all_post' : a: Type -> pre: Type -> Type
[]
FStar.All.all_post'
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> pre: Type -> Type
{ "end_col": 60, "end_line": 22, "start_col": 38, "start_line": 22 }
FStar.All.ML
val op_Less_Bar (f: ('a -> ML 'b)) (x: 'a) : ML 'b
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let ( <| ) (f : ('a -> ML 'b)) (x : 'a) : ML 'b = f x
val op_Less_Bar (f: ('a -> ML 'b)) (x: 'a) : ML 'b let op_Less_Bar (f: ('a -> ML 'b)) (x: 'a) : ML 'b =
false
null
false
f x
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "ml" ]
[]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 op_Less_Bar (f: ('a -> ML 'b)) (x: 'a) : ML 'b
[]
FStar.All.op_Less_Bar
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
f: (_: 'a -> FStar.All.ML 'b) -> x: 'a -> FStar.All.ML 'b
{ "end_col": 53, "end_line": 42, "start_col": 50, "start_line": 42 }
FStar.All.ML
val op_Bar_Greater (x: 'a) (f: ('a -> ML 'b)) : ML 'b
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let ( |> ) (x : 'a) (f : ('a -> ML 'b)) : ML 'b = f x
val op_Bar_Greater (x: 'a) (f: ('a -> ML 'b)) : ML 'b let op_Bar_Greater (x: 'a) (f: ('a -> ML 'b)) : ML 'b =
false
null
false
f x
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "ml" ]
[]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 op_Bar_Greater (x: 'a) (f: ('a -> ML 'b)) : ML 'b
[]
FStar.All.op_Bar_Greater
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: 'a -> f: (_: 'a -> FStar.All.ML 'b) -> FStar.All.ML 'b
{ "end_col": 53, "end_line": 39, "start_col": 50, "start_line": 39 }
FStar.All.ML
[ { "abbrev": false, "full_module": "FStar.Exn", "short_module": null }, { "abbrev": false, "full_module": "FStar.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let pipe_left = ( <| )
let pipe_left =
false
null
false
( <| )
{ "checked_file": "FStar.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.ST.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.Exn.fst.checked" ], "interface_file": false, "source_file": "FStar.All.fst" }
[ "ml" ]
[ "FStar.All.op_Less_Bar" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.All.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 pipe_left : f: (_: _ -> FStar.All.ML _) -> x: _ -> FStar.All.ML _
[]
FStar.All.pipe_left
{ "file_name": "ulib/FStar.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
f: (_: _ -> FStar.All.ML _) -> x: _ -> FStar.All.ML _
{ "end_col": 20, "end_line": 43, "start_col": 18, "start_line": 43 }
FStar.Pervasives.Lemma
val lemma_load_buffer_read128 (h:vale_heap) (b:buffer128) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem128 (buffer_addr b h + 16 * i) h) [SMTPat (buffer_read b i h)]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_load_buffer_read128 h b i = lemma_load_mem128 b i h
val lemma_load_buffer_read128 (h:vale_heap) (b:buffer128) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem128 (buffer_addr b h + 16 * i) h) [SMTPat (buffer_read b i h)] let lemma_load_buffer_read128 h b i =
false
null
true
lemma_load_mem128 b i h
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_heap", "Vale.PPC64LE.Memory.buffer128", "Prims.int", "Vale.PPC64LE.Memory.lemma_load_mem128", "Prims.unit" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = () let lemma_valid_m...
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_load_buffer_read128 (h:vale_heap) (b:buffer128) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem128 (buffer_addr b h + 16 * i) h) [SMTPat (buffer_read b i h)]
[]
Vale.PPC64LE.StateLemmas.lemma_load_buffer_read128
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_heap -> b: Vale.PPC64LE.Memory.buffer128 -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_buffer_read h b i) (ensures Vale.PPC64LE.Memory.buffer_read b i h == Vale.PPC64LE.Memory.load_mem128 (Vale.PPC64LE.Memory.buffer_addr b h + 16 * i) h...
{ "end_col": 25, "end_line": 37, "start_col": 2, "start_line": 37 }
FStar.Pervasives.Lemma
val lemma_load_buffer_read64 (h:vale_heap) (b:buffer64) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem64 (buffer_addr b h + 8 * i) h) [SMTPat (buffer_read b i h)]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_load_buffer_read64 h b i = lemma_load_mem64 b i h
val lemma_load_buffer_read64 (h:vale_heap) (b:buffer64) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem64 (buffer_addr b h + 8 * i) h) [SMTPat (buffer_read b i h)] let lemma_load_buffer_read64 h b i =
false
null
true
lemma_load_mem64 b i h
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_heap", "Vale.PPC64LE.Memory.buffer64", "Prims.int", "Vale.PPC64LE.Memory.lemma_load_mem64", "Prims.unit" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = () let lemma_valid_m...
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_load_buffer_read64 (h:vale_heap) (b:buffer64) (i:int) : Lemma (requires valid_buffer_read h b i) (ensures buffer_read b i h == load_mem64 (buffer_addr b h + 8 * i) h) [SMTPat (buffer_read b i h)]
[]
Vale.PPC64LE.StateLemmas.lemma_load_buffer_read64
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_heap -> b: Vale.PPC64LE.Memory.buffer64 -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_buffer_read h b i) (ensures Vale.PPC64LE.Memory.buffer_read b i h == Vale.PPC64LE.Memory.load_mem64 (Vale.PPC64LE.Memory.buffer_addr b h + 8 * i) h) ...
{ "end_col": 24, "end_line": 34, "start_col": 2, "start_line": 34 }
FStar.Pervasives.Lemma
val lemma_valid_mem_addr128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures S.valid_addr128 ptr (heap_get (coerce h))) [SMTPat (valid_mem128 ptr (get_vale_heap h))]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_valid_mem_addr128 h ptr = bytes_valid128 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
val lemma_valid_mem_addr128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures S.valid_addr128 ptr (heap_get (coerce h))) [SMTPat (valid_mem128 ptr (get_vale_heap h))] let lemma_valid_mem_addr128 h ptr =
false
null
true
bytes_valid128 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_full_heap", "Prims.int", "Prims.unit", "Vale.PPC64LE.Memory_Sems.lemma_heap_get_heap", "Vale.PPC64LE.Memory_Sems.bytes_valid128", "Vale.PPC64LE.Memory.get_vale_heap" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = () let lemma_valid_m...
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_valid_mem_addr128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures S.valid_addr128 ptr (heap_get (coerce h))) [SMTPat (valid_mem128 ptr (get_vale_heap h))]
[]
Vale.PPC64LE.StateLemmas.lemma_valid_mem_addr128
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_full_heap -> ptr: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_mem128 ptr (Vale.PPC64LE.Memory.get_vale_heap h)) (ensures Vale.Arch.MachineHeap_s.valid_addr128 ptr (Vale.Arch.Heap.heap_get (Vale.PPC64LE.Memory_Sems.coerce h))) ...
{ "end_col": 4, "end_line": 21, "start_col": 2, "start_line": 19 }
FStar.Pervasives.Lemma
val lemma_valid_mem_addr64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures S.valid_addr64 ptr (heap_get (coerce h))) [SMTPat (valid_mem64 ptr (get_vale_heap h))]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_valid_mem_addr64 h ptr = bytes_valid64 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
val lemma_valid_mem_addr64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures S.valid_addr64 ptr (heap_get (coerce h))) [SMTPat (valid_mem64 ptr (get_vale_heap h))] let lemma_valid_mem_addr64 h ptr =
false
null
true
bytes_valid64 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_full_heap", "Prims.int", "Prims.unit", "Vale.PPC64LE.Memory_Sems.lemma_heap_get_heap", "Vale.PPC64LE.Memory_Sems.bytes_valid64", "Vale.PPC64LE.Memory.get_vale_heap" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = ()
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_valid_mem_addr64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures S.valid_addr64 ptr (heap_get (coerce h))) [SMTPat (valid_mem64 ptr (get_vale_heap h))]
[]
Vale.PPC64LE.StateLemmas.lemma_valid_mem_addr64
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_full_heap -> ptr: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_mem64 ptr (Vale.PPC64LE.Memory.get_vale_heap h)) (ensures Vale.Arch.MachineHeap_s.valid_addr64 ptr (Vale.Arch.Heap.heap_get (Vale.PPC64LE.Memory_Sems.coerce h))) [S...
{ "end_col": 4, "end_line": 16, "start_col": 2, "start_line": 14 }
FStar.Pervasives.Lemma
val lemma_load_mem_get64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures load_mem64 ptr (get_vale_heap h) == S.get_heap_val64 ptr (heap_get (coerce h))) [SMTPat (load_mem64 ptr (get_vale_heap h))]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_load_mem_get64 h ptr = equiv_load_mem64 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
val lemma_load_mem_get64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures load_mem64 ptr (get_vale_heap h) == S.get_heap_val64 ptr (heap_get (coerce h))) [SMTPat (load_mem64 ptr (get_vale_heap h))] let lemma_load_mem_get64 h ptr =
false
null
true
equiv_load_mem64 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_full_heap", "Prims.int", "Prims.unit", "Vale.PPC64LE.Memory_Sems.lemma_heap_get_heap", "Vale.PPC64LE.Memory_Sems.equiv_load_mem64", "Vale.PPC64LE.Memory.get_vale_heap" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = () let lemma_valid_m...
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_load_mem_get64 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem64 ptr (get_vale_heap h)) (ensures load_mem64 ptr (get_vale_heap h) == S.get_heap_val64 ptr (heap_get (coerce h))) [SMTPat (load_mem64 ptr (get_vale_heap h))]
[]
Vale.PPC64LE.StateLemmas.lemma_load_mem_get64
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_full_heap -> ptr: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_mem64 ptr (Vale.PPC64LE.Memory.get_vale_heap h)) (ensures Vale.PPC64LE.Memory.load_mem64 ptr (Vale.PPC64LE.Memory.get_vale_heap h) == Vale.Arch.MachineHeap_s.get_heap_val64...
{ "end_col": 4, "end_line": 26, "start_col": 2, "start_line": 24 }
FStar.Pervasives.Lemma
val lemma_load_mem_get128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures load_mem128 ptr (get_vale_heap h) == S.get_heap_val128 ptr (heap_get (coerce h))) [SMTPat (load_mem128 ptr (get_vale_heap h))]
[ { "abbrev": false, "full_module": "Vale.PPC64LE.Memory_Sems", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false,...
false
let lemma_load_mem_get128 h ptr = equiv_load_mem128 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
val lemma_load_mem_get128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures load_mem128 ptr (get_vale_heap h) == S.get_heap_val128 ptr (heap_get (coerce h))) [SMTPat (load_mem128 ptr (get_vale_heap h))] let lemma_load_mem_get128 h ptr =
false
null
true
equiv_load_mem128 ptr (get_vale_heap h); lemma_heap_get_heap h; ()
{ "checked_file": "Vale.PPC64LE.StateLemmas.fst.checked", "dependencies": [ "Vale.PPC64LE.Memory_Sems.fsti.checked", "Vale.PPC64LE.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Vale.PPC64LE.StateLemmas.fst" }
[ "lemma" ]
[ "Vale.PPC64LE.Memory.vale_full_heap", "Prims.int", "Prims.unit", "Vale.PPC64LE.Memory_Sems.lemma_heap_get_heap", "Vale.PPC64LE.Memory_Sems.equiv_load_mem128", "Vale.PPC64LE.Memory.get_vale_heap" ]
[]
module Vale.PPC64LE.StateLemmas open Vale.PPC64LE.Memory_Sems open Vale.PPC64LE.Memory #reset-options "--initial_fuel 2 --max_fuel 2" let lemma_to_eval_reg s r = () let lemma_to_eval_vec s v = () let lemma_to_eval_maddr s m = () let lemma_to_eval_cmp_opr s o = () let lemma_to_valid_maddr64 s m = () let lemma_valid_m...
false
false
Vale.PPC64LE.StateLemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "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 lemma_load_mem_get128 (h:vale_full_heap) (ptr:int) : Lemma (requires valid_mem128 ptr (get_vale_heap h)) (ensures load_mem128 ptr (get_vale_heap h) == S.get_heap_val128 ptr (heap_get (coerce h))) [SMTPat (load_mem128 ptr (get_vale_heap h))]
[]
Vale.PPC64LE.StateLemmas.lemma_load_mem_get128
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.StateLemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.PPC64LE.Memory.vale_full_heap -> ptr: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Memory.valid_mem128 ptr (Vale.PPC64LE.Memory.get_vale_heap h)) (ensures Vale.PPC64LE.Memory.load_mem128 ptr (Vale.PPC64LE.Memory.get_vale_heap h) == Vale.Arch.MachineHeap_s.get_heap_val...
{ "end_col": 4, "end_line": 31, "start_col": 2, "start_line": 29 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "Vale.X64.Stack_Sems", "short_module": "VSS" }, { "abbrev": true, "full_module": "Vale.X64.Stack_i", "short_module": "VST" }, { "abbrev": tru...
false
let machine_state_eq (s1 s2:machine_state) = s1 == s2
let machine_state_eq (s1 s2: machine_state) =
false
null
false
s1 == s2
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.StateLemmas.machine_state", "Prims.eq2", "Prims.logical" ]
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
true
Vale.X64.StateLemmas.fsti
{ "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 machine_state_eq : s1: Vale.X64.StateLemmas.machine_state -> s2: Vale.X64.StateLemmas.machine_state -> Prims.logical
[]
Vale.X64.StateLemmas.machine_state_eq
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s1: Vale.X64.StateLemmas.machine_state -> s2: Vale.X64.StateLemmas.machine_state -> Prims.logical
{ "end_col": 10, "end_line": 24, "start_col": 2, "start_line": 24 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Prop_s", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "ful...
false
let machine_state = Ms.machine_state
let machine_state =
false
null
false
Ms.machine_state
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.machine_state" ]
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
true
Vale.X64.StateLemmas.fsti
{ "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 machine_state : Type
[]
Vale.X64.StateLemmas.machine_state
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type
{ "end_col": 43, "end_line": 17, "start_col": 27, "start_line": 17 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Prop_s", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "ful...
false
let machine_eval_code = Ms.machine_eval_code
let machine_eval_code =
false
null
false
Ms.machine_eval_code
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total", "" ]
[ "Vale.X64.Machine_Semantics_s.machine_eval_code" ]
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
true
Vale.X64.StateLemmas.fsti
{ "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 machine_eval_code : c: Vale.X64.Machine_Semantics_s.code -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state)
[]
Vale.X64.StateLemmas.machine_eval_code
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
c: Vale.X64.Machine_Semantics_s.code -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state)
{ "end_col": 51, "end_line": 19, "start_col": 31, "start_line": 19 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Prop_s", "short_module": null }, { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "ful...
false
let code = Ms.code
let code =
false
null
false
Ms.code
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.code" ]
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
true
Vale.X64.StateLemmas.fsti
{ "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 code : Type0
[]
Vale.X64.StateLemmas.code
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 25, "end_line": 18, "start_col": 18, "start_line": 18 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "Vale.X64.Stack_Sems", "short_module": "VSS" }, { "abbrev": true, "full_module": "Vale.X64.Stack_i", "short_module": "VST" }, { "abbrev": tru...
false
let machine_state_equal (s1 s2:machine_state) = let open Vale.X64.Machine_Semantics_s in s1.ms_ok == s2.ms_ok /\ F.feq s1.ms_regs s2.ms_regs /\ F.feq s1.ms_flags s2.ms_flags /\ s1.ms_heap == s2.ms_heap /\ s1.ms_stack == s2.ms_stack /\ s1.ms_stackTaint == s2.ms_stackTaint /\ s1.ms_trace == s2.ms_trace /\...
let machine_state_equal (s1 s2: machine_state) =
false
null
false
let open Vale.X64.Machine_Semantics_s in s1.ms_ok == s2.ms_ok /\ F.feq s1.ms_regs s2.ms_regs /\ F.feq s1.ms_flags s2.ms_flags /\ s1.ms_heap == s2.ms_heap /\ s1.ms_stack == s2.ms_stack /\ s1.ms_stackTaint == s2.ms_stackTaint /\ s1.ms_trace == s2.ms_trace /\ True
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total" ]
[ "Vale.X64.StateLemmas.machine_state", "Prims.l_and", "Prims.eq2", "Prims.bool", "Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok", "FStar.FunctionalExtensionality.feq", "Vale.X64.Machine_s.reg", "Vale.X64.Machine_s.t_reg", "Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item...
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
true
Vale.X64.StateLemmas.fsti
{ "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 machine_state_equal : s1: Vale.X64.StateLemmas.machine_state -> s2: Vale.X64.StateLemmas.machine_state -> Prims.logical
[]
Vale.X64.StateLemmas.machine_state_equal
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s1: Vale.X64.StateLemmas.machine_state -> s2: Vale.X64.StateLemmas.machine_state -> Prims.logical
{ "end_col": 6, "end_line": 35, "start_col": 2, "start_line": 27 }
Prims.GTot
val state_to_S (s: vale_state) : GTot machine_state
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "Vale.X64.Stack_Sems", "short_module": "VSS" }, { "abbrev": true, "full_module": "Vale.X64.Stack_i", "short_module": "VST" }, { "abbrev": tru...
false
let state_to_S (s:vale_state) : GTot machine_state = let open Ms in { ms_ok = s.vs_ok; ms_regs = Regs.to_fun s.vs_regs; ms_flags = Flags.to_fun s.vs_flags; ms_heap = coerce s.vs_heap; ms_stack = VSS.stack_to_s s.vs_stack; ms_stackTaint = s.vs_stackTaint; ms_trace = []; }
val state_to_S (s: vale_state) : GTot machine_state let state_to_S (s: vale_state) : GTot machine_state =
false
null
false
let open Ms in { ms_ok = s.vs_ok; ms_regs = Regs.to_fun s.vs_regs; ms_flags = Flags.to_fun s.vs_flags; ms_heap = coerce s.vs_heap; ms_stack = VSS.stack_to_s s.vs_stack; ms_stackTaint = s.vs_stackTaint; ms_trace = [] }
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "sometrivial" ]
[ "Vale.X64.State.vale_state", "Vale.X64.Machine_Semantics_s.Mkmachine_state", "Vale.X64.State.__proj__Mkvale_state__item__vs_ok", "Vale.X64.Regs.to_fun", "Vale.X64.State.__proj__Mkvale_state__item__vs_regs", "Vale.X64.Flags.to_fun", "Vale.X64.State.__proj__Mkvale_state__item__vs_flags", "Vale.X64.State...
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
false
Vale.X64.StateLemmas.fsti
{ "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 state_to_S (s: vale_state) : GTot machine_state
[]
Vale.X64.StateLemmas.state_to_S
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Vale.X64.State.vale_state -> Prims.GTot Vale.X64.StateLemmas.machine_state
{ "end_col": 3, "end_line": 52, "start_col": 2, "start_line": 43 }
Prims.GTot
val state_of_S (s: machine_state) : GTot vale_state
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "Vale.X64.Stack_Sems", "short_module": "VSS" }, { "abbrev": true, "full_module": "Vale.X64.Stack_i", "short_module": "VST" }, { "abbrev": tru...
false
let state_of_S (s:machine_state) : GTot vale_state = let open Ms in { vs_ok = s.ms_ok; vs_regs = Regs.of_fun s.ms_regs; vs_flags = Flags.of_fun s.ms_flags; vs_heap = coerce s.ms_heap; vs_stack = VSS.stack_from_s s.ms_stack; vs_stackTaint = s.ms_stackTaint; }
val state_of_S (s: machine_state) : GTot vale_state let state_of_S (s: machine_state) : GTot vale_state =
false
null
false
let open Ms in { vs_ok = s.ms_ok; vs_regs = Regs.of_fun s.ms_regs; vs_flags = Flags.of_fun s.ms_flags; vs_heap = coerce s.ms_heap; vs_stack = VSS.stack_from_s s.ms_stack; vs_stackTaint = s.ms_stackTaint }
{ "checked_file": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "sometrivial" ]
[ "Vale.X64.StateLemmas.machine_state", "Vale.X64.State.Mkvale_state", "Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok", "Vale.X64.Regs.of_fun", "Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_regs", "Vale.X64.Flags.of_fun", "Vale.X64.Machine_Semantics_s.__proj__Mkmachin...
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
false
Vale.X64.StateLemmas.fsti
{ "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 state_of_S (s: machine_state) : GTot vale_state
[]
Vale.X64.StateLemmas.state_of_S
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Vale.X64.StateLemmas.machine_state -> Prims.GTot Vale.X64.State.vale_state
{ "end_col": 3, "end_line": 63, "start_col": 2, "start_line": 55 }
Prims.Tot
val coerce (#b #a: Type) (x: a{a == b}) : b
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "F" }, { "abbrev": true, "full_module": "Vale.X64.Stack_Sems", "short_module": "VSS" }, { "abbrev": true, "full_module": "Vale.X64.Stack_i", "short_module": "VST" }, { "abbrev": tru...
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": "Vale.X64.StateLemmas.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_Sems.fsti.checked", "Vale.X64.Regs.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X6...
[ "total" ]
[ "Prims.eq2" ]
[]
module Vale.X64.StateLemmas open Vale.X64.Machine_s open Vale.Arch.Heap open Vale.X64.State open FStar.FunctionalExtensionality module Ms = Vale.X64.Machine_Semantics_s //open Vale.X64.Machine_Semantics_s //module ME = Vale.X64.Memory open Vale.X64.Memory open Vale.Arch.MachineHeap_s //module MS = Vale.X64.Memory_Sems ...
false
false
Vale.X64.StateLemmas.fsti
{ "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 coerce (#b #a: Type) (x: a{a == b}) : b
[]
Vale.X64.StateLemmas.coerce
{ "file_name": "vale/code/arch/x64/Vale.X64.StateLemmas.fsti", "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": 21, "start_col": 51, "start_line": 21 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.Transformers.PeepHole", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsLemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.InstructionReorder", "short_module": null }, { ...
false
let mov_mov_elim_ph = { ph = (fun is -> if safe_mov_mov_elim is then ( let [i1; i2] = is in Some [i2] ) else None); input_hint = 2; }
let mov_mov_elim_ph =
false
null
false
{ ph = (fun is -> if safe_mov_mov_elim is then (let [i1 ; i2] = is in Some [i2]) else None); input_hint = 2 }
{ "checked_file": "Vale.Transformers.MovMovElim.fst.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.InsLemmas.fst...
[ "total" ]
[ "Vale.Transformers.PeepHole.Mkpre_peephole", "Prims.list", "Vale.X64.Machine_Semantics_s.ins", "Vale.Transformers.MovMovElim.safe_mov_mov_elim", "FStar.Pervasives.Native.Some", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.option", "Prims.bool", "FStar.Pervasives.Native.None" ]
[]
module Vale.Transformers.MovMovElim open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad open Vale.Transformers.InstructionReorder open Vale.X64.InsLemmas open Vale.Transformers.P...
false
true
Vale.Transformers.MovMovElim.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 mov_mov_elim_ph : Vale.Transformers.PeepHole.pre_peephole
[]
Vale.Transformers.MovMovElim.mov_mov_elim_ph
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.MovMovElim.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Vale.Transformers.PeepHole.pre_peephole
{ "end_col": 17, "end_line": 53, "start_col": 2, "start_line": 48 }
FStar.Pervasives.Lemma
val mov_mov_elim_correct (is: list ins) (s: machine_state) : Lemma (peephole_correct mov_mov_elim_ph is s) [SMTPat (peephole_correct mov_mov_elim_ph is s)]
[ { "abbrev": true, "full_module": "Vale.Arch.Heap", "short_module": "H" }, { "abbrev": true, "full_module": "Vale.Def.Types_s", "short_module": "T" }, { "abbrev": false, "full_module": "Vale.Transformers.PeepHole", "short_module": null }, { "abbrev": false, "fu...
false
let mov_mov_elim_correct (is:list ins) (s:machine_state) : Lemma (peephole_correct mov_mov_elim_ph is s) [SMTPat (peephole_correct mov_mov_elim_ph is s)] = if safe_mov_mov_elim is then ( let [i1; i2] = is in lemma_mov_mov_is_mov i1 i2 s ) else ()
val mov_mov_elim_correct (is: list ins) (s: machine_state) : Lemma (peephole_correct mov_mov_elim_ph is s) [SMTPat (peephole_correct mov_mov_elim_ph is s)] let mov_mov_elim_correct (is: list ins) (s: machine_state) : Lemma (peephole_correct mov_mov_elim_ph is s) [SMTPat (peephole_correct mov_mov_elim_ph is s)] ...
false
null
true
if safe_mov_mov_elim is then (let [i1 ; i2] = is in lemma_mov_mov_is_mov i1 i2 s)
{ "checked_file": "Vale.Transformers.MovMovElim.fst.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.InsLemmas.fst...
[ "lemma" ]
[ "Prims.list", "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.Transformers.MovMovElim.safe_mov_mov_elim", "Vale.Transformers.MovMovElim.lemma_mov_mov_is_mov", "Prims.unit", "Prims.bool", "Prims.l_True", "Prims.squash", "Vale.Transformers.PeepHole.peephole_co...
[]
module Vale.Transformers.MovMovElim open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad open Vale.Transformers.InstructionReorder open Vale.X64.InsLemmas open Vale.Transformers.P...
false
false
Vale.Transformers.MovMovElim.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 3, "initial_ifuel": 0, "max_fuel": 3, "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 mov_mov_elim_correct (is: list ins) (s: machine_state) : Lemma (peephole_correct mov_mov_elim_ph is s) [SMTPat (peephole_correct mov_mov_elim_ph is s)]
[]
Vale.Transformers.MovMovElim.mov_mov_elim_correct
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.MovMovElim.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
is: Prims.list Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state -> FStar.Pervasives.Lemma (ensures Vale.Transformers.PeepHole.peephole_correct Vale.Transformers.MovMovElim.mov_mov_elim_ph is s) [ SMTPat (Vale.Transformers.PeepHole.peepho...
{ "end_col": 11, "end_line": 97, "start_col": 2, "start_line": 94 }
Prims.Tot
val safe_mov_mov_elim (is: list ins) : Tot bool
[ { "abbrev": false, "full_module": "Vale.Transformers.PeepHole", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsLemmas", "short_module": null }, { "abbrev": false, "full_module": "Vale.Transformers.InstructionReorder", "short_module": null }, { ...
false
let safe_mov_mov_elim (is:list ins) : Tot bool = match is with | [Instr i1 oprs1 (AnnotateMov64 ()); Instr i2 oprs2 (AnnotateMov64 ())] -> let oprs1:normal (instr_operands_t [out op64] [op64]) = coerce_to_normal #(instr_operands_t [out op64] [op64]) oprs1 in let oprs2:normal (instr_operands_t [out op6...
val safe_mov_mov_elim (is: list ins) : Tot bool let safe_mov_mov_elim (is: list ins) : Tot bool =
false
null
false
match is with | [Instr i1 oprs1 (AnnotateMov64 ()) ; Instr i2 oprs2 (AnnotateMov64 ())] -> let oprs1:normal (instr_operands_t [out op64] [op64]) = coerce_to_normal #(instr_operands_t [out op64] [op64]) oprs1 in let oprs2:normal (instr_operands_t [out op64] [op64]) = coerce_to_normal #(instr_operands_t [ou...
{ "checked_file": "Vale.Transformers.MovMovElim.fst.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.InsLemmas.fst...
[ "total" ]
[ "Prims.list", "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Instruction_s.instr_t_record", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args", "Vale.X64.Machine_s.operand64", "Prims.op_Am...
[]
module Vale.Transformers.MovMovElim open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad open Vale.Transformers.InstructionReorder open Vale.X64.InsLemmas open Vale.Transformers.P...
false
true
Vale.Transformers.MovMovElim.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 4, "max_fuel": 1, "max_ifuel": 4, "no_plugins": 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 safe_mov_mov_elim (is: list ins) : Tot bool
[]
Vale.Transformers.MovMovElim.safe_mov_mov_elim
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.MovMovElim.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
is: Prims.list Vale.X64.Machine_Semantics_s.ins -> Prims.bool
{ "end_col": 14, "end_line": 44, "start_col": 2, "start_line": 26 }
FStar.Pervasives.Lemma
val lemma_mov_mov_is_mov (i1 i2: ins) (s: machine_state) : Lemma (requires (safe_mov_mov_elim [i1; i2])) (ensures (let s1 = machine_eval_ins i2 (machine_eval_ins i1 s) in let s2 = machine_eval_ins i2 s in s1.ms_ok ==> equiv_states s1 s2))
[ { "abbrev": true, "full_module": "Vale.Arch.Heap", "short_module": "H" }, { "abbrev": true, "full_module": "Vale.Def.Types_s", "short_module": "T" }, { "abbrev": false, "full_module": "Vale.Transformers.PeepHole", "short_module": null }, { "abbrev": false, "fu...
false
let lemma_mov_mov_is_mov (i1 i2:ins) (s:machine_state) : Lemma (requires (safe_mov_mov_elim [i1; i2])) (ensures ( let s1 = machine_eval_ins i2 (machine_eval_ins i1 s) in let s2 = machine_eval_ins i2 s in s1.ms_ok ==> equiv_states s1 s2)) = let Instr ii1 oprs1 (AnnotateMov64 ()) = i1 ...
val lemma_mov_mov_is_mov (i1 i2: ins) (s: machine_state) : Lemma (requires (safe_mov_mov_elim [i1; i2])) (ensures (let s1 = machine_eval_ins i2 (machine_eval_ins i1 s) in let s2 = machine_eval_ins i2 s in s1.ms_ok ==> equiv_states s1 s2)) let lemma_mov_mov_is_mov (i1 i2: ins) (s: m...
false
null
true
let Instr ii1 oprs1 (AnnotateMov64 ()) = i1 in let Instr ii2 oprs2 (AnnotateMov64 ()) = i2 in let oprs1:normal (instr_operands_t [out op64] [op64]) = coerce_to_normal #(instr_operands_t [out op64] [op64]) oprs1 in let oprs2:normal (instr_operands_t [out op64] [op64]) = coerce_to_normal #(instr_operands_t [out op64]...
{ "checked_file": "Vale.Transformers.MovMovElim.fst.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.InsLemmas.fst...
[ "lemma" ]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X64.Instruction_s.instr_t_record", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args", "Vale.X64.Mach...
[]
module Vale.Transformers.MovMovElim open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad open Vale.Transformers.InstructionReorder open Vale.X64.InsLemmas open Vale.Transformers.P...
false
false
Vale.Transformers.MovMovElim.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 lemma_mov_mov_is_mov (i1 i2: ins) (s: machine_state) : Lemma (requires (safe_mov_mov_elim [i1; i2])) (ensures (let s1 = machine_eval_ins i2 (machine_eval_ins i1 s) in let s2 = machine_eval_ins i2 s in s1.ms_ok ==> equiv_states s1 s2))
[]
Vale.Transformers.MovMovElim.lemma_mov_mov_is_mov
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.MovMovElim.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i1: Vale.X64.Machine_Semantics_s.ins -> i2: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state -> FStar.Pervasives.Lemma (requires Vale.Transformers.MovMovElim.safe_mov_mov_elim [i1; i2]) (ensures (let s1 = Vale.X64.Machine_Semantics_s.machine_eval...
{ "end_col": 11, "end_line": 86, "start_col": 43, "start_line": 66 }
Prims.GTot
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Hacl.Spec.P256.Montgomery", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.P256", "short_module": "S" }, { "abbrev": false, "full_m...
false
let qmont_as_nat (h:mem) (a:felem) = SM.from_qmont (as_nat h a)
let qmont_as_nat (h: mem) (a: felem) =
false
null
false
SM.from_qmont (as_nat h a)
{ "checked_file": "Hacl.Impl.P256.Scalar.fsti.checked", "dependencies": [ "Spec.P256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.P256.Montgomery.fsti.checked", "Hacl.Impl.P256.Bignum.fsti.checked",...
[ "sometrivial" ]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.P256.Bignum.felem", "Hacl.Spec.P256.Montgomery.from_qmont", "Hacl.Impl.P256.Bignum.as_nat", "Spec.P256.PointOps.qelem" ]
[]
module Hacl.Impl.P256.Scalar open FStar.Mul open FStar.HyperStack.All open FStar.HyperStack module ST = FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Hacl.Impl.P256.Bignum module S = Spec.P256 module SM = Hacl.Spec.P256.Montgomery module BSeq = Lib.ByteSequence #set-options "--z3rlimit 30 --fuel 0 --i...
false
false
Hacl.Impl.P256.Scalar.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 qmont_as_nat : h: FStar.Monotonic.HyperStack.mem -> a: Hacl.Impl.P256.Bignum.felem -> Prims.GTot Spec.P256.PointOps.qelem
[]
Hacl.Impl.P256.Scalar.qmont_as_nat
{ "file_name": "code/ecdsap256/Hacl.Impl.P256.Scalar.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> a: Hacl.Impl.P256.Bignum.felem -> Prims.GTot Spec.P256.PointOps.qelem
{ "end_col": 63, "end_line": 19, "start_col": 37, "start_line": 19 }
FStar.Tactics.Effect.Tac
val contains_uvar (t: term) (uvs g: env) : T.Tac bool
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.Substs", "short_module": "PS" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Reflection.Util", "short_module": "RUtil" }, { "abbrev":...
false
let contains_uvar (t:term) (uvs:env) (g:env) : T.Tac bool = not (check_disjoint uvs (freevars t))
val contains_uvar (t: term) (uvs g: env) : T.Tac bool let contains_uvar (t: term) (uvs g: env) : T.Tac bool =
true
null
false
not (check_disjoint uvs (freevars t))
{ "checked_file": "Pulse.Checker.Prover.Match.fst.checked", "dependencies": [ "Pulse.Typing.Util.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "P...
[]
[ "Pulse.Syntax.Base.term", "Pulse.Typing.Env.env", "Prims.op_Negation", "Pulse.Typing.Env.check_disjoint", "Pulse.Syntax.Naming.freevars", "Prims.bool" ]
[]
module Pulse.Checker.Prover.Match open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Typing.Metatheory open Pulse.Typing.Util open Pulse.Checker.VPropEquiv open Pulse.Checker.Prover.Base open Pulse.Checker.Prover.Util module L = FStar.List.Tot module R = FStar.Reflection.V2 module TermEq = F...
false
false
Pulse.Checker.Prover.Match.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 contains_uvar (t: term) (uvs g: env) : T.Tac bool
[]
Pulse.Checker.Prover.Match.contains_uvar
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.Match.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: Pulse.Syntax.Base.term -> uvs: Pulse.Typing.Env.env -> g: Pulse.Typing.Env.env -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 39, "end_line": 166, "start_col": 2, "start_line": 166 }
Prims.Tot
val refl_uvar (t: R.term) (uvs: env) : option var
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.Substs", "short_module": "PS" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Reflection.Util", "short_module": "RUtil" }, { "abbrev":...
false
let refl_uvar (t:R.term) (uvs:env) : option var = let open R in match inspect_ln t with | Tv_Var v -> let {uniq=n} = inspect_namedv v in if contains uvs n then Some n else None | _ -> None
val refl_uvar (t: R.term) (uvs: env) : option var let refl_uvar (t: R.term) (uvs: env) : option var =
false
null
false
let open R in match inspect_ln t with | Tv_Var v -> let { uniq = n } = inspect_namedv v in if contains uvs n then Some n else None | _ -> None
{ "checked_file": "Pulse.Checker.Prover.Match.fst.checked", "dependencies": [ "Pulse.Typing.Util.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "P...
[ "total" ]
[ "FStar.Reflection.Types.term", "Pulse.Typing.Env.env", "FStar.Reflection.V2.Builtins.inspect_ln", "FStar.Reflection.Types.namedv", "Prims.nat", "FStar.Sealed.sealed", "FStar.Reflection.Types.typ", "FStar.Reflection.V2.Data.ppname_t", "Pulse.Typing.Env.contains", "FStar.Pervasives.Native.Some", "...
[]
module Pulse.Checker.Prover.Match open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Typing.Metatheory open Pulse.Typing.Util open Pulse.Checker.VPropEquiv open Pulse.Checker.Prover.Base open Pulse.Checker.Prover.Util module L = FStar.List.Tot module R = FStar.Reflection.V2 module TermEq = F...
false
true
Pulse.Checker.Prover.Match.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 refl_uvar (t: R.term) (uvs: env) : option var
[]
Pulse.Checker.Prover.Match.refl_uvar
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.Match.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: FStar.Reflection.Types.term -> uvs: Pulse.Typing.Env.env -> FStar.Pervasives.Native.option Pulse.Syntax.Base.var
{ "end_col": 13, "end_line": 158, "start_col": 2, "start_line": 153 }
Prims.Tot
val equational (t: term) : bool
[ { "abbrev": true, "full_module": "Pulse.Checker.Prover.Substs", "short_module": "PS" }, { "abbrev": true, "full_module": "Pulse.Syntax.Printer", "short_module": "P" }, { "abbrev": true, "full_module": "Pulse.Reflection.Util", "short_module": "RUtil" }, { "abbrev":...
false
let equational (t:term) : bool = match t.t with | Tm_FStar host_term -> (match R.inspect_ln host_term with | R.Tv_Match _ _ _ -> true | _ -> false) | _ -> false
val equational (t: term) : bool let equational (t: term) : bool =
false
null
false
match t.t with | Tm_FStar host_term -> (match R.inspect_ln host_term with | R.Tv_Match _ _ _ -> true | _ -> false) | _ -> false
{ "checked_file": "Pulse.Checker.Prover.Match.fst.checked", "dependencies": [ "Pulse.Typing.Util.fsti.checked", "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.Printer.fsti.checked", "Pulse.Syntax.fst.checked", "P...
[ "total" ]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Reflection.V2.Builtins.inspect_ln", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.match_returns_ascription", "Prims.list", "FStar.Reflection.V2.Data...
[]
module Pulse.Checker.Prover.Match open Pulse.Syntax open Pulse.Typing open Pulse.Typing.Combinators open Pulse.Typing.Metatheory open Pulse.Typing.Util open Pulse.Checker.VPropEquiv open Pulse.Checker.Prover.Base open Pulse.Checker.Prover.Util module L = FStar.List.Tot module R = FStar.Reflection.V2 module TermEq = F...
false
true
Pulse.Checker.Prover.Match.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 equational (t: term) : bool
[]
Pulse.Checker.Prover.Match.equational
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.Match.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
t: Pulse.Syntax.Base.term -> Prims.bool
{ "end_col": 14, "end_line": 27, "start_col": 2, "start_line": 22 }