file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_pattern_with_not_free_var
val close_pattern_with_not_free_var (p: R.pattern) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_pattern p))) (ensures subst_pattern p [ND x i] == p) (decreases p)
val close_pattern_with_not_free_var (p: R.pattern) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_pattern p))) (ensures subst_pattern p [ND x i] == p) (decreases p)
let rec close_with_not_free_var (t:R.term) (x:var) (i:nat) : Lemma (requires ~ (Set.mem x (freevars t))) (ensures subst_term t [ ND x i ] == t) (decreases t) = match inspect_ln t with | Tv_Var _ | Tv_BVar _ | Tv_FVar _ | Tv_UInst _ _ -> () | Tv_App hd (arg, _) -> close_with_not_free...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 747, "start_col": 0, "start_line": 570 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.Stubs.Reflection.V2.Data.pattern -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat -> FStar.Pervasives.Lemma (requires ~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_pattern p))) (ensures FStar.Reflection.Typing.subst_pattern p [FStar.Reflection.Typing.ND x i] == p) (decreases p...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[ "close_with_not_free_var", "close_match_returns_with_not_free_var", "close_branches_with_not_free_var", "close_branch_with_not_free_var", "close_pattern_with_not_free_var", "close_patterns_with_not_free_var", "close_terms_with_not_free_var", "close_binder_with_not_free_var", "close_comp_with_not_fre...
[ "FStar.Stubs.Reflection.V2.Data.pattern", "FStar.Stubs.Reflection.V2.Data.var", "Prims.nat", "FStar.Stubs.Reflection.V2.Data.vconst", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.V2.Data.universes", "Prims.list", "FStar.Pervasives.Native.tuple2", "Pr...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_pattern_with_not_free_var (p: R.pattern) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_pattern p))) (ensures subst_pattern p [ND x i] == p) (decreases p) =
match p with | Pat_Constant _ -> () | Pat_Cons _ _ pats -> close_patterns_with_not_free_var pats x i | Pat_Var bv _ -> () | Pat_Dot_Term topt -> (match topt with | None -> () | Some t -> close_with_not_free_var t x i)
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_comp
val open_close_inverse'_comp (i:nat) (c:comp { ln'_comp c (i - 1) }) (x:var) : Lemma (ensures subst_comp (subst_comp c [ ND x i ]) (open_with_var x i) == c)
val open_close_inverse'_comp (i:nat) (c:comp { ln'_comp c (i - 1) }) (x:var) : Lemma (ensures subst_comp (subst_comp c [ ND x i ]) (open_with_var x i) == c)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> c: FStar.Stubs.Reflection.Types.comp{FStar.Reflection.Typing.ln'_comp c (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_comp (FStar.Reflection.Typing.subst_comp c [FStar.Reflection.Typing.ND x i...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.Types.comp", "Prims.b2t", "FStar.Reflection.Typing.ln'_comp", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.V2.Builtins.inspect_comp", "FStar.Stubs.Reflection.Types.typ", "FStar.Reflection.Typing.open_close_inverse'", "FS...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_comp (i: nat) (c: comp{ln'_comp c (i - 1)}) (x: var) : Lemma (ensures subst_comp (subst_comp c [ND x i]) (open_with_var x i) == c) (decreases c) =
match inspect_comp c with | C_Total t | C_GTotal t -> open_close_inverse' i t x | C_Lemma pre post pats -> open_close_inverse' i pre x; open_close_inverse' i post x; open_close_inverse' i pats x | C_Eff us eff_name res args decrs -> open_close_inverse' i res x; open_close_inverse'_args i args x; open_close_...
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'
val open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t)
val open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> t: FStar.Stubs.Reflection.Types.term{FStar.Reflection.Typing.ln' t (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_term (FStar.Reflection.Typing.subst_term t [FStar.Reflection.Typing.ND x i]) ...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.Types.term", "Prims.b2t", "FStar.Reflection.Typing.ln'", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.V2.Data.universes", "FStar.Stubs.R...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse' (i: nat) (t: term{ln' t (i - 1)}) (x: var) : Lemma (ensures subst_term (subst_term t [ND x i]) (open_with_var x i) == t) (decreases t) =
match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ | Tv_Const _ | Tv_Unsupp | Tv_Unknown | Tv_BVar _ -> () | Tv_Var _ -> () | Tv_App t1 a -> open_close_inverse' i t1 x; open_close_inverse' i (fst a) x | Tv_Abs b body -> open_close_inverse'_binder i b x; open_close_inverse' (i + 1) body x | Tv_Arrow ...
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_patterns_with_not_free_var
val close_patterns_with_not_free_var (l: list (R.pattern & bool)) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_patterns l))) (ensures subst_patterns l [ND x i] == l) (decreases l)
val close_patterns_with_not_free_var (l: list (R.pattern & bool)) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_patterns l))) (ensures subst_patterns l [ND x i] == l) (decreases l)
let rec close_with_not_free_var (t:R.term) (x:var) (i:nat) : Lemma (requires ~ (Set.mem x (freevars t))) (ensures subst_term t [ ND x i ] == t) (decreases t) = match inspect_ln t with | Tv_Var _ | Tv_BVar _ | Tv_FVar _ | Tv_UInst _ _ -> () | Tv_App hd (arg, _) -> close_with_not_free...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 747, "start_col": 0, "start_line": 570 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list (FStar.Stubs.Reflection.V2.Data.pattern * Prims.bool) -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat -> FStar.Pervasives.Lemma (requires ~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_patterns l))) (ensures FStar.Reflection.Typing.subst_patterns l [FStar.Reflectio...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[ "close_with_not_free_var", "close_match_returns_with_not_free_var", "close_branches_with_not_free_var", "close_branch_with_not_free_var", "close_pattern_with_not_free_var", "close_patterns_with_not_free_var", "close_terms_with_not_free_var", "close_binder_with_not_free_var", "close_comp_with_not_fre...
[ "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.V2.Data.pattern", "Prims.bool", "FStar.Stubs.Reflection.V2.Data.var", "Prims.nat", "FStar.Reflection.Typing.close_patterns_with_not_free_var", "Prims.op_Addition", "FStar.Reflection.Typing.binder_offset_pattern", "Prims.unit",...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_patterns_with_not_free_var (l: list (R.pattern & bool)) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_patterns l))) (ensures subst_patterns l [ND x i] == l) (decreases l) =
match l with | [] -> () | (p, _) :: tl -> close_pattern_with_not_free_var p x i; close_patterns_with_not_free_var tl x (binder_offset_pattern p + i)
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_comp_with_not_free_var
val close_comp_with_not_free_var (c: R.comp) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_comp c))) (ensures subst_comp c [ND x i] == c) (decreases c)
val close_comp_with_not_free_var (c: R.comp) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_comp c))) (ensures subst_comp c [ND x i] == c) (decreases c)
let rec close_with_not_free_var (t:R.term) (x:var) (i:nat) : Lemma (requires ~ (Set.mem x (freevars t))) (ensures subst_term t [ ND x i ] == t) (decreases t) = match inspect_ln t with | Tv_Var _ | Tv_BVar _ | Tv_FVar _ | Tv_UInst _ _ -> () | Tv_App hd (arg, _) -> close_with_not_free...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 747, "start_col": 0, "start_line": 570 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": true, "full_module": "FStar.Reflection.V2", "short_module": "R" }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: FStar.Stubs.Reflection.Types.comp -> x: FStar.Stubs.Reflection.V2.Data.var -> i: Prims.nat -> FStar.Pervasives.Lemma (requires ~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_comp c))) (ensures FStar.Reflection.Typing.subst_comp c [FStar.Reflection.Typing.ND x i] == c) (decreases c)
FStar.Pervasives.Lemma
[ "lemma", "" ]
[ "close_with_not_free_var", "close_match_returns_with_not_free_var", "close_branches_with_not_free_var", "close_branch_with_not_free_var", "close_pattern_with_not_free_var", "close_patterns_with_not_free_var", "close_terms_with_not_free_var", "close_binder_with_not_free_var", "close_comp_with_not_fre...
[ "FStar.Stubs.Reflection.Types.comp", "FStar.Stubs.Reflection.V2.Data.var", "Prims.nat", "FStar.Stubs.Reflection.V2.Builtins.inspect_comp", "FStar.Stubs.Reflection.Types.typ", "FStar.Reflection.Typing.close_with_not_free_var", "FStar.Stubs.Reflection.Types.term", "Prims.unit", "FStar.Stubs.Reflection...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_comp_with_not_free_var (c: R.comp) (x: var) (i: nat) : Lemma (requires ~(Set.mem x (freevars_comp c))) (ensures subst_comp c [ND x i] == c) (decreases c) =
match inspect_comp c with | C_Total t | C_GTotal t -> close_with_not_free_var t x i | C_Lemma pre post pats -> close_with_not_free_var pre x i; close_with_not_free_var post x i; close_with_not_free_var pats x i | C_Eff _ _ t args decrs -> close_with_not_free_var t x i; close_args_with_not_free_var args x i; ...
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_terms
val open_close_inverse'_terms (i:nat) (ts:list term { ln'_terms ts (i - 1) }) (x:var) : Lemma (ensures subst_terms (subst_terms ts [ ND x i ]) (open_with_var x i) == ts)
val open_close_inverse'_terms (i:nat) (ts:list term { ln'_terms ts (i - 1) }) (x:var) : Lemma (ensures subst_terms (subst_terms ts [ ND x i ]) (open_with_var x i) == ts)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> ts: Prims.list FStar.Stubs.Reflection.Types.term {FStar.Reflection.Typing.ln'_terms ts (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_terms (FStar.Reflection.Typing.subst_terms ts [FStar.Reflec...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "Prims.list", "FStar.Stubs.Reflection.Types.term", "Prims.b2t", "FStar.Reflection.Typing.ln'_terms", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Reflection.Typing.open_close_inverse'_terms", "Prims.unit", "FStar.Reflection.Typing.open_close_inverse'", "Prims...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_terms (i: nat) (ts: list term {ln'_terms ts (i - 1)}) (x: var) : Lemma (ensures subst_terms (subst_terms ts [ND x i]) (open_with_var x i) == ts) (decreases ts) =
match ts with | [] -> () | t :: ts -> open_close_inverse' i t x; open_close_inverse'_terms i ts x
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_branch
val close_open_inverse'_branch (i:nat) (br:branch) (x:var{ ~(x `Set.mem` freevars_branch br) }) : Lemma (ensures subst_branch (subst_branch br (open_with_var x i)) [ ND x i ] == br)
val close_open_inverse'_branch (i:nat) (br:branch) (x:var{ ~(x `Set.mem` freevars_branch br) }) : Lemma (ensures subst_branch (subst_branch br (open_with_var x i)) [ ND x i ] == br)
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> br: FStar.Stubs.Reflection.V2.Data.branch -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_branch br))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_branch (FStar.Reflection.Typing.subst_branch br...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.V2.Data.branch", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_branch", "FStar.Stubs.Reflection.V2.Data.pattern", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.Typing.close_open_inv...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_branch (i: nat) (br: branch) (x: var{~(x `Set.mem` (freevars_branch br))}) : Lemma (ensures subst_branch (subst_branch br (open_with_var x i)) [ND x i] == br) (decreases br) =
let p, t = br in close_open_inverse'_pattern i p x; binder_offset_pattern_invariant p (open_with_var x i); close_open_inverse' (i + binder_offset_pattern p) t x
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_match_returns
val close_open_inverse'_match_returns (i:nat) (m:match_returns_ascription) (x:var{ ~(x `Set.mem` freevars_match_returns m) }) : Lemma (ensures subst_match_returns (subst_match_returns m (open_with_var x i)) [ ND x i ] == m)
val close_open_inverse'_match_returns (i:nat) (m:match_returns_ascription) (x:var{ ~(x `Set.mem` freevars_match_returns m) }) : Lemma (ensures subst_match_returns (subst_match_returns m (open_with_var x i)) [ ND x i ] == m)
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> m: FStar.Stubs.Reflection.Types.match_returns_ascription -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_match_returns m))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_match_returns (FStar.Refle...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.Types.match_returns_ascription", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_match_returns", "FStar.Stubs.Reflection.Types.binder", "FStar.Pervasives.either", "FStar.Stubs.Reflection.Types...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_match_returns (i: nat) (m: match_returns_ascription) (x: var{~(x `Set.mem` (freevars_match_returns m))}) : Lemma (ensures subst_match_returns (subst_match_returns m (open_with_var x i)) [ND x i] == m) (decreases m) =
let b, (ret, as_, eq) = m in close_open_inverse'_binder i b x; (match ret with | Inl t -> close_open_inverse' (i + 1) t x | Inr c -> close_open_inverse'_comp (i + 1) c x); (match as_ with | None -> () | Some t -> close_open_inverse' (i + 1) t x)
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_pattern
val open_close_inverse'_pattern (i:nat) (p:pattern{ln'_pattern p (i - 1)}) (x:var) : Lemma (ensures subst_pattern (subst_pattern p [ ND x i ]) (open_with_var x i) == p)
val open_close_inverse'_pattern (i:nat) (p:pattern{ln'_pattern p (i - 1)}) (x:var) : Lemma (ensures subst_pattern (subst_pattern p [ ND x i ]) (open_with_var x i) == p)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> p: FStar.Stubs.Reflection.V2.Data.pattern{FStar.Reflection.Typing.ln'_pattern p (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_pattern (FStar.Reflection.Typing.subst_pattern p [FStar.Reflection...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.V2.Data.pattern", "Prims.b2t", "FStar.Reflection.Typing.ln'_pattern", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.V2.Data.vconst", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflec...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_pattern (i: nat) (p: pattern{ln'_pattern p (i - 1)}) (x: var) : Lemma (ensures subst_pattern (subst_pattern p [ND x i]) (open_with_var x i) == p) (decreases p) =
match p with | Pat_Constant _ -> () | Pat_Cons fv us pats -> open_close_inverse'_patterns i pats x | Pat_Var bv _ -> () | Pat_Dot_Term topt -> match topt with | None -> () | Some t -> open_close_inverse' i t x
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_patterns
val close_open_inverse'_patterns (i:nat) (ps:list (pattern & bool)) (x:var {~ (x `Set.mem` freevars_patterns ps) }) : Lemma (ensures subst_patterns (subst_patterns ps (open_with_var x i)) [ ND x i ] == ps...
val close_open_inverse'_patterns (i:nat) (ps:list (pattern & bool)) (x:var {~ (x `Set.mem` freevars_patterns ps) }) : Lemma (ensures subst_patterns (subst_patterns ps (open_with_var x i)) [ ND x i ] == ps...
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> ps: Prims.list (FStar.Stubs.Reflection.V2.Data.pattern * Prims.bool) -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_patterns ps))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_patterns (FStar.Re...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.V2.Data.pattern", "Prims.bool", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_patterns", "FStar.Reflection.Typing.close_open_inverse'_patter...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_patterns (i: nat) (ps: list (pattern & bool)) (x: var{~(x `Set.mem` (freevars_patterns ps))}) : Lemma (ensures subst_patterns (subst_patterns ps (open_with_var x i)) [ND x i] == ps) (decreases ps) =
match ps with | [] -> () | (p, b) :: ps' -> close_open_inverse'_pattern i p x; let n = binder_offset_pattern p in binder_offset_pattern_invariant p (open_with_var x i); close_open_inverse'_patterns (i + n) ps' x
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_terms
val close_open_inverse'_terms (i:nat) (ts:list term) (x:var{ ~(x `Set.mem` freevars_terms ts) }) : Lemma (ensures subst_terms (subst_terms ts (open_with_var x i)) [ ND x i ] == ts)
val close_open_inverse'_terms (i:nat) (ts:list term) (x:var{ ~(x `Set.mem` freevars_terms ts) }) : Lemma (ensures subst_terms (subst_terms ts (open_with_var x i)) [ ND x i ] == ts)
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> ts: Prims.list FStar.Stubs.Reflection.Types.term -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_terms ts))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_terms (FStar.Reflection.Typing.subst_term...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "Prims.list", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_terms", "FStar.Reflection.Typing.close_open_inverse'_terms", "Prims.unit", "FStar.Reflection.Typing.close_open_inve...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_terms (i: nat) (ts: list term) (x: var{~(x `Set.mem` (freevars_terms ts))}) : Lemma (ensures subst_terms (subst_terms ts (open_with_var x i)) [ND x i] == ts) (decreases ts) =
match ts with | [] -> () | hd :: tl -> close_open_inverse' i hd x; close_open_inverse'_terms i tl x
false
LowParse.Low.List.fst
LowParse.Low.List.valid_exact_list_nil
val valid_exact_list_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl)) (ensures (valid_exact (parse_list p) h sl pos pos /\ contents_...
val valid_exact_list_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl)) (ensures (valid_exact (parse_list p) h sl pos pos /\ contents_...
let valid_exact_list_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) : Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl)) (ensures ( valid_exact (parse_list p) h sl pos pos /\ contents_exact (parse_list p) h sl pos po...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 47, "end_line": 31, "start_col": 0, "start_line": 15 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires FStar.UInt32.v pos <= FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Slice.live_slice h sl) (ensures LowParse...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.contents_exact_eq", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec....
[]
true
false
true
false
false
let valid_exact_list_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl)) (ensures (valid_exact (parse_list p) h sl pos pos /\ contents_...
parse_list_eq p (bytes_of_slice_from_to h sl pos pos); valid_exact_equiv (parse_list p) h sl pos pos; contents_exact_eq (parse_list p) h sl pos pos
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_binder
val open_close_inverse'_binder (i:nat) (b:binder { ln'_binder b (i - 1) }) (x:var) : Lemma (ensures subst_binder (subst_binder b [ ND x i ]) (open_with_var x i) == b)
val open_close_inverse'_binder (i:nat) (b:binder { ln'_binder b (i - 1) }) (x:var) : Lemma (ensures subst_binder (subst_binder b [ ND x i ]) (open_with_var x i) == b)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> b: FStar.Stubs.Reflection.Types.binder{FStar.Reflection.Typing.ln'_binder b (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_binder (FStar.Reflection.Typing.subst_binder b [FStar.Reflection.Typin...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.Types.binder", "Prims.b2t", "FStar.Reflection.Typing.ln'_binder", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.Types.typ", "FStar.Stubs.Reflection.V2.Data.aqualv", "Prims.list", "FStar.Stubs.Reflection.Types.term", "FS...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_binder (i: nat) (b: binder{ln'_binder b (i - 1)}) (x: var) : Lemma (ensures subst_binder (subst_binder b [ND x i]) (open_with_var x i) == b) (decreases b) =
let bndr = inspect_binder b in let { ppname = ppname ; qual = q ; attrs = attrs ; sort = sort } = bndr in open_close_inverse' i sort x; open_close_inverse'_terms i attrs x; assert (subst_terms (subst_terms attrs [ND x i]) (open_with_var x i) == attrs); pack_inspect_binder b; assert (pack_binder ({ ppname = ppname; qual...
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_match_returns
val open_close_inverse'_match_returns (i:nat) (m:match_returns_ascription { ln'_match_returns m (i - 1) }) (x:var) : Lemma (ensures subst_match_returns (subst_match_returns m [ ND x i ]) (open_with_var x i)...
val open_close_inverse'_match_returns (i:nat) (m:match_returns_ascription { ln'_match_returns m (i - 1) }) (x:var) : Lemma (ensures subst_match_returns (subst_match_returns m [ ND x i ]) (open_with_var x i)...
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> m: FStar.Stubs.Reflection.Types.match_returns_ascription {FStar.Reflection.Typing.ln'_match_returns m (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_match_returns (FStar.Reflection.Typing.subst...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.Types.match_returns_ascription", "Prims.b2t", "FStar.Reflection.Typing.ln'_match_returns", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.Types.binder", "FStar.Pervasives.either", "FStar.Stubs.Reflection.Types.term", "FSta...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_match_returns (i: nat) (m: match_returns_ascription{ln'_match_returns m (i - 1)}) (x: var) : Lemma (ensures subst_match_returns (subst_match_returns m [ND x i]) (open_with_var x i) == m) (decreases m) =
let b, (ret, as_, eq) = m in open_close_inverse'_binder i b x; let ret = match ret with | Inl t -> open_close_inverse' (i + 1) t x | Inr c -> open_close_inverse'_comp (i + 1) c x in let as_ = match as_ with | None -> () | Some t -> open_close_inverse' (i + 1) t x in ()
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_branches
val close_open_inverse'_branches (i:nat) (brs:list branch) (x:var{ ~(x `Set.mem` freevars_branches brs) }) : Lemma (ensures subst_branches (subst_branches brs (open_with_var x i)) [ ND x i ] == brs)
val close_open_inverse'_branches (i:nat) (brs:list branch) (x:var{ ~(x `Set.mem` freevars_branches brs) }) : Lemma (ensures subst_branches (subst_branches brs (open_with_var x i)) [ ND x i ] == brs)
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> brs: Prims.list FStar.Stubs.Reflection.V2.Data.branch -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_branches brs))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_branches (FStar.Reflection.Typin...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "Prims.list", "FStar.Stubs.Reflection.V2.Data.branch", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_branches", "FStar.Reflection.Typing.close_open_inverse'_branches", "Prims.unit", "FStar.Reflection.Typing.close...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_branches (i: nat) (brs: list branch) (x: var{~(x `Set.mem` (freevars_branches brs))}) : Lemma (ensures subst_branches (subst_branches brs (open_with_var x i)) [ND x i] == brs) (decreases brs) =
match brs with | [] -> () | b :: brs -> close_open_inverse'_branch i b x; close_open_inverse'_branches i brs x
false
LowParse.Low.List.fst
LowParse.Low.List.valid_list_intro_nil
val valid_list_intro_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl)) (ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s...
val valid_list_intro_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl)) (ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s...
let valid_list_intro_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) : Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl)) (ensures ( valid (parse_list p) h sl pos /\ contents (parse_list p) h sl pos == [] )) = parse...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 37, "end_line": 49, "start_col": 0, "start_line": 33 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires FStar.UInt32.v pos == FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Slice.live_slice h sl) (ensures LowParse...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.contents_eq", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec.List.p...
[]
true
false
true
false
false
let valid_list_intro_nil (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl)) (ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s...
parse_list_eq p (bytes_of_slice_from h sl pos); valid_equiv (parse_list p) h sl pos; contents_eq (parse_list p) h sl pos
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_branch
val open_close_inverse'_branch (i:nat) (br:branch{ln'_branch br (i - 1)}) (x:var) : Lemma (ensures subst_branch (subst_branch br [ ND x i ]) (open_with_var x i) == br)
val open_close_inverse'_branch (i:nat) (br:branch{ln'_branch br (i - 1)}) (x:var) : Lemma (ensures subst_branch (subst_branch br [ ND x i ]) (open_with_var x i) == br)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> br: FStar.Stubs.Reflection.V2.Data.branch{FStar.Reflection.Typing.ln'_branch br (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_branch (FStar.Reflection.Typing.subst_branch br [FStar.Reflection....
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.V2.Data.branch", "Prims.b2t", "FStar.Reflection.Typing.ln'_branch", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Stubs.Reflection.V2.Data.pattern", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.Typing.open_close_inverse'", "Prim...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_branch (i: nat) (br: branch{ln'_branch br (i - 1)}) (x: var) : Lemma (ensures subst_branch (subst_branch br [ND x i]) (open_with_var x i) == br) (decreases br) =
let p, t = br in let j = binder_offset_pattern p in binder_offset_pattern_invariant p [ND x i]; open_close_inverse'_pattern i p x; open_close_inverse' (i + j) t x
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.open_close_inverse'_branches
val open_close_inverse'_branches (i:nat) (brs:list branch { ln'_branches brs (i - 1) }) (x:var) : Lemma (ensures subst_branches (subst_branches brs [ ND x i ]) (open_with_var x i) == brs)
val open_close_inverse'_branches (i:nat) (brs:list branch { ln'_branches brs (i - 1) }) (x:var) : Lemma (ensures subst_branches (subst_branches brs [ ND x i ]) (open_with_var x i) == brs)
let rec open_close_inverse' (i:nat) (t:term { ln' t (i - 1) }) (x:var) : Lemma (ensures subst_term (subst_term t [ ND x i ]) (open_with_var x i) == t) (decreases t) = match inspect_ln t with | Tv_UInst _ _ | Tv_FVar _ | Tv_Type _ |...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 346, "start_col": 0, "start_line": 131 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> brs: Prims.list FStar.Stubs.Reflection.V2.Data.branch {FStar.Reflection.Typing.ln'_branches brs (i - 1)} -> x: FStar.Stubs.Reflection.V2.Data.var -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_branches (FStar.Reflection.Typing.subst_branches b...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "open_close_inverse'", "open_close_inverse'_binder", "open_close_inverse'_terms", "open_close_inverse'_comp", "open_close_inverse'_args", "open_close_inverse'_patterns", "open_close_inverse'_pattern", "open_close_inverse'_branch", "open_close_inverse'_branches", "open_close_inverse'_match_returns"...
[ "Prims.nat", "Prims.list", "FStar.Stubs.Reflection.V2.Data.branch", "Prims.b2t", "FStar.Reflection.Typing.ln'_branches", "Prims.op_Subtraction", "FStar.Stubs.Reflection.V2.Data.var", "FStar.Reflection.Typing.open_close_inverse'_branches", "Prims.unit", "FStar.Reflection.Typing.open_close_inverse'_...
[ "mutual recursion" ]
false
false
true
false
false
let rec open_close_inverse'_branches (i: nat) (brs: list branch {ln'_branches brs (i - 1)}) (x: var) : Lemma (ensures subst_branches (subst_branches brs [ND x i]) (open_with_var x i) == brs) (decreases brs) =
match brs with | [] -> () | br :: brs -> open_close_inverse'_branch i br x; open_close_inverse'_branches i brs x
false
Hacl.Impl.Ed25519.PointNegate.fst
Hacl.Impl.Ed25519.PointNegate.point_negate
val point_negate: p:F51.point -> out:F51.point -> Stack unit (requires fun h -> live h out /\ live h p /\ disjoint out p /\ F51.point_inv_t h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ (let (x1, y1, z1, t1) = F51.point_eval h0 p in F51.point_inv_t h1 out /\ F51.point_eval h1 out ==...
val point_negate: p:F51.point -> out:F51.point -> Stack unit (requires fun h -> live h out /\ live h p /\ disjoint out p /\ F51.point_inv_t h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ (let (x1, y1, z1, t1) = F51.point_eval h0 p in F51.point_inv_t h1 out /\ F51.point_eval h1 out ==...
let point_negate p out = push_frame (); let zero = create 5ul (u64 0) in make_zero zero; let x = getx p in let y = gety p in let z = getz p in let t = gett p in let x1 = getx out in let y1 = gety out in let z1 = getz out in let t1 = gett out in fdifference x1 zero x; reduce_513 x1; copy y1...
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.PointNegate.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 46, "start_col": 0, "start_line": 26 }
module Hacl.Impl.Ed25519.PointNegate module ST = FStar.HyperStack.ST open FStar.HyperStack.All open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module SC = Spec.Curve25519 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val point_negate: p:F51.point -> out:F51.point -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Ed25519.Field51.fst.checked", "Hacl.Bignum25519.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.che...
[ { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "SC" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "abbrev": false, "full_module": "Hacl.Bignum25519", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Hacl.Impl.Ed25519.Field51.point -> out: Hacl.Impl.Ed25519.Field51.point -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Ed25519.Field51.point", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Bignum25519.reduce_513", "Hacl.Bignum25519.fdifference", "Lib.Buffer.copy", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Bignum25519.felem", "Hacl.Bignum25519.gett", "Hacl.Bign...
[]
false
true
false
false
false
let point_negate p out =
push_frame (); let zero = create 5ul (u64 0) in make_zero zero; let x = getx p in let y = gety p in let z = getz p in let t = gett p in let x1 = getx out in let y1 = gety out in let z1 = getz out in let t1 = gett out in fdifference x1 zero x; reduce_513 x1; copy y1 y; copy z1 z; fdifference t1 zero t; reduce_513 t1; po...
false
LowParse.Low.List.fst
LowParse.Low.List.valid_exact_list_cons
val valid_exact_list_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\ va...
val valid_exact_list_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\ va...
let valid_exact_list_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) (pos' : U32.t) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\ valid_exact (parse_list p)...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 49, "end_line": 86, "start_col": 0, "start_line": 51 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.B...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.contents_exact_eq", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec....
[]
true
false
true
false
false
let valid_exact_list_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\ va...
let sq = bytes_of_slice_from_to h sl pos pos' in parse_list_eq' p sq; let pos1 = get_valid_pos p h sl pos in valid_exact_equiv (parse_list p) h sl pos pos'; valid_facts p h sl pos; let sq0 = bytes_of_slice_from h sl pos in parser_kind_prop_equiv k p; assert (no_lookahead_on p sq0 sq); assert (injective_postcond p sq0 s...
false
LowParse.Low.List.fst
LowParse.Low.List.valid_list_intro_cons
val valid_list_intro_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid p h sl pos /\ valid (parse_list p) h sl (get_valid_pos p h sl po...
val valid_list_intro_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid p h sl pos /\ valid (parse_list p) h sl (get_valid_pos p h sl po...
let valid_list_intro_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) : Lemma (requires ( U32.v pos < U32.v sl.len /\ valid p h sl pos /\ valid (parse_list p) h sl (get_valid_pos p h sl pos) )) (ensures ( valid p h sl po...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 113, "start_col": 0, "start_line": 88 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires FStar.UInt32.v pos < FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Low.Base.Spec.valid p h sl pos /\ LowPa...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec.List.p...
[]
true
false
true
false
false
let valid_list_intro_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid p h sl pos /\ valid (parse_list p) h sl (get_valid_pos p h sl po...
let sq = bytes_of_slice_from h sl pos in parse_list_eq p sq; let pos1 = get_valid_pos p h sl pos in valid_facts (parse_list p) h sl pos; valid_facts p h sl pos; valid_facts (parse_list p) h sl pos1
false
FStar.Reflection.Typing.fst
FStar.Reflection.Typing.close_open_inverse'_pattern
val close_open_inverse'_pattern (i:nat) (p:pattern) (x:var{ ~(x `Set.mem` freevars_pattern p) }) : Lemma (ensures subst_pattern (subst_pattern p (open_with_var x i)) [ ND x i ] == p)
val close_open_inverse'_pattern (i:nat) (p:pattern) (x:var{ ~(x `Set.mem` freevars_pattern p) }) : Lemma (ensures subst_pattern (subst_pattern p (open_with_var x i)) [ ND x i ] == p)
let rec close_open_inverse' (i:nat) (t:term) (x:var { ~(x `Set.mem` freevars t) }) : Lemma (ensures subst_term (subst_term t (open_with_var x i)) [ ND x i ] == t) (decreases t) = match inspec...
{ "file_name": "ulib/experimental/FStar.Reflection.Typing.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 561, "start_col": 0, "start_line": 354 }
(* Copyright 2008-2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.Builtins.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": true, "full_module": "FStar.Reflection.Typing.Builtins", "short_module": "RTB" }, { "abbrev": true, "full_module": "FStar.Stubs.Reflection.V2.Data", "short_module": "RD" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.nat -> p: FStar.Stubs.Reflection.V2.Data.pattern -> x: FStar.Stubs.Reflection.V2.Data.var {~(FStar.Set.mem x (FStar.Reflection.Typing.freevars_pattern p))} -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_pattern (FStar.Reflection.Typing.subst_pattern ...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[ "close_open_inverse'", "close_open_inverse'_comp", "close_open_inverse'_args", "close_open_inverse'_binder", "close_open_inverse'_terms", "close_open_inverse'_branches", "close_open_inverse'_branch", "close_open_inverse'_pattern", "close_open_inverse'_patterns", "close_open_inverse'_match_returns"...
[ "Prims.nat", "FStar.Stubs.Reflection.V2.Data.pattern", "FStar.Stubs.Reflection.V2.Data.var", "Prims.l_not", "Prims.b2t", "FStar.Set.mem", "FStar.Reflection.Typing.freevars_pattern", "FStar.Stubs.Reflection.V2.Data.vconst", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.option", "FSt...
[ "mutual recursion" ]
false
false
true
false
false
let rec close_open_inverse'_pattern (i: nat) (p: pattern) (x: var{~(x `Set.mem` (freevars_pattern p))}) : Lemma (ensures subst_pattern (subst_pattern p (open_with_var x i)) [ND x i] == p) (decreases p) =
match p with | Pat_Constant _ -> () | Pat_Cons fv us pats -> close_open_inverse'_patterns i pats x | Pat_Var bv _ -> () | Pat_Dot_Term topt -> match topt with | None -> () | Some t -> close_open_inverse' i t x
false
LowParse.Low.List.fst
LowParse.Low.List.valid_list_valid_exact_list
val valid_list_valid_exact_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (valid_exact (parse_list p) h sl pos pos' /\ cont...
val valid_list_valid_exact_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (valid_exact (parse_list p) h sl pos pos' /\ cont...
let rec valid_list_valid_exact_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) (pos' : U32.t) : Lemma (requires ( valid_list p h sl pos pos' )) (ensures ( valid_exact (parse_list p) h sl pos pos' /\ contents_exact (parse_...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 165, "start_col": 0, "start_line": 139 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Low.Base.Spec.valid_list p h sl pos pos') (ensures LowParse.Low.Base.Spec.valid_exac...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_Equality", "LowParse.Low.List.valid_exact_list_nil", "Prims.bool", "LowParse.Low.List.valid_exact_lis...
[ "recursion" ]
false
false
true
false
false
let rec valid_list_valid_exact_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (valid_list p h sl pos pos')) (ensures (valid_exact (parse_list p) h sl pos pos' /\ ...
valid_list_equiv p h sl pos pos'; contents_list_eq p h sl pos pos'; if pos = pos' then valid_exact_list_nil p h sl pos else let pos1 = get_valid_pos p h sl pos in valid_list_valid_exact_list p h sl pos1 pos'; valid_exact_list_cons p h sl pos pos'
false
LowParse.Low.List.fst
LowParse.Low.List.valid_list_elim_cons
val valid_list_elim_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos)) (ensures (valid p h sl pos /\ valid (parse_list p) h sl (...
val valid_list_elim_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos)) (ensures (valid p h sl pos /\ valid (parse_list p) h sl (...
let valid_list_elim_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) : Lemma (requires ( U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos )) (ensures ( valid p h sl pos /\ valid (parse_list p) h sl (get_valid_po...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 137, "start_col": 0, "start_line": 115 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires FStar.UInt32.v pos < FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Low.Base.Spec.valid (LowParse.Spec.List.parse_l...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec.List.p...
[]
true
false
true
false
false
let valid_list_elim_cons (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos: U32.t) : Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos)) (ensures (valid p h sl pos /\ valid (parse_list p) h sl (...
let sq = bytes_of_slice_from h sl pos in parse_list_eq p sq; valid_facts (parse_list p) h sl pos; valid_facts p h sl pos; let pos1 = get_valid_pos p h sl pos in valid_facts (parse_list p) h sl pos1
false
LowParse.Low.List.fst
LowParse.Low.List.valid_exact_list_valid_list
val valid_exact_list_valid_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (par...
val valid_exact_list_valid_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (par...
let rec valid_exact_list_valid_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) (pos' : U32.t) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (parse_list p) h sl pos pos'...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 233, "start_col": 0, "start_line": 204 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.B...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.contents_list_eq", "Prims.unit", "Prims.op_Equality", "LowParse.Low.List.valid_exact_li...
[ "recursion" ]
false
false
true
false
false
let rec valid_exact_list_valid_list (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact ...
valid_list_equiv p h sl pos pos'; if pos = pos' then valid_exact_list_nil p h sl pos else (valid_exact_list_cons_recip p h sl pos pos'; let pos1 = get_valid_pos p h sl pos in valid_exact_list_valid_list p h sl pos1 pos'); contents_list_eq p h sl pos pos'
false
LowParse.Low.List.fst
LowParse.Low.List.validate_list_inv
val validate_list_inv (#k: parser_kind) (#t: Type) (p: parser k t) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) (h: HS.mem) (stop: bool) : GTot Type0
val validate_list_inv (#k: parser_kind) (#t: Type) (p: parser k t) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) (h: HS.mem) (stop: bool) : GTot Type0
let validate_list_inv (#k: parser_kind) (#t: Type) (p: parser k t) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) (h: HS.mem) (stop: bool) : GTot Type0 = let h0 = G.reveal g0 in let h1 = G.reveal g1 in B.disjoint sl.base bpos /\ k.parser_kin...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 301, "start_col": 0, "start_line": 268 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos0: LowParse.Low.ErrorCode.pos_t -> bpos: LowStar.Buffer.pointer FStar.UInt64.t -> h: FStar.Monotonic....
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Ghost.erased", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.ErrorCode.pos_t", "LowStar.Buffer.pointer", "FStar.UInt64.t", "Prims.bool", "Prims.l_and", ...
[]
false
false
false
false
true
let validate_list_inv (#k: parser_kind) (#t: Type) (p: parser k t) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) (h: HS.mem) (stop: bool) : GTot Type0 =
let h0 = G.reveal g0 in let h1 = G.reveal g1 in B.disjoint sl.base bpos /\ k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ U64.v pos0 <= U32.v sl.len /\ live_slice h0 sl /\ B.live h1 bpos /\ B.modifies B.loc_none h0 h1 /\ B.modifies (B.loc_buffer bpos) h1 h /\ (let pos1 = Seq.index (B.as_seq h bp...
false
LowParse.Low.List.fst
LowParse.Low.List.valid_exact_list_append
val valid_exact_list_append (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos1 pos2 pos3: U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (p...
val valid_exact_list_append (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos1 pos2 pos3: U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (p...
let rec valid_exact_list_append (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos1 pos2 pos3 : U32.t) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exact (parse_list p) h sl pos1 pos2 /\ v...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 265, "start_col": 0, "start_line": 237 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos1: FStar.UInt32.t -> pos2: FStar.UInt32.t -> pos3: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasive...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_Equality", "LowParse.Low.List.valid_exact_list_nil", "Prims.bool", "LowParse.Low.List.valid_exact_lis...
[ "recursion" ]
false
false
true
false
false
let rec valid_exact_list_append (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos1 pos2 pos3: U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid_exac...
if pos1 = pos2 then valid_exact_list_nil p h sl pos1 else (valid_exact_list_cons_recip p h sl pos1 pos2; let pos15 = get_valid_pos p h sl pos1 in valid_exact_list_append p h sl pos15 pos2 pos3; valid_exact_list_cons p h sl pos1 pos3)
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.super_hack
val super_hack : _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.sigelt)
let super_hack () = let open FStar.Tactics in let hash_256 = [ "EverCrypt"; "Hash"; "Incremental"; "hash_256"] in let hash_256 = FStar.Tactics.pack_fv hash_256 in let hash_256 = pack (Tv_FVar hash_256) in let fv = pack_fv (cur_module () `FStar.List.Tot.append` [ "hash_256" ]) in let t: term = pack Tv_Unknow...
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 21, "start_col": 0, "start_line": 13 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Stubs.Reflection.Types.sigelt)
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "Prims.Cons", "FStar.Stubs.Reflection.Types.sigelt", "Prims.Nil", "FStar.Stubs.Reflection.V1.Builtins.pack_sigelt", "FStar.Stubs.Reflection.V1.Data.Sg_Let", "FStar.Stubs.Reflection.Types.letbinding", "FStar.Stubs.Reflection.V1.Builtins.pack_lb", "FStar.Stubs.Reflection.V1.Data.Mklb_vie...
[]
false
true
false
false
false
let super_hack () =
let open FStar.Tactics in let hash_256 = ["EverCrypt"; "Hash"; "Incremental"; "hash_256"] in let hash_256 = FStar.Tactics.pack_fv hash_256 in let hash_256 = pack (Tv_FVar hash_256) in let fv = pack_fv ((cur_module ()) `FStar.List.Tot.append` ["hash_256"]) in let t:term = pack Tv_Unknown in let se = pack_sigelt (Sg_Le...
false
LowParse.Low.List.fst
LowParse.Low.List.validate_list
val validate_list (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0)) : Tot (validator (parse_list p))
val validate_list (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0)) : Tot (validator (parse_list p))
let validate_list (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (u: squash ( k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 )) : Tot (validator (parse_list p)) = fun (#rrel #rel: _) (sl: slice rrel rel) pos -> let h = HST.get () in valid_valid_exact_co...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 25, "end_line": 387, "start_col": 0, "start_line": 371 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: LowParse.Low.Base.validator p -> u282: Prims.squash (Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\ Mkparser_kind'?.parser_kind_low k > 0) -> LowParse.Low.Base.validator (LowParse.Spec.List.parse_list p)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "Prims.squash", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives...
[]
false
false
false
false
false
let validate_list (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0)) : Tot (validator (parse_list p)) =
fun (#rrel: _) (#rel: _) (sl: slice rrel rel) pos -> let h = HST.get () in valid_valid_exact_consumes_all (parse_list p) h sl (uint64_to_uint32 pos); validate_list' v sl pos
false
LowParse.Low.List.fst
LowParse.Low.List.validate_list'
val validate_list' (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (#rrel #rel: _) (sl: slice rrel rel) (pos: pos_t) : HST.Stack U64.t (requires (fun h -> k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ ...
val validate_list' (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (#rrel #rel: _) (sl: slice rrel rel) (pos: pos_t) : HST.Stack U64.t (requires (fun h -> k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ ...
let validate_list' (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (#rrel #rel: _) (sl: slice rrel rel) (pos: pos_t) : HST.Stack U64.t (requires (fun h -> k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ U64.v pos <= U32.v sl.len /\ live_slice h sl ...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 6, "end_line": 368, "start_col": 0, "start_line": 333 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: LowParse.Low.Base.validator p -> sl: LowParse.Slice.slice rrel rel -> pos: LowParse.Low.ErrorCode.pos_t -> FStar.HyperStack.ST.Stack FStar.UInt64.t
FStar.HyperStack.ST.Stack
[]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.ErrorCode.pos_t", "FStar.UInt64.t", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "LowStar.Monotonic.Buffer.index", ...
[]
false
true
false
false
false
let validate_list' (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (#rrel #rel: _) (sl: slice rrel rel) (pos: pos_t) : HST.Stack U64.t (requires (fun h -> k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ ...
let h0 = HST.get () in let g0 = G.hide h0 in HST.push_frame (); let h02 = HST.get () in B.fresh_frame_modifies h0 h02; let bpos = B.alloca pos 1ul in let h1 = HST.get () in let g1 = G.hide h1 in C.Loops.do_while (validate_list_inv p g0 g1 sl pos bpos) (fun _ -> validate_list_body v g0 g1 sl pos bpos); valid_exact_lis...
false
LowParse.Low.List.fst
LowParse.Low.List.serialized_list_length_eq_length_serialize_list
val serialized_list_length_eq_length_serialize_list (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l: list t) : Lemma (requires (serialize_list_precond k)) (ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l)))
val serialized_list_length_eq_length_serialize_list (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l: list t) : Lemma (requires (serialize_list_precond k)) (ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l)))
let rec serialized_list_length_eq_length_serialize_list (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l: list t) : Lemma (requires ( serialize_list_precond k )) (ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l))) = match l with | [] -> ser...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 408, "start_col": 0, "start_line": 389 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Spec.Base.serializer p -> l: Prims.list t -> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k) (ensures LowParse.Low.Base.Spec.serialized_list_length s l == FStar.Seq.Base.length (LowParse.Spec.Base.serialize (LowParse.Spec.List.serialize_list p s) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "LowParse.Low.Base.Spec.serialized_list_length_nil", "Prims.unit", "LowParse.Spec.List.serialize_list_nil", "LowParse.Low.Base.Spec.serialized_length_eq", "LowParse.Low.List.serialized_list_...
[ "recursion" ]
false
false
true
false
false
let rec serialized_list_length_eq_length_serialize_list (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l: list t) : Lemma (requires (serialize_list_precond k)) (ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l))) =
match l with | [] -> serialize_list_nil _ s; serialized_list_length_nil s | a :: q -> serialize_list_cons _ s a q; serialized_list_length_cons s a q; serialized_list_length_eq_length_serialize_list s q; serialized_length_eq s a
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.heaplet_id_is_some
val heaplet_id_is_some : h: Vale.PPC64LE.InsBasic.vale_heap -> i: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical
let heaplet_id_is_some (h:vale_heap) (i:heaplet_id) = get_heaplet_id h == Some i
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 23, "start_col": 0, "start_line": 22 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.InsBasic.vale_heap -> i: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.InsBasic.vale_heap", "Vale.PPC64LE.Memory.heaplet_id", "Prims.eq2", "FStar.Pervasives.Native.option", "Vale.PPC64LE.Memory.get_heaplet_id", "FStar.Pervasives.Native.Some", "Prims.logical" ]
[]
false
false
false
true
true
let heaplet_id_is_some (h: vale_heap) (i: heaplet_id) =
get_heaplet_id h == Some i
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.heaplet_id_is_none
val heaplet_id_is_none : h: Vale.PPC64LE.InsBasic.vale_heap -> Prims.logical
let heaplet_id_is_none (h:vale_heap) = get_heaplet_id h == None
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 20, "start_col": 0, "start_line": 19 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.InsBasic.vale_heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.InsBasic.vale_heap", "Prims.eq2", "FStar.Pervasives.Native.option", "Vale.PPC64LE.Memory.heaplet_id", "Vale.PPC64LE.Memory.get_heaplet_id", "FStar.Pervasives.Native.None", "Prims.logical" ]
[]
false
false
false
true
true
let heaplet_id_is_none (h: vale_heap) =
get_heaplet_id h == None
false
LowParse.Low.List.fst
LowParse.Low.List.validate_list_body
val validate_list_body (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) : HST.Stack bool (requires (fun h -> validate_list_inv p g0 g1 sl pos0...
val validate_list_body (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) : HST.Stack bool (requires (fun h -> validate_list_inv p g0 g1 sl pos0...
let validate_list_body (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) : HST.Stack bool (requires (fun h -> validate_list_inv p g0 g1 sl pos0 bpos h false)) (ensures (fun h res h' -> ...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 330, "start_col": 0, "start_line": 304 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: LowParse.Low.Base.validator p -> g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos0: LowParse.Low.ErrorCode.pos_t -> bpos: LowStar.Buffer.pointer FStar.UInt64.t -> FStar.HyperStack.ST.S...
FStar.HyperStack.ST.Stack
[]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "FStar.Ghost.erased", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.ErrorCode.pos_t", "LowStar.Buffer.pointer", "FStar.UInt64.t", ...
[]
false
true
false
false
false
let validate_list_body (#k: parser_kind) (#t: Type) (#p: parser k t) (v: validator p) (g0 g1: G.erased HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos0: pos_t) (bpos: B.pointer U64.t) : HST.Stack bool (requires (fun h -> validate_list_inv p g0 g1 sl pos0...
let pos1 = B.index bpos 0ul in assert (U64.v pos1 <= U32.v sl.len); if pos1 = Cast.uint32_to_uint64 sl.len then true else (Classical.move_requires (valid_exact_list_cons p (G.reveal g0) sl (uint64_to_uint32 pos1)) sl.len; Classical.move_requires (valid_exact_list_cons_recip p (G.reveal g0) sl (uint64_to_uint32 po...
false
LowParse.Low.List.fst
LowParse.Low.List.valid_exact_list_cons_recip
val valid_exact_list_cons_recip (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\ valid_exact (parse_list p)...
val valid_exact_list_cons_recip (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\ valid_exact (parse_list p)...
let valid_exact_list_cons_recip (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos : U32.t) (pos' : U32.t) : Lemma (requires ( k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\ valid_exact (parse_list p) h sl pos pos' )) (ensur...
{ "file_name": "src/lowparse/LowParse.Low.List.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 49, "end_line": 202, "start_col": 0, "start_line": 167 }
module LowParse.Low.List include LowParse.Spec.List include LowParse.Low.Base module B = LowStar.Buffer module U32 = FStar.UInt32 module CL = C.Loops module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module G = FStar.Ghost module U64 = FStar.UInt64 module Cast = FStar.Int.Cast let valid_exact_list_nil ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.List.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Ghost", "short_module": "G" }, { "abbrev": true, "full_module": "FSta...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> h: FStar.Monotonic.HyperStack.mem -> sl: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> pos': FStar.UInt32.t -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.B...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.contents_exact_eq", "LowParse.Spec.List.parse_list_kind", "Prims.list", "LowParse.Spec....
[]
true
false
true
false
false
let valid_exact_list_cons_recip (#k: parser_kind) (#t: Type) (p: parser k t) (h: HS.mem) (#rrel #rel: _) (sl: slice rrel rel) (pos pos': U32.t) : Lemma (requires (k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\ valid_exact (parse_list p)...
let sq = bytes_of_slice_from_to h sl pos pos' in parse_list_eq p sq; valid_exact_equiv (parse_list p) h sl pos pos'; valid_facts p h sl pos; let sq0 = bytes_of_slice_from h sl pos in parser_kind_prop_equiv k p; assert (no_lookahead_on p sq sq0); assert (injective_postcond p sq sq0); let pos1 = get_valid_pos p h sl pos ...
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.norm_loc
val norm_loc (l: loc) : loc
val norm_loc (l: loc) : loc
let norm_loc (l:loc) : loc = norm [zeta; iota; delta_only [`%loc_mutable_buffers]; delta_attr [`%norm_loc_attr]] l
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 31, "start_col": 7, "start_line": 30 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Vale.PPC64LE.Memory.loc -> Vale.PPC64LE.Memory.loc
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.loc", "FStar.Pervasives.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.zeta", "FStar.Pervasives.iota", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil", "FStar.Pervasives.delta_attr" ]
[]
false
false
false
true
false
let norm_loc (l: loc) : loc =
norm [zeta; iota; delta_only [`%loc_mutable_buffers]; delta_attr [`%norm_loc_attr]] l
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.norm_list
val norm_list (p: prop) : prop
val norm_list (p: prop) : prop
let norm_list (p:prop) : prop = norm [zeta; iota; delta_only [`%list_to_seq_post]] p
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 26, "start_col": 7, "start_line": 25 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Prims.prop -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.prop", "FStar.Pervasives.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.zeta", "FStar.Pervasives.iota", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil" ]
[]
false
false
false
true
true
let norm_list (p: prop) : prop =
norm [zeta; iota; delta_only [`%list_to_seq_post]] p
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.trigger_create_heaplet
val trigger_create_heaplet : h: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical
let trigger_create_heaplet (h:heaplet_id) = True
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 33, "start_col": 0, "start_line": 33 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.heaplet_id", "Prims.l_True", "Prims.logical" ]
[]
false
false
false
true
true
let trigger_create_heaplet (h: heaplet_id) =
True
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.declare_buffer128
val declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info
val declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info
let declare_buffer128 (b:buffer TUInt128) (hid:heaplet_id) (t:taint) (mut:mutability) : buffer_info = Mkbuffer_info TUInt128 b hid t mut
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 41, "start_col": 7, "start_line": 40 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.PPC64LE.Memory.buffer Vale.Arch.HeapTypes_s.TUInt128 -> hid: Vale.PPC64LE.Memory.heaplet_id -> t: Vale.Arch.HeapTypes_s.taint -> mut: Vale.Arch.HeapImpl.mutability -> Vale.Arch.HeapImpl.buffer_info
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer", "Vale.Arch.HeapTypes_s.TUInt128", "Vale.PPC64LE.Memory.heaplet_id", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.mutability", "Vale.Arch.HeapImpl.Mkbuffer_info", "Vale.Arch.HeapImpl.buffer_info" ]
[]
false
false
false
true
false
let declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info =
Mkbuffer_info TUInt128 b hid t mut
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.declare_buffer64
val declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info
val declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info
let declare_buffer64 (b:buffer TUInt64) (hid:heaplet_id) (t:taint) (mut:mutability) : buffer_info = Mkbuffer_info TUInt64 b hid t mut
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 37, "start_col": 7, "start_line": 36 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.PPC64LE.Memory.buffer Vale.Arch.HeapTypes_s.TUInt64 -> hid: Vale.PPC64LE.Memory.heaplet_id -> t: Vale.Arch.HeapTypes_s.taint -> mut: Vale.Arch.HeapImpl.mutability -> Vale.Arch.HeapImpl.buffer_info
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Memory.buffer", "Vale.Arch.HeapTypes_s.TUInt64", "Vale.PPC64LE.Memory.heaplet_id", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.mutability", "Vale.Arch.HeapImpl.Mkbuffer_info", "Vale.Arch.HeapImpl.buffer_info" ]
[]
false
false
false
true
false
let declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability) : buffer_info =
Mkbuffer_info TUInt64 b hid t mut
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_wp_DestroyHeaplets
val va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_DestroyHeaplets (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ Vale.PPC64LE.Memory.layout_heaplets_initialized ((va_get_mem_layout va_s0).vl_inner) /\ (forall (va_x_memLayout:vale_heap_layout) . let va_sM = va_upd_mem_layout va_x_memLayout va_s0 in va_get_ok va_sM ...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 147, "start_col": 0, "start_line": 136 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.PPC64LE.Memory.layout_heaplets_initialized", "Vale.Arch.HeapImpl.__proj__Mkvale_heap_layout__item__vl_inner", "Vale.PPC64LE.Decls.va_get_mem_layout", "Prims.l_Forall", "Vale.Arch.HeapImpl...
[]
false
false
false
true
true
let va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ Vale.PPC64LE.Memory.layout_heaplets_initialized ((va_get_mem_layout va_s0).vl_inner) /\ (forall (va_x_memLayout: vale_heap_layout). let va_sM = va_upd_mem_layout va_x_memLayout va_s0 in va_get_ok va_sM /\ Vale.PPC64LE.Decls.modifies_mem (Vale.PPC64LE.Memory.layout_modifies_loc ...
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_wp_MemLoad64
val va_wp_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_MemLoad64 (h:va_operand_heaplet) (dst:va_operand_reg_opr) (base:va_operand_reg_opr) (offset:int) (t:taint) (b:buffer64) (index:int) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_src_heaplet h va_s0 /\ va_is_dst_reg_opr dst va_s0 /\ va_is_src_reg_opr base va_s0 /\ va_get_ok va_...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 197, "start_col": 0, "start_line": 184 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.Decls.va_operand_heaplet -> dst: Vale.PPC64LE.Decls.va_operand_reg_opr -> base: Vale.PPC64LE.Decls.va_operand_reg_opr -> offset: Prims.int -> t: Vale.Arch.HeapTypes_s.taint -> b: Vale.PPC64LE.Memory.buffer64 -> index: Prims.int -> va_s0: Vale.PPC64LE.Decls.va_state -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_operand_heaplet", "Vale.PPC64LE.Decls.va_operand_reg_opr", "Prims.int", "Vale.Arch.HeapTypes_s.taint", "Vale.PPC64LE.Memory.buffer64", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.PPC64LE.Decls.va_is_src_heaplet", "Vale.PPC64LE.Decls.va_is_dst_reg_opr", ...
[]
false
false
false
true
true
let va_wp_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_src_heaplet h va_s0 /\ va_is_dst_reg_opr dst va_s0 /\ va_is_src_reg_opr base va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\ Vale.PPC64LE.Decls.valid_src_addr #Vale.PPC64LE.Memory.vuint64 (va_eval_heaplet va_s0 h) b index /\ Vale.PPC64LE.Memory.valid_layout_buffer #Vale.PP...
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.buffer64_write
val buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap) : Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True)
val buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap) : Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True)
let buffer64_write (b:buffer64) (i:int) (v:nat64) (h:vale_heap) : Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True) = buffer_write b i v h
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 17, "start_col": 0, "start_line": 13 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.PPC64LE.Memory.buffer64 -> i: Prims.int -> v: Vale.PPC64LE.Memory.nat64 -> h: Vale.PPC64LE.InsBasic.vale_heap -> Prims.Ghost Vale.PPC64LE.InsBasic.vale_heap
Prims.Ghost
[]
[]
[ "Vale.PPC64LE.Memory.buffer64", "Prims.int", "Vale.PPC64LE.Memory.nat64", "Vale.PPC64LE.InsBasic.vale_heap", "Vale.PPC64LE.Memory.buffer_write", "Vale.PPC64LE.Memory.vuint64", "Prims.l_and", "Vale.PPC64LE.Memory.buffer_readable", "Vale.PPC64LE.Memory.buffer_writeable", "Prims.l_True" ]
[]
false
false
false
false
false
let buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap) : Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True) =
buffer_write b i v h
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_quick_CreateHeaplets
val va_quick_CreateHeaplets (buffers: (list buffer_info)) : (va_quickCode unit (va_code_CreateHeaplets ()))
val va_quick_CreateHeaplets (buffers: (list buffer_info)) : (va_quickCode unit (va_code_CreateHeaplets ()))
let va_quick_CreateHeaplets (buffers:(list buffer_info)) : (va_quickCode unit (va_code_CreateHeaplets ())) = (va_QProc (va_code_CreateHeaplets ()) ([va_Mod_mem_layout]) (va_wp_CreateHeaplets buffers) (va_wpProof_CreateHeaplets buffers))
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 113, "start_col": 0, "start_line": 110 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
buffers: Prims.list Vale.Arch.HeapImpl.buffer_info -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.PPC64LE.InsMem.va_code_CreateHeaplets ())
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Vale.Arch.HeapImpl.buffer_info", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.PPC64LE.InsMem.va_code_CreateHeaplets", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_mem_layout", "Prims.Nil", "Vale.PPC64LE.InsMem.va_wp_CreateHeaplets", "Vale....
[]
false
false
false
false
false
let va_quick_CreateHeaplets (buffers: (list buffer_info)) : (va_quickCode unit (va_code_CreateHeaplets ())) =
(va_QProc (va_code_CreateHeaplets ()) ([va_Mod_mem_layout]) (va_wp_CreateHeaplets buffers) (va_wpProof_CreateHeaplets buffers))
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_wp_CreateHeaplets
val va_wp_CreateHeaplets (buffers: (list buffer_info)) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_CreateHeaplets (buffers: (list buffer_info)) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_CreateHeaplets (buffers:(list buffer_info)) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (bs:(FStar.Seq.Base.seq buffer_info)) = Vale.Lib.Seqs.list_to_seq #buffer_info buffers in Vale.PPC64LE.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 101, "start_col": 0, "start_line": 80 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
buffers: Prims.list Vale.Arch.HeapImpl.buffer_info -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Vale.Arch.HeapImpl.buffer_info", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.PPC64LE.Memory.is_initial_heap", "Vale.PPC64LE.Decls.va_get_mem_layout", "Vale.PPC64LE.Decls.va_get_mem", "Prims.l_imp", "Vale.PPC64LE....
[]
false
false
false
true
true
let va_wp_CreateHeaplets (buffers: (list buffer_info)) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let bs:(FStar.Seq.Base.seq buffer_info) = Vale.Lib.Seqs.list_to_seq #buffer_info buffers in Vale.PPC64LE.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ (norm_list (Vale.Lib.Seqs.list_to_seq_post #buffer_info buffers bs 0) ==> Vale.PPC64LE.Memory.init_heaplets...
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.create_post
val create_post : layout: Vale.Arch.HeapImpl.vale_heap_layout -> bs: FStar.Seq.Base.seq Vale.Arch.HeapImpl.buffer_info -> Prims.logical
let create_post (layout:vale_heap_layout) (bs:Seq.seq buffer_info) = forall (i:nat).{:pattern Seq.index bs i} i < Seq.length bs ==> ( let Mkbuffer_info t b hid _ mut = Seq.index bs i in trigger_create_heaplet hid /\ valid_layout_buffer_id t b layout (Some hid) false /\ valid_layout_buffer_id t b layou...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 48, "start_col": 0, "start_line": 43 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
layout: Vale.Arch.HeapImpl.vale_heap_layout -> bs: FStar.Seq.Base.seq Vale.Arch.HeapImpl.buffer_info -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Vale.Arch.HeapImpl.vale_heap_layout", "FStar.Seq.Base.seq", "Vale.Arch.HeapImpl.buffer_info", "Prims.l_Forall", "Prims.nat", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Arch.HeapImpl.buffer", "Vale.Arch.HeapImpl.heaplet_id"...
[]
false
false
false
true
true
let create_post (layout: vale_heap_layout) (bs: Seq.seq buffer_info) =
forall (i: nat). {:pattern Seq.index bs i} i < Seq.length bs ==> (let Mkbuffer_info t b hid _ mut = Seq.index bs i in trigger_create_heaplet hid /\ valid_layout_buffer_id t b layout (Some hid) false /\ valid_layout_buffer_id t b layout (Some hid) (mut = Mutable))
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.state_t
val state_t : Type0
let state_t = Hacl.Streaming.MD.state_32
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 33, "start_col": 0, "start_line": 33 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.MD.state_32" ]
[]
false
false
false
true
true
let state_t =
Hacl.Streaming.MD.state_32
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_quick_DestroyHeaplets
val va_quick_DestroyHeaplets: Prims.unit -> (va_quickCode unit (va_code_DestroyHeaplets ()))
val va_quick_DestroyHeaplets: Prims.unit -> (va_quickCode unit (va_code_DestroyHeaplets ()))
let va_quick_DestroyHeaplets () : (va_quickCode unit (va_code_DestroyHeaplets ())) = (va_QProc (va_code_DestroyHeaplets ()) ([va_Mod_mem_layout]) va_wp_DestroyHeaplets va_wpProof_DestroyHeaplets)
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 157, "start_col": 0, "start_line": 155 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.PPC64LE.InsMem.va_code_DestroyHeaplets ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.PPC64LE.QuickCode.va_QProc", "Vale.PPC64LE.InsMem.va_code_DestroyHeaplets", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_mem_layout", "Prims.Nil", "Vale.PPC64LE.InsMem.va_wp_DestroyHeaplets", "Vale.PPC64LE.InsMem.va_wpProof_DestroyHeaplets", "Val...
[]
false
false
false
false
false
let va_quick_DestroyHeaplets () : (va_quickCode unit (va_code_DestroyHeaplets ())) =
(va_QProc (va_code_DestroyHeaplets ()) ([va_Mod_mem_layout]) va_wp_DestroyHeaplets va_wpProof_DestroyHeaplets)
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_wp_MemStore64
val va_wp_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_MemStore64 (h:va_operand_heaplet) (src:va_operand_reg_opr) (base:va_operand_reg_opr) (offset:int) (t:taint) (b:buffer64) (index:int) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_heaplet h va_s0 /\ va_is_src_reg_opr src va_s0 /\ va_is_src_reg_opr base va_s0 /\ va_get_ok va...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 253, "start_col": 0, "start_line": 239 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.Decls.va_operand_heaplet -> src: Vale.PPC64LE.Decls.va_operand_reg_opr -> base: Vale.PPC64LE.Decls.va_operand_reg_opr -> offset: Prims.int -> t: Vale.Arch.HeapTypes_s.taint -> b: Vale.PPC64LE.Memory.buffer64 -> index: Prims.int -> va_s0: Vale.PPC64LE.Decls.va_state -> ...
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_operand_heaplet", "Vale.PPC64LE.Decls.va_operand_reg_opr", "Prims.int", "Vale.Arch.HeapTypes_s.taint", "Vale.PPC64LE.Memory.buffer64", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.PPC64LE.Decls.va_is_dst_heaplet", "Vale.PPC64LE.Decls.va_is_src_reg_opr", ...
[]
false
false
false
true
true
let va_wp_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_heaplet h va_s0 /\ va_is_src_reg_opr src va_s0 /\ va_is_src_reg_opr base va_s0 /\ va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\ Vale.PPC64LE.Decls.valid_dst_addr #Vale.PPC64LE.Memory.vuint64 (va_eval_heaplet va_s0 h) b index /\ Vale.PPC64LE.Memory.valid_layout_buffer #Vale.PP...
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_quick_MemLoad64
val va_quick_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemLoad64 h dst base offset t))
val va_quick_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemLoad64 h dst base offset t))
let va_quick_MemLoad64 (h:va_operand_heaplet) (dst:va_operand_reg_opr) (base:va_operand_reg_opr) (offset:int) (t:taint) (b:buffer64) (index:int) : (va_quickCode unit (va_code_MemLoad64 h dst base offset t)) = (va_QProc (va_code_MemLoad64 h dst base offset t) ([va_mod_reg_opr dst]) (va_wp_MemLoad64 h dst base ...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 211, "start_col": 0, "start_line": 207 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.Decls.va_operand_heaplet -> dst: Vale.PPC64LE.Decls.va_operand_reg_opr -> base: Vale.PPC64LE.Decls.va_operand_reg_opr -> offset: Prims.int -> t: Vale.Arch.HeapTypes_s.taint -> b: Vale.PPC64LE.Memory.buffer64 -> index: Prims.int -> Vale.PPC64LE.QuickCode.va_quickCode Prims....
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_operand_heaplet", "Vale.PPC64LE.Decls.va_operand_reg_opr", "Prims.int", "Vale.Arch.HeapTypes_s.taint", "Vale.PPC64LE.Memory.buffer64", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.PPC64LE.InsMem.va_code_MemLoad64", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "V...
[]
false
false
false
false
false
let va_quick_MemLoad64 (h: va_operand_heaplet) (dst base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemLoad64 h dst base offset t)) =
(va_QProc (va_code_MemLoad64 h dst base offset t) ([va_mod_reg_opr dst]) (va_wp_MemLoad64 h dst base offset t b index) (va_wpProof_MemLoad64 h dst base offset t b index))
false
Vale.PPC64LE.InsMem.fsti
Vale.PPC64LE.InsMem.va_quick_MemStore64
val va_quick_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemStore64 h src base offset t))
val va_quick_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemStore64 h src base offset t))
let va_quick_MemStore64 (h:va_operand_heaplet) (src:va_operand_reg_opr) (base:va_operand_reg_opr) (offset:int) (t:taint) (b:buffer64) (index:int) : (va_quickCode unit (va_code_MemStore64 h src base offset t)) = (va_QProc (va_code_MemStore64 h src base offset t) ([va_Mod_mem; va_mod_heaplet h]) (va_wp_MemStore...
{ "file_name": "obj/Vale.PPC64LE.InsMem.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 268, "start_col": 0, "start_line": 263 }
module Vale.PPC64LE.InsMem open Vale.PPC64LE.Machine_s open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.PPC64LE.QuickCode open FStar.Seq open Vale.Def.Types_s open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl open Vale.PPC64LE.Memory open Vale.PPC64LE.InsBasic open Vale.Lib.Seqs let buffer64_write (b:buffer64...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.QuickCode.fst.checked", "Vale.PPC64LE.Memory.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.PPC64LE.InsBasic.fsti.checked", "Vale.PPC64LE.Decls.fsti.checked", "Vale.Lib.Seqs.fsti.checked...
[ { "abbrev": false, "full_module": "Vale.Lib.Seqs", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.InsBasic", "short_module": null }, { "abbrev": false, "full_module": "Vale.PPC64LE.Memory", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Vale.PPC64LE.Decls.va_operand_heaplet -> src: Vale.PPC64LE.Decls.va_operand_reg_opr -> base: Vale.PPC64LE.Decls.va_operand_reg_opr -> offset: Prims.int -> t: Vale.Arch.HeapTypes_s.taint -> b: Vale.PPC64LE.Memory.buffer64 -> index: Prims.int -> Vale.PPC64LE.QuickCode.va_quickCode Prims....
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Decls.va_operand_heaplet", "Vale.PPC64LE.Decls.va_operand_reg_opr", "Prims.int", "Vale.Arch.HeapTypes_s.taint", "Vale.PPC64LE.Memory.buffer64", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.PPC64LE.InsMem.va_code_MemStore64", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "...
[]
false
false
false
false
false
let va_quick_MemStore64 (h: va_operand_heaplet) (src base: va_operand_reg_opr) (offset: int) (t: taint) (b: buffer64) (index: int) : (va_quickCode unit (va_code_MemStore64 h src base offset t)) =
(va_QProc (va_code_MemStore64 h src base offset t) ([va_Mod_mem; va_mod_heaplet h]) (va_wp_MemStore64 h src base offset t b index) (va_wpProof_MemStore64 h src base offset t b index))
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_sha1
val compute_sha1: compute_st SHA1
val compute_sha1: compute_st SHA1
let compute_sha1 = let open Hacl.Hash.SHA1 in mk_compute (|SHA1, ()|) hash_oneshot alloca init update_multi update_last finish
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 57, "start_col": 0, "start_line": 55 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA1
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.SHA1", "Hacl.Hash.SHA1.hash_oneshot", "Hacl.Hash.Core.SHA1.alloca", "Hacl.Hash.Core.SHA1.init", "Hacl.Hash.SHA1.update_multi", "Hacl.Hash.SHA1.update_last", "Hacl.H...
[]
false
false
false
true
false
let compute_sha1 =
let open Hacl.Hash.SHA1 in mk_compute (| SHA1, () |) hash_oneshot alloca init update_multi update_last finish
false
Spec.Ed25519.Test.fst
Spec.Ed25519.Test.test4_msg
val test4_msg:lbytes 1023
val test4_msg:lbytes 1023
let test4_msg : lbytes 1023 = let l = List.Tot.map u8_from_UInt8 [ 0x08uy; 0xb8uy; 0xb2uy; 0xb7uy; 0x33uy; 0x42uy; 0x42uy; 0x43uy; 0x76uy; 0x0fuy; 0xe4uy; 0x26uy; 0xa4uy; 0xb5uy; 0x49uy; 0x08uy; 0x63uy; 0x21uy; 0x10uy; 0xa6uy; 0x6cuy; 0x2fuy; 0x65uy; 0x91uy; 0xeauy; 0xbduy; 0x33uy; 0x45uy; 0xe3uy; 0xe...
{ "file_name": "specs/tests/Spec.Ed25519.Test.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 305, "start_col": 0, "start_line": 173 }
module Spec.Ed25519.Test open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence module PS = Lib.PrintSequence open Spec.Ed25519 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" /// Test 1 let test1_sk : lbytes 32 = let l = List.Tot.map u8_from_UInt8 [ 0x9duy; 0x61uy; 0x...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.PrintSequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.UInt8.fsti.checked", "FSta...
[ { "abbrev": false, "full_module": "Spec.Ed25519", "short_module": null }, { "abbrev": true, "full_module": "Lib.PrintSequence", "short_module": "PS" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Lib.Sequence.lseq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC) 1023
Prims.Tot
[ "total" ]
[]
[ "Lib.Sequence.of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "FStar.List.Tot.Base.length", "Prims.list", "FStar.List.Tot.Base.map", "FStar.UInt8.t", "Lib.RawIntTypes.u8_from_UInt8", "Prims.Cons"...
[]
false
false
false
false
false
let test4_msg:lbytes 1023 =
let l = List.Tot.map u8_from_UInt8 [ 0x08uy; 0xb8uy; 0xb2uy; 0xb7uy; 0x33uy; 0x42uy; 0x42uy; 0x43uy; 0x76uy; 0x0fuy; 0xe4uy; 0x26uy; 0xa4uy; 0xb5uy; 0x49uy; 0x08uy; 0x63uy; 0x21uy; 0x10uy; 0xa6uy; 0x6cuy; 0x2fuy; 0x65uy; 0x91uy; 0xeauy; 0xbduy; 0x33uy; 0x45uy; 0xe3uy; 0xe4uy; 0xebuy; 0x98uy; 0xf...
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_sha2_384
val compute_sha2_384: compute_st SHA2_384
val compute_sha2_384: compute_st SHA2_384
let compute_sha2_384 = let open Hacl.Streaming.SHA2 in let open Hacl.Hash.SHA2 in mk_compute (|SHA2_384, ()|) hash_384 alloca_384 init_384 update_multi_384 update_last_384 finish_384
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 72, "start_col": 0, "start_line": 68 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_384
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.SHA2_384", "Hacl.Streaming.SHA2.hash_384", "Hacl.Hash.SHA2.alloca_384", "Hacl.Hash.SHA2.init_384", "Hacl.Hash.SHA2.update_multi_384", "Hacl.Hash.SHA2.update_last_384"...
[]
false
false
false
true
false
let compute_sha2_384 =
let open Hacl.Streaming.SHA2 in let open Hacl.Hash.SHA2 in mk_compute (| SHA2_384, () |) hash_384 alloca_384 init_384 update_multi_384 update_last_384 finish_384
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.alloca
val alloca : Hacl.Streaming.Functor.alloca_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let alloca = F.alloca hacl_md5 () (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 36, "start_col": 0, "start_line": 36 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.alloca_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.alloca", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let alloca =
F.alloca hacl_md5 () (state_t_md5.s ()) (G.erased unit)
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.malloc
val malloc : Hacl.Streaming.Functor.malloc_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let malloc = F.malloc hacl_md5 () (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 37, "start_col": 0, "start_line": 37 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.malloc_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.malloc", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let malloc =
F.malloc hacl_md5 () (state_t_md5.s ()) (G.erased unit)
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.hacl_md5
val hacl_md5 : Hacl.Streaming.Interface.block Prims.unit
let hacl_md5 = hacl_md MD5
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 27, "start_col": 0, "start_line": 27 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Interface.block Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.MD.hacl_md", "Spec.Hash.Definitions.MD5" ]
[]
false
false
false
true
false
let hacl_md5 =
hacl_md MD5
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_blake2b
val compute_blake2b: compute_st Blake2B
val compute_blake2b: compute_st Blake2B
let compute_blake2b = let open Hacl.Hash.Blake2b_32 in mk_compute (|Blake2B, Hacl.Impl.Blake2.Core.M32|) hash alloca init update_multi update_last finish
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 88, "start_col": 0, "start_line": 85 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.Blake2B
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.Blake2B", "Hacl.Impl.Blake2.Core.M32", "Hacl.Hash.Blake2b_32.hash", "Hacl.Hash.Blake2b_32.alloca", "Hacl.Hash.Blake2b_32.init", "Hacl.Hash.Blake2b_32.update_multi", ...
[]
false
false
false
true
false
let compute_blake2b =
let open Hacl.Hash.Blake2b_32 in mk_compute (| Blake2B, Hacl.Impl.Blake2.Core.M32 |) hash alloca init update_multi update_last finish
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.copy
val copy : Hacl.Streaming.Functor.copy_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let copy = F.copy hacl_md5 () (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 45, "start_col": 0, "start_line": 45 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.copy_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.copy", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "FStar.Ghost.hide", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let copy =
F.copy hacl_md5 () (state_t_md5.s ()) (G.erased unit)
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_sha2_512
val compute_sha2_512: compute_st SHA2_512
val compute_sha2_512: compute_st SHA2_512
let compute_sha2_512 = let open Hacl.Streaming.SHA2 in let open Hacl.Hash.SHA2 in mk_compute (|SHA2_512, ()|) hash_512 alloca_512 init_512 update_multi_512 update_last_512 finish_512
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 78, "start_col": 0, "start_line": 74 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_512
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.SHA2_512", "Hacl.Streaming.SHA2.hash_512", "Hacl.Hash.SHA2.alloca_512", "Hacl.Hash.SHA2.init_512", "Hacl.Hash.SHA2.update_multi_512", "Hacl.Hash.SHA2.update_last_512"...
[]
false
false
false
true
false
let compute_sha2_512 =
let open Hacl.Streaming.SHA2 in let open Hacl.Hash.SHA2 in mk_compute (| SHA2_512, () |) hash_512 alloca_512 init_512 update_multi_512 update_last_512 finish_512
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.digest
val digest : Hacl.Streaming.Functor.digest_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let digest = F.digest hacl_md5 () (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 42, "start_col": 0, "start_line": 42 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.digest_st Hacl.Streaming.MD5.hacl_md5 () (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.digest", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let digest =
F.digest hacl_md5 () (state_t_md5.s ()) (G.erased unit)
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.update
val update : Hacl.Streaming.Functor.update_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let update = F.update hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 41, "start_col": 0, "start_line": 41 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.update_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.update", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "FStar.Ghost.hide", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let update =
F.update hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.free
val free : Hacl.Streaming.Functor.free_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let free = F.free hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 43, "start_col": 0, "start_line": 43 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.free_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.reveal (FStar.Ghost.hide ())) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.free", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "FStar.Ghost.hide", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let free =
F.free hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.state_t_md5
val state_t_md5 : Hacl.Streaming.Interface.stateful Prims.unit
let state_t_md5 = state_t MD5
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 30, "start_col": 0, "start_line": 30 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Interface.stateful Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.MD.state_t", "Spec.Hash.Definitions.MD5" ]
[]
false
false
false
true
false
let state_t_md5 =
state_t MD5
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.reset
val reset : Hacl.Streaming.Functor.reset_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.hide (FStar.Ghost.reveal (FStar.Ghost.hide ()))) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
let reset = F.reset hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 38, "start_col": 0, "start_line": 38 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Streaming.Functor.reset_st Hacl.Streaming.MD5.hacl_md5 (FStar.Ghost.hide (FStar.Ghost.reveal (FStar.Ghost.hide ()))) (Stateful?.s Hacl.Streaming.MD5.state_t_md5 ()) (FStar.Ghost.erased Prims.unit)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Functor.reset", "Prims.unit", "Hacl.Streaming.MD5.hacl_md5", "FStar.Ghost.hide", "Hacl.Streaming.Interface.__proj__Stateful__item__s", "Hacl.Streaming.MD5.state_t_md5", "FStar.Ghost.erased" ]
[]
false
false
false
false
false
let reset =
F.reset hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit)
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_sha2_256
val compute_sha2_256: compute_st SHA2_256
val compute_sha2_256: compute_st SHA2_256
let compute_sha2_256 = let open Hacl.Hash.SHA2 in mk_compute (|SHA2_256, ()|) hash_256 alloca_256 init_256 EverCrypt.Hash.update_multi_256 update_last_256 finish_256
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 66, "start_col": 0, "start_line": 62 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_256
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.SHA2_256", "EverCrypt.HMAC.hash_256", "Hacl.Hash.SHA2.alloca_256", "Hacl.Hash.SHA2.init_256", "EverCrypt.Hash.update_multi_256", "Hacl.Hash.SHA2.update_last_256", "...
[]
false
false
false
true
false
let compute_sha2_256 =
let open Hacl.Hash.SHA2 in mk_compute (| SHA2_256, () |) hash_256 alloca_256 init_256 EverCrypt.Hash.update_multi_256 update_last_256 finish_256
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute_blake2s
val compute_blake2s: compute_st Blake2S
val compute_blake2s: compute_st Blake2S
let compute_blake2s = let open Hacl.Hash.Blake2s_32 in mk_compute (|Blake2S, Hacl.Impl.Blake2.Core.M32|) hash alloca init update_multi update_last finish
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 83, "start_col": 0, "start_line": 80 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.HMAC.compute_st Spec.Hash.Definitions.Blake2S
Prims.Tot
[ "total" ]
[]
[ "Hacl.HMAC.mk_compute", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Spec.Hash.Definitions.Blake2S", "Hacl.Impl.Blake2.Core.M32", "Hacl.Hash.Blake2s_32.hash", "Hacl.Hash.Blake2s_32.alloca", "Hacl.Hash.Blake2s_32.init", "Hacl.Hash.Blake2s_32.update_multi", ...
[]
false
false
false
true
false
let compute_blake2s =
let open Hacl.Hash.Blake2s_32 in mk_compute (| Blake2S, Hacl.Impl.Blake2.Core.M32 |) hash alloca init update_multi update_last finish
false
FStar.MSTTotal.fst
FStar.MSTTotal.subcomp
val subcomp (a: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: pre_t state) (ens_g: post_t state a) (f: repr a state rel req_f ens_f) : Pure (repr a state rel req_g ens_g) (requires (forall s. req_g s...
val subcomp (a: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: pre_t state) (ens_g: post_t state a) (f: repr a state rel req_f ens_f) : Pure (repr a state rel req_g ens_g) (requires (forall s. req_g s...
let subcomp (a:Type) (state:Type u#2) (rel:P.preorder state) (req_f:pre_t state) (ens_f:post_t state a) (req_g:pre_t state) (ens_g:post_t state a) (f:repr a state rel req_f ens_f) : Pure (repr a state rel req_g ens_g) (requires (forall s. req_g s ==> req...
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 84, "start_col": 0, "start_line": 69 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> state: Type -> rel: FStar.Preorder.preorder state -> req_f: FStar.MSTTotal.pre_t state -> ens_f: FStar.MSTTotal.post_t state a -> req_g: FStar.MSTTotal.pre_t state -> ens_g: FStar.MSTTotal.post_t state a -> f: FStar.MSTTotal.repr a state rel req_f ens_f -> Prims.Pure (FStar...
Prims.Pure
[]
[]
[ "FStar.Preorder.preorder", "FStar.MSTTotal.pre_t", "FStar.MSTTotal.post_t", "FStar.MSTTotal.repr", "Prims.l_and", "Prims.l_Forall", "Prims.l_imp", "Prims.l_True" ]
[]
false
false
false
false
false
let subcomp (a: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: pre_t state) (ens_g: post_t state a) (f: repr a state rel req_f ens_f) : Pure (repr a state rel req_g ens_g) (requires (forall s. req_g s...
f
false
FStar.MSTTotal.fst
FStar.MSTTotal.return
val return (a: Type) (x: a) (state: Type u#2) (rel: P.preorder state) : repr a state rel (fun _ -> True) (fun s0 r s1 -> r == x /\ s0 == s1)
val return (a: Type) (x: a) (state: Type u#2) (rel: P.preorder state) : repr a state rel (fun _ -> True) (fun s0 r s1 -> r == x /\ s0 == s1)
let return (a:Type) (x:a) (state:Type u#2) (rel:P.preorder state) : repr a state rel (fun _ -> True) (fun s0 r s1 -> r == x /\ s0 == s1) = fun s0 -> x, s0
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 48, "start_col": 0, "start_line": 39 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> state: Type -> rel: FStar.Preorder.preorder state -> FStar.MSTTotal.repr a state rel (fun _ -> Prims.l_True) (fun s0 r s1 -> r == x /\ s0 == s1)
Prims.Tot
[ "total" ]
[]
[ "FStar.Preorder.preorder", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "FStar.MSTTotal.repr", "Prims.l_True", "Prims.l_and", "Prims.eq2" ]
[]
false
false
false
false
false
let return (a: Type) (x: a) (state: Type u#2) (rel: P.preorder state) : repr a state rel (fun _ -> True) (fun s0 r s1 -> r == x /\ s0 == s1) =
fun s0 -> x, s0
false
FStar.MSTTotal.fst
FStar.MSTTotal.put
val put (#state: Type u#2) (#rel: P.preorder state) (s: state) : MSTATETOT unit state rel (fun s0 -> rel s0 s) (fun _ _ s1 -> s1 == s)
val put (#state: Type u#2) (#rel: P.preorder state) (s: state) : MSTATETOT unit state rel (fun s0 -> rel s0 s) (fun _ _ s1 -> s1 == s)
let put (#state:Type u#2) (#rel:P.preorder state) (s:state) : MSTATETOT unit state rel (fun s0 -> rel s0 s) (fun _ _ s1 -> s1 == s) = MSTATETOT?.reflect (fun _ -> (), s)
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 129, "start_col": 0, "start_line": 124 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: state -> FStar.MSTTotal.MSTATETOT Prims.unit
FStar.MSTTotal.MSTATETOT
[]
[]
[ "FStar.Preorder.preorder", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "FStar.Pervasives.Native.tuple2", "Prims.eq2" ]
[]
false
true
false
false
false
let put (#state: Type u#2) (#rel: P.preorder state) (s: state) : MSTATETOT unit state rel (fun s0 -> rel s0 s) (fun _ _ s1 -> s1 == s) =
MSTATETOT?.reflect (fun _ -> (), s)
false
FStar.MSTTotal.fst
FStar.MSTTotal.bind
val bind (a b: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: (a -> pre_t state)) (ens_g: (a -> post_t state b)) (f: repr a state rel req_f ens_f) (g: (x: a -> repr b state rel (req_g x) (ens_g x))) : repr b ...
val bind (a b: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: (a -> pre_t state)) (ens_g: (a -> post_t state b)) (f: repr a state rel req_f ens_f) (g: (x: a -> repr b state rel (req_g x) (ens_g x))) : repr b ...
let bind (a:Type) (b:Type) (state:Type u#2) (rel:P.preorder state) (req_f:pre_t state) (ens_f:post_t state a) (req_g:a -> pre_t state) (ens_g:a -> post_t state b) (f:repr a state rel req_f ens_f) (g:(x:a -> repr b state rel (req_g x) (ens_g x))) : repr b s...
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 12, "end_line": 67, "start_col": 0, "start_line": 50 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> state: Type -> rel: FStar.Preorder.preorder state -> req_f: FStar.MSTTotal.pre_t state -> ens_f: FStar.MSTTotal.post_t state a -> req_g: (_: a -> FStar.MSTTotal.pre_t state) -> ens_g: (_: a -> FStar.MSTTotal.post_t state b) -> f: FStar.MSTTotal.repr a state rel...
Prims.Tot
[ "total" ]
[]
[ "FStar.Preorder.preorder", "FStar.MSTTotal.pre_t", "FStar.MSTTotal.post_t", "FStar.MSTTotal.repr", "FStar.Pervasives.Native.tuple2", "Prims.l_and", "Prims.l_Forall", "Prims.l_imp", "Prims.l_Exists" ]
[]
false
false
false
false
false
let bind (a b: Type) (state: Type u#2) (rel: P.preorder state) (req_f: pre_t state) (ens_f: post_t state a) (req_g: (a -> pre_t state)) (ens_g: (a -> post_t state b)) (f: repr a state rel req_f ens_f) (g: (x: a -> repr b state rel (req_g x) (ens_g x))) : repr b ...
fun s0 -> let x, s1 = f s0 in (g x) s1
false
FStar.MSTTotal.fst
FStar.MSTTotal.get
val get: #state: Type u#2 -> #rel: P.preorder state -> Prims.unit -> MSTATETOT state state rel (fun _ -> True) (fun s0 r s1 -> s0 == r /\ r == s1)
val get: #state: Type u#2 -> #rel: P.preorder state -> Prims.unit -> MSTATETOT state state rel (fun _ -> True) (fun s0 r s1 -> s0 == r /\ r == s1)
let get (#state:Type u#2) (#rel:P.preorder state) () : MSTATETOT state state rel (fun _ -> True) (fun s0 r s1 -> s0 == r /\ r == s1) = MSTATETOT?.reflect (fun s0 -> s0, s0)
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 121, "start_col": 0, "start_line": 116 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.MSTTotal.MSTATETOT state
FStar.MSTTotal.MSTATETOT
[]
[]
[ "FStar.Preorder.preorder", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "Prims.l_True", "Prims.l_and", "Prims.eq2" ]
[]
false
true
false
false
false
let get (#state: Type u#2) (#rel: P.preorder state) () : MSTATETOT state state rel (fun _ -> True) (fun s0 r s1 -> s0 == r /\ r == s1) =
MSTATETOT?.reflect (fun s0 -> s0, s0)
false
FStar.MSTTotal.fst
FStar.MSTTotal.lift_pure_mst_total
val lift_pure_mst_total (a: Type) (wp: pure_wp a) (state: Type u#2) (rel: P.preorder state) (f: (eqtype_as_type unit -> PURE a wp)) : repr a state rel (fun s0 -> wp (fun _ -> True)) (fun s0 x s1 -> wp (fun _ -> True) /\ (~(wp (fun r -> r =!= x \/ s0 =!= s1))))
val lift_pure_mst_total (a: Type) (wp: pure_wp a) (state: Type u#2) (rel: P.preorder state) (f: (eqtype_as_type unit -> PURE a wp)) : repr a state rel (fun s0 -> wp (fun _ -> True)) (fun s0 x s1 -> wp (fun _ -> True) /\ (~(wp (fun r -> r =!= x \/ s0 =!= s1))))
let lift_pure_mst_total (a:Type) (wp:pure_wp a) (state:Type u#2) (rel:P.preorder state) (f:eqtype_as_type unit -> PURE a wp) : repr a state rel (fun s0 -> wp (fun _ -> True)) (fun s0 x s1 -> wp (fun _ -> True) /\ (~ (wp (fun r -> r =!= x \/ s0 =!= s1)))) = elim_pure_...
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 190, "start_col": 0, "start_line": 177 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: Prims.pure_wp a -> state: Type -> rel: FStar.Preorder.preorder state -> f: (_: FStar.Pervasives.eqtype_as_type Prims.unit -> Prims.PURE a) -> FStar.MSTTotal.repr a state rel (fun _ -> wp (fun _ -> Prims.l_True)) (fun s0 x s1 -> wp (fun _ -> Prims.l_True) /\ ...
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "FStar.Preorder.preorder", "FStar.Pervasives.eqtype_as_type", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity", "FStar.MSTTotal.repr", "Prims.l_True", "Prims.l_and", "Prims.l_not", "Prims.l_or"...
[]
false
false
false
false
false
let lift_pure_mst_total (a: Type) (wp: pure_wp a) (state: Type u#2) (rel: P.preorder state) (f: (eqtype_as_type unit -> PURE a wp)) : repr a state rel (fun s0 -> wp (fun _ -> True)) (fun s0 x s1 -> wp (fun _ -> True) /\ (~(wp (fun r -> r =!= x \/ s0 =!= s1)))) =...
elim_pure_wp_monotonicity wp; fun s0 -> let x = f () in x, s0
false
FStar.MSTTotal.fst
FStar.MSTTotal.mst_tot_assert
val mst_tot_assert (#state: Type u#2) (#rel: P.preorder state) (p: Type) : MSTATETOT unit state rel (fun _ -> p) (fun m0 _ m1 -> p /\ m0 == m1)
val mst_tot_assert (#state: Type u#2) (#rel: P.preorder state) (p: Type) : MSTATETOT unit state rel (fun _ -> p) (fun m0 _ m1 -> p /\ m0 == m1)
let mst_tot_assert (#state:Type u#2) (#rel:P.preorder state) (p:Type) : MSTATETOT unit state rel (fun _ -> p) (fun m0 _ m1 -> p /\ m0 == m1) = assert p
{ "file_name": "ulib/experimental/FStar.MSTTotal.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 208, "start_col": 0, "start_line": 205 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Witnessed.Core.fsti.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked" ], "interface_file": false, "source_file": "FStar....
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": true, "full_module": "FStar.Preorder", "short_module": "P" }, { "abbrev": true, "full_module": "FStar.Witnessed.Core", "short_module": "W" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Type0 -> FStar.MSTTotal.MSTATETOT Prims.unit
FStar.MSTTotal.MSTATETOT
[]
[]
[ "FStar.Preorder.preorder", "Prims._assert", "Prims.unit", "Prims.l_and", "Prims.eq2" ]
[]
false
true
false
false
false
let mst_tot_assert (#state: Type u#2) (#rel: P.preorder state) (p: Type) : MSTATETOT unit state rel (fun _ -> p) (fun m0 _ m1 -> p /\ m0 == m1) =
assert p
false
Hacl.Streaming.MD5.fst
Hacl.Streaming.MD5.hash
val hash:Hacl.Hash.Definitions.hash_st MD5
val hash:Hacl.Hash.Definitions.hash_st MD5
let hash: Hacl.Hash.Definitions.hash_st MD5 = fun output input input_len -> Hacl.Hash.MD5.hash_oneshot output input input_len
{ "file_name": "code/streaming/Hacl.Streaming.MD5.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 125, "end_line": 47, "start_col": 0, "start_line": 47 }
module Hacl.Streaming.MD5 /// WARNING: this file is here for legacy purposes only. You SHOULD NOT use /// it in new code. open FStar.HyperStack.ST /// A streaming version of MD-based hashes #set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" module G = FStar.Ghost module F = Hacl.Streaming.Functor open Spec....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Streaming.MD.fst.checked", "Hacl.Streaming.Interface.fsti.checked", "Hacl.Streaming.Functor.fsti.checked", "Hacl.Hash.MD5.fsti.checked", "Hacl.Hash.Definitions.fst.checked", "FSta...
[ { "abbrev": false, "full_module": "Hacl.Streaming.MD", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Streaming.Interface", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Hash.Definitions.hash_st Spec.Hash.Definitions.MD5
Prims.Tot
[ "total" ]
[]
[ "Hacl.Hash.Definitions.hash_t", "Spec.Hash.Definitions.MD5", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "LowStar.Monotonic.Buffer.l...
[]
false
false
false
true
false
let hash:Hacl.Hash.Definitions.hash_st MD5 =
fun output input input_len -> Hacl.Hash.MD5.hash_oneshot output input input_len
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.bv_tac_lt
val bv_tac_lt : n: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
let bv_tac_lt n = focus (fun () -> let nn = pack (Tv_Const (C_Int n)) in let t = mk_app (`trans_lt2) [(nn, Q_Implicit)] in apply_lemma t; arith_to_bv_tac (); arith_to_bv_tac (); set_options "--smtencoding.elim_box true"; smt () )
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 199, "start_col": 0, "start_line": 191 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.int", "FStar.Tactics.V2.Derived.focus", "Prims.unit", "FStar.Tactics.V2.Derived.smt", "FStar.Stubs.Tactics.V2.Builtins.set_options", "FStar.Tactics.BV.arith_to_bv_tac", "FStar.Tactics.V2.Derived.apply_lemma", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.V2.Derived.mk_app", "Prims....
[]
false
true
false
false
false
let bv_tac_lt n =
focus (fun () -> let nn = pack (Tv_Const (C_Int n)) in let t = mk_app (`trans_lt2) [(nn, Q_Implicit)] in apply_lemma t; arith_to_bv_tac (); arith_to_bv_tac (); set_options "--smtencoding.elim_box true"; smt ())
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.bv_tac
val bv_tac : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
let bv_tac () = focus (fun () -> mapply (`eq_to_bv); mapply (`trans); arith_to_bv_tac (); arith_to_bv_tac (); set_options "--smtencoding.elim_box true"; norm [delta] ; smt () )
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 189, "start_col": 0, "start_line": 181 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.V2.Derived.smt", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta", "Prims.Nil", "FStar.Stubs.Tactics.V2.Builtins.set_options", "FStar.Tactics.BV.arith_to_bv_tac", "FStar.Tac...
[]
false
true
false
false
false
let bv_tac () =
focus (fun () -> mapply (`eq_to_bv); mapply (`trans); arith_to_bv_tac (); arith_to_bv_tac (); set_options "--smtencoding.elim_box true"; norm [delta]; smt ())
false
EverCrypt.HMAC.fst
EverCrypt.HMAC.compute
val compute: a: supported_alg -> compute_st a
val compute: a: supported_alg -> compute_st a
let compute a mac key keylen data datalen = match a with | SHA1 -> compute_sha1 mac key keylen data datalen | SHA2_256 -> compute_sha2_256 mac key keylen data datalen | SHA2_384 -> compute_sha2_384 mac key keylen data datalen | SHA2_512 -> compute_sha2_512 mac key keylen data datalen | Blake2S -> compute_bl...
{ "file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 97, "start_col": 0, "start_line": 90 }
(* Agile HMAC *) module EverCrypt.HMAC open Hacl.HMAC // EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is // inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module // does not have an interface, meaning that we can't even friend it! Writing an // interface for EverCrypt.Hash.Incr...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Streaming.SHA2.fst.checked", "Hacl.Impl.Blake2.Core.fsti.checked", "Hacl.HMAC.fsti.checked", "Hacl.Hash.SHA2.fsti.checked", "Hacl.Hash.SHA1.fsti.checked", "Hacl.Hash.Blake2s_32.fsti.checked", "Hacl.Hash.Blake2b_32.fs...
[ { "abbrev": true, "full_module": "EverCrypt.Hash.Incremental", "short_module": "Useless" }, { "abbrev": false, "full_module": "Hacl.HMAC", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.HMAC.supported_alg -> Hacl.HMAC.compute_st a
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.HMAC.supported_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.eq2", "Prims.nat", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Spec.Hash.Definitions.hash_length", "Prims.l_and", "Spec.Agile.HMAC.keysized", "LowStar.Monotonic.Buffer.disjoint", "F...
[]
false
false
false
false
false
let compute a mac key keylen data datalen =
match a with | SHA1 -> compute_sha1 mac key keylen data datalen | SHA2_256 -> compute_sha2_256 mac key keylen data datalen | SHA2_384 -> compute_sha2_384 mac key keylen data datalen | SHA2_512 -> compute_sha2_512 mac key keylen data datalen | Blake2S -> compute_blake2s mac key keylen data datalen | Blake2B -> compute_b...
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.to_bv_tac
val to_bv_tac : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
let to_bv_tac () = focus (fun () -> apply_lemma (`eq_to_bv); apply_lemma (`trans); arith_to_bv_tac (); arith_to_bv_tac () )
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 206, "start_col": 0, "start_line": 201 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Tactics.BV.arith_to_bv_tac", "FStar.Tactics.V2.Derived.apply_lemma" ]
[]
false
true
false
false
false
let to_bv_tac () =
focus (fun () -> apply_lemma (`eq_to_bv); apply_lemma (`trans); arith_to_bv_tac (); arith_to_bv_tac ())
false
Hacl.Hash.MD.fst
Hacl.Hash.MD.pad_length_mod
val pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad_length a (base_len + len) = pad_length a len)
val pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad_length a (base_len + len) = pad_length a len)
let pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat): Lemma (requires base_len % block_length a = 0) (ensures pad_length a (base_len + len) = pad_length a len) = pad0_length_mod a base_len len
{ "file_name": "code/hash/Hacl.Hash.MD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 62, "start_col": 0, "start_line": 59 }
module Hacl.Hash.MD (** The Merkle-Damgård construction. *) module U8 = FStar.UInt8 module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module Int = Lib.IntTypes module Lemmas = FStar.Math.Lemmas module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module ST = FStar....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.chec...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "AH" }, { "abbrev": true, "full_module": "Spec.Hash.Incremental", "short_module": "HI" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} -> base_len: Prims.nat -> len: Prims.nat -> FStar.Pervasives.Lemma (requires base_len % Spec.Hash.Definitions.block_length a = 0) (ensures Spec.Hash.Definitions.pad_length a (base_len + len) = Spec.Hash.Definitions.pad_length ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.Hash.Definitions.is_md", "Prims.nat", "Hacl.Hash.MD.pad0_length_mod", "Prims.unit", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Spec.Hash.Definitions.block_length", "Prims.squash", "Prims.l_or", "Prims.op_Addition", "Spec.Hash...
[]
true
false
true
false
false
let pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad_length a (base_len + len) = pad_length a len) =
pad0_length_mod a base_len len
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.arith_expr_to_bv
val arith_expr_to_bv (e: expr) : Tac unit
val arith_expr_to_bv (e: expr) : Tac unit
let rec arith_expr_to_bv (e:expr) : Tac unit = match e with | NatToBv (MulMod e1 _) | MulMod e1 _ -> apply_lemma (`int2bv_mul); apply_lemma (`cong_bvmul); arith_expr_to_bv e1 | NatToBv (Umod e1 _) | Umod e1 _ -> apply_lemma (`int2bv_mod); apply_lemma (`cong_bvmod); ...
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 16, "end_line": 158, "start_col": 0, "start_line": 110 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
e: FStar.Reflection.V2.Arith.expr -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Reflection.V2.Arith.expr", "FStar.Tactics.BV.arith_expr_to_bv", "Prims.unit", "FStar.Tactics.V2.Derived.apply_lemma", "FStar.Tactics.V2.Derived.trefl" ]
[ "recursion" ]
false
true
false
false
false
let rec arith_expr_to_bv (e: expr) : Tac unit =
match e with | NatToBv (MulMod e1 _) | MulMod e1 _ -> apply_lemma (`int2bv_mul); apply_lemma (`cong_bvmul); arith_expr_to_bv e1 | NatToBv (Umod e1 _) | Umod e1 _ -> apply_lemma (`int2bv_mod); apply_lemma (`cong_bvmod); arith_expr_to_bv e1 | NatToBv (Udiv e1 _) | Udiv e1 _ -> apply_lemma (`int2bv_div); a...
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.lt_to_bv
val lt_to_bv: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> (b2t (bvult #n (int2bv #n x) (int2bv #n y))) -> Lemma (x < y)
val lt_to_bv: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> (b2t (bvult #n (int2bv #n x) (int2bv #n y))) -> Lemma (x < y)
let lt_to_bv #n #x #y pf = int2bv_lemma_ult_2 #n x y
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 89, "start_col": 0, "start_line": 89 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pf: FStar.BV.bvult (FStar.BV.int2bv x) (FStar.BV.int2bv y) -> FStar.Pervasives.Lemma (ensures x < y)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.UInt.uint_t", "Prims.b2t", "FStar.BV.bvult", "FStar.BV.int2bv", "FStar.BV.int2bv_lemma_ult_2", "Prims.unit" ]
[]
true
false
true
false
false
let lt_to_bv #n #x #y pf =
int2bv_lemma_ult_2 #n x y
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.eq_to_bv
val eq_to_bv: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> squash (int2bv #n x == int2bv #n y) -> Lemma (x == y)
val eq_to_bv: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> squash (int2bv #n x == int2bv #n y) -> Lemma (x == y)
let eq_to_bv #n #x #y pf = int2bv_lemma_2 #n x y
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 85, "start_col": 0, "start_line": 85 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pf: Prims.squash (FStar.BV.int2bv x == FStar.BV.int2bv y) -> FStar.Pervasives.Lemma (ensures x == y)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.UInt.uint_t", "Prims.squash", "Prims.eq2", "FStar.BV.bv_t", "FStar.BV.int2bv", "FStar.BV.int2bv_lemma_2", "Prims.unit" ]
[]
true
false
true
false
false
let eq_to_bv #n #x #y pf =
int2bv_lemma_2 #n x y
false
C.Loops.fst
C.Loops.for64
val for64: start:UInt64.t -> finish:UInt64.t{UInt64.v finish >= UInt64.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt64.t{UInt64.(v start <= v i /\ v i < v finish)} -> Stack unit (requires (fun h -> inv h (UInt64.v i))) (ensures (fun h_1 _ h_2 -> UInt64.(in...
val for64: start:UInt64.t -> finish:UInt64.t{UInt64.v finish >= UInt64.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt64.t{UInt64.(v start <= v i /\ v i < v finish)} -> Stack unit (requires (fun h -> inv h (UInt64.v i))) (ensures (fun h_1 _ h_2 -> UInt64.(in...
let rec for64 start finish inv f = if start = finish then () else begin f start; for64 (UInt64.(start +^ 1UL)) finish inv f end
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 5, "end_line": 78, "start_col": 0, "start_line": 72 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: FStar.UInt64.t -> finish: FStar.UInt64.t{FStar.UInt64.v finish >= FStar.UInt64.v start} -> inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.nat -> Type0) -> f: ( i: FStar.UInt64.t { FStar.UInt64.v start <= FStar.UInt64.v i /\ F...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt64.t", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt64.v", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.unit", "Prims.op_Addition", "Prims.op_Equality", "Prims.bool", "C.Loops.for64", "FStar.UIn...
[ "recursion" ]
false
true
false
false
false
let rec for64 start finish inv f =
if start = finish then () else (f start; for64 (let open UInt64 in start +^ 1uL) finish inv f)
false
Hacl.Hash.MD.fst
Hacl.Hash.MD.pad0_length_mod
val pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad0_length a (base_len + len) = pad0_length a len)
val pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad0_length a (base_len + len) = pad0_length a len)
let pad0_length_mod (a: hash_alg{is_md a}) (base_len: nat) (len: nat): Lemma (requires base_len % block_length a = 0) (ensures pad0_length a (base_len + len) = pad0_length a len) = mod_sub_add (block_length a) base_len len (len_length a + 1) (block_length a)
{ "file_name": "code/hash/Hacl.Hash.MD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 57, "start_col": 0, "start_line": 53 }
module Hacl.Hash.MD (** The Merkle-Damgård construction. *) module U8 = FStar.UInt8 module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module Int = Lib.IntTypes module Lemmas = FStar.Math.Lemmas module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module ST = FStar....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.chec...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "AH" }, { "abbrev": true, "full_module": "Spec.Hash.Incremental", "short_module": "HI" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} -> base_len: Prims.nat -> len: Prims.nat -> FStar.Pervasives.Lemma (requires base_len % Spec.Hash.Definitions.block_length a = 0) (ensures Spec.Hash.Definitions.pad0_length a (base_len + len) = Spec.Hash.Definitions.pa...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.Hash.Definitions.is_md", "Prims.nat", "Hacl.Hash.MD.mod_sub_add", "Spec.Hash.Definitions.block_length", "Prims.op_Addition", "Spec.Hash.Definitions.len_length", "Prims.unit", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Prims.squ...
[]
true
false
true
false
false
let pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat) : Lemma (requires base_len % block_length a = 0) (ensures pad0_length a (base_len + len) = pad0_length a len) =
mod_sub_add (block_length a) base_len len (len_length a + 1) (block_length a)
false
C.Loops.fst
C.Loops.reverse_for
val reverse_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish <= UInt32.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt32.t{UInt32.(v start >= v i /\ v i > v finish)} -> Stack unit (requires (fun h -> inv h (UInt32.v i))) (ensures (fun h_1 _ h_2 -> UInt...
val reverse_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish <= UInt32.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt32.t{UInt32.(v start >= v i /\ v i > v finish)} -> Stack unit (requires (fun h -> inv h (UInt32.v i))) (ensures (fun h_1 _ h_2 -> UInt...
let rec reverse_for start finish inv f = if start = finish then () else begin f start; reverse_for (UInt32.(start -^ 1ul)) finish inv f end
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 5, "end_line": 101, "start_col": 0, "start_line": 95 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: FStar.UInt32.t -> finish: FStar.UInt32.t{FStar.UInt32.v finish <= FStar.UInt32.v start} -> inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.nat -> Type0) -> f: ( i: FStar.UInt32.t { FStar.UInt32.v start >= FStar.UInt32.v i /\ F...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_GreaterThan", "Prims.unit", "Prims.op_Subtraction", "Prims.op_Equality", "Prims.bool", "C.Loops.reverse_for", ...
[ "recursion" ]
false
true
false
false
false
let rec reverse_for start finish inv f =
if start = finish then () else (f start; reverse_for (let open UInt32 in start -^ 1ul) finish inv f)
false
C.Loops.fst
C.Loops.while
val while: #test_pre: (HS.mem -> GTot Type0) -> #test_post: (bool -> HS.mem -> GTot Type0) -> $test: (unit -> Stack bool (requires (fun h -> test_pre h)) (ensures (fun h0 x h1 -> test_post x h1))) -> body: (unit -> Stack unit (requires (fun h -> test_post true h)) (ensures (fun h0 _ h1 -> test_p...
val while: #test_pre: (HS.mem -> GTot Type0) -> #test_post: (bool -> HS.mem -> GTot Type0) -> $test: (unit -> Stack bool (requires (fun h -> test_pre h)) (ensures (fun h0 x h1 -> test_post x h1))) -> body: (unit -> Stack unit (requires (fun h -> test_post true h)) (ensures (fun h0 _ h1 -> test_p...
let rec while #test_pre #test_post test body = if test () then begin body (); while #test_pre #test_post test body end
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 5, "end_line": 172, "start_col": 0, "start_line": 168 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
$test: (_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.bool) -> body: (_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.unit) -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.Monotonic.HyperStack.mem", "Prims.bool", "Prims.unit", "C.Loops.while" ]
[ "recursion" ]
false
true
false
false
false
let rec while #test_pre #test_post test body =
if test () then (body (); while #test_pre #test_post test body)
false
C.Loops.fst
C.Loops.for
val for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish >= UInt32.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt32.t{UInt32.(v start <= v i /\ v i < v finish)} -> Stack unit (requires (fun h -> inv h (UInt32.v i))) (ensures (fun h_1 _ h_2 -> UInt32.(inv ...
val for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish >= UInt32.v start} -> inv:(HS.mem -> nat -> Type0) -> f:(i:UInt32.t{UInt32.(v start <= v i /\ v i < v finish)} -> Stack unit (requires (fun h -> inv h (UInt32.v i))) (ensures (fun h_1 _ h_2 -> UInt32.(inv ...
let rec for start finish inv f = if start = finish then () else begin f start; for (UInt32.(start +^ 1ul)) finish inv f end
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 5, "end_line": 60, "start_col": 0, "start_line": 54 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: FStar.UInt32.t -> finish: FStar.UInt32.t{FStar.UInt32.v finish >= FStar.UInt32.v start} -> inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.nat -> Type0) -> f: ( i: FStar.UInt32.t { FStar.UInt32.v start <= FStar.UInt32.v i /\ F...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.unit", "Prims.op_Addition", "Prims.op_Equality", "Prims.bool", "C.Loops.for", "FStar.UInt3...
[ "recursion" ]
false
true
false
false
false
let rec for start finish inv f =
if start = finish then () else (f start; for (let open UInt32 in start +^ 1ul) finish inv f)
false
C.Loops.fst
C.Loops.do_while
val do_while: inv:(HS.mem -> bool -> GTot Type0) -> f:(unit -> Stack bool (requires (fun h -> inv h false)) (ensures (fun h_1 b h_2 -> inv h_1 false /\ inv h_2 b)) ) -> Stack unit (requires (fun h -> inv h false)) (ensures (fun _ _ h_2 -> inv h_2 true))
val do_while: inv:(HS.mem -> bool -> GTot Type0) -> f:(unit -> Stack bool (requires (fun h -> inv h false)) (ensures (fun h_1 b h_2 -> inv h_1 false /\ inv h_2 b)) ) -> Stack unit (requires (fun h -> inv h false)) (ensures (fun _ _ h_2 -> inv h_2 true))
let rec do_while inv f = if not (f ()) then do_while inv f
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 18, "end_line": 148, "start_col": 0, "start_line": 146 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.bool -> Prims.GTot Type0) -> f: (_: Prims.unit -> FStar.HyperStack.ST.Stack Prims.bool) -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.Monotonic.HyperStack.mem", "Prims.bool", "Prims.unit", "Prims.l_and", "C.Loops.do_while", "Prims.op_Negation" ]
[ "recursion" ]
false
true
false
false
false
let rec do_while inv f =
if not (f ()) then do_while inv f
false
C.Loops.fst
C.Loops.interruptible_reverse_for
val interruptible_reverse_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish <= UInt32.v start} -> inv:(HS.mem -> nat -> bool -> GTot Type0) -> f:(i:UInt32.t{UInt32.(v start >= v i /\ v i > v finish)} -> Stack bool (requires (fun h -> inv h (UInt32.v i) false)) ...
val interruptible_reverse_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish <= UInt32.v start} -> inv:(HS.mem -> nat -> bool -> GTot Type0) -> f:(i:UInt32.t{UInt32.(v start >= v i /\ v i > v finish)} -> Stack bool (requires (fun h -> inv h (UInt32.v i) false)) ...
let rec interruptible_reverse_for start finish inv f = if start = finish then (finish, false) else let start' = UInt32.(start -^ 1ul) in if f start then (start', true) else interruptible_reverse_for start' finish inv f
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 54, "end_line": 200, "start_col": 0, "start_line": 193 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: FStar.UInt32.t -> finish: FStar.UInt32.t{FStar.UInt32.v finish <= FStar.UInt32.v start} -> inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.nat -> _: Prims.bool -> Prims.GTot Type0) -> f: ( i: FStar.UInt32.t { FStar.UInt32.v start >= FStar.UInt3...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.bool", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_GreaterThan", "Prims.op_Subtraction", "Prims.op_Equality", "FStar.Pervasives.Native.Mktuple2", "...
[ "recursion" ]
false
true
false
false
false
let rec interruptible_reverse_for start finish inv f =
if start = finish then (finish, false) else let start' = let open UInt32 in start -^ 1ul in if f start then (start', true) else interruptible_reverse_for start' finish inv f
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.trans_lt2
val trans_lt2: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> (#z:bv_t n) -> (#w:bv_t n) -> squash (int2bv #n x == z) -> squash (int2bv #n y == w) -> squash (bvult #n z w) -> Lemma (x < y)
val trans_lt2: #n:pos -> (#x:uint_t n) -> (#y:uint_t n) -> (#z:bv_t n) -> (#w:bv_t n) -> squash (int2bv #n x == z) -> squash (int2bv #n y == w) -> squash (bvult #n z w) -> Lemma (x < y)
let trans_lt2 #n #x #y #z #w pf1 pf2 pf3 = int2bv_lemma_ult_2 x y
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 65, "end_line": 108, "start_col": 0, "start_line": 108 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
pf1: Prims.squash (FStar.BV.int2bv x == z) -> pf2: Prims.squash (FStar.BV.int2bv y == w) -> pf3: Prims.squash (FStar.BV.bvult z w) -> FStar.Pervasives.Lemma (ensures x < y)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.UInt.uint_t", "FStar.BV.bv_t", "Prims.squash", "Prims.eq2", "FStar.BV.int2bv", "Prims.b2t", "FStar.BV.bvult", "FStar.BV.int2bv_lemma_ult_2", "Prims.unit" ]
[]
true
false
true
false
false
let trans_lt2 #n #x #y #z #w pf1 pf2 pf3 =
int2bv_lemma_ult_2 x y
false
Hacl.Hash.MD.fst
Hacl.Hash.MD.mod_sub_add
val mod_sub_add: a:int -> b:int -> c:int -> d:int -> p:pos -> Lemma (requires b % p = 0) (ensures (a - ((b + c) + d)) % p == (a - (c + d)) % p)
val mod_sub_add: a:int -> b:int -> c:int -> d:int -> p:pos -> Lemma (requires b % p = 0) (ensures (a - ((b + c) + d)) % p == (a - (c + d)) % p)
let mod_sub_add a b c d p = calc (==) { (a - ((b + c) + d)) % p; == { Math.Lemmas.lemma_mod_sub_distr a ((b + c) + d) p } (a - ((b + c) + d) % p) % p; == { Math.Lemmas.lemma_mod_plus_distr_l (b + c) d p } (a - ((b + c) % p + d) % p) % p; == { Math.Lemmas.lemma_mod_plus_distr_l b c p } (a -...
{ "file_name": "code/hash/Hacl.Hash.MD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 51, "start_col": 0, "start_line": 36 }
module Hacl.Hash.MD (** The Merkle-Damgård construction. *) module U8 = FStar.UInt8 module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module Int = Lib.IntTypes module Lemmas = FStar.Math.Lemmas module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module ST = FStar....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.chec...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "AH" }, { "abbrev": true, "full_module": "Spec.Hash.Incremental", "short_module": "HI" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Prims.int -> b: Prims.int -> c: Prims.int -> d: Prims.int -> p: Prims.pos -> FStar.Pervasives.Lemma (requires b % p = 0) (ensures (a - (b + c + d)) % p == (a - (c + d)) % p)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Prims.pos", "FStar.Calc.calc_finish", "Prims.eq2", "Prims.op_Modulus", "Prims.op_Subtraction", "Prims.op_Addition", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FStar.Calc.calc_init", "FStar.Calc.calc_pack", "FStar.Math.Lemmas...
[]
false
false
true
false
false
let mod_sub_add a b c d p =
calc ( == ) { (a - ((b + c) + d)) % p; ( == ) { Math.Lemmas.lemma_mod_sub_distr a ((b + c) + d) p } (a - ((b + c) + d) % p) % p; ( == ) { Math.Lemmas.lemma_mod_plus_distr_l (b + c) d p } (a - ((b + c) % p + d) % p) % p; ( == ) { Math.Lemmas.lemma_mod_plus_distr_l b c p } (a - ((b % p + c) % p + d) % p) % ...
false
FStar.Int64.fsti
FStar.Int64.n
val n : Prims.int
let n = 64
{ "file_name": "ulib/FStar.Int64.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 20, "start_col": 7, "start_line": 20 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int64.fsti" }
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.int
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let n =
64
false
C.Loops.fst
C.Loops.interruptible_for
val interruptible_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish >= UInt32.v start} -> inv:(HS.mem -> nat -> bool -> GTot Type0) -> f:(i:UInt32.t{UInt32.(v start <= v i /\ v i < v finish)} -> Stack bool (requires (fun h -> inv h (UInt32.v i) false)) (ensur...
val interruptible_for: start:UInt32.t -> finish:UInt32.t{UInt32.v finish >= UInt32.v start} -> inv:(HS.mem -> nat -> bool -> GTot Type0) -> f:(i:UInt32.t{UInt32.(v start <= v i /\ v i < v finish)} -> Stack bool (requires (fun h -> inv h (UInt32.v i) false)) (ensur...
let rec interruptible_for start finish inv f = if start = finish then (finish, false) else let start' = UInt32.(start +^ 1ul) in if f start then (start', true) else interruptible_for start' finish inv f
{ "file_name": "krmllib/C.Loops.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 46, "end_line": 128, "start_col": 0, "start_line": 121 }
(* This module exposes a series of combinators; they are modeled using * higher-order functions and specifications, and extracted, using a * meta-theoretic argument, to actual C loops. *) module C.Loops open FStar.HyperStack.ST open LowStar.Buffer open LowStar.BufferOps module HS = FStar.HyperStack module HST = FSt...
{ "checked_file": "/", "dependencies": [ "Spec.Loops.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "Buffer" }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "UInt64" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: FStar.UInt32.t -> finish: FStar.UInt32.t{FStar.UInt32.v finish >= FStar.UInt32.v start} -> inv: (_: FStar.Monotonic.HyperStack.mem -> _: Prims.nat -> _: Prims.bool -> Prims.GTot Type0) -> f: ( i: FStar.UInt32.t { FStar.UInt32.v start <= FStar.UInt3...
FStar.HyperStack.ST.Stack
[]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "FStar.Monotonic.HyperStack.mem", "Prims.nat", "Prims.bool", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.op_Addition", "Prims.op_Equality", "FStar.Pervasives.Native.Mktuple2", "FStar....
[ "recursion" ]
false
true
false
false
false
let rec interruptible_for start finish inv f =
if start = finish then (finish, false) else let start' = let open UInt32 in start +^ 1ul in if f start then (start', true) else interruptible_for start' finish inv f
false
FStar.Int64.fsti
FStar.Int64.eq
val eq (a b: t) : Tot bool
val eq (a b: t) : Tot bool
let eq (a:t) (b:t) : Tot bool = eq #n (v a) (v b)
{ "file_name": "ulib/FStar.Int64.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 114, "start_col": 0, "start_line": 114 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int64.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sho...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int64.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int.eq", "FStar.Int64.n", "FStar.Int64.v", "Prims.bool" ]
[]
false
false
false
true
false
let eq (a b: t) : Tot bool =
eq #n (v a) (v b)
false
Hacl.Hash.MD.fst
Hacl.Hash.MD.u32_to_len
val u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l}
val u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l}
let u32_to_len (a: hash_alg{is_md a}) (l: U32.t): l':len_t a { len_v a l' = U32.v l } = match a with | SHA2_384 | SHA2_512 -> FStar.Int.Cast.Full.(uint64_to_uint128 (uint32_to_uint64 l)) | _ -> FStar.Int.Cast.Full.uint32_to_uint64 l
{ "file_name": "code/hash/Hacl.Hash.MD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 231, "start_col": 0, "start_line": 227 }
module Hacl.Hash.MD (** The Merkle-Damgård construction. *) module U8 = FStar.UInt8 module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module Int = Lib.IntTypes module Lemmas = FStar.Math.Lemmas module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module ST = FStar....
{ "checked_file": "/", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.chec...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "AH" }, { "abbrev": true, "full_module": "Spec.Hash.Incremental", "short_module": "HI" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} -> l: FStar.UInt32.t -> l': Spec.Hash.Definitions.len_t a {Spec.Hash.Definitions.len_v a l' = FStar.UInt32.v l}
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.Hash.Definitions.is_md", "FStar.UInt32.t", "FStar.Int.Cast.Full.uint64_to_uint128", "FStar.Int.Cast.uint32_to_uint64", "Spec.Hash.Definitions.len_t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "FStar.UInt....
[]
false
false
false
false
false
let u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l} =
match a with | SHA2_384 | SHA2_512 -> let open FStar.Int.Cast.Full in uint64_to_uint128 (uint32_to_uint64 l) | _ -> FStar.Int.Cast.Full.uint32_to_uint64 l
false
FStar.Tactics.BV.fst
FStar.Tactics.BV.arith_to_bv_tac
val arith_to_bv_tac: Prims.unit -> Tac unit
val arith_to_bv_tac: Prims.unit -> Tac unit
let arith_to_bv_tac () : Tac unit = focus (fun () -> norm [delta_only ["FStar.BV.bvult"]]; let g = cur_goal () in let f = term_as_formula g in match f with | Comp (Eq _) l r -> begin match run_tm (as_arith_expr l) with | Inl s -> dump s; trefl () | Inr e -> ...
{ "file_name": "ulib/FStar.Tactics.BV.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 1, "end_line": 176, "start_col": 0, "start_line": 160 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.V2.Arith.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar....
[ { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.BV", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Arith", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.focus", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.Types.typ", "FStar.Tactics.NamedView.term", "Prims.string", "FStar.Tactics.V2.Derived.trefl", "FStar.Stubs.Tactics.V2.Builtins.dump", "FStar.Reflection.V2.Arith.expr", "FStar.Tactics.V2.Derive...
[]
false
true
false
false
false
let arith_to_bv_tac () : Tac unit =
focus (fun () -> norm [delta_only ["FStar.BV.bvult"]]; let g = cur_goal () in let f = term_as_formula g in match f with | Comp (Eq _) l r -> (match run_tm (as_arith_expr l) with | Inl s -> dump s; trefl () | Inr e -> seq (fun () -> arith_...
false
FStar.Int64.fsti
FStar.Int64.lt
val lt (a b: t) : Tot bool
val lt (a b: t) : Tot bool
let lt (a:t) (b:t) : Tot bool = lt #n (v a) (v b)
{ "file_name": "ulib/FStar.Int64.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 117, "start_col": 0, "start_line": 117 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int64.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sho...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int64.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int.lt", "FStar.Int64.n", "FStar.Int64.v", "Prims.bool" ]
[]
false
false
false
true
false
let lt (a b: t) : Tot bool =
lt #n (v a) (v b)
false
FStar.Int64.fsti
FStar.Int64.gt
val gt (a b: t) : Tot bool
val gt (a b: t) : Tot bool
let gt (a:t) (b:t) : Tot bool = gt #n (v a) (v b)
{ "file_name": "ulib/FStar.Int64.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 115, "start_col": 0, "start_line": 115 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int64.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sho...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int64.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int.gt", "FStar.Int64.n", "FStar.Int64.v", "Prims.bool" ]
[]
false
false
false
true
false
let gt (a b: t) : Tot bool =
gt #n (v a) (v b)
false
FStar.Int64.fsti
FStar.Int64.gte
val gte (a b: t) : Tot bool
val gte (a b: t) : Tot bool
let gte (a:t) (b:t) : Tot bool = gte #n (v a) (v b)
{ "file_name": "ulib/FStar.Int64.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 51, "end_line": 116, "start_col": 0, "start_line": 116 }
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int64.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sho...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.Int64.t -> b: FStar.Int64.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Int64.t", "FStar.Int.gte", "FStar.Int64.n", "FStar.Int64.v", "Prims.bool" ]
[]
false
false
false
true
false
let gte (a b: t) : Tot bool =
gte #n (v a) (v b)
false