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.UInt32.fsti
FStar.UInt32.op_Less_Less_Hat
val op_Less_Less_Hat : a: FStar.UInt32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
let op_Less_Less_Hat = shift_left
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 330, "start_col": 7, "start_line": 330 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.shift_left" ]
[]
false
false
false
false
false
let op_Less_Less_Hat =
shift_left
false
FStar.UInt32.fsti
FStar.UInt32.op_Hat_Hat
val op_Hat_Hat : x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
let op_Hat_Hat = logxor
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 327, "start_col": 7, "start_line": 327 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.logxor" ]
[]
false
false
false
false
false
let op_Hat_Hat =
logxor
false
FStar.UInt32.fsti
FStar.UInt32.op_Equals_Hat
val op_Equals_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
let op_Equals_Hat = eq
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 332, "start_col": 7, "start_line": 332 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.eq" ]
[]
false
false
false
true
false
let op_Equals_Hat =
eq
false
FStar.UInt32.fsti
FStar.UInt32.op_Bar_Hat
val op_Bar_Hat : x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
let op_Bar_Hat = logor
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 29, "end_line": 329, "start_col": 7, "start_line": 329 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.logor" ]
[]
false
false
false
false
false
let op_Bar_Hat =
logor
false
Vale.X64.Decls.fst
Vale.X64.Decls.va_lemma_while_total
val va_lemma_while_total (b:ocmp) (c:va_code) (s0:va_state) : Ghost (va_state & va_fuel) (requires True) (ensures fun (s1, f1) -> s1 == s0 /\ eval_while_inv (While b c) s1 f1 s1 )
val va_lemma_while_total (b:ocmp) (c:va_code) (s0:va_state) : Ghost (va_state & va_fuel) (requires True) (ensures fun (s1, f1) -> s1 == s0 /\ eval_while_inv (While b c) s1 f1 s1 )
let va_lemma_while_total = Lemmas.lemma_while_total
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 139, "start_col": 0, "start_line": 139 }
module Vale.X64.Decls open FStar.Mul open Vale.X64.Machine_s open Vale.X64 open Vale.X64.State open Vale.X64.StateLemmas open FStar.UInt module P = Vale.X64.Print_s module BC = Vale.X64.Bytes_Code_s module BS = Vale.X64.Machine_Semantics_s #reset-options "--max_fuel 0 --max_ifuel 0 --smtencoding.elim_box true --smtenco...
{ "checked_file": "/", "dependencies": [ "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.State.fsti.checked", "Vale.X64.Print_s.fst.checked", "Vale.X64.Memory_Sems.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Lemmas.fsti.checked", ...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.X64.Decls.ocmp -> c: Vale.X64.Decls.va_code -> s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Lemmas.lemma_while_total" ]
[]
false
false
false
false
false
let va_lemma_while_total =
Lemmas.lemma_while_total
false
FStar.UInt32.fsti
FStar.UInt32.op_Percent_Hat
val op_Percent_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t{FStar.UInt32.v b <> 0} -> Prims.Pure FStar.UInt32.t
let op_Percent_Hat = rem
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 326, "start_col": 7, "start_line": 326 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t{FStar.UInt32.v b <> 0} -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.rem" ]
[]
false
false
false
false
false
let op_Percent_Hat =
rem
false
FStar.UInt32.fsti
FStar.UInt32.op_Greater_Hat
val op_Greater_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
let op_Greater_Hat = gt
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 333, "start_col": 7, "start_line": 333 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.gt" ]
[]
false
false
false
true
false
let op_Greater_Hat =
gt
false
FStar.UInt32.fsti
FStar.UInt32.op_Amp_Hat
val op_Amp_Hat : x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
let op_Amp_Hat = logand
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 328, "start_col": 7, "start_line": 328 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.logand" ]
[]
false
false
false
false
false
let op_Amp_Hat =
logand
false
FStar.UInt32.fsti
FStar.UInt32.op_Less_Hat
val op_Less_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
let op_Less_Hat = lt
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 335, "start_col": 7, "start_line": 335 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.lt" ]
[]
false
false
false
true
false
let op_Less_Hat =
lt
false
Vale.X64.Decls.fst
Vale.X64.Decls.va_lemma_ifElseTrue_total
val va_lemma_ifElseTrue_total (ifb:ocmp) (ct:va_code) (cf:va_code) (s0:va_state) (f0:va_fuel) (sM:va_state) : Lemma (requires valid_ocmp ifb s0 /\ eval_ocmp s0 ifb /\ eval_code ct ({s0 with vs_flags = havoc_flags}) f0 sM ) (ensures eval_code (IfElse ifb ct cf) s0 f0 sM )
val va_lemma_ifElseTrue_total (ifb:ocmp) (ct:va_code) (cf:va_code) (s0:va_state) (f0:va_fuel) (sM:va_state) : Lemma (requires valid_ocmp ifb s0 /\ eval_ocmp s0 ifb /\ eval_code ct ({s0 with vs_flags = havoc_flags}) f0 sM ) (ensures eval_code (IfElse ifb ct cf) s0 f0 sM )
let va_lemma_ifElseTrue_total = Lemmas.lemma_ifElseTrue_total
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 137, "start_col": 0, "start_line": 137 }
module Vale.X64.Decls open FStar.Mul open Vale.X64.Machine_s open Vale.X64 open Vale.X64.State open Vale.X64.StateLemmas open FStar.UInt module P = Vale.X64.Print_s module BC = Vale.X64.Bytes_Code_s module BS = Vale.X64.Machine_Semantics_s #reset-options "--max_fuel 0 --max_ifuel 0 --smtencoding.elim_box true --smtenco...
{ "checked_file": "/", "dependencies": [ "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.State.fsti.checked", "Vale.X64.Print_s.fst.checked", "Vale.X64.Memory_Sems.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Lemmas.fsti.checked", ...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 2, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ifb: Vale.X64.Decls.ocmp -> ct: Vale.X64.Decls.va_code -> cf: Vale.X64.Decls.va_code -> s0: Vale.X64.Decls.va_state -> f0: Vale.X64.Decls.va_fuel -> sM: Vale.X64.Decls.va_state -> FStar.Pervasives.Lemma (requires Vale.X64.Decls.valid_ocmp ifb s0 /\ Vale.X64.Decls.eval_ocmp s0 if...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Lemmas.lemma_ifElseTrue_total" ]
[]
true
false
true
false
false
let va_lemma_ifElseTrue_total =
Lemmas.lemma_ifElseTrue_total
false
FStar.UInt32.fsti
FStar.UInt32.op_Greater_Greater_Hat
val op_Greater_Greater_Hat : a: FStar.UInt32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
let op_Greater_Greater_Hat = shift_right
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 331, "start_col": 7, "start_line": 331 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.shift_right" ]
[]
false
false
false
false
false
let op_Greater_Greater_Hat =
shift_right
false
FStar.UInt32.fsti
FStar.UInt32.op_Greater_Equals_Hat
val op_Greater_Equals_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
let op_Greater_Equals_Hat = gte
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 334, "start_col": 7, "start_line": 334 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.gte" ]
[]
false
false
false
true
false
let op_Greater_Equals_Hat =
gte
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_store_new_valid64
val lemma_store_new_valid64 (ptr:int) (v:nat64) (h:vale_stack) : Lemma (valid_src_stack64 ptr (store_stack64 ptr v h)) [SMTPat (valid_src_stack64 ptr (store_stack64 ptr v h))]
val lemma_store_new_valid64 (ptr:int) (v:nat64) (h:vale_stack) : Lemma (valid_src_stack64 ptr (store_stack64 ptr v h)) [SMTPat (valid_src_stack64 ptr (store_stack64 ptr v h))]
let lemma_store_new_valid64 ptr v h = reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap64_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 45, "start_col": 0, "start_line": 43 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.nat64 -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (ensures Vale.PPC64LE.Stack_i.valid_src_stack64 ptr (Vale.PPC64LE.Stack_i.store_stack64 ptr v h)) [ SMTPat (Vale.PPC64LE.Stack_i.valid_src_stack64 ptr (Vale.PPC64LE....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.nat64", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.bool", "Vale.Arch.MachineHeap_s.valid_addr64" ]
[]
true
false
true
false
false
let lemma_store_new_valid64 ptr v h =
reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap64_reveal ()
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_store_new_valid128
val lemma_store_new_valid128 (ptr:int) (v:quad32) (h:vale_stack) : Lemma (valid_src_stack128 ptr (store_stack128 ptr v h)) [SMTPat (valid_src_stack128 ptr (store_stack128 ptr v h))]
val lemma_store_new_valid128 (ptr:int) (v:quad32) (h:vale_stack) : Lemma (valid_src_stack128 ptr (store_stack128 ptr v h)) [SMTPat (valid_src_stack128 ptr (store_stack128 ptr v h))]
let lemma_store_new_valid128 ptr v h = reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; BS.update_heap32_reveal (); BS.update_heap128_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 50, "start_col": 0, "start_line": 47 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (ensures Vale.PPC64LE.Stack_i.valid_src_stack128 ptr (Vale.PPC64LE.Stack_i.store_stack128 ptr v h)) [ SMTPat (Vale.PPC64LE.Stack_i.valid_src_stack128 ptr (Vale.PPC6...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.Arch.MachineHeap_s.update_heap128_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "FStar.Pervasives.reveal_opaque", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.bool", "Vale.Arch.MachineHea...
[]
true
false
true
false
false
let lemma_store_new_valid128 ptr v h =
reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; BS.update_heap32_reveal (); BS.update_heap128_reveal ()
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_frame_store_load_stack64
val lemma_frame_store_load_stack64 (ptr:int) (v:nat64) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures (load_stack64 i (store_stack64 ptr v h) == load_stack64 i h)) [SMTPat (load_stack64 i (store_stack64 ptr v h))]
val lemma_frame_store_load_stack64 (ptr:int) (v:nat64) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures (load_stack64 i (store_stack64 ptr v h) == load_stack64 i h)) [SMTPat (load_stack64 i (store_stack64 ptr v h))]
let lemma_frame_store_load_stack64 ptr v h i = let Machine_stack _ mem = h in frame_update_heap64 ptr v mem; BS.get_heap_val64_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 60, "start_col": 0, "start_line": 57 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.nat64 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures Vale.PPC64LE.Stack_i.load_stack64 i (Vale.PPC64LE.Stack_i.store_stack64 pt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.nat64", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap_s.get_heap_val64_reveal", "Prims.unit", "Vale.Arch.MachineHeap.frame_updat...
[]
false
false
true
false
false
let lemma_frame_store_load_stack64 ptr v h i =
let Machine_stack _ mem = h in frame_update_heap64 ptr v mem; BS.get_heap_val64_reveal ()
false
FStar.UInt32.fsti
FStar.UInt32.op_Less_Equals_Hat
val op_Less_Equals_Hat : a: FStar.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
let op_Less_Equals_Hat = lte
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 336, "start_col": 7, "start_line": 336 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.lte" ]
[]
false
false
false
true
false
let op_Less_Equals_Hat =
lte
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_correct_store_load_stack64
val lemma_correct_store_load_stack64 (ptr:int) (v:nat64) (h:vale_stack) : Lemma (load_stack64 ptr (store_stack64 ptr v h) == v) [SMTPat (load_stack64 ptr (store_stack64 ptr v h))]
val lemma_correct_store_load_stack64 (ptr:int) (v:nat64) (h:vale_stack) : Lemma (load_stack64 ptr (store_stack64 ptr v h) == v) [SMTPat (load_stack64 ptr (store_stack64 ptr v h))]
let lemma_correct_store_load_stack64 ptr v h = let Machine_stack _ mem = h in correct_update_get64 ptr v mem
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 55, "start_col": 0, "start_line": 53 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.nat64 -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (ensures Vale.PPC64LE.Stack_i.load_stack64 ptr (Vale.PPC64LE.Stack_i.store_stack64 ptr v h) == v) [SMTPat (Vale.PPC64LE.Stack_i.load_stack64 ptr (Vale.PPC64LE.Stack_i.store_stack64 ptr v ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.nat64", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap.correct_update_get64", "Prims.unit" ]
[]
false
false
true
false
false
let lemma_correct_store_load_stack64 ptr v h =
let Machine_stack _ mem = h in correct_update_get64 ptr v mem
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_store_stack_same_valid128
val lemma_store_stack_same_valid128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures valid_src_stack128 i (store_stack128 ptr v h)) [SMTPat (valid_src_stack128 i (store_stack128 ptr v h))]
val lemma_store_stack_same_valid128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures valid_src_stack128 i (store_stack128 ptr v h)) [SMTPat (valid_src_stack128 i (store_stack128 ptr v h))]
let lemma_store_stack_same_valid128 ptr v h i = reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; BS.update_heap32_reveal (); BS.update_heap128_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 35, "start_col": 0, "start_line": 32 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures Vale.PPC64LE.Stack_i.valid_src_stack128 i (Vale.PPC64...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.Arch.MachineHeap_s.update_heap128_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "FStar.Pervasives.reveal_opaque", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.bool", "Vale.Arch.MachineHea...
[]
true
false
true
false
false
let lemma_store_stack_same_valid128 ptr v h i =
reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; BS.update_heap32_reveal (); BS.update_heap128_reveal ()
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_free_stack_same_valid128
val lemma_free_stack_same_valid128 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures valid_src_stack128 ptr (free_stack128 start finish h)) [SMTPat (valid_src_stack128 ptr (free_stack128 start finish h))]
val lemma_free_stack_same_valid128 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures valid_src_stack128 ptr (free_stack128 start finish h)) [SMTPat (valid_src_stack128 ptr (free_stack128 start finish h))]
let lemma_free_stack_same_valid128 start finish ptr h = reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish)
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 41, "start_col": 0, "start_line": 37 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
start: Prims.int -> finish: Prims.int -> ptr: Prims.int -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures Vale.PPC64LE.Stack_i.valid_src_stack128 ptr (Vale.PPC6...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "FStar.Classical.forall_intro", "Prims.l_and", "Prims.l_imp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.op_N...
[]
false
false
true
false
false
let lemma_free_stack_same_valid128 start finish ptr h =
reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish)
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_correct_store_load_stack128
val lemma_correct_store_load_stack128 (ptr:int) (v:quad32) (h:vale_stack) : Lemma (load_stack128 ptr (store_stack128 ptr v h) == v) [SMTPat (load_stack128 ptr (store_stack128 ptr v h))]
val lemma_correct_store_load_stack128 (ptr:int) (v:quad32) (h:vale_stack) : Lemma (load_stack128 ptr (store_stack128 ptr v h) == v) [SMTPat (load_stack128 ptr (store_stack128 ptr v h))]
let lemma_correct_store_load_stack128 ptr v h = let Machine_stack _ mem = h in correct_update_get128 ptr v mem
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 71, "start_col": 0, "start_line": 69 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (ensures Vale.PPC64LE.Stack_i.load_stack128 ptr (Vale.PPC64LE.Stack_i.store_stack128 ptr v h) == v) [ SMTPat (Vale.PPC64LE.Stack_i.load_stack128 ptr (Vale.PPC64LE.Stack_i.store_s...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap.correct_update_get128", "Prims.unit" ]
[]
false
false
true
false
false
let lemma_correct_store_load_stack128 ptr v h =
let Machine_stack _ mem = h in correct_update_get128 ptr v mem
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_store_stack_same_valid64
val lemma_store_stack_same_valid64 (ptr:int) (v:nat64) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures valid_src_stack64 i (store_stack64 ptr v h)) [SMTPat (valid_src_stack64 i (store_stack64 ptr v h))]
val lemma_store_stack_same_valid64 (ptr:int) (v:nat64) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures valid_src_stack64 i (store_stack64 ptr v h)) [SMTPat (valid_src_stack64 i (store_stack64 ptr v h))]
let lemma_store_stack_same_valid64 ptr v h i = reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap64_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 24, "start_col": 0, "start_line": 22 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.nat64 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack64 i h /\ (i >= ptr + 8 \/ i + 8 <= ptr)) (ensures Vale.PPC64LE.Stack_i.valid_src_stack64 i (Vale.PPC64LE.Stack_i.store_stack64 ptr v...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.nat64", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.bool", "Vale.Arch.MachineHeap_s.valid_addr64" ]
[]
true
false
true
false
false
let lemma_store_stack_same_valid64 ptr v h i =
reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap64_reveal ()
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_free_stack_same_load128
val lemma_free_stack_same_load128 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures load_stack128 ptr h == load_stack128 ptr (free_stack128 start finish h)) [SMTPat (load_stack128 ptr (free_stack128 start finish h))]
val lemma_free_stack_same_load128 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures load_stack128 ptr h == load_stack128 ptr (free_stack128 start finish h)) [SMTPat (load_stack128 ptr (free_stack128 start finish h))]
let lemma_free_stack_same_load128 start finish ptr h = reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish); BS.get_heap_val32_reveal (); BS.get_heap_val128_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 85, "start_col": 0, "start_line": 79 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
start: Prims.int -> finish: Prims.int -> ptr: Prims.int -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start)) (ensures Vale.PPC64LE.Stack_i.load_stack128 ptr h == Vale.PPC64LE...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap_s.get_heap_val128_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.get_heap_val32_reveal", "FStar.Classi...
[]
false
false
true
false
false
let lemma_free_stack_same_load128 start finish ptr h =
reveal_opaque (`%BS.valid_addr128) BS.valid_addr128; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish); BS.get_heap_val32_reveal (); BS.get_heap_val128_reveal ()
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_free_stack_same_load64
val lemma_free_stack_same_load64 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack64 ptr h /\ (ptr >= finish \/ ptr + 8 <= start)) (ensures load_stack64 ptr h == load_stack64 ptr (free_stack64 start finish h)) [SMTPat (load_stack64 ptr (free_stack64 start finish h))]
val lemma_free_stack_same_load64 (start:int) (finish:int) (ptr:int) (h:vale_stack) : Lemma (requires valid_src_stack64 ptr h /\ (ptr >= finish \/ ptr + 8 <= start)) (ensures load_stack64 ptr h == load_stack64 ptr (free_stack64 start finish h)) [SMTPat (load_stack64 ptr (free_stack64 start finish h))]
let lemma_free_stack_same_load64 start finish ptr h = reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish); BS.get_heap_val64_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 67, "start_col": 0, "start_line": 62 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
start: Prims.int -> finish: Prims.int -> ptr: Prims.int -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack64 ptr h /\ (ptr >= finish \/ ptr + 8 <= start)) (ensures Vale.PPC64LE.Stack_i.load_stack64 ptr h == Vale.PPC64LE.Stack_i.lo...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap_s.get_heap_val64_reveal", "Prims.unit", "FStar.Classical.forall_intro", "Prims.l_and", "Prims.l_imp",...
[]
false
false
true
false
false
let lemma_free_stack_same_load64 start finish ptr h =
reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; let Machine_stack _ mem = h in let domain = Map.domain mem in Classical.forall_intro (Vale.Lib.Set.remove_between_reveal domain start finish); BS.get_heap_val64_reveal ()
false
Steel.ST.HigherArray.fst
Steel.ST.HigherArray.ghost_split
val ghost_split (#opened: _) (#elt: Type) (#x: Seq.seq elt) (#p: P.perm) (a: array elt) (i: US.t) : STGhost (squash (US.v i <= length a /\ US.v i <= Seq.length x)) opened (pts_to a p x) (fun res -> pts_to (split_l a i) p (Seq.slice x 0 (US.v i)) `star` pts_to (split_r a i) p (Seq.slice x...
val ghost_split (#opened: _) (#elt: Type) (#x: Seq.seq elt) (#p: P.perm) (a: array elt) (i: US.t) : STGhost (squash (US.v i <= length a /\ US.v i <= Seq.length x)) opened (pts_to a p x) (fun res -> pts_to (split_l a i) p (Seq.slice x 0 (US.v i)) `star` pts_to (split_r a i) p (Seq.slice x...
let ghost_split #_ #_ #x #p a i = elim_pts_to a p x; mk_carrier_split (US.v (ptr_of a).base_len) ((ptr_of a).offset) x (p) (US.v i); Seq.lemma_split x (US.v i); let xl = Seq.slice x 0 (US.v i) in let xr = Seq.slice x (US.v i) (Seq.length x) in let vl = mk_carrier (US.v (ptr_of a).base_...
{ "file_name": "lib/steel/Steel.ST.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 72, "end_line": 584, "start_col": 0, "start_line": 561 }
(* Copyright 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.PCMReference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.PCMMap.fst.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Rea...
[ { "abbrev": true, "full_module": "Steel.PCMMap", "short_module": "PM" }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "M" }, { "abbrev": true, "full_module": "Steel.ST.PCMReference", "short_module": "R" }, { "abbrev": true, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Steel.ST.HigherArray.array elt -> i: FStar.SizeT.t -> Steel.ST.Effect.Ghost.STGhost (Prims.squash (FStar.SizeT.v i <= Steel.ST.HigherArray.length a /\ FStar.SizeT.v i <= FStar.Seq.Base.length x))
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "FStar.Seq.Base.seq", "Steel.FractionalPermission.perm", "Steel.ST.HigherArray.array", "FStar.SizeT.t", "Steel.ST.HigherArray.intro_pts_to", "Steel.ST.HigherArray.split_r", "FStar.Seq.Base.slice", "FStar.SizeT.v", "FStar.Seq.Base.length", "Prims.unit", "Steel.ST.HigherAr...
[]
false
true
true
false
false
let ghost_split #_ #_ #x #p a i =
elim_pts_to a p x; mk_carrier_split (US.v (ptr_of a).base_len) ((ptr_of a).offset) x (p) (US.v i); Seq.lemma_split x (US.v i); let xl = Seq.slice x 0 (US.v i) in let xr = Seq.slice x (US.v i) (Seq.length x) in let vl = mk_carrier (US.v (ptr_of a).base_len) ((ptr_of a).offset) xl (p) in let vr = mk_carrier (US.v (ptr_of...
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_frame_store_load_stack64_128
val lemma_frame_store_load_stack64_128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures (load_stack64 i (store_stack128 ptr v h) == load_stack64 i h)) [SMTPat (load_stack64 i (store_stack128 ptr v h))]
val lemma_frame_store_load_stack64_128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures (load_stack64 i (store_stack128 ptr v h) == load_stack64 i h)) [SMTPat (load_stack64 i (store_stack128 ptr v h))]
let lemma_frame_store_load_stack64_128 ptr v h i = let Machine_stack _ mem = h in frame_update_heap128 ptr v mem; BS.get_heap_val64_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 167, "start_col": 0, "start_line": 164 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures Vale.PPC64LE.Stack_i.load_stack64 i (Vale.PPC64LE.Stack...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap_s.get_heap_val64_reveal", "Prims.unit", "Vale.Arch.MachineHeap.frame_upda...
[]
false
false
true
false
false
let lemma_frame_store_load_stack64_128 ptr v h i =
let Machine_stack _ mem = h in frame_update_heap128 ptr v mem; BS.get_heap_val64_reveal ()
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.ln_comp
val ln_comp : Type0
let ln_comp = c:comp_st { ln_c c }
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 28, "start_col": 0, "start_line": 28 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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" ]
[]
[ "Pulse.Syntax.Base.comp_st", "Prims.b2t", "Pulse.Syntax.Naming.ln_c" ]
[]
false
false
false
true
true
let ln_comp =
c: comp_st{ln_c c}
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_res
val bind_res : u2: FStar.Stubs.Reflection.Types.universe -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let bind_res (u2:R.universe) (t2 pre post2:R.term) = mk_stt_comp u2 t2 pre post2
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 181, "start_col": 0, "start_line": 180 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u2: FStar.Stubs.Reflection.Types.universe -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_stt_comp" ]
[]
false
false
false
true
false
let bind_res (u2: R.universe) (t2 pre post2: R.term) =
mk_stt_comp u2 t2 pre post2
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_compose_free_stack64
val lemma_compose_free_stack64 (start:int) (inter:int) (finish:int) (h:vale_stack) : Lemma (requires start <= inter /\ inter <= finish) (ensures free_stack64 inter finish (free_stack64 start inter h) == free_stack64 start finish h) [SMTPat (free_stack64 inter finish (free_stack64 start inter h))]
val lemma_compose_free_stack64 (start:int) (inter:int) (finish:int) (h:vale_stack) : Lemma (requires start <= inter /\ inter <= finish) (ensures free_stack64 inter finish (free_stack64 start inter h) == free_stack64 start finish h) [SMTPat (free_stack64 inter finish (free_stack64 start inter h))]
let lemma_compose_free_stack64 start inter finish h = let Machine_stack _ mem = h in let domain = Map.domain mem in let map_restr = Map.restrict (Vale.Lib.Set.remove_between domain start inter) mem in let restrict = Map.domain map_restr in let Machine_stack _ mem1 = free_stack64 inter finish (free_stack64 sta...
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 102, "start_col": 0, "start_line": 87 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
start: Prims.int -> inter: Prims.int -> finish: Prims.int -> h: Vale.PPC64LE.Stack_i.vale_stack -> FStar.Pervasives.Lemma (requires start <= inter /\ inter <= finish) (ensures Vale.PPC64LE.Stack_i.free_stack64 inter finish (Vale.PPC64LE.Stack_i.free_stack64 start inter h) == ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Prims._assert", "FStar.Map.equal", "Prims.unit", "FStar.Classical.forall_intro", "Prims.l_and", "Prims.op_Equality", "P...
[]
false
false
true
false
false
let lemma_compose_free_stack64 start inter finish h =
let Machine_stack _ mem = h in let domain = Map.domain mem in let map_restr = Map.restrict (Vale.Lib.Set.remove_between domain start inter) mem in let restrict = Map.domain map_restr in let Machine_stack _ mem1 = free_stack64 inter finish (free_stack64 start inter h) in let Machine_stack _ mem2 = free_stack64 start fin...
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1_t2_pre_post1_post2_f
val bind_type_t1_t2_pre_post1_post2_f : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> ...
let bind_type_t1_t2_pre_post1_post2_f (u1 u2:R.universe) (t1 t2 pre post1 post2:R.term) = mk_arrow (g_type_bind u2 t1 t2 post1 post2, R.Q_Explicit) (bind_res u2 t2 pre post2)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 189, "start_col": 0, "start_line": 187 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Typ...
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Soundness.Common.g_type_bind", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Common.bind_r...
[]
false
false
false
true
false
let bind_type_t1_t2_pre_post1_post2_f (u1 u2: R.universe) (t1 t2 pre post1 post2: R.term) =
mk_arrow (g_type_bind u2 t1 t2 post1 post2, R.Q_Explicit) (bind_res u2 t2 pre post2)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.g_type_bind
val g_type_bind : u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let g_type_bind (u2:R.universe) (t1 t2 post1 post2:R.term) = mk_arrow (t1, R.Q_Explicit) (bind_res u2 t2 (R.mk_app post1 [bound_var 0 (* x *), R.Q_Explicit]) post2)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 88, "end_line": 185, "start_col": 0, "start_line": 183 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Common.bind_res", "FStar.Reflection.V2.Derived.mk_a...
[]
false
false
false
true
false
let g_type_bind (u2: R.universe) (t1 t2 post1 post2: R.term) =
mk_arrow (t1, R.Q_Explicit) (bind_res u2 t2 (R.mk_app post1 [bound_var 0, R.Q_Explicit]) post2)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.ghost_typing_soundness
val ghost_typing_soundness (#g: env) (#e #t: term) (d: ghost_typing g e t) : GTot (RT.ghost_typing (elab_env g) (elab_term e) (elab_term t))
val ghost_typing_soundness (#g: env) (#e #t: term) (d: ghost_typing g e t) : GTot (RT.ghost_typing (elab_env g) (elab_term e) (elab_term t))
let ghost_typing_soundness (#g:env) (#e:term) (#t:term) (d:ghost_typing g e t) : GTot (RT.ghost_typing (elab_env g) (elab_term e) (elab_term t)) = let E d = d in d
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 76, "start_col": 0, "start_line": 70 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: Pulse.Typing.ghost_typing g e t -> Prims.GTot (FStar.Reflection.Typing.ghost_typing (Pulse.Typing.elab_env g) (Pulse.Elaborate.Pure.elab_term e) (Pulse.Elaborate.Pure.elab_term t))
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.ghost_typing", "FStar.Reflection.Typing.typing", "Pulse.Typing.elab_env", "Pulse.Elaborate.Pure.elab_term", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.TypeChecker.Core.tot_or_ghost", "FStar.Stubs.Reflection.Types.typ", "FStar.St...
[]
false
false
false
false
false
let ghost_typing_soundness (#g: env) (#e #t: term) (d: ghost_typing g e t) : GTot (RT.ghost_typing (elab_env g) (elab_term e) (elab_term t)) =
let E d = d in d
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.mk_star
val mk_star : l: FStar.Stubs.Reflection.Types.term -> r: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let mk_star (l r:R.term) = let open R in let head = pack_ln (Tv_FVar (pack_fv star_lid)) in R.mk_app head [(l, Q_Explicit); (r, Q_Explicit)]
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 241, "start_col": 0, "start_line": 238 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: FStar.Stubs.Reflection.Types.term -> r: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.V2.Derived.mk_app", "Prims.Cons", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Prims.Nil", "FStar.Stubs.Reflection.V2.Builtins.p...
[]
false
false
false
true
false
let mk_star (l r: R.term) =
let open R in let head = pack_ln (Tv_FVar (pack_fv star_lid)) in R.mk_app head [(l, Q_Explicit); (r, Q_Explicit)]
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1_t2
val bind_type_t1_t2 : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let bind_type_t1_t2 (u1 u2:R.universe) (t1 t2:R.term) = let var = 2 in let pre = mk_name var in let pre_type = vprop_tm in mk_arrow (pre_type, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre u1 u2 t1 t2 pre) [ RT.ND var 0 ])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 218, "start_col": 0, "start_line": 212 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.subst_term", "Pulse.Soundness.Common.bind_t...
[]
false
false
false
true
false
let bind_type_t1_t2 (u1 u2: R.universe) (t1 t2: R.term) =
let var = 2 in let pre = mk_name var in let pre_type = vprop_tm in mk_arrow (pre_type, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre u1 u2 t1 t2 pre) [RT.ND var 0])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.tot_typing_soundness
val tot_typing_soundness (#g: env) (#e #t: term) (d: tot_typing g e t) : GTot (RT.tot_typing (elab_env g) (elab_term e) (elab_term t))
val tot_typing_soundness (#g: env) (#e #t: term) (d: tot_typing g e t) : GTot (RT.tot_typing (elab_env g) (elab_term e) (elab_term t))
let tot_typing_soundness (#g:env) (#e:term) (#t:term) (d:tot_typing g e t) : GTot (RT.tot_typing (elab_env g) (elab_term e) (elab_term t)) = let E d = d in d
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 68, "start_col": 0, "start_line": 62 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: Pulse.Typing.tot_typing g e t -> Prims.GTot (FStar.Reflection.Typing.tot_typing (Pulse.Typing.elab_env g) (Pulse.Elaborate.Pure.elab_term e) (Pulse.Elaborate.Pure.elab_term t))
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.tot_typing", "FStar.Reflection.Typing.typing", "Pulse.Typing.elab_env", "Pulse.Elaborate.Pure.elab_term", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.TypeChecker.Core.tot_or_ghost", "FStar.Stubs.Reflection.Types.typ", "FStar.Stub...
[]
false
false
false
false
false
let tot_typing_soundness (#g: env) (#e #t: term) (d: tot_typing g e t) : GTot (RT.tot_typing (elab_env g) (elab_term e) (elab_term t)) =
let E d = d in d
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.post2_type_bind
val post2_type_bind : t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let post2_type_bind t2 = mk_arrow (t2, R.Q_Explicit) vprop_tm
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 196, "start_col": 0, "start_line": 196 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Reflection.Util.vprop_tm" ]
[]
false
false
false
true
false
let post2_type_bind t2 =
mk_arrow (t2, R.Q_Explicit) vprop_tm
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_store_stack_same_valid64_128
val lemma_store_stack_same_valid64_128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures valid_src_stack64 i (store_stack128 ptr v h)) [SMTPat (valid_src_stack64 i (store_stack128 ptr v h))]
val lemma_store_stack_same_valid64_128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures valid_src_stack64 i (store_stack128 ptr v h)) [SMTPat (valid_src_stack64 i (store_stack128 ptr v h))]
let lemma_store_stack_same_valid64_128 ptr v h i = reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap128_reveal (); BS.update_heap32_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 162, "start_col": 0, "start_line": 159 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack64 i h /\ (i >= ptr + 16 \/ i + 8 <= ptr)) (ensures Vale.PPC64LE.Stack_i.valid_src_stack64 i (Vale.PPC64LE....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap128_reveal", "FStar.Pervasives.reveal_opaque", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.bool", "Vale.Arch.MachineHea...
[]
true
false
true
false
false
let lemma_store_stack_same_valid64_128 ptr v h i =
reveal_opaque (`%BS.valid_addr64) BS.valid_addr64; BS.update_heap128_reveal (); BS.update_heap32_reveal ()
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1_t2_pre
val bind_type_t1_t2_pre : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let bind_type_t1_t2_pre (u1 u2:R.universe) (t1 t2 pre:R.term) = let var = 1 in let post1 = mk_name var in mk_arrow (post1_type_bind t1, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre_post1 u1 u2 t1 t2 pre post1) [ RT.ND var 0 ])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 210, "start_col": 0, "start_line": 205 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Soundness.Common.post1_type_bind", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.s...
[]
false
false
false
true
false
let bind_type_t1_t2_pre (u1 u2: R.universe) (t1 t2 pre: R.term) =
let var = 1 in let post1 = mk_name var in mk_arrow (post1_type_bind t1, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre_post1 u1 u2 t1 t2 pre post1) [RT.ND var 0])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_type_t_pre
val frame_type_t_pre : u204: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let frame_type_t_pre (u:R.universe) (t pre:R.term) = let var = 1 in let post = mk_name var in let post_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post_type, R.Q_Implicit) (RT.close_term (frame_type_t_pre_post u t pre post) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 67, "end_line": 265, "start_col": 0, "start_line": 260 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u204: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.frame_...
[]
false
false
false
true
false
let frame_type_t_pre (u: R.universe) (t pre: R.term) =
let var = 1 in let post = mk_name var in let post_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post_type, R.Q_Implicit) (RT.close_term (frame_type_t_pre_post u t pre post) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.post1_type_bind
val post1_type_bind : t1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let post1_type_bind t1 = mk_arrow (t1, R.Q_Explicit) vprop_tm
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 204, "start_col": 0, "start_line": 204 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Reflection.Util.vprop_tm" ]
[]
false
false
false
true
false
let post1_type_bind t1 =
mk_arrow (t1, R.Q_Explicit) vprop_tm
false
FStar.UInt32.fsti
FStar.UInt32.gte_mask
val gte_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a >= v b ==> v c = pow2 n - 1) /\ (v a < v b ==> v c = 0)))
val gte_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a >= v b ==> v c = pow2 n - 1) /\ (v a < v b ==> v c = 0)))
let gte_mask (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> (v a >= v b ==> v c = pow2 n - 1) /\ (v a < v b ==> v c = 0))) = let x = a in let y = b in let x_xor_y = logxor x y in let x_sub_y = sub_mod x y in let x_sub_y_xor_y = logxor x_sub_y y in let q = ...
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 312, "start_col": 0, "start_line": 295 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.t", "Prims.unit", "FStar.UInt.lemma_msb_gte", "FStar.UInt32.n", "FStar.UInt32.v", "FStar.UInt32.lemma_sub_msbs", "FStar.UInt32.sub_mod", "FStar.UInt32.uint_to_t", "FStar.UInt32.shift_right", "FStar.UInt32.n_minus_one", "FStar.UInt32.logxor", "FStar.UInt32.logor", "Prims.l_True"...
[]
false
false
false
false
false
let gte_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a >= v b ==> v c = pow2 n - 1) /\ (v a < v b ==> v c = 0))) =
let x = a in let y = b in let x_xor_y = logxor x y in let x_sub_y = sub_mod x y in let x_sub_y_xor_y = logxor x_sub_y y in let q = logor x_xor_y x_sub_y_xor_y in let x_xor_q = logxor x q in let x_xor_q_ = shift_right x_xor_q n_minus_one in let c = sub_mod x_xor_q_ (uint_to_t 1) in lemma_sub_msbs x y; lemma_msb_gte (v x...
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1_t2_pre_post1
val bind_type_t1_t2_pre_post1 : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> FStar.St...
let bind_type_t1_t2_pre_post1 (u1 u2:R.universe) (t1 t2 pre post1:R.term) = let var = 0 in let post2 = mk_name var in mk_arrow (post2_type_bind t2, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre_post1_post2 u1 u2 t1 t2 pre post1 post2) [ RT.ND var 0 ])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 202, "start_col": 0, "start_line": 197 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Soundness.Common.post2_type_bind", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.s...
[]
false
false
false
true
false
let bind_type_t1_t2_pre_post1 (u1 u2: R.universe) (t1 t2 pre post1: R.term) =
let var = 0 in let post2 = mk_name var in mk_arrow (post2_type_bind t2, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2_pre_post1_post2 u1 u2 t1 t2 pre post1 post2) [RT.ND var 0])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_type_t_pre_post
val frame_type_t_pre_post : u198: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let frame_type_t_pre_post (u:R.universe) (t pre post:R.term) = let var = 0 in let frame = mk_name var in mk_arrow (vprop_tm, R.Q_Explicit) (RT.close_term (frame_res u t pre post frame) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 258, "start_col": 0, "start_line": 254 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u198: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Reflection.Util.vprop_tm", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_ter...
[]
false
false
false
true
false
let frame_type_t_pre_post (u: R.universe) (t pre post: R.term) =
let var = 0 in let frame = mk_name var in mk_arrow (vprop_tm, R.Q_Explicit) (RT.close_term (frame_res u t pre post frame) var)
false
Vale.PPC64LE.Stack_i.fst
Vale.PPC64LE.Stack_i.lemma_frame_store_load_stack128
val lemma_frame_store_load_stack128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures (load_stack128 i (store_stack128 ptr v h) == load_stack128 i h)) [SMTPat (load_stack128 i (store_stack128 ptr v h))]
val lemma_frame_store_load_stack128 (ptr:int) (v:quad32) (h:vale_stack) (i:int) : Lemma (requires valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures (load_stack128 i (store_stack128 ptr v h) == load_stack128 i h)) [SMTPat (load_stack128 i (store_stack128 ptr v h))]
let lemma_frame_store_load_stack128 ptr v h i = let Machine_stack _ mem = h in frame_update_heap128 ptr v mem; BS.get_heap_val32_reveal (); BS.get_heap_val128_reveal ()
{ "file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_i.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 77, "start_col": 0, "start_line": 73 }
module Vale.PPC64LE.Stack_i open FStar.Mul module BS = Vale.PPC64LE.Semantics_s open Vale.Arch.MachineHeap let vale_stack = machine_stack let valid_src_stack64 i st = BS.valid_src_stack64 i st let load_stack64 i st = BS.eval_stack i st let store_stack64 i v h = BS.update_stack64' i v h let free_stack64 start finish h...
{ "checked_file": "/", "dependencies": [ "Vale.PPC64LE.Semantics_s.fst.checked", "Vale.Lib.Set.fsti.checked", "Vale.Arch.MachineHeap.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": false, "full_module": "Vale.Arch.MachineHeap", "short_module": null }, { "abbrev": true, "full_module": "Vale.PPC64LE.Semantics_s", "short_module": "BS" }, { "abbrev": false, "full_module": "FStar.Mul", "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
ptr: Prims.int -> v: Vale.PPC64LE.Memory.quad32 -> h: Vale.PPC64LE.Stack_i.vale_stack -> i: Prims.int -> FStar.Pervasives.Lemma (requires Vale.PPC64LE.Stack_i.valid_src_stack128 i h /\ (i >= ptr + 16 \/ i + 16 <= ptr)) (ensures Vale.PPC64LE.Stack_i.load_stack128 i (Vale.PPC64LE.St...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.PPC64LE.Memory.quad32", "Vale.PPC64LE.Stack_i.vale_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.Arch.MachineHeap_s.get_heap_val128_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.get_hea...
[]
false
false
true
false
false
let lemma_frame_store_load_stack128 ptr v h i =
let Machine_stack _ mem = h in frame_update_heap128 ptr v mem; BS.get_heap_val32_reveal (); BS.get_heap_val128_reveal ()
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_res
val frame_res : u180: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> frame: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let frame_res (u:R.universe) (t pre post frame:R.term) = mk_stt_comp u t (mk_star pre frame) (mk_abs t R.Q_Explicit (mk_star (R.mk_app post [bound_var 0, R.Q_Explicit]) frame))
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 101, "end_line": 246, "start_col": 0, "start_line": 243 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u180: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> frame: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_stt_comp", "Pulse.Soundness.Common.mk_star", "Pulse.Reflection.Util.mk_abs", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.V2.Derived.mk_app", "Prims.Cons", "FStar.Stubs.Reflectio...
[]
false
false
false
true
false
let frame_res (u: R.universe) (t pre post frame: R.term) =
mk_stt_comp u t (mk_star pre frame) (mk_abs t R.Q_Explicit (mk_star (R.mk_app post [bound_var 0, R.Q_Explicit]) frame))
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1_t2_pre_post1_post2
val bind_type_t1_t2_pre_post1_post2 : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> ...
let bind_type_t1_t2_pre_post1_post2 (u1 u2:R.universe) (t1 t2 pre post1 post2:R.term) = let f_type = mk_stt_comp u1 t1 pre post1 in mk_arrow (f_type, R.Q_Explicit) (bind_type_t1_t2_pre_post1_post2_f u1 u2 t1 t2 pre post1 post2)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 74, "end_line": 194, "start_col": 0, "start_line": 191 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Typ...
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Common.bind_type_t1_t2_pre_post1_post2_f", "Pulse.R...
[]
false
false
false
true
false
let bind_type_t1_t2_pre_post1_post2 (u1 u2: R.universe) (t1 t2 pre post1 post2: R.term) =
let f_type = mk_stt_comp u1 t1 pre post1 in mk_arrow (f_type, R.Q_Explicit) (bind_type_t1_t2_pre_post1_post2_f u1 u2 t1 t2 pre post1 post2)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type
val bind_type : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
let bind_type (u1 u2:R.universe) = let var = 4 in let t1 = mk_name var in let t1_type = RT.tm_type u1 in mk_arrow (t1_type, R.Q_Implicit) (RT.subst_term (bind_type_t1 u1 u2 t1) [ RT.ND var 0 ])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 234, "start_col": 0, "start_line": 228 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.subst_term", "Pulse.Soundness.Common.bind_t...
[]
false
false
false
true
false
let bind_type (u1 u2: R.universe) =
let var = 4 in let t1 = mk_name var in let t1_type = RT.tm_type u1 in mk_arrow (t1_type, R.Q_Implicit) (RT.subst_term (bind_type_t1 u1 u2 t1) [RT.ND var 0])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_type_t_pre_post_frame
val frame_type_t_pre_post_frame : u190: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> frame: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let frame_type_t_pre_post_frame (u:R.universe) (t pre post frame:R.term) = let open R in let f_type = mk_stt_comp u t pre post in mk_arrow (f_type, Q_Explicit) (frame_res u t pre post frame)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 252, "start_col": 0, "start_line": 248 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u190: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> frame: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Common.frame_res", "Pulse.Reflection.Util.mk_stt_co...
[]
false
false
false
true
false
let frame_type_t_pre_post_frame (u: R.universe) (t pre post frame: R.term) =
let open R in let f_type = mk_stt_comp u t pre post in mk_arrow (f_type, Q_Explicit) (frame_res u t pre post frame)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.bind_type_t1
val bind_type_t1 : u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let bind_type_t1 (u1 u2:R.universe) (t1:R.term) = let var = 3 in let t2 = mk_name var in let t2_type = RT.tm_type u2 in mk_arrow (t2_type, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2 u1 u2 t1 t2) [ RT.ND var 0 ])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 226, "start_col": 0, "start_line": 220 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u1: FStar.Stubs.Reflection.Types.universe -> u2: FStar.Stubs.Reflection.Types.universe -> t1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.subst_term", "Pulse.Soundness.Common.bind_t...
[]
false
false
false
true
false
let bind_type_t1 (u1 u2: R.universe) (t1: R.term) =
let var = 3 in let t2 = mk_name var in let t2_type = RT.tm_type u2 in mk_arrow (t2_type, R.Q_Implicit) (RT.subst_term (bind_type_t1_t2 u1 u2 t1 t2) [RT.ND var 0])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_type_t
val frame_type_t : u208: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let frame_type_t (u:R.universe) (t:R.term) = let var = 2 in let pre = mk_name var in let pre_type = vprop_tm in mk_arrow (pre_type, R.Q_Implicit) (RT.close_term (frame_type_t_pre u t pre) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 272, "start_col": 0, "start_line": 267 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u208: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.frame_...
[]
false
false
false
true
false
let frame_type_t (u: R.universe) (t: R.term) =
let var = 2 in let pre = mk_name var in let pre_type = vprop_tm in mk_arrow (pre_type, R.Q_Implicit) (RT.close_term (frame_type_t_pre u t pre) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.stt_vprop_post_equiv
val stt_vprop_post_equiv : u220: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let stt_vprop_post_equiv (u:R.universe) (t t1 t2:R.term) = R.mk_app (stt_vprop_post_equiv_univ_inst u) [(t, R.Q_Implicit); (t1, R.Q_Explicit); (t2, R.Q_Explicit)]
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 288, "start_col": 0, "start_line": 286 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u220: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> t1: FStar.Stubs.Reflection.Types.term -> t2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.V2.Derived.mk_app", "Pulse.Soundness.Common.stt_vprop_post_equiv_univ_inst", "Prims.Cons", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv",...
[]
false
false
false
true
false
let stt_vprop_post_equiv (u: R.universe) (t t1 t2: R.term) =
R.mk_app (stt_vprop_post_equiv_univ_inst u) [(t, R.Q_Implicit); (t1, R.Q_Explicit); (t2, R.Q_Explicit)]
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.frame_type
val frame_type : u210: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
let frame_type (u:R.universe) = let var = 3 in let t = mk_name var in let t_type = RT.tm_type u in mk_arrow (t_type, R.Q_Implicit) (RT.close_term (frame_type_t u t) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 279, "start_col": 0, "start_line": 274 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u210: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.frame_...
[]
false
false
false
true
false
let frame_type (u: R.universe) =
let var = 3 in let t = mk_name var in let t_type = RT.tm_type u in mk_arrow (t_type, R.Q_Implicit) (RT.close_term (frame_type_t u t) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.stt_vprop_post_equiv_fv
val stt_vprop_post_equiv_fv : FStar.Stubs.Reflection.Types.fv
let stt_vprop_post_equiv_fv = R.pack_fv (mk_pulse_lib_core_lid "vprop_post_equiv")
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 82, "end_line": 284, "start_col": 0, "start_line": 284 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.Stubs.Reflection.Types.fv
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.V2.Builtins.pack_fv", "Pulse.Reflection.Util.mk_pulse_lib_core_lid" ]
[]
false
false
false
true
false
let stt_vprop_post_equiv_fv =
R.pack_fv (mk_pulse_lib_core_lid "vprop_post_equiv")
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.stt_vprop_post_equiv_univ_inst
val stt_vprop_post_equiv_univ_inst : u212: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
let stt_vprop_post_equiv_univ_inst u = R.pack_ln (R.Tv_UInst stt_vprop_post_equiv_fv [u])
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 89, "end_line": 285, "start_col": 0, "start_line": 285 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u212: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_UInst", "Pulse.Soundness.Common.stt_vprop_post_equiv_fv", "Prims.Cons", "Prims.Nil", "FStar.Stubs.Reflection.Types.term" ]
[]
false
false
false
true
false
let stt_vprop_post_equiv_univ_inst u =
R.pack_ln (R.Tv_UInst stt_vprop_post_equiv_fv [u])
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_equiv_pre
val sub_stt_equiv_pre : u254: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.R...
let sub_stt_equiv_pre u t pre1 post1 pre2 post2 = mk_arrow (stt_vprop_equiv pre1 pre2, R.Q_Explicit) (sub_stt_equiv_post u t pre1 pre2 post1 post2)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 298, "start_col": 0, "start_line": 296 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u254: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.ter...
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Reflection.Util.stt_vprop_equiv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Common.sub...
[]
false
false
false
true
false
let sub_stt_equiv_pre u t pre1 post1 pre2 post2 =
mk_arrow (stt_vprop_equiv pre1 pre2, R.Q_Explicit) (sub_stt_equiv_post u t pre1 pre2 post1 post2)
false
FStar.UInt32.fsti
FStar.UInt32.eq_mask
val eq_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a = v b ==> v c = pow2 n - 1) /\ (v a <> v b ==> v c = 0)))
val eq_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a = v b ==> v c = pow2 n - 1) /\ (v a <> v b ==> v c = 0)))
let eq_mask (a:t) (b:t) : Pure t (requires True) (ensures (fun c -> (v a = v b ==> v c = pow2 n - 1) /\ (v a <> v b ==> v c = 0))) = let x = logxor a b in let minus_x = minus x in let x_or_minus_x = logor x minus_x in let xnx = shift_right x_or_minus_x n_minus_one in l...
{ "file_name": "ulib/FStar.UInt32.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 283, "start_col": 0, "start_line": 256 }
(* 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.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt32.fsti" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "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.UInt32.t -> b: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
Prims.Pure
[]
[]
[ "FStar.UInt32.t", "Prims.unit", "Prims.op_Equality", "Prims._assert", "Prims.b2t", "FStar.UInt.uint_t", "FStar.UInt32.n", "FStar.UInt32.v", "FStar.UInt.ones", "Prims.l_and", "Prims.int", "FStar.UInt.logor_lemma_1", "FStar.UInt.lognot_lemma_1", "FStar.UInt.logxor_self", "Prims.bool", "F...
[]
false
false
false
false
false
let eq_mask (a b: t) : Pure t (requires True) (ensures (fun c -> (v a = v b ==> v c = pow2 n - 1) /\ (v a <> v b ==> v c = 0))) =
let x = logxor a b in let minus_x = minus x in let x_or_minus_x = logor x minus_x in let xnx = shift_right x_or_minus_x n_minus_one in let c = sub_mod xnx (uint_to_t 1) in if a = b then (logxor_self (v a); lognot_lemma_1 #n; logor_lemma_1 (v x); assert (v x = 0 /\ v minus_x = 0 /\ v x_or_minus_x = 0 /\ v ...
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_equiv_post
val sub_stt_equiv_post : u243: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: _ -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_equiv_post u t pre1 post1 pre2 post2 = mk_arrow (stt_vprop_post_equiv u t post1 post2, R.Q_Explicit) (sub_stt_res u t pre2 post2)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 294, "start_col": 0, "start_line": 292 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u243: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: _ -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> post2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Soundness.Common.stt_vprop_post_equiv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Soundness.Comm...
[]
false
false
false
true
false
let sub_stt_equiv_post u t pre1 post1 pre2 post2 =
mk_arrow (stt_vprop_post_equiv u t post1 post2, R.Q_Explicit) (sub_stt_res u t pre2 post2)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_post2
val sub_stt_post2 : u264: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_post2 u t pre1 post1 pre2 = let var = 0 in let post2 = mk_name var in let post2_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post2_type, R.Q_Explicit) (RT.close_term (sub_stt_equiv_pre u t pre1 pre2 post1 post2) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 305, "start_col": 0, "start_line": 300 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u264: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> pre2: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.sub_st...
[]
false
false
false
true
false
let sub_stt_post2 u t pre1 post1 pre2 =
let var = 0 in let post2 = mk_name var in let post2_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post2_type, R.Q_Explicit) (RT.close_term (sub_stt_equiv_pre u t pre1 pre2 post1 post2) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_res
val sub_stt_res : u228: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_res u t pre post = mk_stt_comp u t pre post
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 55, "end_line": 290, "start_col": 0, "start_line": 290 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u228: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre: FStar.Stubs.Reflection.Types.term -> post: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_stt_comp" ]
[]
false
false
false
true
false
let sub_stt_res u t pre post =
mk_stt_comp u t pre post
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_pre2
val sub_stt_pre2 : u272: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_pre2 u t pre1 post1 = let var = 1 in let pre2 = mk_name var in let pre2_type = vprop_tm in mk_arrow (pre2_type, R.Q_Explicit) (RT.close_term (sub_stt_post2 u t pre1 post1 pre2) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 312, "start_col": 0, "start_line": 307 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u272: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> post1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.sub_st...
[]
false
false
false
true
false
let sub_stt_pre2 u t pre1 post1 =
let var = 1 in let pre2 = mk_name var in let pre2_type = vprop_tm in mk_arrow (pre2_type, R.Q_Explicit) (RT.close_term (sub_stt_post2 u t pre1 post1 pre2) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_post1
val sub_stt_post1 : u278: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_post1 u t pre1 = let var = 2 in let post1 = mk_name var in let post1_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post1_type, R.Q_Explicit) (RT.close_term (sub_stt_pre2 u t pre1 post1) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 319, "start_col": 0, "start_line": 314 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u278: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> pre1: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.sub_st...
[]
false
false
false
true
false
let sub_stt_post1 u t pre1 =
let var = 2 in let post1 = mk_name var in let post1_type = mk_arrow (t, R.Q_Explicit) vprop_tm in mk_arrow (post1_type, R.Q_Explicit) (RT.close_term (sub_stt_pre2 u t pre1 post1) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_type
val sub_stt_type : u284: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
let sub_stt_type u = let var = 4 in let t = mk_name var in let ty_typ = RT.tm_type u in mk_arrow (ty_typ, R.Q_Explicit) (RT.close_term (sub_stt_pre1 u t) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 333, "start_col": 0, "start_line": 328 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u284: FStar.Stubs.Reflection.Types.universe -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.sub_st...
[]
false
false
false
true
false
let sub_stt_type u =
let var = 4 in let t = mk_name var in let ty_typ = RT.tm_type u in mk_arrow (ty_typ, R.Q_Explicit) (RT.close_term (sub_stt_pre1 u t) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.sub_stt_pre1
val sub_stt_pre1 : u282: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
let sub_stt_pre1 u t = let var = 3 in let pre1 = mk_name var in let pre1_type = vprop_tm in mk_arrow (pre1_type, R.Q_Explicit) (RT.close_term (sub_stt_post1 u t pre1) var)
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 55, "end_line": 326, "start_col": 0, "start_line": 321 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u282: FStar.Stubs.Reflection.Types.universe -> t: FStar.Stubs.Reflection.Types.term -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.universe", "FStar.Stubs.Reflection.Types.term", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "FStar.Reflection.Typing.close_term", "Pulse.Soundness.Common.sub_st...
[]
false
false
false
true
false
let sub_stt_pre1 u t =
let var = 3 in let pre1 = mk_name var in let pre1_type = vprop_tm in mk_arrow (pre1_type, R.Q_Explicit) (RT.close_term (sub_stt_post1 u t pre1) var)
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.elab_comp_open_commute
val elab_comp_open_commute (c: comp) (x: term) : Lemma (ensures elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) [SMTPat (elab_comp (open_comp_with c x))]
val elab_comp_open_commute (c: comp) (x: term) : Lemma (ensures elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) [SMTPat (elab_comp (open_comp_with c x))]
let elab_comp_open_commute (c:comp) (x:term) : Lemma (ensures elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) [SMTPat (elab_comp (open_comp_with c x))] = elab_comp_open_commute c x
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 412, "start_col": 0, "start_line": 408 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Pulse.Syntax.Base.comp -> x: Pulse.Syntax.Base.term -> FStar.Pervasives.Lemma (ensures Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.open_comp_with c x) == FStar.Reflection.Typing.open_with (Pulse.Elaborate.Pure.elab_comp c) (Pulse.Elaborate.Pure.elab_term x)) [SMTPat (P...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Syntax.Base.comp", "Pulse.Syntax.Base.term", "Pulse.Elaborate.elab_comp_open_commute", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Stubs.Reflection.Types.term", "Pulse.Elaborate.Pure.elab_comp", "Pulse.Syntax.Naming.open_comp_with", "FStar.Reflection.Typing.open_with...
[]
true
false
true
false
false
let elab_comp_open_commute (c: comp) (x: term) : Lemma (ensures elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) [SMTPat (elab_comp (open_comp_with c x))] =
elab_comp_open_commute c x
false
Hacl.Impl.Curve25519.AddAndDouble.fst
Hacl.Impl.Curve25519.AddAndDouble.point_add_and_double0
val point_add_and_double0: #s:field_spec -> nq_p1:point s -> ab:lbuffer (limb s) (2ul *! nlimb s) -> dc:lbuffer (limb s) (2ul *! nlimb s) -> tmp2:felem_wide2 s -> Stack unit (requires fun h0 -> live h0 nq_p1 /\ live h0 ab /\ live h0 dc /\ live h0 tmp2 /\ disjoint nq_p1 ab /\ disjoint nq_p1...
val point_add_and_double0: #s:field_spec -> nq_p1:point s -> ab:lbuffer (limb s) (2ul *! nlimb s) -> dc:lbuffer (limb s) (2ul *! nlimb s) -> tmp2:felem_wide2 s -> Stack unit (requires fun h0 -> live h0 nq_p1 /\ live h0 ab /\ live h0 dc /\ live h0 tmp2 /\ disjoint nq_p1 ab /\ disjoint nq_p1...
let point_add_and_double0 #s nq_p1 ab dc tmp2 = let x3 = sub nq_p1 0ul (nlimb s) in let z3 = sub nq_p1 (nlimb s) (nlimb s) in let a : felem s = sub ab 0ul (nlimb s) in let b : felem s = sub ab (nlimb s) (nlimb s) in let d : felem s = sub dc 0ul (nlimb s) in let c : felem s = sub dc (nlimb s) (nlimb s) in ...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.AddAndDouble.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 87, "start_col": 0, "start_line": 71 }
module Hacl.Impl.Curve25519.AddAndDouble open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Curve25519.Fields module ST = FStar.HyperStack.ST module F51 = Hacl.Impl.Curve25519.Field51 module F64 = Hacl.Impl.Curve25519.Field64 module ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.AddAndDouble.fst.checked", "Hacl.Impl.Curve25519.Fie...
[ { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.AddAndDouble", "short_module": "S" }, { "abbrev": true, "full_module": "Spec.Curve25519", "short_module": "P" }, { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Field64", "short_module": "F64" }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "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
nq_p1: Hacl.Impl.Curve25519.AddAndDouble.point s -> ab: Lib.Buffer.lbuffer (Hacl.Impl.Curve25519.Fields.Core.limb s) (2ul *! Hacl.Impl.Curve25519.Fields.Core.nlimb s) -> dc: Lib.Buffer.lbuffer (Hacl.Impl.Curve25519.Fields.Core.limb s) (2ul *! Hacl.Impl.Curve25519.Fields.Core.nli...
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.field_spec", "Hacl.Impl.Curve25519.AddAndDouble.point", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Fields.Core.limb", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Curve25519.Fields.Core.nlimb", "Hacl....
[]
false
true
false
false
false
let point_add_and_double0 #s nq_p1 ab dc tmp2 =
let x3 = sub nq_p1 0ul (nlimb s) in let z3 = sub nq_p1 (nlimb s) (nlimb s) in let a:felem s = sub ab 0ul (nlimb s) in let b:felem s = sub ab (nlimb s) (nlimb s) in let d:felem s = sub dc 0ul (nlimb s) in let c:felem s = sub dc (nlimb s) (nlimb s) in fadd c x3 z3; fsub d x3 z3; fmul2 dc dc ab tmp2; fadd x3 d c; fsub z3 ...
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.rotl
val rotl : a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.size_t{0 < Lib.IntTypes.uint_v b /\ Lib.IntTypes.uint_v b < 64} -> Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC
let rotl (a:uint64) (b:size_t{0 < uint_v b /\ uint_v b < 64}) = rotate_left a b
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 69, "start_col": 0, "start_line": 68 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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: Lib.IntTypes.uint64 -> b: Lib.IntTypes.size_t{0 < Lib.IntTypes.uint_v b /\ Lib.IntTypes.uint_v b < 64} -> Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.uint_v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.rotate_left", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.int_t" ]
[]
false
false
false
false
false
let rotl (a: uint64) (b: size_t{0 < uint_v b /\ uint_v b < 64}) =
rotate_left a b
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.elab_close_commute'
val elab_close_commute' (e: term) (v: var) (n: index) : Lemma (RT.subst_term (elab_term e) [RT.ND v n] == elab_term (close_term' e v n)) [SMTPat (elab_term (close_term' e v n))]
val elab_close_commute' (e: term) (v: var) (n: index) : Lemma (RT.subst_term (elab_term e) [RT.ND v n] == elab_term (close_term' e v n)) [SMTPat (elab_term (close_term' e v n))]
let elab_close_commute' (e:term) (v:var) (n:index) : Lemma (RT.subst_term (elab_term e) [ RT.ND v n ] == elab_term (close_term' e v n)) [SMTPat (elab_term (close_term' e v n))] = elab_close_commute' e v n
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 400, "start_col": 0, "start_line": 395 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Pulse.Syntax.Base.term -> v: Pulse.Syntax.Base.var -> n: Pulse.Syntax.Base.index -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_term e) [FStar.Reflection.Typing.ND v n] == Pulse.Elaborate.Pure.elab_term (Pulse.Syntax.Naming.close_ter...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.var", "Pulse.Syntax.Base.index", "Pulse.Elaborate.elab_close_commute'", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.Typing.subst_term", "Pulse.Elaborate.Pure.elab_term", "Prims.Co...
[]
true
false
true
false
false
let elab_close_commute' (e: term) (v: var) (n: index) : Lemma (RT.subst_term (elab_term e) [RT.ND v n] == elab_term (close_term' e v n)) [SMTPat (elab_term (close_term' e v n))] =
elab_close_commute' e v n
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.state
val state : Type0
let state = lbuffer uint64 25ul
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 37, "start_col": 0, "start_line": 37 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let state =
lbuffer uint64 25ul
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.comp_post_type
val comp_post_type (c: comp_st) : R.term
val comp_post_type (c: comp_st) : R.term
let comp_post_type (c:comp_st) : R.term = let t = elab_term (comp_res c) in mk_arrow (t, R.Q_Explicit) vprop_tm
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 357, "start_col": 0, "start_line": 355 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Pulse.Syntax.Base.comp_st -> FStar.Stubs.Reflection.Types.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.comp_st", "Pulse.Reflection.Util.mk_arrow", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Explicit", "Pulse.Reflection.Util.vprop_tm", "Pulse.Elaborate.Pure.elab_term", "Pulse.Syn...
[]
false
false
false
true
false
let comp_post_type (c: comp_st) : R.term =
let t = elab_term (comp_res c) in mk_arrow (t, R.Q_Explicit) vprop_tm
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.index
val index : Type0
let index = n:size_t{v n < 5}
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 40, "start_col": 0, "start_line": 40 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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" ]
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB" ]
[]
false
false
false
true
true
let index =
n: size_t{v n < 5}
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.has_stt_bindings
val has_stt_bindings : f: FStar.Reflection.Typing.fstar_top_env -> Prims.logical
let has_stt_bindings (f:RT.fstar_top_env) = RT.lookup_fvar f RT.bool_fv == Some (RT.tm_type RT.u_zero) /\ RT.lookup_fvar f vprop_fv == Some (RT.tm_type u2) /\ True
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 61, "end_line": 339, "start_col": 0, "start_line": 337 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: FStar.Reflection.Typing.fstar_top_env -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Reflection.Typing.fstar_top_env", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.Typing.lookup_fvar", "FStar.Reflection.Typing.bool_fv", "FStar.Pervasives.Native.Some", "FStar.Reflection.Typing.tm_type", "FStar.Reflection...
[]
false
false
false
true
true
let has_stt_bindings (f: RT.fstar_top_env) =
RT.lookup_fvar f RT.bool_fv == Some (RT.tm_type RT.u_zero) /\ RT.lookup_fvar f vprop_fv == Some (RT.tm_type u2) /\ True
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.stt_env
val stt_env : Type0
let stt_env = e:env { has_stt_bindings (fstar_env e) }
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 54, "end_line": 344, "start_col": 0, "start_line": 344 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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" ]
[]
[ "Pulse.Typing.Env.env", "Pulse.Soundness.Common.has_stt_bindings", "Pulse.Typing.Env.fstar_env" ]
[]
false
false
false
true
true
let stt_env =
e: env{has_stt_bindings (fstar_env e)}
false
FStar.BitVector.fst
FStar.BitVector.zero_vec
val zero_vec (#n: pos) : Tot (bv_t n)
val zero_vec (#n: pos) : Tot (bv_t n)
let zero_vec (#n: pos) : Tot (bv_t n) = create n false
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 36, "start_col": 0, "start_line": 36 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Seq.Base.create", "Prims.bool", "FStar.BitVector.bv_t" ]
[]
false
false
false
false
false
let zero_vec (#n: pos) : Tot (bv_t n) =
create n false
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.soundness_t
val soundness_t : d: 'a -> Type0
let soundness_t (d:'a) = g:stt_env -> t:st_term -> c:comp -> d':st_typing g t c{d' << d} -> GTot (RT.tot_typing (elab_env g) (elab_st_typing d') (elab_comp c))
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 38, "end_line": 384, "start_col": 0, "start_line": 377 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
d: 'a -> Type0
Prims.Tot
[ "total" ]
[]
[ "Pulse.Soundness.Common.stt_env", "Pulse.Syntax.Base.st_term", "Pulse.Syntax.Base.comp", "Pulse.Typing.st_typing", "Prims.precedes", "FStar.Reflection.Typing.tot_typing", "Pulse.Typing.elab_env", "Pulse.Elaborate.Core.elab_st_typing", "Pulse.Elaborate.Pure.elab_comp" ]
[]
false
false
false
true
true
let soundness_t (d: 'a) =
g: stt_env -> t: st_term -> c: comp -> d': st_typing g t c {d' << d} -> GTot (RT.tot_typing (elab_env g) (elab_st_typing d') (elab_comp c))
false
FStar.BitVector.fst
FStar.BitVector.logand_vec
val logand_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
val logand_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
let rec logand_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) = if n = 1 then create 1 (index a 0 && index b 0) else append (create 1 (index a 0 && index b 0)) (logand_vec #(n - 1) (slice a 1 n) (slice b 1 n))
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 99, "end_line": 48, "start_col": 0, "start_line": 45 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.create", "Prims.bool", "Prims.op_AmpAmp", "FStar.Seq.Base.index", "FStar.Seq.Base.append", "FStar.BitVector.logand_vec", "Prims.op_Subtraction", "FStar.Seq.Base.slice" ]
[ "recursion" ]
false
false
false
false
false
let rec logand_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) =
if n = 1 then create 1 (index a 0 && index b 0) else append (create 1 (index a 0 && index b 0)) (logand_vec #(n - 1) (slice a 1 n) (slice b 1 n))
false
FStar.BitVector.fst
FStar.BitVector.elem_vec
val elem_vec (#n: pos) (i: nat{i < n}) : Tot (bv_t n)
val elem_vec (#n: pos) (i: nat{i < n}) : Tot (bv_t n)
let elem_vec (#n: pos) (i: nat{i < n}) : Tot (bv_t n) = upd (create n false) i true
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 83, "end_line": 39, "start_col": 0, "start_line": 39 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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{i < n} -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.upd", "Prims.bool", "FStar.Seq.Base.create", "FStar.BitVector.bv_t" ]
[]
false
false
false
false
false
let elem_vec (#n: pos) (i: nat{i < n}) : Tot (bv_t n) =
upd (create n false) i true
false
FStar.BitVector.fst
FStar.BitVector.ones_vec
val ones_vec (#n: pos) : Tot (bv_t n)
val ones_vec (#n: pos) : Tot (bv_t n)
let ones_vec (#n: pos) : Tot (bv_t n) = create n true
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 42, "start_col": 0, "start_line": 42 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.Seq.Base.create", "Prims.bool", "FStar.BitVector.bv_t" ]
[]
false
false
false
false
false
let ones_vec (#n: pos) : Tot (bv_t n) =
create n true
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.elab_open_commute'
val elab_open_commute' (e v: term) (n: index) : Lemma (ensures RT.subst_term (elab_term e) [RT.DT n (elab_term v)] == elab_term (open_term' e v n)) [SMTPat (elab_term (open_term' e v n))]
val elab_open_commute' (e v: term) (n: index) : Lemma (ensures RT.subst_term (elab_term e) [RT.DT n (elab_term v)] == elab_term (open_term' e v n)) [SMTPat (elab_term (open_term' e v n))]
let elab_open_commute' (e:term) (v:term) (n:index) : Lemma (ensures RT.subst_term (elab_term e) [ RT.DT n (elab_term v)] == elab_term (open_term' e v n)) [SMTPat (elab_term (open_term' e v n))] = elab_open_commute' e v n
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 26, "end_line": 393, "start_col": 0, "start_line": 386 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Pulse.Syntax.Base.term -> v: Pulse.Syntax.Base.term -> n: Pulse.Syntax.Base.index -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_term e) [FStar.Reflection.Typing.DT n (Pulse.Elaborate.Pure.elab_term v)] == Pulse.Elaborate.Pure.elab_t...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.index", "Pulse.Elaborate.elab_open_commute'", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Stubs.Reflection.Types.term", "FStar.Reflection.Typing.subst_term", "Pulse.Elaborate.Pure.elab_term", "Prims.Cons", "FStar.Reflection.Typ...
[]
true
false
true
false
false
let elab_open_commute' (e v: term) (n: index) : Lemma (ensures RT.subst_term (elab_term e) [RT.DT n (elab_term v)] == elab_term (open_term' e v n)) [SMTPat (elab_term (open_term' e v n))] =
elab_open_commute' e v n
false
Spec.SHA3.Equivalence.fst
Spec.SHA3.Equivalence.state_chi_inner
val state_chi_inner (y: index) (s: state) : Tot state
val state_chi_inner (y: index) (s: state) : Tot state
let state_chi_inner (y:index) (s:state) : Tot state = let v0 = get s 0 y ^. ((lognot (get s 1 y)) &. get s 2 y) in let v1 = get s 1 y ^. ((lognot (get s 2 y)) &. get s 3 y) in let v2 = get s 2 y ^. ((lognot (get s 3 y)) &. get s 4 y) in let v3 = get s 3 y ^. ((lognot (get s 4 y)) &. get s 0 y) in let v4 ...
{ "file_name": "specs/lemmas/Spec.SHA3.Equivalence.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 25, "start_col": 0, "start_line": 14 }
module Spec.SHA3.Equivalence open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open FStar.Mul open Lib.LoopCombinators open Spec.SHA3.Constants open Spec.SHA3 #reset-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0"
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Spec.SHA3", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA3.Constants", "short_module": null }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
y: Spec.SHA3.index -> s: Spec.SHA3.state -> Spec.SHA3.state
Prims.Tot
[ "total" ]
[]
[ "Spec.SHA3.index", "Spec.SHA3.state", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Spec.SHA3.set", "Lib.IntTypes.op_Hat_Dot", "Spec.SHA3.get", "Lib.IntTypes.op_Amp_Dot", "Lib.IntTypes.lognot" ]
[]
false
false
false
true
false
let state_chi_inner (y: index) (s: state) : Tot state =
let v0 = get s 0 y ^. ((lognot (get s 1 y)) &. get s 2 y) in let v1 = get s 1 y ^. ((lognot (get s 2 y)) &. get s 3 y) in let v2 = get s 2 y ^. ((lognot (get s 3 y)) &. get s 4 y) in let v3 = get s 3 y ^. ((lognot (get s 4 y)) &. get s 0 y) in let v4 = get s 4 y ^. ((lognot (get s 0 y)) &. get s 1 y) in let s = set s 0...
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.elab_comp_close_commute
val elab_comp_close_commute (c: comp) (x: var) : Lemma (ensures elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) [SMTPat (elab_comp (close_comp c x))]
val elab_comp_close_commute (c: comp) (x: var) : Lemma (ensures elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) [SMTPat (elab_comp (close_comp c x))]
let elab_comp_close_commute (c:comp) (x:var) : Lemma (ensures elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) [SMTPat (elab_comp (close_comp c x))] = elab_comp_close_commute c x
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 406, "start_col": 0, "start_line": 402 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "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: Pulse.Syntax.Base.comp -> x: Pulse.Syntax.Base.var -> FStar.Pervasives.Lemma (ensures Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.close_comp c x) == FStar.Reflection.Typing.close_term (Pulse.Elaborate.Pure.elab_comp c) x) [SMTPat (Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Nam...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Syntax.Base.comp", "Pulse.Syntax.Base.var", "Pulse.Elaborate.elab_comp_close_commute", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Stubs.Reflection.Types.term", "Pulse.Elaborate.Pure.elab_comp", "Pulse.Syntax.Naming.close_comp", "FStar.Reflection.Typing.close_term", ...
[]
true
false
true
false
false
let elab_comp_close_commute (c: comp) (x: var) : Lemma (ensures elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) [SMTPat (elab_comp (close_comp c x))] =
elab_comp_close_commute c x
false
FStar.BitVector.fst
FStar.BitVector.lognot_vec
val lognot_vec (#n: pos) (a: bv_t n) : Tot (bv_t n)
val lognot_vec (#n: pos) (a: bv_t n) : Tot (bv_t n)
let rec lognot_vec (#n: pos) (a: bv_t n) : Tot (bv_t n) = if n = 1 then create 1 (not (index a 0)) else append (create 1 (not (index a 0))) (lognot_vec #(n - 1) (slice a 1 n))
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 78, "end_line": 84, "start_col": 0, "start_line": 81 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.create", "Prims.bool", "Prims.op_Negation", "FStar.Seq.Base.index", "FStar.Seq.Base.append", "FStar.BitVector.lognot_vec", "Prims.op_Subtraction", "FStar.Seq.Base.slice" ]
[ "recursion" ]
false
false
false
false
false
let rec lognot_vec (#n: pos) (a: bv_t n) : Tot (bv_t n) =
if n = 1 then create 1 (not (index a 0)) else append (create 1 (not (index a 0))) (lognot_vec #(n - 1) (slice a 1 n))
false
FStar.BitVector.fst
FStar.BitVector.lognot_vec_definition
val lognot_vec_definition (#n: pos) (a: bv_t n) (i: nat{i < n}) : Lemma (ensures index (lognot_vec #n a) i = not (index a i)) [SMTPat (index (lognot_vec #n a) i)]
val lognot_vec_definition (#n: pos) (a: bv_t n) (i: nat{i < n}) : Lemma (ensures index (lognot_vec #n a) i = not (index a i)) [SMTPat (index (lognot_vec #n a) i)]
let rec lognot_vec_definition (#n: pos) (a: bv_t n) (i: nat{i < n}) : Lemma (ensures index (lognot_vec #n a) i = not (index a i)) [SMTPat (index (lognot_vec #n a) i)] = if i = 0 then () else lognot_vec_definition #(n - 1) (slice a 1 n) (i - 1)
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 76, "end_line": 90, "start_col": 0, "start_line": 87 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> i: Prims.nat{i < n} -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.index (FStar.BitVector.lognot_vec a) i = Prims.op_Negation (FStar.Seq.Base.index a i)) [SMTPat (FStar.Seq.Base.index (FStar.BitVector.lognot_vec a) i)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.int", "Prims.bool", "FStar.BitVector.lognot_vec_definition", "Prims.op_Subtraction", "FStar.Seq.Base.slice", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Seq.Base.index...
[ "recursion" ]
false
false
true
false
false
let rec lognot_vec_definition (#n: pos) (a: bv_t n) (i: nat{i < n}) : Lemma (ensures index (lognot_vec #n a) i = not (index a i)) [SMTPat (index (lognot_vec #n a) i)] =
if i = 0 then () else lognot_vec_definition #(n - 1) (slice a 1 n) (i - 1)
false
FStar.BitVector.fst
FStar.BitVector.logxor_vec_definition
val logxor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logxor_vec #n a b) i = (index a i <> index b i)) [SMTPat (index (logxor_vec #n a b) i)]
val logxor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logxor_vec #n a b) i = (index a i <> index b i)) [SMTPat (index (logxor_vec #n a b) i)]
let rec logxor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logxor_vec #n a b) i = (index a i <> index b i)) [SMTPat (index (logxor_vec #n a b) i)] = if i = 0 then () else logxor_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 90, "end_line": 66, "start_col": 0, "start_line": 63 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> i: Prims.nat{i < n} -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.index (FStar.BitVector.logxor_vec a b) i = (FStar.Seq.Base.index a i <> FStar.Seq.Base.index b i)) [SMTPat (FStar.Seq.Base.index (FStar.BitVector.logxor_vec a b) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.int", "Prims.bool", "FStar.BitVector.logxor_vec_definition", "Prims.op_Subtraction", "FStar.Seq.Base.slice", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Seq.Base.index...
[ "recursion" ]
false
false
true
false
false
let rec logxor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logxor_vec #n a b) i = (index a i <> index b i)) [SMTPat (index (logxor_vec #n a b) i)] =
if i = 0 then () else logxor_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
false
FStar.BitVector.fst
FStar.BitVector.is_subset_vec
val is_subset_vec : a: FStar.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> Prims.logical
let is_subset_vec (#n: pos) (a b: bv_t n) = forall (i: nat). i < n ==> index b i = false ==> index a i = false
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 108, "start_col": 0, "start_line": 107 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.l_Forall", "Prims.nat", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.bool", "FStar.Seq.Base.index", "Prims.logical" ]
[]
false
false
false
false
true
let is_subset_vec (#n: pos) (a b: bv_t n) =
forall (i: nat). i < n ==> index b i = false ==> index a i = false
false
FStar.BitVector.fst
FStar.BitVector.logor_vec_definition
val logor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logor_vec #n a b) i = (index a i || index b i)) [SMTPat (index (logor_vec #n a b) i)]
val logor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logor_vec #n a b) i = (index a i || index b i)) [SMTPat (index (logor_vec #n a b) i)]
let rec logor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logor_vec #n a b) i = (index a i || index b i)) [SMTPat (index (logor_vec #n a b) i)] = if i = 0 then () else logor_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 89, "end_line": 78, "start_col": 0, "start_line": 75 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> i: Prims.nat{i < n} -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.index (FStar.BitVector.logor_vec a b) i = (FStar.Seq.Base.index a i || FStar.Seq.Base.index b i)) [SMTPat (FStar.Seq.Base.index (FStar.BitVector.logor_vec a b) i)...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.int", "Prims.bool", "FStar.BitVector.logor_vec_definition", "Prims.op_Subtraction", "FStar.Seq.Base.slice", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Seq.Base.index"...
[ "recursion" ]
false
false
true
false
false
let rec logor_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logor_vec #n a b) i = (index a i || index b i)) [SMTPat (index (logor_vec #n a b) i)] =
if i = 0 then () else logor_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
false
FStar.BitVector.fst
FStar.BitVector.logxor_vec
val logxor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
val logxor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
let rec logxor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) = if n = 1 then create 1 (index a 0 <> index b 0) else append (create 1 (index a 0 <> index b 0)) (logxor_vec #(n - 1) (slice a 1 n) (slice b 1 n))
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 99, "end_line": 60, "start_col": 0, "start_line": 57 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.create", "Prims.bool", "Prims.op_disEquality", "FStar.Seq.Base.index", "FStar.Seq.Base.append", "FStar.BitVector.logxor_vec", "Prims.op_Subtraction", "FStar.Seq.Base.slice" ]
[ "recursion" ]
false
false
false
false
false
let rec logxor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) =
if n = 1 then create 1 (index a 0 <> index b 0) else append (create 1 (index a 0 <> index b 0)) (logxor_vec #(n - 1) (slice a 1 n) (slice b 1 n))
false
FStar.BitVector.fst
FStar.BitVector.logand_vec_definition
val logand_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logand_vec #n a b) i = (index a i && index b i)) [SMTPat (index (logand_vec #n a b) i)]
val logand_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logand_vec #n a b) i = (index a i && index b i)) [SMTPat (index (logand_vec #n a b) i)]
let rec logand_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logand_vec #n a b) i = (index a i && index b i)) [SMTPat (index (logand_vec #n a b) i)] = if i = 0 then () else logand_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 90, "end_line": 54, "start_col": 0, "start_line": 51 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> i: Prims.nat{i < n} -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.index (FStar.BitVector.logand_vec a b) i = (FStar.Seq.Base.index a i && FStar.Seq.Base.index b i)) [SMTPat (FStar.Seq.Base.index (FStar.BitVector.logand_vec a b) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.int", "Prims.bool", "FStar.BitVector.logand_vec_definition", "Prims.op_Subtraction", "FStar.Seq.Base.slice", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Seq.Base.index...
[ "recursion" ]
false
false
true
false
false
let rec logand_vec_definition (#n: pos) (a b: bv_t n) (i: nat{i < n}) : Lemma (ensures index (logand_vec #n a b) i = (index a i && index b i)) [SMTPat (index (logand_vec #n a b) i)] =
if i = 0 then () else logand_vec_definition #(n - 1) (slice a 1 n) (slice b 1 n) (i - 1)
false
FStar.BitVector.fst
FStar.BitVector.is_superset_vec
val is_superset_vec : a: FStar.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> Prims.logical
let is_superset_vec (#n: pos) (a b: bv_t n) = forall (i: nat). i < n ==> index b i = true ==> index a i = true
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 66, "end_line": 113, "start_col": 0, "start_line": 112 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.l_Forall", "Prims.nat", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Equality", "Prims.bool", "FStar.Seq.Base.index", "Prims.logical" ]
[]
false
false
false
false
true
let is_superset_vec (#n: pos) (a b: bv_t n) =
forall (i: nat). i < n ==> index b i = true ==> index a i = true
false
FStar.BitVector.fst
FStar.BitVector.logor_vec
val logor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
val logor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n)
let rec logor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) = if n = 1 then create 1 (index a 0 || index b 0) else append (create 1 (index a 0 || index b 0)) (logor_vec #(n - 1) (slice a 1 n) (slice b 1 n))
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 98, "end_line": 72, "start_col": 0, "start_line": 69 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> b: FStar.BitVector.bv_t n -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.create", "Prims.bool", "Prims.op_BarBar", "FStar.Seq.Base.index", "FStar.Seq.Base.append", "FStar.BitVector.logor_vec", "Prims.op_Subtraction", "FStar.Seq.Base.slice" ]
[ "recursion" ]
false
false
false
false
false
let rec logor_vec (#n: pos) (a b: bv_t n) : Tot (bv_t n) =
if n = 1 then create 1 (index a 0 || index b 0) else append (create 1 (index a 0 || index b 0)) (logor_vec #(n - 1) (slice a 1 n) (slice b 1 n))
false
FStar.BitVector.fst
FStar.BitVector.shift_left_vec
val shift_left_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
val shift_left_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
let shift_left_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) = if s >= n then zero_vec #n else if s = 0 then a else append (slice a s n) (zero_vec #s)
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 89, "end_line": 138, "start_col": 0, "start_line": 137 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> s: Prims.nat -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.op_GreaterThanOrEqual", "FStar.BitVector.zero_vec", "Prims.bool", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.append", "FStar.Seq.Base.slice" ]
[]
false
false
false
false
false
let shift_left_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) =
if s >= n then zero_vec #n else if s = 0 then a else append (slice a s n) (zero_vec #s)
false
Spec.SHA3.Equivalence.fst
Spec.SHA3.Equivalence.state_chi
val state_chi (s_pi_rho: state) : Tot state
val state_chi (s_pi_rho: state) : Tot state
let state_chi (s_pi_rho:state) : Tot state = repeati 5 state_chi_inner s_pi_rho
{ "file_name": "specs/lemmas/Spec.SHA3.Equivalence.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 28, "start_col": 0, "start_line": 27 }
module Spec.SHA3.Equivalence open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open FStar.Mul open Lib.LoopCombinators open Spec.SHA3.Constants open Spec.SHA3 #reset-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0" let state_chi_inner (y:index) (s:state) : Tot state = let v0 = get s 0 y ^. ((lognot (ge...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Spec.SHA3", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA3.Constants", "short_module": null }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
s_pi_rho: Spec.SHA3.state -> Spec.SHA3.state
Prims.Tot
[ "total" ]
[]
[ "Spec.SHA3.state", "Lib.LoopCombinators.repeati", "Spec.SHA3.Equivalence.state_chi_inner" ]
[]
false
false
false
true
false
let state_chi (s_pi_rho: state) : Tot state =
repeati 5 state_chi_inner s_pi_rho
false
FStar.BitVector.fst
FStar.BitVector.shift_right_vec
val shift_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
val shift_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
let shift_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) = if s >= n then zero_vec #n else if s = 0 then a else append (zero_vec #s) (slice a 0 (n - s))
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 95, "end_line": 152, "start_col": 0, "start_line": 151 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> s: Prims.nat -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "Prims.op_GreaterThanOrEqual", "FStar.BitVector.zero_vec", "Prims.bool", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.append", "FStar.Seq.Base.slice", "Prims.op_Subtraction" ]
[]
false
false
false
false
false
let shift_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) =
if s >= n then zero_vec #n else if s = 0 then a else append (zero_vec #s) (slice a 0 (n - s))
false
Spec.SHA3.Equivalence.fst
Spec.SHA3.Equivalence.state_chi_equivalence
val state_chi_equivalence (st_old: state) : Lemma (state_chi st_old == Spec.SHA3.state_chi st_old)
val state_chi_equivalence (st_old: state) : Lemma (state_chi st_old == Spec.SHA3.state_chi st_old)
let state_chi_equivalence (st_old:state) : Lemma (state_chi st_old == Spec.SHA3.state_chi st_old) = Lib.LoopCombinators.eq_repeati0 5 (state_chi_inner1 st_old) st_old; Lib.LoopCombinators.unfold_repeati 5 (state_chi_inner1 st_old) st_old 0; Lib.LoopCombinators.unfold_repeati 5 (state_chi_in...
{ "file_name": "specs/lemmas/Spec.SHA3.Equivalence.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 99, "start_col": 0, "start_line": 60 }
module Spec.SHA3.Equivalence open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open FStar.Mul open Lib.LoopCombinators open Spec.SHA3.Constants open Spec.SHA3 #reset-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0" let state_chi_inner (y:index) (s:state) : Tot state = let v0 = get s 0 y ^. ((lognot (ge...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked", ...
[ { "abbrev": false, "full_module": "Spec.SHA3", "short_module": null }, { "abbrev": false, "full_module": "Spec.SHA3.Constants", "short_module": null }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": false, "full_mo...
{ "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
st_old: Spec.SHA3.state -> FStar.Pervasives.Lemma (ensures Spec.SHA3.Equivalence.state_chi st_old == Spec.SHA3.state_chi st_old)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.SHA3.state", "Prims.unit", "Spec.SHA3.Equivalence.state_chi_inner_equivalence1", "Prims._assert", "Prims.eq2", "Spec.SHA3.Equivalence.state_chi_inner_equivalence0", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Spec.SHA3.Equivalence.state_chi_inner", ...
[]
true
false
true
false
false
let state_chi_equivalence (st_old: state) : Lemma (state_chi st_old == Spec.SHA3.state_chi st_old) =
Lib.LoopCombinators.eq_repeati0 5 (state_chi_inner1 st_old) st_old; Lib.LoopCombinators.unfold_repeati 5 (state_chi_inner1 st_old) st_old 0; Lib.LoopCombinators.unfold_repeati 5 (state_chi_inner1 st_old) st_old 1; Lib.LoopCombinators.unfold_repeati 5 (state_chi_inner1 st_old) st_old 2; Lib.LoopCombinators.unfold_repeat...
false
FStar.BitVector.fst
FStar.BitVector.shift_arithmetic_right_vec
val shift_arithmetic_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
val shift_arithmetic_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n)
let shift_arithmetic_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) = if index a 0 then if s >= n then ones_vec #n else if s = 0 then a else append (ones_vec #s) (slice a 0 (n - s)) else shift_right_vec a s
{ "file_name": "ulib/FStar.BitVector.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 26, "end_line": 169, "start_col": 0, "start_line": 166 }
(* 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.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.BitVector.fst" }
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "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": 8, "max_ifuel": 2, "no_plugins": false, "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.BitVector.bv_t n -> s: Prims.nat -> FStar.BitVector.bv_t n
Prims.Tot
[ "total" ]
[]
[ "Prims.pos", "FStar.BitVector.bv_t", "Prims.nat", "FStar.Seq.Base.index", "Prims.bool", "Prims.op_GreaterThanOrEqual", "FStar.BitVector.ones_vec", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.append", "FStar.Seq.Base.slice", "Prims.op_Subtraction", "FStar.BitVector.shift_right_vec" ]
[]
false
false
false
false
false
let shift_arithmetic_right_vec (#n: pos) (a: bv_t n) (s: nat) : Tot (bv_t n) =
if index a 0 then if s >= n then ones_vec #n else if s = 0 then a else append (ones_vec #s) (slice a 0 (n - s)) else shift_right_vec a s
false
Pulse.Soundness.Common.fst
Pulse.Soundness.Common.extend_env_l_lookup_fvar
val extend_env_l_lookup_fvar (g: R.env) (sg: env_bindings) (fv: R.fv) (us: R.universes) : Lemma (ensures RT.lookup_fvar_uinst (extend_env_l g sg) fv us == RT.lookup_fvar_uinst g fv us) [SMTPat (RT.lookup_fvar_uinst (extend_env_l g sg) fv us)]
val extend_env_l_lookup_fvar (g: R.env) (sg: env_bindings) (fv: R.fv) (us: R.universes) : Lemma (ensures RT.lookup_fvar_uinst (extend_env_l g sg) fv us == RT.lookup_fvar_uinst g fv us) [SMTPat (RT.lookup_fvar_uinst (extend_env_l g sg) fv us)]
let rec extend_env_l_lookup_fvar (g:R.env) (sg:env_bindings) (fv:R.fv) (us:R.universes) : Lemma (ensures RT.lookup_fvar_uinst (extend_env_l g sg) fv us == RT.lookup_fvar_uinst g fv us) [SMTPat (RT.lookup_fvar_uinst (extend_env_l g sg) fv us)] = match sg with | [] -> () | hd::tl -> exten...
{ "file_name": "lib/steel/pulse/Pulse.Soundness.Common.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 51, "end_line": 38, "start_col": 0, "start_line": 30 }
(* Copyright 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 agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Elaborate.fsti.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", ...
[ { "abbrev": false, "full_module": "Pulse.Elaborate", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
g: FStar.Stubs.Reflection.Types.env -> sg: Pulse.Typing.Env.env_bindings -> fv: FStar.Stubs.Reflection.Types.fv -> us: FStar.Stubs.Reflection.V2.Data.universes -> FStar.Pervasives.Lemma (ensures FStar.Reflection.Typing.lookup_fvar_uinst (Pulse.Typing.extend_env_l g sg) fv us == ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Stubs.Reflection.Types.env", "Pulse.Typing.Env.env_bindings", "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.V2.Data.universes", "Pulse.Typing.Env.binding", "Prims.list", "Pulse.Soundness.Common.extend_env_l_lookup_fvar", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq...
[ "recursion" ]
false
false
true
false
false
let rec extend_env_l_lookup_fvar (g: R.env) (sg: env_bindings) (fv: R.fv) (us: R.universes) : Lemma (ensures RT.lookup_fvar_uinst (extend_env_l g sg) fv us == RT.lookup_fvar_uinst g fv us) [SMTPat (RT.lookup_fvar_uinst (extend_env_l g sg) fv us)] =
match sg with | [] -> () | hd :: tl -> extend_env_l_lookup_fvar g tl fv us
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.get
val get: s:state -> x:index -> y:index -> Stack uint64 (requires fun h -> live h s) (ensures fun h0 r h1 -> modifies loc_none h0 h1 /\ r == S.get (as_seq h0 s) (v x) (v y))
val get: s:state -> x:index -> y:index -> Stack uint64 (requires fun h -> live h s) (ensures fun h0 r h1 -> modifies loc_none h0 h1 /\ r == S.get (as_seq h0 s) (v x) (v y))
let get s x y = s.(x +! 5ul *! y)
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 52, "start_col": 0, "start_line": 52 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
s: Hacl.Impl.SHA3.state -> x: Hacl.Impl.SHA3.index -> y: Hacl.Impl.SHA3.index -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint64
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.SHA3.state", "Hacl.Impl.SHA3.index", "Lib.Buffer.op_Array_Access", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.op_Star_Bang" ]
[]
false
true
false
false
false
let get s x y =
s.(x +! 5ul *! y)
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.state_theta1
val state_theta1: s:state -> _C:lbuffer uint64 5ul -> Stack unit (requires fun h0 -> live h0 s /\ live h0 _C /\ disjoint _C s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_theta1 (as_seq h0 s) (as_seq h0 _C))
val state_theta1: s:state -> _C:lbuffer uint64 5ul -> Stack unit (requires fun h0 -> live h0 s /\ live h0 _C /\ disjoint _C s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_theta1 (as_seq h0 s) (as_seq h0 _C))
let state_theta1 s _C = [@ inline_let] let spec h0 = S.state_theta_inner_s (as_seq h0 _C) in let h0 = ST.get () in loop1 h0 5ul s spec (fun x -> Loop.unfold_repeati 5 (spec h0) (as_seq h0 s) (v x); state_theta_inner_s _C x s )
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 133, "start_col": 0, "start_line": 125 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
s: Hacl.Impl.SHA3.state -> _C: Lib.Buffer.lbuffer Lib.IntTypes.uint64 5ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.SHA3.state", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.Buffer.loop1", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.SHA3.state_theta_inner_s", "Prims.unit", "Lib.L...
[]
false
true
false
false
false
let state_theta1 s _C =
[@@ inline_let ]let spec h0 = S.state_theta_inner_s (as_seq h0 _C) in let h0 = ST.get () in loop1 h0 5ul s spec (fun x -> Loop.unfold_repeati 5 (spec h0) (as_seq h0 s) (v x); state_theta_inner_s _C x s)
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.state_permute
val state_permute: s:state -> Stack unit (requires fun h -> live h s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_permute (as_seq h0 s))
val state_permute: s:state -> Stack unit (requires fun h -> live h s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_permute (as_seq h0 s))
let state_permute s = [@ inline_let] let spec h0 = S.state_permute1 in let h0 = ST.get () in loop1 h0 24ul s spec (fun round -> Loop.unfold_repeati 24 (spec h0) (as_seq h0 s) (v round); state_theta s; state_pi_rho s; state_chi s; state_iota s round)
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 297, "start_col": 0, "start_line": 287 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
s: Hacl.Impl.SHA3.state -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.SHA3.state", "Lib.Buffer.loop1", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.SHA3.state_iota", "Prims.unit", "Hacl.Impl.SHA3.state_chi", "Hacl.Imp...
[]
false
true
false
false
false
let state_permute s =
[@@ inline_let ]let spec h0 = S.state_permute1 in let h0 = ST.get () in loop1 h0 24ul s spec (fun round -> Loop.unfold_repeati 24 (spec h0) (as_seq h0 s) (v round); state_theta s; state_pi_rho s; state_chi s; state_iota s round)
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.mult_plus_lt
val mult_plus_lt (i a b: nat) : Lemma (requires i < a) (ensures i * b + b <= a * b)
val mult_plus_lt (i a b: nat) : Lemma (requires i < a) (ensures i * b + b <= a * b)
let mult_plus_lt (i a b:nat) : Lemma (requires i < a) (ensures i * b + b <= a * b) = assert (i <= a - 1)
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 479, "start_col": 0, "start_line": 478 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
i: Prims.nat -> a: Prims.nat -> b: Prims.nat -> FStar.Pervasives.Lemma (requires i < a) (ensures i * b + b <= a * b)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims._assert", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Subtraction", "Prims.unit", "Prims.op_LessThan", "Prims.squash", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
true
false
true
false
false
let mult_plus_lt (i a b: nat) : Lemma (requires i < a) (ensures i * b + b <= a * b) =
assert (i <= a - 1)
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.state_iota
val state_iota: s:state -> round:size_t{v round < 24} -> Stack unit (requires fun h -> live h s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_iota (as_seq h0 s) (v round))
val state_iota: s:state -> round:size_t{v round < 24} -> Stack unit (requires fun h -> live h s) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.state_iota (as_seq h0 s) (v round))
let state_iota s round = recall_contents keccak_rndc Spec.SHA3.Constants.keccak_rndc; let c = keccak_rndc.(round) in set s 0ul 0ul (get s 0ul 0ul ^. secret c)
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 278, "start_col": 0, "start_line": 275 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
s: Hacl.Impl.SHA3.state -> round: Lib.IntTypes.size_t{Lib.IntTypes.v round < 24} -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.SHA3.state", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.SHA3.set", "FStar.UInt32.__uint_to_t", "Prims.unit", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.op_Hat_Dot"...
[]
false
true
false
false
false
let state_iota s round =
recall_contents keccak_rndc Spec.SHA3.Constants.keccak_rndc; let c = keccak_rndc.(round) in set s 0ul 0ul (get s 0ul 0ul ^. secret c)
false
Hacl.Impl.SHA3.fst
Hacl.Impl.SHA3.absorb_inner
val absorb_inner: rateInBytes:size_t{0 < v rateInBytes /\ v rateInBytes <= 200} -> block:lbuffer uint8 rateInBytes -> s:state -> Stack unit (requires fun h0 -> live h0 s /\ live h0 block /\ disjoint s block) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.absorb_i...
val absorb_inner: rateInBytes:size_t{0 < v rateInBytes /\ v rateInBytes <= 200} -> block:lbuffer uint8 rateInBytes -> s:state -> Stack unit (requires fun h0 -> live h0 s /\ live h0 block /\ disjoint s block) (ensures fun h0 _ h1 -> modifies (loc s) h0 h1 /\ as_seq h1 s == S.absorb_i...
let absorb_inner rateInBytes block s = loadState rateInBytes block s; state_permute s
{ "file_name": "code/sha3/Hacl.Impl.SHA3.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 433, "start_col": 0, "start_line": 431 }
module Hacl.Impl.SHA3 open FStar.HyperStack.All open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Spec.SHA3.Constants module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequenc...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.Equivalence.fst.checked", "Spec.SHA3.Constants.fst.checked", "Spec.SHA3.fst.checked", "prims.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.SHA3.Equivalence", "short_module": "Equiv" }, { "abbrev": true, "full_module": "Spec.SHA3", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_...
{ "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
rateInBytes: Lib.IntTypes.size_t{0 < Lib.IntTypes.v rateInBytes /\ Lib.IntTypes.v rateInBytes <= 200} -> block: Lib.Buffer.lbuffer Lib.IntTypes.uint8 rateInBytes -> s: Hacl.Impl.SHA3.state -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.SHA3.state", "Hacl.Impl.SHA3.state_permute", "Prims.unit", "Hacl.Impl.SHA3.lo...
[]
false
true
false
false
false
let absorb_inner rateInBytes block s =
loadState rateInBytes block s; state_permute s
false