effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Pure
val div (a:t) (b:t{v b <> 0}) : Pure t (requires (True)) (ensures (fun c -> v a / v b = v c))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let div a b = Mk (div (v a) (v b))
val div (a:t) (b:t{v b <> 0}) : Pure t (requires (True)) (ensures (fun c -> v a / v b = v c)) let div a b =
false
null
false
Mk (div (v a) (v b))
{ "checked_file": "FStar.UInt32.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt32.fst" }
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_disEquality", "Prims.int", "FStar.UInt32.v", "FStar.UInt32.Mk", "FStar.UInt.div", "FStar.UInt32.n" ]
[]
(* 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...
false
false
FStar.UInt32.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val div (a:t) (b:t{v b <> 0}) : Pure t (requires (True)) (ensures (fun c -> v a / v b = v c))
[]
FStar.UInt32.div
{ "file_name": "ulib/FStar.UInt32.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt32.t -> b: FStar.UInt32.t{FStar.UInt32.v b <> 0} -> Prims.Pure FStar.UInt32.t
{ "end_col": 34, "end_line": 60, "start_col": 14, "start_line": 60 }
FStar.Pervasives.Lemma
val lemma_sub_msbs (a:t) (b:t) : Lemma ((msb (v a) = msb (v b)) ==> (v a < v b <==> msb (v (sub_mod a b))))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt"...
false
let lemma_sub_msbs a b = from_vec_propriety (to_vec (v a)) 1; from_vec_propriety (to_vec (v b)) 1; from_vec_propriety (to_vec (v (sub_mod a b))) 1
val lemma_sub_msbs (a:t) (b:t) : Lemma ((msb (v a) = msb (v b)) ==> (v a < v b <==> msb (v (sub_mod a b)))) let lemma_sub_msbs a b =
false
null
true
from_vec_propriety (to_vec (v a)) 1; from_vec_propriety (to_vec (v b)) 1; from_vec_propriety (to_vec (v (sub_mod a b))) 1
{ "checked_file": "FStar.UInt32.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "FStar.UInt32.fst" }
[ "lemma" ]
[ "FStar.UInt32.t", "FStar.UInt.from_vec_propriety", "FStar.UInt32.n", "FStar.UInt.to_vec", "FStar.UInt32.v", "FStar.UInt32.sub_mod", "Prims.unit" ]
[]
(* 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...
false
false
FStar.UInt32.fst
{ "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...
null
val lemma_sub_msbs (a:t) (b:t) : Lemma ((msb (v a) = msb (v b)) ==> (v a < v b <==> msb (v (sub_mod a b))))
[]
FStar.UInt32.lemma_sub_msbs
{ "file_name": "ulib/FStar.UInt32.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt32.t -> b: FStar.UInt32.t -> FStar.Pervasives.Lemma (ensures FStar.UInt.msb (FStar.UInt32.v a) = FStar.UInt.msb (FStar.UInt32.v b) ==> (FStar.UInt32.v a < FStar.UInt32.v b <==> FStar.UInt.msb (FStar.UInt32.v (FStar.UInt32.sub_mod a b))))
{ "end_col": 53, "end_line": 81, "start_col": 6, "start_line": 79 }
Prims.Tot
val sigma256_1_1: x:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let sigma256_1_1 x = v (_Sigma1 SHA2_256 (uint_to_t x))
val sigma256_1_1: x:nat32 -> Tot (nat32) let sigma256_1_1 x =
false
null
false
v (_Sigma1 SHA2_256 (uint_to_t x))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._Sigma1", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x)) let sigma256_0_1 x = v (_sigma1 SHA2_256 (uint_to_t x)) let sigma256_1_0 x = v (_Sigma0 SHA2_256 (uint_to_t x))
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sigma256_1_1: x:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.sigma256_1_1
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 55, "end_line": 15, "start_col": 21, "start_line": 15 }
Prims.Tot
val sigma256_0_1: x:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let sigma256_0_1 x = v (_sigma1 SHA2_256 (uint_to_t x))
val sigma256_0_1: x:nat32 -> Tot (nat32) let sigma256_0_1 x =
false
null
false
v (_sigma1 SHA2_256 (uint_to_t x))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._sigma1", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x))
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sigma256_0_1: x:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.sigma256_0_1
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 55, "end_line": 11, "start_col": 21, "start_line": 11 }
Prims.Tot
val sigma256_0_0: x:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x))
val sigma256_0_0: x:nat32 -> Tot (nat32) let sigma256_0_0 x =
false
null
false
v (_sigma0 SHA2_256 (uint_to_t x))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._sigma0", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sigma256_0_0: x:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.sigma256_0_0
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 55, "end_line": 9, "start_col": 21, "start_line": 9 }
Prims.Tot
val ch256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let ch256 x y z = v (_Ch SHA2_256 (uint_to_t x) (uint_to_t y) (uint_to_t z))
val ch256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32) let ch256 x y z =
false
null
false
v (_Ch SHA2_256 (uint_to_t x) (uint_to_t y) (uint_to_t z))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._Ch", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x)) let sigma256_0_1 x = v (_sigma1 SHA2_256 (uint_to_t x)) let sigma256_1_0 x = v (_Sigma0 SHA2_256 (uint_to_t x)) let sigma256_1_1 x = v (_Sigma1...
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ch256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.ch256
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> y: Vale.Def.Words_s.nat32 -> z: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 76, "end_line": 17, "start_col": 18, "start_line": 17 }
Prims.Tot
val sigma256_1_0: x:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let sigma256_1_0 x = v (_Sigma0 SHA2_256 (uint_to_t x))
val sigma256_1_0: x:nat32 -> Tot (nat32) let sigma256_1_0 x =
false
null
false
v (_Sigma0 SHA2_256 (uint_to_t x))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._Sigma0", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x)) let sigma256_0_1 x = v (_sigma1 SHA2_256 (uint_to_t x))
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val sigma256_1_0: x:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.sigma256_1_0
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 55, "end_line": 13, "start_col": 21, "start_line": 13 }
Prims.Tot
val maj256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32)
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.Hash", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt32", "short_module": null }, { "abbrev": false, "full_module": "Val...
false
let maj256 x y z = v (_Maj SHA2_256 (uint_to_t x) (uint_to_t y) (uint_to_t z))
val maj256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32) let maj256 x y z =
false
null
false
v (_Maj SHA2_256 (uint_to_t x) (uint_to_t y) (uint_to_t z))
{ "checked_file": "Vale.SHA2.Wrapper.fst.checked", "dependencies": [ "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": tr...
[ "total" ]
[ "Vale.Def.Words_s.nat32", "FStar.UInt32.v", "Spec.SHA2._Maj", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.uint_to_t" ]
[]
module Vale.SHA2.Wrapper open FStar.UInt32 open Spec.Agile.Hash open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sigma256_0_0 x = v (_sigma0 SHA2_256 (uint_to_t x)) let sigma256_0_1 x = v (_sigma1 SHA2_256 (uint_to_t x)) let sigma256_1_0 x = v (_Sigma0 SHA2_256 (uint_to_t x)) let sigma256_1_1 x = v (_Sigma1...
false
true
Vale.SHA2.Wrapper.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val maj256: x:nat32 -> y:nat32 -> z:nat32 -> Tot (nat32)
[]
Vale.SHA2.Wrapper.maj256
{ "file_name": "vale/specs/crypto/Vale.SHA2.Wrapper.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Def.Words_s.nat32 -> y: Vale.Def.Words_s.nat32 -> z: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32
{ "end_col": 78, "end_line": 19, "start_col": 19, "start_line": 19 }
Prims.Tot
val extract_blake2s_128:extract_st Blake2S
[ { "abbrev": false, "full_module": "Hacl.HKDF", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.HKDF", "short_module": null }, { "abbrev": false, "full_module": "...
false
let extract_blake2s_128: extract_st Blake2S = mk_extract Blake2S Hacl.HMAC.Blake2s_128.compute_blake2s_128
val extract_blake2s_128:extract_st Blake2S let extract_blake2s_128:extract_st Blake2S =
false
null
false
mk_extract Blake2S Hacl.HMAC.Blake2s_128.compute_blake2s_128
{ "checked_file": "Hacl.HKDF.Blake2s_128.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.HMAC.Blake2s_128.fst.checked", "Hacl.HKDF.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.HKDF.Blake2s_12...
[ "total" ]
[ "Hacl.HKDF.mk_extract", "Spec.Hash.Definitions.Blake2S", "Hacl.HMAC.Blake2s_128.compute_blake2s_128" ]
[]
module Hacl.HKDF.Blake2s_128 open Spec.Hash.Definitions open Hacl.HKDF #set-options "--z3rlimit 20 --fuel 0 --ifuel 0" [@@ Comment "Expand pseudorandom key to desired length. @param okm Pointer to `len` bytes of memory where output keying material is written to. @param prk Pointer to at least `HashLen` bytes of mem...
false
true
Hacl.HKDF.Blake2s_128.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val extract_blake2s_128:extract_st Blake2S
[]
Hacl.HKDF.Blake2s_128.extract_blake2s_128
{ "file_name": "code/hkdf/Hacl.HKDF.Blake2s_128.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.HKDF.extract_st Spec.Hash.Definitions.Blake2S
{ "end_col": 62, "end_line": 27, "start_col": 2, "start_line": 27 }
Prims.Tot
val expand_blake2s_128:expand_st Blake2S
[ { "abbrev": false, "full_module": "Hacl.HKDF", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.HKDF", "short_module": null }, { "abbrev": false, "full_module": "...
false
let expand_blake2s_128: expand_st Blake2S = mk_expand Blake2S Hacl.HMAC.Blake2s_128.compute_blake2s_128
val expand_blake2s_128:expand_st Blake2S let expand_blake2s_128:expand_st Blake2S =
false
null
false
mk_expand Blake2S Hacl.HMAC.Blake2s_128.compute_blake2s_128
{ "checked_file": "Hacl.HKDF.Blake2s_128.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.HMAC.Blake2s_128.fst.checked", "Hacl.HKDF.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.HKDF.Blake2s_12...
[ "total" ]
[ "Hacl.HKDF.mk_expand", "Spec.Hash.Definitions.Blake2S", "Hacl.HMAC.Blake2s_128.compute_blake2s_128" ]
[]
module Hacl.HKDF.Blake2s_128 open Spec.Hash.Definitions open Hacl.HKDF #set-options "--z3rlimit 20 --fuel 0 --ifuel 0" [@@ Comment "Expand pseudorandom key to desired length. @param okm Pointer to `len` bytes of memory where output keying material is written to. @param prk Pointer to at least `HashLen` bytes of mem...
false
true
Hacl.HKDF.Blake2s_128.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val expand_blake2s_128:expand_st Blake2S
[]
Hacl.HKDF.Blake2s_128.expand_blake2s_128
{ "file_name": "code/hkdf/Hacl.HKDF.Blake2s_128.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.HKDF.expand_st Spec.Hash.Definitions.Blake2S
{ "end_col": 61, "end_line": 17, "start_col": 2, "start_line": 17 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let term_eq = FStar.Tactics.term_eq_old
let term_eq =
false
null
false
FStar.Tactics.term_eq_old
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Tactics.V1.Builtins.term_eq_old" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val term_eq : _: FStar.Reflection.Types.term -> _: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.bool
[]
FStar.InteractiveHelpers.PostProcess.term_eq
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: FStar.Reflection.Types.term -> _: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 39, "end_line": 12, "start_col": 14, "start_line": 12 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pred_explorer (a:Type) = genv -> list (genv & term_view) -> option typ_or_comp -> term_view -> Tac (option a)
let pred_explorer (a: Type) =
false
null
false
genv -> list (genv & term_view) -> option typ_or_comp -> term_view -> Tac (option a)
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[ "total" ]
[ "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
true
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val pred_explorer : a: Type -> Type0
[]
FStar.InteractiveHelpers.PostProcess.pred_explorer
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type0
{ "end_col": 16, "end_line": 99, "start_col": 2, "start_line": 98 }
FStar.Tactics.Effect.Tac
val is_focused_term : term_view -> Tac (option term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let is_focused_term tv = match tv with | Tv_Let recf attrs _ _ def body -> if is_focus_on_term def then Some body else None | _ -> None
val is_focused_term : term_view -> Tac (option term) let is_focused_term tv =
true
null
false
match tv with | Tv_Let recf attrs _ _ def body -> if is_focus_on_term def then Some body else None | _ -> None
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.V1.Data.term_view", "Prims.bool", "Prims.list", "FStar.Reflection.Types.term", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.PostProcess.is_foc...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val is_focused_term : term_view -> Tac (option term)
[]
FStar.InteractiveHelpers.PostProcess.is_focused_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
tv: FStar.Reflection.V1.Data.term_view -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.Reflection.Types.term)
{ "end_col": 13, "end_line": 86, "start_col": 2, "start_line": 83 }
FStar.Tactics.Effect.Tac
val pp_explore_print_goal : unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pp_explore_print_goal () = let f : explorer unit = fun _ _ _ _ _ -> ((), Continue) in pp_explore true false f ()
val pp_explore_print_goal : unit -> Tac unit let pp_explore_print_goal () =
true
null
false
let f:explorer unit = fun _ _ _ _ _ -> ((), Continue) in pp_explore true false f ()
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.unit", "FStar.InteractiveHelpers.PostProcess.pp_explore", "FStar.InteractiveHelpers.ExploreTerm.explorer", "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.Ex...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val pp_explore_print_goal : unit -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.pp_explore_print_goal
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 28, "end_line": 61, "start_col": 30, "start_line": 57 }
Prims.Tot
val _is_focused_term_explorer : pred_explorer term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let _is_focused_term_explorer ge pl opt_c tv = is_focused_term tv
val _is_focused_term_explorer : pred_explorer term let _is_focused_term_explorer ge pl opt_c tv =
false
null
false
is_focused_term tv
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[ "total" ]
[ "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp", "FStar.InteractiveHelpers.PostProcess.is_focused_term", "FStar.Reflection.Types.term" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
true
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val _is_focused_term_explorer : pred_explorer term
[]
FStar.InteractiveHelpers.PostProcess._is_focused_term_explorer
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
FStar.InteractiveHelpers.PostProcess.pred_explorer FStar.Reflection.Types.term
{ "end_col": 20, "end_line": 124, "start_col": 2, "start_line": 124 }
FStar.Tactics.Effect.Tac
val find_focused_term : bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result term))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_focused_term dbg dfs ge pl opt_c t = find_predicated_term #term _is_focused_term_explorer dbg dfs ge pl opt_c t
val find_focused_term : bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result term)) let find_focused_term dbg dfs ge pl opt_c t =
true
null
false
find_predicated_term #term _is_focused_term_explorer dbg dfs ge pl opt_c t
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProcess.find_pr...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_focused_term : bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result term))
[]
FStar.InteractiveHelpers.PostProcess.find_focused_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> dfs: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> pl: Prims.list (FStar.InteractiveHelpers.Base.genv * FStar.Reflection.V1.Data.term_view) -> opt_c: FStar.Pervasives.Native.option FStar.InteractiveHelpers.ExploreTerm.typ_or_comp -> t: FStar.Reflection.Types.term ...
{ "end_col": 76, "end_line": 129, "start_col": 2, "start_line": 129 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let end_proof () = tadmit_t (`())
let end_proof () =
true
null
false
tadmit_t (`())
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.unit", "FStar.Tactics.V1.Builtins.tadmit_t" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val end_proof : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
[]
FStar.InteractiveHelpers.PostProcess.end_proof
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 16, "end_line": 26, "start_col": 2, "start_line": 26 }
FStar.Tactics.Effect.Tac
val unsquash_equality (t: term) : Tac (option (term & term))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let unsquash_equality (t:term) : Tac (option (term & term)) = begin match term_as_formula t with | Comp (Eq _) l r -> Some (l, r) | _ -> None end
val unsquash_equality (t: term) : Tac (option (term & term)) let unsquash_equality (t: term) : Tac (option (term & term)) =
true
null
false
match term_as_formula t with | Comp (Eq _) l r -> Some (l, r) | _ -> None
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.Reflection.V1.Formula.formula", "FStar.Pervasives.Native.None", "FStar.Reflection.V1.Formula.ter...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val unsquash_equality (t: term) : Tac (option (term & term))
[]
FStar.InteractiveHelpers.PostProcess.unsquash_equality
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Reflection.Types.term * FStar.Reflection.Types.term))
{ "end_col": 13, "end_line": 31, "start_col": 8, "start_line": 29 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let mk_exploration_result = Mkexploration_result
let mk_exploration_result =
false
null
false
Mkexploration_result
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[ "total" ]
[ "FStar.InteractiveHelpers.PostProcess.Mkexploration_result", "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp", "FStar.InteractiveHelpers.PostP...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val mk_exploration_result : ge: FStar.InteractiveHelpers.Base.genv -> parents: Prims.list (FStar.InteractiveHelpers.Base.genv * FStar.Reflection.V1.Data.term_view) -> tgt_comp: FStar.Pervasives.Native.option FStar.InteractiveHelpers.ExploreTerm.typ_or_comp -> res: _ -> FStar.InteractiveHelpers.PostProcess...
[]
FStar.InteractiveHelpers.PostProcess.mk_exploration_result
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ge: FStar.InteractiveHelpers.Base.genv -> parents: Prims.list (FStar.InteractiveHelpers.Base.genv * FStar.Reflection.V1.Data.term_view) -> tgt_comp: FStar.Pervasives.Native.option FStar.InteractiveHelpers.ExploreTerm.typ_or_comp -> res: _ -> FStar.InteractiveHelpers.PostProcess.exploration_result _
{ "end_col": 48, "end_line": 95, "start_col": 28, "start_line": 95 }
FStar.Tactics.Effect.Tac
val is_focus_on_term : term -> Tac bool
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let is_focus_on_term t = is_fvar t (`%focus_on_term)
val is_focus_on_term : term -> Tac bool let is_focus_on_term t =
true
null
false
is_fvar t (`%focus_on_term)
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.Types.term", "FStar.Reflection.V1.Derived.is_fvar", "Prims.bool" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val is_focus_on_term : term -> Tac bool
[]
FStar.InteractiveHelpers.PostProcess.is_focus_on_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 52, "end_line": 66, "start_col": 25, "start_line": 66 }
FStar.Tactics.Effect.Tac
val remove_b2t : term -> Tac term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let remove_b2t (t:term) : Tac term = match inspect t with | Tv_App hd (a, Q_Explicit) -> begin match inspect hd with | Tv_FVar fv -> if fv_eq_name fv b2t_qn then a else t | _ -> t end | _ -> t
val remove_b2t : term -> Tac term let remove_b2t (t: term) : Tac term =
true
null
false
match inspect t with | Tv_App hd (a, Q_Explicit) -> (match inspect hd with | Tv_FVar fv -> if fv_eq_name fv b2t_qn then a else t | _ -> t) | _ -> t
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.Types.term", "FStar.Reflection.Types.fv", "FStar.InteractiveHelpers.Base.fv_eq_name", "FStar.Reflection.Const.b2t_qn", "Prims.bool", "FStar.Reflection.V1.Data.term_view", "FStar.Tactics.V1.Builtins.inspect" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val remove_b2t : term -> Tac term
[]
FStar.InteractiveHelpers.PostProcess.remove_b2t
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 10, "end_line": 275, "start_col": 2, "start_line": 268 }
FStar.Tactics.Effect.Tac
val pp_split_assert_conjs : bool -> unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pp_split_assert_conjs dbg () = try let res = find_focused_assert_in_current_goal dbg in split_assert_conjs dbg res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> (* Shouldn't happen, so transmit the exception for debugging *) raise err
val pp_split_assert_conjs : bool -> unit -> Tac unit let pp_split_assert_conjs dbg () =
true
null
false
try let res = find_focused_assert_in_current_goal dbg in split_assert_conjs dbg res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> raise err
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "Prims.unit", "FStar.Tactics.V1.Derived.try_with", "FStar.InteractiveHelpers.PostProcess.end_proof", "FStar.InteractiveHelpers.PostProcess.split_assert_conjs", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProcess....
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val pp_split_assert_conjs : bool -> unit -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.pp_split_assert_conjs
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 89, "end_line": 353, "start_col": 2, "start_line": 348 }
FStar.Tactics.Effect.Tac
val split_conjunctions_under_match : bool -> term -> Tac (list term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let split_conjunctions_under_match dbg t = let t1 = remove_b2t t in print_dbg dbg ("[> split_conjunctions_under_match: " ^ term_construct t1); match inspect t1 with | Tv_Match scrut ret_opt [(pat, br)] -> let tl = split_conjunctions br in map (fun x -> pack (Tv_Match scrut ret_opt [(pat, x)])) tl | _ ...
val split_conjunctions_under_match : bool -> term -> Tac (list term) let split_conjunctions_under_match dbg t =
true
null
false
let t1 = remove_b2t t in print_dbg dbg ("[> split_conjunctions_under_match: " ^ term_construct t1); match inspect t1 with | Tv_Match scrut ret_opt [pat, br] -> let tl = split_conjunctions br in map (fun x -> pack (Tv_Match scrut ret_opt [(pat, x)])) tl | _ -> [t]
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.match_returns_ascription", "FStar.Reflection.V1.Data.pattern", "FStar.Tactics.Util.map", "FStar.Tactics.V1.Builtins.pack", "FStar.Reflection.V1.Data.Tv_Match", "Prims.Cons", "FStar.Reflection.V1....
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val split_conjunctions_under_match : bool -> term -> Tac (list term)
[]
FStar.InteractiveHelpers.PostProcess.split_conjunctions_under_match
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.term)
{ "end_col": 7, "end_line": 324, "start_col": 42, "start_line": 315 }
FStar.Tactics.Effect.Tac
val find_predicated_term : #a:Type0 -> pred_explorer a -> bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result a))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_predicated_term #a pred dbg dfs ge pl opt_c t = fst (explore_term dbg dfs #(option (exploration_result a)) (find_predicated_term_explorer #a pred dbg) None ge pl opt_c t)
val find_predicated_term : #a:Type0 -> pred_explorer a -> bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result a)) let find_predicated_term #a pred dbg dfs ge pl opt_c t =
true
null
false
fst (explore_term dbg dfs #(option (exploration_result a)) (find_predicated_term_explorer #a pred dbg) None ge pl opt_c t)
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.InteractiveHelpers.PostProcess.pred_explorer", "Prims.bool", "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp", "FStar.Reflection.Type...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_predicated_term : #a:Type0 -> pred_explorer a -> bool -> bool -> genv -> list (genv & term_view) -> option typ_or_comp -> term -> Tac (option (exploration_result a))
[]
FStar.InteractiveHelpers.PostProcess.find_predicated_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
pred: FStar.InteractiveHelpers.PostProcess.pred_explorer a -> dbg: Prims.bool -> dfs: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> pl: Prims.list (FStar.InteractiveHelpers.Base.genv * FStar.Reflection.V1.Data.term_view) -> opt_c: FStar.Pervasives.Native.option FStar.InteractiveHelper...
{ "end_col": 39, "end_line": 120, "start_col": 2, "start_line": 118 }
FStar.Tactics.Effect.Tac
val split_assert_conjs : bool -> exploration_result term -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let split_assert_conjs dbg res = let ge0 = res.ge in (* Simplify the term (it may be an abstraction applied to some parameters) *) let t = norm_term_env ge0.env simpl_norm_steps res.res in (* Split the conjunctions *) let conjs = split_conjunctions t in (* If there is only one conjunction, check if it is of...
val split_assert_conjs : bool -> exploration_result term -> Tac unit let split_assert_conjs dbg res =
true
null
false
let ge0 = res.ge in let t = norm_term_env ge0.env simpl_norm_steps res.res in let conjs = split_conjunctions t in let conjs = if List.length conjs = 1 then split_conjunctions_under_match dbg t else conjs in let asserts = mk_assertions conjs [] in printout_success ge0 asserts
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Output.printout_success", "Prims.unit", "FStar.InteractiveHelpers.Propositions.assertions", "FStar.InteractiveHelpers.Propositions.mk_assertions", "Prims.Nil", "FStar.Int...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val split_assert_conjs : bool -> exploration_result term -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.split_assert_conjs
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> res: FStar.InteractiveHelpers.PostProcess.exploration_result FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 30, "end_line": 343, "start_col": 32, "start_line": 327 }
FStar.Tactics.Effect.Tac
val pp_analyze_effectful_term : bool -> bool -> bool -> unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pp_analyze_effectful_term dbg with_gpre with_gpost () = try let res = find_focused_term_in_current_goal dbg in analyze_effectful_term dbg with_gpre with_gpost res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> (* Shouldn't happen, so transmit the exceptio...
val pp_analyze_effectful_term : bool -> bool -> bool -> unit -> Tac unit let pp_analyze_effectful_term dbg with_gpre with_gpost () =
true
null
false
try let res = find_focused_term_in_current_goal dbg in analyze_effectful_term dbg with_gpre with_gpost res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> raise err
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "Prims.unit", "FStar.Tactics.V1.Derived.try_with", "FStar.InteractiveHelpers.PostProcess.end_proof", "FStar.InteractiveHelpers.PostProcess.analyze_effectful_term", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProc...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val pp_analyze_effectful_term : bool -> bool -> bool -> unit -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.pp_analyze_effectful_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> with_gpre: Prims.bool -> with_gpost: Prims.bool -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 89, "end_line": 253, "start_col": 2, "start_line": 248 }
FStar.Tactics.Effect.Tac
val pp_unfold_in_assert_or_assume : bool -> unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pp_unfold_in_assert_or_assume dbg () = try let res = find_focused_assert_in_current_goal dbg in unfold_in_assert_or_assume dbg res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> (* Shouldn't happen, so transmit the exception for debugging *) raise err
val pp_unfold_in_assert_or_assume : bool -> unit -> Tac unit let pp_unfold_in_assert_or_assume dbg () =
true
null
false
try let res = find_focused_assert_in_current_goal dbg in unfold_in_assert_or_assume dbg res; end_proof () with | MetaAnalysis msg -> printout_failure msg; end_proof () | err -> raise err
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "Prims.unit", "FStar.Tactics.V1.Derived.try_with", "FStar.InteractiveHelpers.PostProcess.end_proof", "FStar.InteractiveHelpers.PostProcess.unfold_in_assert_or_assume", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Post...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val pp_unfold_in_assert_or_assume : bool -> unit -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.pp_unfold_in_assert_or_assume
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 89, "end_line": 747, "start_col": 2, "start_line": 742 }
FStar.Tactics.Effect.Tac
val find_subequality : bool -> term -> term -> Tac (option term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_subequality dbg tm p = print_dbg dbg ("[> find_subequality:" ^ "\n- ter : " ^ term_to_string tm ^ "\n- props: " ^ term_to_string p); let conjuncts = split_conjunctions p in print_dbg dbg ("Conjuncts:\n" ^ list_to_string term_to_string conjuncts); tryPick (is_equality...
val find_subequality : bool -> term -> term -> Tac (option term) let find_subequality dbg tm p =
true
null
false
print_dbg dbg ("[> find_subequality:" ^ "\n- ter : " ^ term_to_string tm ^ "\n- props: " ^ term_to_string p); let conjuncts = split_conjunctions p in print_dbg dbg ("Conjuncts:\n" ^ list_to_string term_to_string conjuncts); tryPick (is_equality_for_term dbg tm) conjuncts
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "FStar.Tactics.Util.tryPick", "FStar.InteractiveHelpers.PostProcess.is_equality_for_term", "FStar.Pervasives.Native.option", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "Prims.string", "Prims.op_Hat", "FStar.InteractiveHelpers.Base.list_to_...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_subequality : bool -> term -> term -> Tac (option term)
[]
FStar.InteractiveHelpers.PostProcess.find_subequality
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> tm: FStar.Reflection.Types.term -> p: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.Reflection.Types.term)
{ "end_col": 49, "end_line": 464, "start_col": 2, "start_line": 459 }
FStar.Tactics.Effect.Tac
val strip_implicit_parameters : term -> Tac term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let rec strip_implicit_parameters tm = match inspect tm with | Tv_App hd (a,qualif) -> if Q_Implicit? qualif then strip_implicit_parameters hd else tm | _ -> tm
val strip_implicit_parameters : term -> Tac term let rec strip_implicit_parameters tm =
true
null
false
match inspect tm with | Tv_App hd (a, qualif) -> if Q_Implicit? qualif then strip_implicit_parameters hd else tm | _ -> tm
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.Types.term", "FStar.Reflection.V1.Data.aqualv", "FStar.Reflection.V1.Data.uu___is_Q_Implicit", "FStar.InteractiveHelpers.PostProcess.strip_implicit_parameters", "Prims.bool", "FStar.Reflection.V1.Data.term_view", "FStar.Tactics.V1.Builtins.inspect" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val strip_implicit_parameters : term -> Tac term
[ "recursion" ]
FStar.InteractiveHelpers.PostProcess.strip_implicit_parameters
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
tm: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 11, "end_line": 599, "start_col": 2, "start_line": 596 }
FStar.Tactics.Effect.Tac
val pp_explore (dbg dfs: bool) (#a: Type0) (f: explorer a) (x: a) : Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let pp_explore (dbg dfs : bool) (#a : Type0) (f : explorer a) (x : a) : Tac unit = let g = cur_goal () in let e = cur_env () in print_dbg dbg ("[> pp_explore:\n" ^ term_to_string g); begin match unsquash_equality g with | Some (l, _) -> let c = safe_typ_or_co...
val pp_explore (dbg dfs: bool) (#a: Type0) (f: explorer a) (x: a) : Tac unit let pp_explore (dbg dfs: bool) (#a: Type0) (f: explorer a) (x: a) : Tac unit =
true
null
false
let g = cur_goal () in let e = cur_env () in print_dbg dbg ("[> pp_explore:\n" ^ term_to_string g); match unsquash_equality g with | Some (l, _) -> let c = safe_typ_or_comp dbg e l in let ge = mk_genv e [] [] in print_dbg dbg ("[> About to explore term:\n" ^ term_to_string l); let x = explore_term dbg dfs #a f ...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.ExploreTerm.explorer", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProcess.end_proof", "Prims.unit", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.Types.ctrl_flag", "FStar.InteractiveHelpers.ExploreTerm.explore_term", "Prims.Nil", "FStar....
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 2, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pp_explore (dbg dfs: bool) (#a: Type0) (f: explorer a) (x: a) : Tac unit
[]
FStar.InteractiveHelpers.PostProcess.pp_explore
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> dfs: Prims.bool -> f: FStar.InteractiveHelpers.ExploreTerm.explorer a -> x: a -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 5, "end_line": 51, "start_col": 12, "start_line": 39 }
FStar.Tactics.Effect.Tac
val is_equality_for_term : bool -> term -> term -> Tac (option term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let is_equality_for_term dbg tm p = print_dbg dbg ("[> is_equality_for_term:" ^ "\n- term: " ^ term_to_string tm ^ "\n- prop: " ^ term_to_string p); (* Specialize equality for bv - TODO: not sure if necessary, but I had problems * in the past *) let check_eq : term -> Tac bool...
val is_equality_for_term : bool -> term -> term -> Tac (option term) let is_equality_for_term dbg tm p =
true
null
false
print_dbg dbg ("[> is_equality_for_term:" ^ "\n- term: " ^ term_to_string tm ^ "\n- prop: " ^ term_to_string p); let check_eq: term -> Tac bool = match inspect tm with | Tv_Var bv -> (fun tm' -> match inspect tm' with | Tv_Var bv' -> bv_eq bv bv' | _ -> false) | _ -> (fun tm' -> term...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProcess.eq_kind", "FStar.InteractiveHelpers.PostProcess.uu___is_Eq_Hetero", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "FStar.Pervasives.Native.S...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val is_equality_for_term : bool -> term -> term -> Tac (option term)
[]
FStar.InteractiveHelpers.PostProcess.is_equality_for_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> tm: FStar.Reflection.Types.term -> p: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.Reflection.Types.term)
{ "end_col": 8, "end_line": 455, "start_col": 2, "start_line": 429 }
FStar.Tactics.Effect.Tac
val is_eq : bool -> term -> Tac (option (eq_kind & term & term))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let is_eq dbg t = let t = remove_b2t t in print_dbg dbg ("[> is_eq: " ^ term_to_string t); let hd, params = collect_app t in print_dbg dbg ("- hd:\n" ^ term_to_string hd); print_dbg dbg ("- parameters:\n" ^ list_to_string (fun (x, y) -> term_to_string x) params); match inspect hd with | Tv_FVar fv -> ...
val is_eq : bool -> term -> Tac (option (eq_kind & term & term)) let is_eq dbg t =
true
null
false
let t = remove_b2t t in print_dbg dbg ("[> is_eq: " ^ term_to_string t); let hd, params = collect_app t in print_dbg dbg ("- hd:\n" ^ term_to_string hd); print_dbg dbg ("- parameters:\n" ^ list_to_string (fun (x, y) -> term_to_string x) params); match inspect hd with | Tv_FVar fv -> (match params with | [a, Q_Imp...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.V1.Data.argv", "FStar.Reflection.Types.fv", "FStar.Reflection.V1.Derived.is_any_fvar", "Prims.Cons", "Prims.string", "Prims.Nil", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple3", "FStar.InteractiveHel...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val is_eq : bool -> term -> Tac (option (eq_kind & term & term))
[]
FStar.InteractiveHelpers.PostProcess.is_eq
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option ((FStar.InteractiveHelpers.PostProcess.eq_kind * FStar.Reflection.Types.term) * FStar.Reflection.Types.term))
{ "end_col": 13, "end_line": 393, "start_col": 17, "start_line": 372 }
FStar.Tactics.Effect.Tac
val replace_term_in : bool -> term -> term -> term -> Tac term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let rec replace_term_in dbg from_term to_term tm = if term_eq from_term tm then to_term else match inspect tm with | Tv_Var _ | Tv_BVar _ | Tv_FVar _ -> tm | Tv_App hd (a, qual) -> let a' = replace_term_in dbg from_term to_term a in let hd' = replace_term_in dbg from_term to_term hd in pack (Tv_App ...
val replace_term_in : bool -> term -> term -> term -> Tac term let rec replace_term_in dbg from_term to_term tm =
true
null
false
if term_eq from_term tm then to_term else match inspect tm with | Tv_Var _ | Tv_BVar _ | Tv_FVar _ -> tm | Tv_App hd (a, qual) -> let a' = replace_term_in dbg from_term to_term a in let hd' = replace_term_in dbg from_term to_term hd in pack (Tv_App hd' (a', qual)) | Tv_Abs br body -> let body' =...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.fv", "FStar.Reflection.V1.Data.aqualv", "FStar.Tactics.V1.Builtins.pack", "FStar.Reflection.V1.Data.Tv_App", "FStar.Pervasives.Native.Mktuple2", "FStar.InteractiveHelpers.PostProcess.replace_term_in", ...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val replace_term_in : bool -> term -> term -> term -> Tac term
[ "recursion" ]
FStar.InteractiveHelpers.PostProcess.replace_term_in
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> from_term: FStar.Reflection.Types.term -> to_term: FStar.Reflection.Types.term -> tm: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 6, "end_line": 592, "start_col": 2, "start_line": 548 }
FStar.Tactics.Effect.Tac
val _split_conjunctions (ls: list term) (t: term) : Tac (list term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let rec _split_conjunctions (ls : list term) (t : term) : Tac (list term) = match is_conjunction t with | None -> t :: ls | Some (l, r) -> let ls1 = _split_conjunctions ls r in let ls2 = _split_conjunctions ls1 l in ls2
val _split_conjunctions (ls: list term) (t: term) : Tac (list term) let rec _split_conjunctions (ls: list term) (t: term) : Tac (list term) =
true
null
false
match is_conjunction t with | None -> t :: ls | Some (l, r) -> let ls1 = _split_conjunctions ls r in let ls2 = _split_conjunctions ls1 l in ls2
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.list", "FStar.Reflection.Types.term", "Prims.Cons", "FStar.InteractiveHelpers.PostProcess._split_conjunctions", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "FStar.InteractiveHelpers.PostProcess.is_conjunction" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val _split_conjunctions (ls: list term) (t: term) : Tac (list term)
[ "recursion" ]
FStar.InteractiveHelpers.PostProcess._split_conjunctions
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ls: Prims.list FStar.Reflection.Types.term -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.term)
{ "end_col": 7, "end_line": 302, "start_col": 2, "start_line": 297 }
FStar.Tactics.Effect.Tac
val formula_construct (f: formula) : Tac string
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let formula_construct (f : formula) : Tac string = match f with | True_ -> "True_" | False_ -> "False_" | Comp _ _ _ -> "Comp" | And _ _ -> "And" | Or _ _ -> "Or" | Not _ -> "Not" | Implies _ _ -> "Implies" | Iff _ _ -> "Iff" | Forall _ _ _ -> "Forall" | Exists _ _ _...
val formula_construct (f: formula) : Tac string let formula_construct (f: formula) : Tac string =
true
null
false
match f with | True_ -> "True_" | False_ -> "False_" | Comp _ _ _ -> "Comp" | And _ _ -> "And" | Or _ _ -> "Or" | Not _ -> "Not" | Implies _ _ -> "Implies" | Iff _ _ -> "Iff" | Forall _ _ _ -> "Forall" | Exists _ _ _ -> "Exists" | App _ _ -> "Apply" | Name _ -> "Name" | FV _ -> "FV" | IntLit _ -> "IntLit" | F_Unknown -...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.V1.Formula.formula", "FStar.Reflection.V1.Formula.comparison", "FStar.Reflection.Types.term", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.Reflection.Types.fv", "Prims.int", "Prims.string" ]
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val formula_construct (f: formula) : Tac string
[]
FStar.InteractiveHelpers.PostProcess.formula_construct
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
f: FStar.Reflection.V1.Formula.formula -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 30, "end_line": 423, "start_col": 2, "start_line": 408 }
Prims.Tot
val mk_eq : eq_kind -> term -> term -> Tot term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let mk_eq k t1 t2 = match k with | Eq_Dec ty -> mk_app (`Prims.op_Equality) [(ty, Q_Implicit); (t1, Q_Explicit); (t2, Q_Explicit)] | Eq_Undec ty -> mk_app (`Prims.eq2) [(ty, Q_Implicit); (t1, Q_Explicit); (t2, Q_Explicit)] | Eq_Hetero ty1 ty2 -> mk_app Prims.(`( === )) [(ty1, Q_Implicit); (ty2, Q_Im...
val mk_eq : eq_kind -> term -> term -> Tot term let mk_eq k t1 t2 =
false
null
false
match k with | Eq_Dec ty -> mk_app (`Prims.op_Equality) [(ty, Q_Implicit); (t1, Q_Explicit); (t2, Q_Explicit)] | Eq_Undec ty -> mk_app (`Prims.eq2) [(ty, Q_Implicit); (t1, Q_Explicit); (t2, Q_Explicit)] | Eq_Hetero ty1 ty2 -> mk_app Prims.(`( === )) [(ty1, Q_Implicit); (ty2, Q_Implicit); (t1, Q_Explicit); (t2, Q_Expl...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[ "total" ]
[ "FStar.InteractiveHelpers.PostProcess.eq_kind", "FStar.Reflection.Types.term", "FStar.Reflection.Types.typ", "FStar.Reflection.V1.Derived.mk_app", "Prims.Cons", "FStar.Reflection.V1.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.Reflection.V1.Data.aqualv", "FStar.Reflection.V1.Data.Q_Implici...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
true
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val mk_eq : eq_kind -> term -> term -> Tot term
[]
FStar.InteractiveHelpers.PostProcess.mk_eq
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
k: FStar.InteractiveHelpers.PostProcess.eq_kind -> t1: FStar.Reflection.Types.term -> t2: FStar.Reflection.Types.term -> FStar.Reflection.Types.term
{ "end_col": 64, "end_line": 405, "start_col": 2, "start_line": 398 }
FStar.Tactics.Effect.Tac
val find_focused_assert_in_current_goal : bool -> Tac (exploration_result term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_focused_assert_in_current_goal dbg = print_dbg dbg ("[> find_focused_assert_in_current_goal"); let res = find_focused_term_in_current_goal dbg in print_dbg dbg ("[> Found focused term:\n" ^ term_to_string res.res); (* Check that it is an assert or an assume, retrieve the assertion *) let res' = ...
val find_focused_assert_in_current_goal : bool -> Tac (exploration_result term) let find_focused_assert_in_current_goal dbg =
true
null
false
print_dbg dbg ("[> find_focused_assert_in_current_goal"); let res = find_focused_term_in_current_goal dbg in print_dbg dbg ("[> Found focused term:\n" ^ term_to_string res.res); let res' = match inspect res.res with | Tv_Let _ _ bv0 ty fterm _ -> let ge' = genv_push_bv res.ge bv0 ty false None in ({ res wit...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.Base.mfail", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "Prims.string", "Prims.op_Hat", "FStar.Tactics.V1.Builtins.term_to_string", "FStar.InteractiveHelpers.PostProcess.__proj__Mkexploration_result__item__res", "...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_focused_assert_in_current_goal : bool -> Tac (exploration_result term)
[]
FStar.InteractiveHelpers.PostProcess.find_focused_assert_in_current_goal
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> FStar.Tactics.Effect.Tac (FStar.InteractiveHelpers.PostProcess.exploration_result FStar.Reflection.Types.term)
{ "end_col": 5, "end_line": 170, "start_col": 2, "start_line": 156 }
Prims.Tot
val find_predicated_term_explorer : #a:Type0 -> pred_explorer a -> bool -> explorer (option (exploration_result a))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_predicated_term_explorer #a pred dbg acc ge pl opt_c t = if Some? acc then mfail "find_focused_term_explorer: non empty accumulator"; if dbg then begin print ("[> find_focused_term_explorer: " ^ term_view_construct t ^ ":\n" ^ term_to_string t) end; match pred ge pl opt_c t with | Some ft -...
val find_predicated_term_explorer : #a:Type0 -> pred_explorer a -> bool -> explorer (option (exploration_result a)) let find_predicated_term_explorer #a pred dbg acc ge pl opt_c t =
false
null
false
if Some? acc then mfail "find_focused_term_explorer: non empty accumulator"; if dbg then print ("[> find_focused_term_explorer: " ^ term_view_construct t ^ ":\n" ^ term_to_string t); match pred ge pl opt_c t with | Some ft -> Some (mk_exploration_result ge pl opt_c ft), Abort | None -> None, Continue
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[ "total" ]
[ "FStar.InteractiveHelpers.PostProcess.pred_explorer", "Prims.bool", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.InteractiveHelpers.Base.genv", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Interact...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_predicated_term_explorer : #a:Type0 -> pred_explorer a -> bool -> explorer (option (exploration_result a))
[]
FStar.InteractiveHelpers.PostProcess.find_predicated_term_explorer
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
pred: FStar.InteractiveHelpers.PostProcess.pred_explorer a -> dbg: Prims.bool -> FStar.InteractiveHelpers.ExploreTerm.explorer (FStar.Pervasives.Native.option (FStar.InteractiveHelpers.PostProcess.exploration_result a))
{ "end_col": 26, "end_line": 111, "start_col": 2, "start_line": 104 }
FStar.Tactics.Effect.Tac
val is_conjunction : term -> Tac (option (term & term))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let is_conjunction t = let t = remove_b2t t in let hd, params = collect_app t in match params with | [(x,Q_Explicit);(y,Q_Explicit)] -> begin match inspect hd with | Tv_FVar fv -> let fvn = inspect_fv fv in if fvn = and_qn || fvn = ["Prims"; "op_AmpAmp"] then Some (x, y) else None ...
val is_conjunction : term -> Tac (option (term & term)) let is_conjunction t =
true
null
false
let t = remove_b2t t in let hd, params = collect_app t in match params with | [x, Q_Explicit ; y, Q_Explicit] -> (match inspect hd with | Tv_FVar fv -> let fvn = inspect_fv fv in if fvn = and_qn || fvn = ["Prims"; "op_AmpAmp"] then Some (x, y) else None | _ -> None) | _ -> None
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.V1.Data.argv", "FStar.Reflection.Types.fv", "Prims.op_BarBar", "Prims.op_Equality", "Prims.string", "FStar.Reflection.Const.and_qn", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FS...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val is_conjunction : term -> Tac (option (term & term))
[]
FStar.InteractiveHelpers.PostProcess.is_conjunction
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Reflection.Types.term * FStar.Reflection.Types.term))
{ "end_col": 13, "end_line": 292, "start_col": 22, "start_line": 280 }
FStar.Tactics.Effect.Tac
val find_equality_from_post : bool -> genv -> term -> bv -> typ -> term -> effect_info -> list term_view -> list term_view -> Tac (genv & option term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_equality_from_post dbg ge0 tm let_bv let_bvty ret_value einfo parents children = print_dbg dbg "[> find_equality_from_post"; let tinfo = get_type_info_from_type let_bvty in (* Compute the post-condition *) let ge1, _, post_prop = pre_post_to_propositions dbg ge0 einfo.ei_type ret_value (Some (mk_bi...
val find_equality_from_post : bool -> genv -> term -> bv -> typ -> term -> effect_info -> list term_view -> list term_view -> Tac (genv & option term) let find_equality_from_post dbg ge0 tm let_bv let_bvty ret_value einfo parents children =
true
null
false
print_dbg dbg "[> find_equality_from_post"; let tinfo = get_type_info_from_type let_bvty in let ge1, _, post_prop = pre_post_to_propositions dbg ge0 einfo.ei_type ret_value (Some (mk_binder let_bv let_bvty)) tinfo einfo.ei_pre einfo.ei_post parents children in print_dbg dbg ("Computed post: " ^ option_to_string t...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.Base.genv", "FStar.Reflection.Types.term", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.InteractiveHelpers.Effectful.effect_info", "Prims.list", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.option", "FStar.InteractiveHe...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_equality_from_post : bool -> genv -> term -> bv -> typ -> term -> effect_info -> list term_view -> list term_view -> Tac (genv & option term)
[]
FStar.InteractiveHelpers.PostProcess.find_equality_from_post
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge0: FStar.InteractiveHelpers.Base.genv -> tm: FStar.Reflection.Types.term -> let_bv: FStar.Reflection.Types.bv -> let_bvty: FStar.Reflection.Types.typ -> ret_value: FStar.Reflection.Types.term -> einfo: FStar.InteractiveHelpers.Effectful.effect_info -> parents: Prims...
{ "end_col": 27, "end_line": 489, "start_col": 2, "start_line": 471 }
FStar.Tactics.Effect.Tac
val find_focused_term_in_current_goal : bool -> Tac (exploration_result term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let find_focused_term_in_current_goal dbg = let g = cur_goal () in let e = cur_env () in print_dbg dbg ("[> find_focused_assert_in_current_goal:\n" ^ term_to_string g); begin match unsquash_equality g with | Some (l, _) -> let c = safe_typ_or_comp dbg e l in let ge = mk_genv e [] [] in print_dbg d...
val find_focused_term_in_current_goal : bool -> Tac (exploration_result term) let find_focused_term_in_current_goal dbg =
true
null
false
let g = cur_goal () in let e = cur_env () in print_dbg dbg ("[> find_focused_assert_in_current_goal:\n" ^ term_to_string g); match unsquash_equality g with | Some (l, _) -> let c = safe_typ_or_comp dbg e l in let ge = mk_genv e [] [] in print_dbg dbg ("[> About to explore term:\n" ^ term_to_string l); (match fi...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.PostProcess.exploration_result", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "Prims.string", "Prims.op_Hat", "FStar.Tactics.V1.Builtins.term_to_string", "FStar.InteractiveHelpers.PostProcess.__proj__Mkexploration_res...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val find_focused_term_in_current_goal : bool -> Tac (exploration_result term)
[]
FStar.InteractiveHelpers.PostProcess.find_focused_term_in_current_goal
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> FStar.Tactics.Effect.Tac (FStar.InteractiveHelpers.PostProcess.exploration_result FStar.Reflection.Types.term)
{ "end_col": 5, "end_line": 151, "start_col": 43, "start_line": 133 }
FStar.Tactics.Effect.Tac
val analyze_effectful_term : dbg:bool -> with_gpre:bool -> with_gpost:bool -> res:exploration_result term -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let analyze_effectful_term dbg with_gpre with_gpost res = let ge = res.ge in let opt_c = res.tgt_comp in (* Analyze the effectful term and check whether it is a 'let' or not *) let ge1, studied_term, info, ret_bv, shadowed_bv, is_let = begin match inspect res.res with | Tv_Let _ _ bv0 ty fterm _ -> ...
val analyze_effectful_term : dbg:bool -> with_gpre:bool -> with_gpost:bool -> res:exploration_result term -> Tac unit let analyze_effectful_term dbg with_gpre with_gpost res =
true
null
false
let ge = res.ge in let opt_c = res.tgt_comp in let ge1, studied_term, info, ret_bv, shadowed_bv, is_let = match inspect res.res with | Tv_Let _ _ bv0 ty fterm _ -> print_dbg dbg ("Restraining to: " ^ term_to_string fterm); let shadowed_bv:option bv = match genv_get_from_name ge (name_of_bv bv0) with ...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Base.genv", "FStar.InteractiveHelpers.Effectful.eterm_info", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.bv", "FStar.InteractiveHelpers.Propositions.assertion...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val analyze_effectful_term : dbg:bool -> with_gpre:bool -> with_gpost:bool -> res:exploration_result term -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.analyze_effectful_term
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> with_gpre: Prims.bool -> with_gpost: Prims.bool -> res: FStar.InteractiveHelpers.PostProcess.exploration_result FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 30, "end_line": 243, "start_col": 57, "start_line": 185 }
FStar.Tactics.Effect.Tac
val unfold_in_assert_or_assume : bool -> exploration_result term -> Tac unit
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Output", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Effectful", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_m...
false
let unfold_in_assert_or_assume dbg ares = print_dbg dbg ("[> unfold_in_assert_or_assume:\n" ^ term_to_string ares.res); (* Find the focused term inside the assert, and on which side of the * equality if the assert is an equality *) let find_focused_in_term t = find_focused_term dbg false ares.ge ares.paren...
val unfold_in_assert_or_assume : bool -> exploration_result term -> Tac unit let unfold_in_assert_or_assume dbg ares =
true
null
false
print_dbg dbg ("[> unfold_in_assert_or_assume:\n" ^ term_to_string ares.res); let find_focused_in_term t = find_focused_term dbg false ares.ge ares.parents ares.tgt_comp t in let find_in_whole_term () : Tac _ = match find_focused_in_term ares.res with | Some res -> ares.res, res, (fun x -> x <: Tac term), true | ...
{ "checked_file": "FStar.InteractiveHelpers.PostProcess.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List.fst.checked...
[]
[ "Prims.bool", "FStar.InteractiveHelpers.PostProcess.exploration_result", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Base.genv", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.Propositions.assertions", "FStar.InteractiveHelpers.Output.printout_success", "Prims.unit", "FStar...
[]
module FStar.InteractiveHelpers.PostProcess open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions open FStar.InteractiveHelpers.Effectful open FStar.InteractiveHelpers.Output let term_eq = FStar.Tactics...
false
false
FStar.InteractiveHelpers.PostProcess.fst
{ "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...
null
val unfold_in_assert_or_assume : bool -> exploration_result term -> Tac unit
[]
FStar.InteractiveHelpers.PostProcess.unfold_in_assert_or_assume
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.PostProcess.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ares: FStar.InteractiveHelpers.PostProcess.exploration_result FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 30, "end_line": 737, "start_col": 2, "start_line": 603 }
Prims.Tot
val disjoint_locations (l1 l2: locations) : pbool
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let disjoint_locations (l1 l2:locations) : pbool = for_all (fun x -> disjoint_location_from_locations x l2 ) l1
val disjoint_locations (l1 l2: locations) : pbool let disjoint_locations (l1 l2: locations) : pbool =
false
null
false
for_all (fun x -> disjoint_location_from_locations x l2) l1
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "total" ]
[ "Vale.Transformers.Locations.locations", "Vale.Def.PossiblyMonad.for_all", "Vale.Transformers.Locations.location", "Vale.Transformers.Locations.disjoint_location_from_locations", "Vale.Def.PossiblyMonad.pbool" ]
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
true
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val disjoint_locations (l1 l2: locations) : pbool
[]
Vale.Transformers.Locations.disjoint_locations
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l1: Vale.Transformers.Locations.locations -> l2: Vale.Transformers.Locations.locations -> Vale.Def.PossiblyMonad.pbool
{ "end_col": 6, "end_line": 42, "start_col": 2, "start_line": 40 }
Prims.Tot
val disjoint_location_from_locations (a: location) (l: locations) : pbool
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let disjoint_location_from_locations (a:location) (l:locations) : pbool = for_all (fun b -> disjoint_location a b ) l
val disjoint_location_from_locations (a: location) (l: locations) : pbool let disjoint_location_from_locations (a: location) (l: locations) : pbool =
false
null
false
for_all (fun b -> disjoint_location a b) l
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "total" ]
[ "Vale.Transformers.Locations.location", "Vale.Transformers.Locations.locations", "Vale.Def.PossiblyMonad.for_all", "Vale.Transformers.Locations.disjoint_location", "Vale.Def.PossiblyMonad.pbool" ]
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
true
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val disjoint_location_from_locations (a: location) (l: locations) : pbool
[]
Vale.Transformers.Locations.disjoint_location_from_locations
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Transformers.Locations.location -> l: Vale.Transformers.Locations.locations -> Vale.Def.PossiblyMonad.pbool
{ "end_col": 7, "end_line": 36, "start_col": 2, "start_line": 34 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let location_eq = l:location{location_val_t l == FStar.Universe.raise_t (location_val_eqt l)}
let location_eq =
false
null
false
l: location{location_val_t l == FStar.Universe.raise_t (location_val_eqt l)}
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "total" ]
[ "Vale.Transformers.Locations.location", "Prims.eq2", "Vale.Transformers.Locations.location_val_t", "FStar.Universe.raise_t", "Vale.Transformers.Locations.location_val_eqt" ]
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
true
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val location_eq : Type0
[]
Vale.Transformers.Locations.location_eq
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 93, "end_line": 74, "start_col": 18, "start_line": 74 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let filter_state (s:machine_state) (flags:flags_t) (ok:bool) (trace:list observation) = { s with ms_flags = FunctionalExtensionality.on_dom flag (fun f -> if f = fCarry then s.ms_flags fCarry else if f = fOverflow then s.ms_flags fOverflow else ...
let filter_state (s: machine_state) (flags: flags_t) (ok: bool) (trace: list observation) =
false
null
false
{ s with ms_flags = FunctionalExtensionality.on_dom flag (fun f -> if f = fCarry then s.ms_flags fCarry else if f = fOverflow then s.ms_flags fOverflow else flags f); ms_ok = ok; ms_trace = trace }
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X64.Machine_Semantics_s.flags_t", "Prims.bool", "Prims.list", "Vale.X64.Machine_s.observation", "Vale.X64.Machine_Semantics_s.Mkmachine_state", "Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_regs", "FStar.FunctionalExtensionality.on_...
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
true
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val filter_state : s: Vale.X64.Machine_Semantics_s.machine_state -> flags: Vale.X64.Machine_Semantics_s.flags_t -> ok: Prims.bool -> trace: Prims.list Vale.X64.Machine_s.observation -> Vale.X64.Machine_Semantics_s.machine_state
[]
Vale.Transformers.Locations.filter_state
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Vale.X64.Machine_Semantics_s.machine_state -> flags: Vale.X64.Machine_Semantics_s.flags_t -> ok: Prims.bool -> trace: Prims.list Vale.X64.Machine_s.observation -> Vale.X64.Machine_Semantics_s.machine_state
{ "end_col": 20, "end_line": 115, "start_col": 4, "start_line": 105 }
Prims.Tot
val raise_location_val_eqt (#l: location_eq) (v: location_val_eqt l) : location_val_t l
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let raise_location_val_eqt (#l:location_eq) (v:location_val_eqt l) : location_val_t l = coerce (FStar.Universe.raise_val v)
val raise_location_val_eqt (#l: location_eq) (v: location_val_eqt l) : location_val_t l let raise_location_val_eqt (#l: location_eq) (v: location_val_eqt l) : location_val_t l =
false
null
false
coerce (FStar.Universe.raise_val v)
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "total" ]
[ "Vale.Transformers.Locations.location_eq", "Vale.Transformers.Locations.location_val_eqt", "Vale.X64.Instruction_s.coerce", "Vale.Transformers.Locations.location_val_t", "FStar.Universe.raise_t", "FStar.Universe.raise_val" ]
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
false
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val raise_location_val_eqt (#l: location_eq) (v: location_val_eqt l) : location_val_t l
[]
Vale.Transformers.Locations.raise_location_val_eqt
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
v: Vale.Transformers.Locations.location_val_eqt l -> Vale.Transformers.Locations.location_val_t l
{ "end_col": 37, "end_line": 78, "start_col": 2, "start_line": 78 }
FStar.Pervasives.Lemma
val lemma_disjoint_locations_symmetric (l1 l2: _) : Lemma (ensures ((!!(disjoint_locations l1 l2) = !!(disjoint_locations l2 l1)))) (decreases %[L.length l1 + L.length l2])
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Vale.Def.PossiblyMonad", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Print_s", "short_module": null }, { "abbrev": false, "full...
false
let rec lemma_disjoint_locations_symmetric l1 l2 : Lemma (ensures ( (!!(disjoint_locations l1 l2) = !!(disjoint_locations l2 l1)))) (decreases %[L.length l1 + L.length l2]) = match l1, l2 with | [], [] -> () | [], x :: xs | x :: xs, [] -> lemma_disjoint_locations_symmetric xs [] | x :: xs,...
val lemma_disjoint_locations_symmetric (l1 l2: _) : Lemma (ensures ((!!(disjoint_locations l1 l2) = !!(disjoint_locations l2 l1)))) (decreases %[L.length l1 + L.length l2]) let rec lemma_disjoint_locations_symmetric l1 l2 : Lemma (ensures ((!!(disjoint_locations l1 l2) = !!(disjoint_locations l2 l1)))) ...
false
null
true
match l1, l2 with | [], [] -> () | [], x :: xs | x :: xs, [] -> lemma_disjoint_locations_symmetric xs [] | x :: xs, y :: ys -> lemma_disjoint_locations_symmetric l1 ys; lemma_disjoint_locations_symmetric xs l2; lemma_disjoint_locations_symmetric xs ys
{ "checked_file": "Vale.Transformers.Locations.fsti.checked", "dependencies": [ "Vale.X64.Print_s.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s....
[ "lemma", "" ]
[ "Vale.Transformers.Locations.locations", "FStar.Pervasives.Native.Mktuple2", "Prims.list", "Vale.Transformers.Locations.location", "Vale.Transformers.Locations.lemma_disjoint_locations_symmetric", "Prims.Nil", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.b2t", "Prims.op_Equality", "Pri...
[]
module Vale.Transformers.Locations open Vale.X64.Bytes_Code_s open Vale.X64.Instruction_s open Vale.X64.Instructions_s open Vale.X64.Machine_Semantics_s open Vale.X64.Machine_s open Vale.X64.Print_s open Vale.Def.PossiblyMonad module L = FStar.List.Tot (** An [location] is a portion of the [machine_state] that may ...
false
false
Vale.Transformers.Locations.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_disjoint_locations_symmetric (l1 l2: _) : Lemma (ensures ((!!(disjoint_locations l1 l2) = !!(disjoint_locations l2 l1)))) (decreases %[L.length l1 + L.length l2])
[ "recursion" ]
Vale.Transformers.Locations.lemma_disjoint_locations_symmetric
{ "file_name": "vale/code/lib/transformers/Vale.Transformers.Locations.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l1: Vale.Transformers.Locations.locations -> l2: Vale.Transformers.Locations.locations -> FStar.Pervasives.Lemma (ensures !!(Vale.Transformers.Locations.disjoint_locations l1 l2) = !!(Vale.Transformers.Locations.disjoint_locations l2 l1)) (decreases FStar.List.Tot.Base.length l1 + FStar.Li...
{ "end_col": 44, "end_line": 57, "start_col": 2, "start_line": 50 }
Prims.Tot
val parse_vldata_gen (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_vldata_gen_kind sz k) t)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_vldata_gen_kind sz k) t) = parse_fldata_and_then_cases_injective sz f p; parse_vldata_gen_kind_correct sz k; and_then #_ #(parse_filter_refine #(bounded_...
val parse_vldata_gen (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_vldata_gen_kind sz k) t) let parse_vldata_gen (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p...
false
null
false
parse_fldata_and_then_cases_injective sz f p; parse_vldata_gen_kind_correct sz k; and_then #_ #(parse_filter_refine #(bounded_integer sz) f) (parse_filter #_ #(bounded_integer sz) (parse_bounded_integer sz) f) #_ #t (parse_vldata_payload sz f p)
{ "checked_file": "LowParse.Spec.VLData.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ]...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Combinators.and_then", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", ...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 64, "max_ifuel": 64, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_...
null
val parse_vldata_gen (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_vldata_gen_kind sz k) t)
[]
LowParse.Spec.VLData.parse_vldata_gen
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_vldata_gen_kind sz k) t
{ "end_col": 33, "end_line": 26, "start_col": 2, "start_line": 18 }
FStar.Pervasives.Lemma
val parse_vldata_gen_eq_def (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p) /\ parse_vldata_gen_kind sz k == and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldat...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen_eq_def (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p) /\ parse_vldata_gen_kind sz k == and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldat...
val parse_vldata_gen_eq_def (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p) /\ parse_vldata_gen_kind sz k == and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldat...
false
null
true
parse_fldata_and_then_cases_injective sz f p; parse_vldata_gen_kind_correct sz k
{ "checked_file": "LowParse.Spec.VLData.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ]...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.VLData.parse_vldata_gen_kind_correct", "Prims.unit", "LowParse.Spec.VLData.parse_fldata_and_then_cases_injective", "Prims.l...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 64, "max_ifuel": 64, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_...
null
val parse_vldata_gen_eq_def (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p) /\ parse_vldata_gen_kind sz k == and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldat...
[]
LowParse.Spec.VLData.parse_vldata_gen_eq_def
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.and_then_cases_injective (LowParse.Spec.VLData.parse_vldata_payload sz ...
{ "end_col": 36, "end_line": 46, "start_col": 2, "start_line": 45 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Agile.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "...
false
let concrete_xkey (i: impl) = Lib.ByteSequence.lbytes (concrete_xkey_length i)
let concrete_xkey (i: impl) =
false
null
false
Lib.ByteSequence.lbytes (concrete_xkey_length i)
{ "checked_file": "Spec.Cipher.Expansion.fsti.checked", "dependencies": [ "Spec.Agile.Cipher.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Spec.Cipher.Expansion.f...
[ "total" ]
[ "Spec.Cipher.Expansion.impl", "Lib.ByteSequence.lbytes", "Spec.Cipher.Expansion.concrete_xkey_length" ]
[]
module Spec.Cipher.Expansion open Spec.Agile.Cipher /// This module gathers key expansion details shared between the CTR and AEAD /// constructions. /// /// From the perspective of Spec.Agile.CTR (and EverCrypt.CTR) and Spec.Agile.AEAD /// (and EverCrypt.AEAD), none of the following appear in the interface: /// /// -...
false
true
Spec.Cipher.Expansion.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val concrete_xkey : i: Spec.Cipher.Expansion.impl -> Type0
[]
Spec.Cipher.Expansion.concrete_xkey
{ "file_name": "specs/Spec.Cipher.Expansion.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Spec.Cipher.Expansion.impl -> Type0
{ "end_col": 78, "end_line": 41, "start_col": 30, "start_line": 41 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Agile.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "...
false
let xkey a = Lib.ByteSequence.lbytes (xkey_length a)
let xkey a =
false
null
false
Lib.ByteSequence.lbytes (xkey_length a)
{ "checked_file": "Spec.Cipher.Expansion.fsti.checked", "dependencies": [ "Spec.Agile.Cipher.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Spec.Cipher.Expansion.f...
[ "total" ]
[ "Spec.Agile.Cipher.cipher_alg", "Lib.ByteSequence.lbytes", "Spec.Cipher.Expansion.xkey_length" ]
[]
module Spec.Cipher.Expansion open Spec.Agile.Cipher /// This module gathers key expansion details shared between the CTR and AEAD /// constructions. /// /// From the perspective of Spec.Agile.CTR (and EverCrypt.CTR) and Spec.Agile.AEAD /// (and EverCrypt.AEAD), none of the following appear in the interface: /// /// -...
false
true
Spec.Cipher.Expansion.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val xkey : a: Spec.Agile.Cipher.cipher_alg -> Type0
[]
Spec.Cipher.Expansion.xkey
{ "file_name": "specs/Spec.Cipher.Expansion.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Agile.Cipher.cipher_alg -> Type0
{ "end_col": 52, "end_line": 36, "start_col": 13, "start_line": 36 }
Prims.Tot
val cipher_alg_of_impl (i: impl) : cipher_alg
[ { "abbrev": false, "full_module": "Spec.Agile.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher", "short_module": null }, { "abbrev": false, "full_module": "...
false
let cipher_alg_of_impl (i: impl): cipher_alg = match i with | Hacl_CHACHA20 -> CHACHA20 | Vale_AES128 -> AES128 | Vale_AES256 -> AES256
val cipher_alg_of_impl (i: impl) : cipher_alg let cipher_alg_of_impl (i: impl) : cipher_alg =
false
null
false
match i with | Hacl_CHACHA20 -> CHACHA20 | Vale_AES128 -> AES128 | Vale_AES256 -> AES256
{ "checked_file": "Spec.Cipher.Expansion.fsti.checked", "dependencies": [ "Spec.Agile.Cipher.fsti.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Spec.Cipher.Expansion.f...
[ "total" ]
[ "Spec.Cipher.Expansion.impl", "Spec.Agile.Cipher.CHACHA20", "Spec.Agile.Cipher.AES128", "Spec.Agile.Cipher.AES256", "Spec.Agile.Cipher.cipher_alg" ]
[]
module Spec.Cipher.Expansion open Spec.Agile.Cipher /// This module gathers key expansion details shared between the CTR and AEAD /// constructions. /// /// From the perspective of Spec.Agile.CTR (and EverCrypt.CTR) and Spec.Agile.AEAD /// (and EverCrypt.AEAD), none of the following appear in the interface: /// /// -...
false
true
Spec.Cipher.Expansion.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val cipher_alg_of_impl (i: impl) : cipher_alg
[]
Spec.Cipher.Expansion.cipher_alg_of_impl
{ "file_name": "specs/Spec.Cipher.Expansion.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Spec.Cipher.Expansion.impl -> Spec.Agile.Cipher.cipher_alg
{ "end_col": 25, "end_line": 31, "start_col": 2, "start_line": 28 }
Prims.Tot
val gaccessor_synth (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor (parse_synth p1 f) p1 (clens_synth g f))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_modu...
false
let gaccessor_synth (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor (parse_synth p1 f) p1 (clens_synth g f)) = synth_injective_synth_inverse_synth_inverse_recip f g (); gaccessor_prop_...
val gaccessor_synth (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor (parse_synth p1 f) p1 (clens_synth g f)) let gaccessor_synth (#k: parser_kind) (#t1: Type) (p1: pars...
false
null
false
synth_injective_synth_inverse_synth_inverse_recip f g (); gaccessor_prop_equiv (parse_synth p1 f) p1 (clens_synth g f) (gaccessor_synth' p1 f g u); gaccessor_synth' p1 f g u
{ "checked_file": "LowParse.Low.Combinators.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fs...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.squash", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Low.Combinators.gaccessor_synth'", "Prims.unit", "LowParse.Low.Base.Spec.gaccessor_prop_equiv", "LowParse....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U64 = FStar.UInt64 module Cast = FStar.Int.Cast #set-options "--z3rl...
false
false
LowParse.Low.Combinators.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gaccessor_synth (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor (parse_synth p1 f) p1 (clens_synth g f))
[]
LowParse.Low.Combinators.gaccessor_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u213: Prims.squash (LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f) -> LowParse.Low.Base.Spec.gaccessor (LowParse.Spec.Combinators.parse_synt...
{ "end_col": 27, "end_line": 26, "start_col": 2, "start_line": 24 }
Prims.Tot
val gaccessor_synth_inv (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor p1 (parse_synth p1 f) (clens_synth_inv g f))
[ { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_modu...
false
let gaccessor_synth_inv (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor p1 (parse_synth p1 f) (clens_synth_inv g f)) = gaccessor_prop_equiv p1 (parse_synth p1 f) (clens_synth_inv g f) (g...
val gaccessor_synth_inv (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor p1 (parse_synth p1 f) (clens_synth_inv g f)) let gaccessor_synth_inv (#k: parser_kind) (#t1: Type) ...
false
null
false
gaccessor_prop_equiv p1 (parse_synth p1 f) (clens_synth_inv g f) (gaccessor_synth_inv' p1 f g u); gaccessor_synth_inv' p1 f g u
{ "checked_file": "LowParse.Low.Combinators.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fs...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.squash", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Low.Combinators.gaccessor_synth_inv'", "Prims.unit", "LowParse.Low.Base.Spec.gaccessor_prop_equiv", "LowPa...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U64 = FStar.UInt64 module Cast = FStar.Int.Cast #set-options "--z3rl...
false
false
LowParse.Low.Combinators.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gaccessor_synth_inv (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: squash (synth_inverse f g /\ synth_injective f)) : Tot (gaccessor p1 (parse_synth p1 f) (clens_synth_inv g f))
[]
LowParse.Low.Combinators.gaccessor_synth_inv
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u247: Prims.squash (LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f) -> LowParse.Low.Base.Spec.gaccessor p1 (LowParse.Spec.Combinators.p...
{ "end_col": 31, "end_line": 51, "start_col": 2, "start_line": 50 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
false
let poly1305_padded_st (w:field_spec) = ctx:Poly.poly1305_ctx w -> len:size_t -> text:lbuffer uint8 len -> Stack unit (requires fun h -> live h ctx /\ live h text /\ disjoint ctx text /\ Poly.state_inv_t h ctx) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ Poly.state_inv_t h1 ctx /\ ...
let poly1305_padded_st (w: field_spec) =
false
null
false
ctx: Poly.poly1305_ctx w -> len: size_t -> text: lbuffer uint8 len -> Stack unit (requires fun h -> live h ctx /\ live h text /\ disjoint ctx text /\ Poly.state_inv_t h ctx) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ Poly.state_inv_t h1 ctx /\ Poly.as_get_r h0 ctx == P...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked", "dependencies": [ "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Poly1305.Fields.fst.checked", "Hacl.Impl.Poly1...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Impl.Poly1305.poly1305_ctx", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Poly1305.Fields.limb", "Lib.Buffer.disjoi...
[]
module Hacl.Impl.Chacha20Poly1305.PolyCore open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module Spec = Spec.Chacha20Poly1305 module Poly = Hacl.Impl.Poly1305 #set-options "--z3rlimit 50 --max_fuel 0 -...
false
true
Hacl.Impl.Chacha20Poly1305.PolyCore.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_padded_st : w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
[]
Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded_st
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.PolyCore.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
{ "end_col": 92, "end_line": 33, "start_col": 4, "start_line": 21 }
Prims.Tot
val poly1305_padded: #w:field_spec -> poly1305_padded_st w
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
false
let poly1305_padded #w ctx len text = let h0 = ST.get () in push_frame (); let h1 = ST.get () in Poly.reveal_ctx_inv ctx h0 h1; let n = len /. 16ul in let r = len %. 16ul in let blocks = sub text 0ul (n *! 16ul) in let rem = sub text (n *! 16ul) r in // the extra part of the input data Poly.poly1305_u...
val poly1305_padded: #w:field_spec -> poly1305_padded_st w let poly1305_padded #w ctx len text =
false
null
false
let h0 = ST.get () in push_frame (); let h1 = ST.get () in Poly.reveal_ctx_inv ctx h0 h1; let n = len /. 16ul in let r = len %. 16ul in let blocks = sub text 0ul (n *! 16ul) in let rem = sub text (n *! 16ul) r in Poly.poly1305_update #w ctx (n *! 16ul) blocks; let h2 = ST.get () in let tmp = create 16ul (u8 0) in updat...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.PolyCore.fst.checked", "dependencies": [ "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Poly1305.Fields.fst.checked", "Hacl.Impl.Poly1...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Impl.Poly1305.poly1305_ctx", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.Poly1305.reveal_ctx_inv", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "FStar.HyperStack.ST.pop_frame", "Lib.IntT...
[]
module Hacl.Impl.Chacha20Poly1305.PolyCore open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module Spec = Spec.Chacha20Poly1305 module Poly = Hacl.Impl.Poly1305 #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.Chacha20Poly1305.PolyCore.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_padded: #w:field_spec -> poly1305_padded_st w
[]
Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.PolyCore.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Chacha20Poly1305.PolyCore.poly1305_padded_st w
{ "end_col": 31, "end_line": 59, "start_col": 37, "start_line": 39 }
Prims.Tot
val valid_addr128 (ptr: int) (mem: S.machine_heap) : bool
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let valid_addr128 (ptr:int) (mem:S.machine_heap) : bool = valid_addr32 (ptr + 0) mem && valid_addr32 (ptr + 4) mem && valid_addr32 (ptr + 8) mem && valid_addr32 (ptr + 12) mem
val valid_addr128 (ptr: int) (mem: S.machine_heap) : bool let valid_addr128 (ptr: int) (mem: S.machine_heap) : bool =
false
null
false
valid_addr32 (ptr + 0) mem && valid_addr32 (ptr + 4) mem && valid_addr32 (ptr + 8) mem && valid_addr32 (ptr + 12) mem
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.int", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.op_AmpAmp", "Vale.X64.Leakage_Ins.valid_addr32", "Prims.op_Addition", "Prims.bool" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val valid_addr128 (ptr: int) (mem: S.machine_heap) : bool
[]
Vale.X64.Leakage_Ins.valid_addr128
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> mem: Vale.Arch.MachineHeap_s.machine_heap -> Prims.bool
{ "end_col": 29, "end_line": 342, "start_col": 2, "start_line": 339 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let obs_args = S.obs_args
let obs_args =
false
null
false
S.obs_args
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.obs_args" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val obs_args : args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t_args args -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.list Vale.X64.Machine_s.observation
[]
Vale.X64.Leakage_Ins.obs_args
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t_args args -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.list Vale.X64.Machine_s.observation
{ "end_col": 32, "end_line": 15, "start_col": 22, "start_line": 15 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let obs_inouts = S.obs_inouts
let obs_inouts =
false
null
false
S.obs_inouts
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.obs_inouts" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val obs_inouts : inouts: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t inouts args -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.list Vale.X64.Machine_s.observation
[]
Vale.X64.Leakage_Ins.obs_inouts
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
inouts: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t inouts args -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.list Vale.X64.Machine_s.observation
{ "end_col": 36, "end_line": 16, "start_col": 24, "start_line": 16 }
Prims.Tot
val update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (i: int) : Vale.Def.Types_s.nat8
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let update_heap128_val (ptr:int) (v:Vale.Def.Types_s.quad32) (i:int) : Vale.Def.Types_s.nat8 = let open Vale.Def.Words_s in let j = i - ptr in if 0 <= j && j < 4 then update_heap32_val (ptr + 0 ) v.lo0 i else if 4 <= j && j < 8 then update_heap32_val (ptr + 4 ) v.lo1 i else if 8 <= j && j < 12 then updat...
val update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (i: int) : Vale.Def.Types_s.nat8 let update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (i: int) : Vale.Def.Types_s.nat8 =
false
null
false
let open Vale.Def.Words_s in let j = i - ptr in if 0 <= j && j < 4 then update_heap32_val (ptr + 0) v.lo0 i else if 4 <= j && j < 8 then update_heap32_val (ptr + 4) v.lo1 i else if 8 <= j && j < 12 then update_heap32_val (ptr + 8) v.hi2 i else if 12 <= j && j < 16 then update_heap32_val (ptr + 12) v.h...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Vale.X64.Leakage_Ins.update_heap32_val", "Prims.op_Addition", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Types_s.nat32", "Prims.bool", "Vale.Def.Words_s.__proj__Mkfour__item_...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (i: int) : Vale.Def.Types_s.nat8
[]
Vale.X64.Leakage_Ins.update_heap128_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> i: Prims.int -> Vale.Def.Types_s.nat8
{ "end_col": 3, "end_line": 336, "start_col": 2, "start_line": 330 }
Prims.Tot
val valid_addr32 (ptr: int) (mem: S.machine_heap) : bool
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let valid_addr32 (ptr:int) (mem:S.machine_heap) : bool = S.valid_addr (ptr + 0) mem && S.valid_addr (ptr + 1) mem && S.valid_addr (ptr + 2) mem && S.valid_addr (ptr + 3) mem
val valid_addr32 (ptr: int) (mem: S.machine_heap) : bool let valid_addr32 (ptr: int) (mem: S.machine_heap) : bool =
false
null
false
S.valid_addr (ptr + 0) mem && S.valid_addr (ptr + 1) mem && S.valid_addr (ptr + 2) mem && S.valid_addr (ptr + 3) mem
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.int", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.op_AmpAmp", "Vale.Arch.MachineHeap_s.valid_addr", "Prims.op_Addition", "Prims.bool" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val valid_addr32 (ptr: int) (mem: S.machine_heap) : bool
[]
Vale.X64.Leakage_Ins.valid_addr32
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> mem: Vale.Arch.MachineHeap_s.machine_heap -> Prims.bool
{ "end_col": 28, "end_line": 270, "start_col": 2, "start_line": 267 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let machine_eval_code = S.machine_eval_code
let machine_eval_code =
false
null
false
S.machine_eval_code
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total", "" ]
[ "Vale.X64.Machine_Semantics_s.machine_eval_code" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val machine_eval_code : c: Vale.X64.Machine_Semantics_s.code -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state)
[]
Vale.X64.Leakage_Ins.machine_eval_code
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
c: Vale.X64.Machine_Semantics_s.code -> fuel: Prims.nat -> s: Vale.X64.Machine_Semantics_s.machine_state -> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state)
{ "end_col": 50, "end_line": 17, "start_col": 31, "start_line": 17 }
Prims.Tot
val coerce_to_normal (#a: Type0) (x: a) : y: (normal a){x == y}
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let coerce_to_normal (#a:Type0) (x:a) : y:(normal a){x == y} = x
val coerce_to_normal (#a: Type0) (x: a) : y: (normal a){x == y} let coerce_to_normal (#a: Type0) (x: a) : y: (normal a){x == y} =
false
null
false
x
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Instruction_s.normal", "Prims.eq2" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val coerce_to_normal (#a: Type0) (x: a) : y: (normal a){x == y}
[]
Vale.X64.Leakage_Ins.coerce_to_normal
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: a -> y: Vale.X64.Instruction_s.normal a {x == y}
{ "end_col": 64, "end_line": 520, "start_col": 63, "start_line": 520 }
FStar.Pervasives.Lemma
val reveal_machine_eval_code_ins (i: S.ins) (s: S.machine_state) : Lemma (requires True) (ensures S.machine_eval_code_ins i s == S.machine_eval_code_ins_def i s) [SMTPat (S.machine_eval_code_ins i s)]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let reveal_machine_eval_code_ins (i:S.ins) (s:S.machine_state) : Lemma (requires True) (ensures S.machine_eval_code_ins i s == S.machine_eval_code_ins_def i s) [SMTPat (S.machine_eval_code_ins i s)] = reveal_opaque (`%S.machine_eval_code_ins) S.machine_eval_code_ins
val reveal_machine_eval_code_ins (i: S.ins) (s: S.machine_state) : Lemma (requires True) (ensures S.machine_eval_code_ins i s == S.machine_eval_code_ins_def i s) [SMTPat (S.machine_eval_code_ins i s)] let reveal_machine_eval_code_ins (i: S.ins) (s: S.machine_state) : Lemma (requires True) (ens...
false
null
true
reveal_opaque (`%S.machine_eval_code_ins) S.machine_eval_code_ins
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Machine_Semantics_s.machine_state", "FStar.Pervasives.reveal_opaque", "FStar.Pervasives.Native.option", "Vale.X64.Machine_Semantics_s.machine_eval_code_ins", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "Vale.X64.Machine_Semantics_s.machi...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val reveal_machine_eval_code_ins (i: S.ins) (s: S.machine_state) : Lemma (requires True) (ensures S.machine_eval_code_ins i s == S.machine_eval_code_ins_def i s) [SMTPat (S.machine_eval_code_ins i s)]
[]
Vale.X64.Leakage_Ins.reveal_machine_eval_code_ins
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state -> FStar.Pervasives.Lemma (ensures Vale.X64.Machine_Semantics_s.machine_eval_code_ins i s == Vale.X64.Machine_Semantics_s.machine_eval_code_ins_def i s) [SMTPat (Vale.X64.Machine_Semantics_s.machine_eval_c...
{ "end_col": 67, "end_line": 24, "start_col": 2, "start_line": 24 }
Prims.Pure
val check_if_alloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Alloc? ins) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_alloc_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Alloc? ins) (ensures ins_consumes_fixed_time ins ts) = (true, ts)
val check_if_alloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Alloc? ins) (ensures ins_consumes_fixed_time ins ts) let check_if_alloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.All...
false
null
false
(true, ts)
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "FStar.Pervasives.Native.tuple2", "Prims.b2t", "Vale.X64.Bytes_Code_s.uu___is_Alloc", "Vale.X64.Machine_Semantics_s.instr_annotation", "Vale.X64.Leakage_Helpers.ins_consu...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_alloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Alloc? ins) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_alloc_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 12, "end_line": 577, "start_col": 2, "start_line": 577 }
Prims.Pure
val check_if_dealloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Dealloc? ins) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_dealloc_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Dealloc? ins) (ensures ins_consumes_fixed_time ins ts) = (true, ts)
val check_if_dealloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Dealloc? ins) (ensures ins_consumes_fixed_time ins ts) let check_if_dealloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires ...
false
null
false
(true, ts)
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "FStar.Pervasives.Native.tuple2", "Prims.b2t", "Vale.X64.Bytes_Code_s.uu___is_Dealloc", "Vale.X64.Machine_Semantics_s.instr_annotation", "Vale.X64.Leakage_Helpers.ins_con...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_dealloc_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Dealloc? ins) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_dealloc_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 12, "end_line": 583, "start_col": 2, "start_line": 583 }
Prims.Tot
val update_heap64_val (ptr: int) (v: nat64) (i: int) : Vale.Def.Types_s.nat8
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let update_heap64_val (ptr:int) (v:nat64) (i:int) : Vale.Def.Types_s.nat8 = let open Vale.Def.Words_s in let open Vale.Def.Words.Two_s in let open Vale.Def.Words.Four_s in let v = nat_to_two 32 v in let lo = nat_to_four 8 v.lo in let hi = nat_to_four 8 v.hi in match (i - ptr) with | 0 -> lo.lo0 | 1 ->...
val update_heap64_val (ptr: int) (v: nat64) (i: int) : Vale.Def.Types_s.nat8 let update_heap64_val (ptr: int) (v: nat64) (i: int) : Vale.Def.Types_s.nat8 =
false
null
false
let open Vale.Def.Words_s in let open Vale.Def.Words.Two_s in let open Vale.Def.Words.Four_s in let v = nat_to_two 32 v in let lo = nat_to_four 8 v.lo in let hi = nat_to_four 8 v.hi in match (i - ptr) with | 0 -> lo.lo0 | 1 -> lo.lo1 | 2 -> lo.hi2 | 3 -> lo.hi3 | 4 -> hi.lo0 | 5 -> hi.lo1 | 6 -> hi.hi2 | 7 -> hi.hi3 | ...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.int", "Vale.X64.Machine_s.nat64", "Prims.op_Subtraction", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Words_s.natN", "Prims.pow2", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def....
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_heap64_val (ptr: int) (v: nat64) (i: int) : Vale.Def.Types_s.nat8
[]
Vale.X64.Leakage_Ins.update_heap64_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.X64.Machine_s.nat64 -> i: Prims.int -> Vale.Def.Types_s.nat8
{ "end_col": 10, "end_line": 306, "start_col": 2, "start_line": 291 }
FStar.Pervasives.Lemma
val lemma_update_heap64_domain (ptr: int) (v: nat64) (mem: S.machine_heap) : Lemma (requires S.valid_addr64 ptr mem) (ensures Map.domain (S.update_heap64 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap64 ptr v mem))]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap64_domain (ptr:int) (v:nat64) (mem:S.machine_heap) : Lemma (requires S.valid_addr64 ptr mem) (ensures Map.domain (S.update_heap64 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap64 ptr v mem))] = reveal_opaque (`%S.valid_addr64) S.valid_addr64; S.update_heap64_reveal ();...
val lemma_update_heap64_domain (ptr: int) (v: nat64) (mem: S.machine_heap) : Lemma (requires S.valid_addr64 ptr mem) (ensures Map.domain (S.update_heap64 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap64 ptr v mem))] let lemma_update_heap64_domain (ptr: int) (v: nat64) (mem: S.machine_h...
false
null
true
reveal_opaque (`%S.valid_addr64) S.valid_addr64; S.update_heap64_reveal (); assert (Set.equal (Map.domain (S.update_heap64 ptr v mem)) (Map.domain mem))
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.X64.Machine_s.nat64", "Vale.Arch.MachineHeap_s.machine_heap", "Prims._assert", "FStar.Set.equal", "FStar.Map.domain", "Vale.Def.Types_s.nat8", "Vale.Arch.MachineHeap_s.update_heap64", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "FStar.Pervasives.reveal_opaque...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap64_domain (ptr: int) (v: nat64) (mem: S.machine_heap) : Lemma (requires S.valid_addr64 ptr mem) (ensures Map.domain (S.update_heap64 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap64 ptr v mem))]
[]
Vale.X64.Leakage_Ins.lemma_update_heap64_domain
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.X64.Machine_s.nat64 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.Arch.MachineHeap_s.valid_addr64 ptr mem) (ensures FStar.Map.domain (Vale.Arch.MachineHeap_s.update_heap64 ptr v mem) == FStar.Map.domain mem) [SMTPat (FStar.Map.domai...
{ "end_col": 78, "end_line": 326, "start_col": 2, "start_line": 324 }
FStar.Pervasives.Lemma
val lemma_update_heap128_domain (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) : Lemma (requires valid_addr128 ptr mem) (ensures Map.domain (S.update_heap128 ptr v mem) == Map.domain mem) [SMTPat (S.update_heap128 ptr v mem)]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap128_domain (ptr:int) (v:Vale.Def.Types_s.quad32) (mem:S.machine_heap) : Lemma (requires valid_addr128 ptr mem) (ensures Map.domain (S.update_heap128 ptr v mem) == Map.domain mem) [SMTPat (S.update_heap128 ptr v mem)] = S.update_heap128_reveal (); assert (Set.equal (Map.domain (S.update_...
val lemma_update_heap128_domain (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) : Lemma (requires valid_addr128 ptr mem) (ensures Map.domain (S.update_heap128 ptr v mem) == Map.domain mem) [SMTPat (S.update_heap128 ptr v mem)] let lemma_update_heap128_domain (ptr: int) (v: Vale.Def.Types_s...
false
null
true
S.update_heap128_reveal (); assert (Set.equal (Map.domain (S.update_heap128 ptr v mem)) (Map.domain mem))
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.Arch.MachineHeap_s.machine_heap", "Prims._assert", "FStar.Set.equal", "FStar.Map.domain", "Vale.Def.Types_s.nat8", "Vale.Arch.MachineHeap_s.update_heap128", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap128_reveal", "Prims.b2t", "Vale.X64.Leaka...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap128_domain (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) : Lemma (requires valid_addr128 ptr mem) (ensures Map.domain (S.update_heap128 ptr v mem) == Map.domain mem) [SMTPat (S.update_heap128 ptr v mem)]
[]
Vale.X64.Leakage_Ins.lemma_update_heap128_domain
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.X64.Leakage_Ins.valid_addr128 ptr mem) (ensures FStar.Map.domain (Vale.Arch.MachineHeap_s.update_heap128 ptr v mem) == FStar.Map.domain mem) [SMTPat (Vale.Arch.Machine...
{ "end_col": 79, "end_line": 361, "start_col": 2, "start_line": 360 }
FStar.Pervasives.Lemma
val lemma_update_heap32_domain (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) : Lemma (requires valid_addr32 ptr mem) (ensures Map.domain (S.update_heap32 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap32 ptr v mem))]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap32_domain (ptr:int) (v:Vale.Def.Types_s.nat32) (mem:S.machine_heap) : Lemma (requires valid_addr32 ptr mem) (ensures Map.domain (S.update_heap32 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap32 ptr v mem))] = S.update_heap32_reveal (); assert (Set.equal (Map.domain (S....
val lemma_update_heap32_domain (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) : Lemma (requires valid_addr32 ptr mem) (ensures Map.domain (S.update_heap32 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap32 ptr v mem))] let lemma_update_heap32_domain (ptr: int) (v: Vale.Def....
false
null
true
S.update_heap32_reveal (); assert (Set.equal (Map.domain (S.update_heap32 ptr v mem)) (Map.domain mem))
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.Def.Types_s.nat32", "Vale.Arch.MachineHeap_s.machine_heap", "Prims._assert", "FStar.Set.equal", "FStar.Map.domain", "Vale.Def.Types_s.nat8", "Vale.Arch.MachineHeap_s.update_heap32", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "Prims.b2t", "Vale.X64.Leakage_...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap32_domain (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) : Lemma (requires valid_addr32 ptr mem) (ensures Map.domain (S.update_heap32 ptr v mem) == Map.domain mem) [SMTPat (Map.domain (S.update_heap32 ptr v mem))]
[]
Vale.X64.Leakage_Ins.lemma_update_heap32_domain
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.nat32 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.X64.Leakage_Ins.valid_addr32 ptr mem) (ensures FStar.Map.domain (Vale.Arch.MachineHeap_s.update_heap32 ptr v mem) == FStar.Map.domain mem) [SMTPat (FStar.Map.domain (Va...
{ "end_col": 78, "end_line": 287, "start_col": 2, "start_line": 286 }
FStar.Pervasives.Lemma
val lemma_preserve_valid128 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr128 i m')} S.valid_addr128 i m ==> S.valid_addr128 i m'))
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_preserve_valid128 (m m':S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i:int).{:pattern (S.valid_addr128 i m')} S.valid_addr128 i m ==> S.valid_addr128 i m')) = reveal_opaque (`%S.valid_addr128) S.valid_addr128
val lemma_preserve_valid128 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr128 i m')} S.valid_addr128 i m ==> S.valid_addr128 i m')) let lemma_preserve_valid128 (m m': S.machine_heap) : Lemma (require...
false
null
true
reveal_opaque (`%S.valid_addr128) S.valid_addr128
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.Arch.MachineHeap_s.machine_heap", "FStar.Pervasives.reveal_opaque", "Prims.int", "Prims.bool", "Vale.Arch.MachineHeap_s.valid_addr128", "Prims.unit", "FStar.Set.equal", "FStar.Map.domain", "Vale.Def.Types_s.nat8", "Prims.squash", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "Prims.N...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_preserve_valid128 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr128 i m')} S.valid_addr128 i m ==> S.valid_addr128 i m'))
[]
Vale.X64.Leakage_Ins.lemma_preserve_valid128
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
m: Vale.Arch.MachineHeap_s.machine_heap -> m': Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires FStar.Set.equal (FStar.Map.domain m) (FStar.Map.domain m')) (ensures forall (i: Prims.int). {:pattern Vale.Arch.MachineHeap_s.valid_addr128 i m'} Vale.Arch.MachineHeap_s.vali...
{ "end_col": 51, "end_line": 375, "start_col": 2, "start_line": 375 }
FStar.Pervasives.Lemma
val lemma_preserve_valid64 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr64 i m')} S.valid_addr64 i m ==> S.valid_addr64 i m'))
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_preserve_valid64 (m m':S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i:int).{:pattern (S.valid_addr64 i m')} S.valid_addr64 i m ==> S.valid_addr64 i m')) = reveal_opaque (`%S.valid_addr64) S.valid_addr64
val lemma_preserve_valid64 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr64 i m')} S.valid_addr64 i m ==> S.valid_addr64 i m')) let lemma_preserve_valid64 (m m': S.machine_heap) : Lemma (requires Set...
false
null
true
reveal_opaque (`%S.valid_addr64) S.valid_addr64
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.Arch.MachineHeap_s.machine_heap", "FStar.Pervasives.reveal_opaque", "Prims.int", "Prims.bool", "Vale.Arch.MachineHeap_s.valid_addr64", "Prims.unit", "FStar.Set.equal", "FStar.Map.domain", "Vale.Def.Types_s.nat8", "Prims.squash", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "Prims.Ni...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_preserve_valid64 (m m': S.machine_heap) : Lemma (requires Set.equal (Map.domain m) (Map.domain m')) (ensures (forall (i: int). {:pattern (S.valid_addr64 i m')} S.valid_addr64 i m ==> S.valid_addr64 i m'))
[]
Vale.X64.Leakage_Ins.lemma_preserve_valid64
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
m: Vale.Arch.MachineHeap_s.machine_heap -> m': Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires FStar.Set.equal (FStar.Map.domain m) (FStar.Map.domain m')) (ensures forall (i: Prims.int). {:pattern Vale.Arch.MachineHeap_s.valid_addr64 i m'} Vale.Arch.MachineHeap_s.valid...
{ "end_col": 49, "end_line": 368, "start_col": 2, "start_line": 368 }
FStar.Pervasives.Lemma
val lemma_update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap128 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 16 then update_heap128_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap128 ptr v mem).[...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap128_val (ptr:int) (v:Vale.Def.Types_s.quad32) (mem:S.machine_heap) (i:int) : Lemma (requires True) (ensures (S.update_heap128 ptr v mem).[i] == (if ptr <= i && i < ptr + 16 then update_heap128_val ptr v i else mem.[i]) ) [SMTPat ((S.update_heap128 ptr v mem).[i])] = S.update_hea...
val lemma_update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap128 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 16 then update_heap128_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap128 ptr v mem).[...
false
null
true
S.update_heap128_reveal (); reveal_opaque (`%update_heap128_val) update_heap128_val
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.Arch.MachineHeap_s.machine_heap", "FStar.Pervasives.reveal_opaque", "Vale.Def.Types_s.nat8", "Vale.X64.Leakage_Ins.update_heap128_val", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap128_reveal", "Prims.l_True", "Prims.squash", "Prims.eq2", "Val...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap128_val (ptr: int) (v: Vale.Def.Types_s.quad32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap128 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 16 then update_heap128_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap128 ptr v mem).[...
[]
Vale.X64.Leakage_Ins.lemma_update_heap128_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> i: Prims.int -> FStar.Pervasives.Lemma (ensures (Vale.Arch.MachineHeap_s.update_heap128 ptr v mem).[ i ] == (match ptr <= i && i < ptr + 16 with | true -> Vale.X64.Leakage_Ins....
{ "end_col": 57, "end_line": 353, "start_col": 2, "start_line": 352 }
FStar.Pervasives.Lemma
val lemma_update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap32 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 4 then update_heap32_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap32 ptr v mem).[ i ])]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap32_val (ptr:int) (v:Vale.Def.Types_s.nat32) (mem:S.machine_heap) (i:int) : Lemma (requires True) (ensures (S.update_heap32 ptr v mem).[i] == (if ptr <= i && i < ptr + 4 then update_heap32_val ptr v i else mem.[i])) [SMTPat ((S.update_heap32 ptr v mem).[i])] = S.update_heap32_reveal ()...
val lemma_update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap32 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 4 then update_heap32_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap32 ptr v mem).[ i ])]...
false
null
true
S.update_heap32_reveal (); reveal_opaque (`%update_heap32_val) update_heap32_val
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.Def.Types_s.nat32", "Vale.Arch.MachineHeap_s.machine_heap", "FStar.Pervasives.reveal_opaque", "Vale.Def.Types_s.nat8", "Vale.X64.Leakage_Ins.update_heap32_val", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "Prims.l_True", "Prims.squash", "Prims.eq2", "Vale.X...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap32 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 4 then update_heap32_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap32 ptr v mem).[ i ])]
[]
Vale.X64.Leakage_Ins.lemma_update_heap32_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.nat32 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> i: Prims.int -> FStar.Pervasives.Lemma (ensures (Vale.Arch.MachineHeap_s.update_heap32 ptr v mem).[ i ] == (match ptr <= i && i < ptr + 4 with | true -> Vale.X64.Leakage_Ins.upd...
{ "end_col": 55, "end_line": 279, "start_col": 2, "start_line": 278 }
Prims.Tot
val update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (i: int) : Vale.Def.Types_s.nat8
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let update_heap32_val (ptr:int) (v:Vale.Def.Types_s.nat32) (i:int) : Vale.Def.Types_s.nat8 = let open Vale.Def.Words_s in let open Vale.Def.Words.Four_s in let v = nat_to_four 8 v in match (i - ptr) with | 0 -> v.lo0 | 1 -> v.lo1 | 2 -> v.hi2 | 3 -> v.hi3 | _ -> 0
val update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (i: int) : Vale.Def.Types_s.nat8 let update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (i: int) : Vale.Def.Types_s.nat8 =
false
null
false
let open Vale.Def.Words_s in let open Vale.Def.Words.Four_s in let v = nat_to_four 8 v in match (i - ptr) with | 0 -> v.lo0 | 1 -> v.lo1 | 2 -> v.hi2 | 3 -> v.hi3 | _ -> 0
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.int", "Vale.Def.Types_s.nat32", "Prims.op_Subtraction", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Words_s.natN", "Prims.pow2", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def.Ty...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_heap32_val (ptr: int) (v: Vale.Def.Types_s.nat32) (i: int) : Vale.Def.Types_s.nat8
[]
Vale.X64.Leakage_Ins.update_heap32_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.Def.Types_s.nat32 -> i: Prims.int -> Vale.Def.Types_s.nat8
{ "end_col": 10, "end_line": 264, "start_col": 2, "start_line": 256 }
FStar.Pervasives.Lemma
val lemma_update_heap64_val (ptr: int) (v: nat64) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap64 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 8 then update_heap64_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap64 ptr v mem).[ i ])]
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_update_heap64_val (ptr:int) (v:nat64) (mem:S.machine_heap) (i:int) : Lemma (requires True) (ensures (S.update_heap64 ptr v mem).[i] == (if ptr <= i && i < ptr + 8 then update_heap64_val ptr v i else mem.[i]) ) [SMTPat ((S.update_heap64 ptr v mem).[i])] = S.update_heap64_reveal (); reveal...
val lemma_update_heap64_val (ptr: int) (v: nat64) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap64 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 8 then update_heap64_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap64 ptr v mem).[ i ])] let lemma_update...
false
null
true
S.update_heap64_reveal (); reveal_opaque (`%update_heap64_val) update_heap64_val
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.int", "Vale.X64.Machine_s.nat64", "Vale.Arch.MachineHeap_s.machine_heap", "FStar.Pervasives.reveal_opaque", "Vale.Def.Types_s.nat8", "Vale.X64.Leakage_Ins.update_heap64_val", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "Prims.l_True", "Prims.squash", "Prims.eq2", "Vale...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_update_heap64_val (ptr: int) (v: nat64) (mem: S.machine_heap) (i: int) : Lemma (requires True) (ensures (S.update_heap64 ptr v mem).[ i ] == (if ptr <= i && i < ptr + 8 then update_heap64_val ptr v i else mem.[ i ])) [SMTPat ((S.update_heap64 ptr v mem).[ i ])]
[]
Vale.X64.Leakage_Ins.lemma_update_heap64_val
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ptr: Prims.int -> v: Vale.X64.Machine_s.nat64 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> i: Prims.int -> FStar.Pervasives.Lemma (ensures (Vale.Arch.MachineHeap_s.update_heap64 ptr v mem).[ i ] == (match ptr <= i && i < ptr + 8 with | true -> Vale.X64.Leakage_Ins.u...
{ "end_col": 55, "end_line": 317, "start_col": 2, "start_line": 316 }
Prims.Tot
val instr_set_taint_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t: taint) : analysis_taints
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let instr_set_taint_explicit (i:instr_operand_explicit) (o:instr_operand_t i) (ts:analysis_taints) (t:taint) : analysis_taints = match i with | IOp64 -> set_taint 0 (o <: operand64) ts t | IOpXmm -> set_taint 1 (o <: operand128) ts t
val instr_set_taint_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t: taint) : analysis_taints let instr_set_taint_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t: taint) : analysis_taints =
false
null
false
match i with | IOp64 -> set_taint 0 (o <: operand64) ts t | IOpXmm -> set_taint 1 (o <: operand128) ts t
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Instruction_s.instr_operand_explicit", "Vale.X64.Instruction_s.instr_operand_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Leakage_Helpers.set_taint", "Vale.X64.Machine_s.operand64", "Vale.X64.Machine_s.operand128" ]
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val instr_set_taint_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t: taint) : analysis_taints
[]
Vale.X64.Leakage_Ins.instr_set_taint_explicit
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Vale.X64.Instruction_s.instr_operand_explicit -> o: Vale.X64.Instruction_s.instr_operand_t i -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t: Vale.Arch.HeapTypes_s.taint -> Vale.X64.Leakage_Helpers.analysis_taints
{ "end_col": 48, "end_line": 203, "start_col": 2, "start_line": 201 }
Prims.Tot
val check_if_ins_consumes_fixed_time (ins:Vale.X64.Machine_Semantics_s.ins) (ts:analysis_taints) : (res:(bool & analysis_taints){ins_consumes_fixed_time ins ts res})
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": false, "full_module": "Vale.X64.Instruction_s", "short_module": null }, { "abbrev"...
false
let check_if_ins_consumes_fixed_time ins ts = match ins with | BC.Instr _ _ (S.AnnotateXor64 _) -> check_if_xor_consumes_fixed_time ins ts | BC.Instr _ _ (S.AnnotatePxor _) -> check_if_pxor_consumes_fixed_time ins ts | BC.Instr _ _ (S.AnnotateVPxor _) -> check_if_vpxor_consumes_fixed_time ins ts | BC.Instr _ ...
val check_if_ins_consumes_fixed_time (ins:Vale.X64.Machine_Semantics_s.ins) (ts:analysis_taints) : (res:(bool & analysis_taints){ins_consumes_fixed_time ins ts res}) let check_if_ins_consumes_fixed_time ins ts =
false
null
false
match ins with | BC.Instr _ _ (S.AnnotateXor64 _) -> check_if_xor_consumes_fixed_time ins ts | BC.Instr _ _ (S.AnnotatePxor _) -> check_if_pxor_consumes_fixed_time ins ts | BC.Instr _ _ (S.AnnotateVPxor _) -> check_if_vpxor_consumes_fixed_time ins ts | BC.Instr _ _ _ -> check_if_instr_consumes_fixed_time ins ts | BC.Pu...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Instruction_s.instr_t_record", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args", "Vale.X64.Machin...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 3, "max_fuel": 4, "max_ifuel": 3, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_ins_consumes_fixed_time (ins:Vale.X64.Machine_Semantics_s.ins) (ts:analysis_taints) : (res:(bool & analysis_taints){ins_consumes_fixed_time ins ts res})
[]
Vale.X64.Leakage_Ins.check_if_ins_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> res: (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints) {Vale.X64.Leakage_Helpers.ins_consumes_fixed_time ins ts res}
{ "end_col": 63, "end_line": 612, "start_col": 2, "start_line": 604 }
Prims.Pure
val check_if_vpxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_vpxor_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) = let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateVPxor eq) = ins ...
val check_if_vpxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) let check_if_vpxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure ...
false
null
false
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateVPxor eq) = ins in let oprs:normal (instr_operands_t [out opXmm] [opXmm; opXmm]) = coerce_to_normal #(instr_operands_t [out opXmm] [opXmm; opXmm]) oprs in let _, (o2, (o3, ())) = oprs in if o2 = o3 then let t = Public in let b = check_if...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_vpxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_vpxor_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 45, "end_line": 571, "start_col": 3, "start_line": 559 }
Prims.Pure
val check_if_xor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_xor_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) = let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateXor64 eq) = ins in...
val check_if_xor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) let check_if_xor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (boo...
false
null
false
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateXor64 eq) = ins in let oprs:normal (instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) = coerce_to_normal #(instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) oprs in let o1, (o2, ()) = oprs in if o1 = o2 th...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_xor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_xor_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 45, "end_line": 537, "start_col": 3, "start_line": 525 }
Prims.Tot
val check_if_consumes_fixed_time_outs_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t_out: taint) : bool
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_consumes_fixed_time_outs_explicit (i:instr_operand_explicit) (o:instr_operand_t i) (ts:analysis_taints) (t_out:taint) : bool = match i with | IOp64 -> operand_does_not_use_secrets #nat64 #reg_64 o ts && operand_taint_allowed #nat64 #reg_64 o t_out | IOpXmm -> operand_does_not_use_secrets ...
val check_if_consumes_fixed_time_outs_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t_out: taint) : bool let check_if_consumes_fixed_time_outs_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t_out...
false
null
false
match i with | IOp64 -> operand_does_not_use_secrets #nat64 #reg_64 o ts && operand_taint_allowed #nat64 #reg_64 o t_out | IOpXmm -> operand_does_not_use_secrets #quad32 #reg_xmm o ts && operand_taint_allowed #quad32 #reg_xmm o t_out
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Instruction_s.instr_operand_explicit", "Vale.X64.Instruction_s.instr_operand_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Prims.op_AmpAmp", "Vale.X64.Leakage_Helpers.operand_does_not_use_secrets", "Vale.X64.Machine_s.nat64", "Vale.X64.Machine_s.reg_64", "...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_consumes_fixed_time_outs_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (ts: analysis_taints) (t_out: taint) : bool
[]
Vale.X64.Leakage_Ins.check_if_consumes_fixed_time_outs_explicit
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Vale.X64.Instruction_s.instr_operand_explicit -> o: Vale.X64.Instruction_s.instr_operand_t i -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t_out: Vale.Arch.HeapTypes_s.taint -> Prims.bool
{ "end_col": 114, "end_line": 64, "start_col": 2, "start_line": 62 }
Prims.Tot
val check_if_consumes_fixed_time_outs_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t_out: taint) : bool
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_consumes_fixed_time_outs_implicit (i:instr_operand_implicit) (ts:analysis_taints) (t_out:taint) : bool = match i with | IOp64One o -> operand_does_not_use_secrets o ts && operand_taint_allowed o t_out | IOpXmmOne o -> operand_does_not_use_secrets o ts && operand_taint_allowed o t_out | IOpF...
val check_if_consumes_fixed_time_outs_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t_out: taint) : bool let check_if_consumes_fixed_time_outs_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t_out: taint) : bool =
false
null
false
match i with | IOp64One o -> operand_does_not_use_secrets o ts && operand_taint_allowed o t_out | IOpXmmOne o -> operand_does_not_use_secrets o ts && operand_taint_allowed o t_out | IOpFlagsCf -> true | IOpFlagsOf -> true
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Instruction_s.instr_operand_implicit", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Machine_s.operand64", "Prims.op_AmpAmp", "Vale.X64.Leakage_Helpers.operand_does_not_use_secrets", "Vale.X64.Machine_s.nat64", "Vale.X64.Machine_s.reg_64", "Vale.X64.L...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_consumes_fixed_time_outs_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t_out: taint) : bool
[]
Vale.X64.Leakage_Ins.check_if_consumes_fixed_time_outs_implicit
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Vale.X64.Instruction_s.instr_operand_implicit -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t_out: Vale.Arch.HeapTypes_s.taint -> Prims.bool
{ "end_col": 22, "end_line": 74, "start_col": 2, "start_line": 70 }
Prims.Tot
val instr_set_taint_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t: taint) : analysis_taints
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let instr_set_taint_implicit (i:instr_operand_implicit) (ts:analysis_taints) (t:taint) : analysis_taints = match i with | IOp64One o -> set_taint 0 o ts t | IOpXmmOne o -> set_taint 1 o ts t | IOpFlagsCf -> set_taint_cf_and_flags ts t | IOpFlagsOf -> set_taint_of_and_flags ts t
val instr_set_taint_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t: taint) : analysis_taints let instr_set_taint_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t: taint) : analysis_taints =
false
null
false
match i with | IOp64One o -> set_taint 0 o ts t | IOpXmmOne o -> set_taint 1 o ts t | IOpFlagsCf -> set_taint_cf_and_flags ts t | IOpFlagsOf -> set_taint_of_and_flags ts t
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Vale.X64.Instruction_s.instr_operand_implicit", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Machine_s.operand64", "Vale.X64.Leakage_Helpers.set_taint", "Vale.X64.Machine_s.operand128", "Vale.X64.Leakage_Helpers.set_taint_cf_and_flags", "Vale.X64.Leakage_Helper...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
true
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val instr_set_taint_implicit (i: instr_operand_implicit) (ts: analysis_taints) (t: taint) : analysis_taints
[]
Vale.X64.Leakage_Ins.instr_set_taint_implicit
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Vale.X64.Instruction_s.instr_operand_implicit -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t: Vale.Arch.HeapTypes_s.taint -> Vale.X64.Leakage_Helpers.analysis_taints
{ "end_col": 45, "end_line": 211, "start_col": 2, "start_line": 207 }
Prims.Pure
val check_if_pxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_pxor_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) = let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotatePxor eq) = ins in ...
val check_if_pxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts) let check_if_pxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bo...
false
null
false
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotatePxor eq) = ins in let oprs:normal (instr_operands_t [inOut opXmm] [opXmm]) = coerce_to_normal #(instr_operands_t [inOut opXmm] [opXmm]) oprs in let o1, (o2, ()) = oprs in if o1 = o2 then let t = Public in let b = check_if_consumes_fixed_...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_pxor_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_pxor_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 45, "end_line": 554, "start_col": 3, "start_line": 542 }
Prims.Tot
val instr_set_taints (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t: taint) : analysis_taints
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec instr_set_taints (outs:list instr_out) (args:list instr_operand) (oprs:instr_operands_t outs args) (ts:analysis_taints) (t:taint) : analysis_taints = match outs with | [] -> ts | (_, i)::outs -> ( match i with | IOpEx i -> let oprs:instr_operand_t i & instr_operands_t out...
val instr_set_taints (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t: taint) : analysis_taints let rec instr_set_taints (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) ...
false
null
false
match outs with | [] -> ts | (_, i) :: outs -> (match i with | IOpEx i -> let oprs:instr_operand_t i & instr_operands_t outs args = coerce oprs in instr_set_taints outs args (snd oprs) (instr_set_taint_explicit i (fst oprs) ts t) t | IOpIm i -> instr_set_taints outs args (coerce oprs) (instr_set_t...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "total" ]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Instruction_s.instr_operand_inout", "Vale.X64.Instruction_s.instr_operand_explicit",...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val instr_set_taints (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t: taint) : analysis_taints
[ "recursion" ]
Vale.X64.Leakage_Ins.instr_set_taints
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t outs args -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t: Vale.Arch.HeapTypes_s.taint -> Vale.X64.Leakage_Helpers.analysis_taints
{ "end_col": 5, "end_line": 226, "start_col": 2, "start_line": 217 }
Prims.Pure
val check_if_instr_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_instr_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins) (ensures ins_consumes_fixed_time ins ts) = let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs _ = ins in let t = inouts_taint outs args oprs ts in let b = check_if_...
val check_if_instr_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins) (ensures ins_consumes_fixed_time ins ts) let check_if_instr_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Ins...
false
null
false
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs _ = ins in let t = inouts_taint outs args oprs ts in let b = check_if_consumes_fixed_time_outs outs args oprs ts t in let AnalysisTaints (LeakageTaints rs flags cf ovf) rts = ts in let flags = match havoc_flags with | HavocFlags -> Secret | Preserv...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_instr_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Instr? ins) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_instr_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 43, "end_line": 518, "start_col": 3, "start_line": 509 }
FStar.Pervasives.Lemma
val lemma_instr_write_outputs_ok (outs: list instr_out) (args: list instr_operand) (vs: instr_ret_t outs) (oprs: instr_operands_t outs args) (s_orig s: S.machine_state) : Lemma (requires (S.instr_write_outputs outs args vs oprs s_orig s).S.ms_ok) (ensures s.S.ms_ok)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec lemma_instr_write_outputs_ok (outs:list instr_out) (args:list instr_operand) (vs:instr_ret_t outs) (oprs:instr_operands_t outs args) (s_orig s:S.machine_state) : Lemma (requires (S.instr_write_outputs outs args vs oprs s_orig s).S.ms_ok) (ensures s.S.ms_ok) = match outs with | [] -> () ...
val lemma_instr_write_outputs_ok (outs: list instr_out) (args: list instr_operand) (vs: instr_ret_t outs) (oprs: instr_operands_t outs args) (s_orig s: S.machine_state) : Lemma (requires (S.instr_write_outputs outs args vs oprs s_orig s).S.ms_ok) (ensures s.S.ms_ok) let rec lemma...
false
null
true
match outs with | [] -> () | (_, i) :: outs -> (let (v: instr_val_t i), (vs: instr_ret_t outs) = match outs with | [] -> (vs, ()) | _ :: _ -> let vs = coerce vs in (fst vs, snd vs) in match i with | IOpEx i -> let oprs:instr_operand_t i & instr_operands_t outs args ...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_ret_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X64.Instruction_s.instr_operand_inout", "Vale.X64.Instruction_s.instr_val_t", ...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_instr_write_outputs_ok (outs: list instr_out) (args: list instr_operand) (vs: instr_ret_t outs) (oprs: instr_operands_t outs args) (s_orig s: S.machine_state) : Lemma (requires (S.instr_write_outputs outs args vs oprs s_orig s).S.ms_ok) (ensures s.S.ms_ok)
[ "recursion" ]
Vale.X64.Leakage_Ins.lemma_instr_write_outputs_ok
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> vs: Vale.X64.Instruction_s.instr_ret_t outs -> oprs: Vale.X64.Instruction_s.instr_operands_t outs args -> s_orig: Vale.X64.Machine_Semantics_s.machine_state -> s: Vale.X64.Machine_Seman...
{ "end_col": 5, "end_line": 252, "start_col": 2, "start_line": 235 }
FStar.Pervasives.Lemma
val lemma_ins_leakage_free (ts:analysis_taints) (ins:Vale.X64.Machine_Semantics_s.ins) : Lemma (let (b, ts') = check_if_ins_consumes_fixed_time ins ts in (b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": false, "full_module": "Vale.X64.Instruction_s", "short_module": null }, { "abbrev"...
false
let lemma_ins_leakage_free ts ins = let (b, ts') = check_if_ins_consumes_fixed_time ins ts in match ins with | BC.Instr _ _ (S.AnnotateXor64 _) -> lemma_xor_leakage_free ts ins | BC.Instr _ _ (S.AnnotatePxor _) -> lemma_pxor_leakage_free ts ins | BC.Instr _ _ (S.AnnotateVPxor _) -> lemma_vpxor_leakage_free ts...
val lemma_ins_leakage_free (ts:analysis_taints) (ins:Vale.X64.Machine_Semantics_s.ins) : Lemma (let (b, ts') = check_if_ins_consumes_fixed_time ins ts in (b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) let lemma_ins_leakage_free ts ins =
false
null
true
let b, ts' = check_if_ins_consumes_fixed_time ins ts in match ins with | BC.Instr _ _ (S.AnnotateXor64 _) -> lemma_xor_leakage_free ts ins | BC.Instr _ _ (S.AnnotatePxor _) -> lemma_pxor_leakage_free ts ins | BC.Instr _ _ (S.AnnotateVPxor _) -> lemma_vpxor_leakage_free ts ins | BC.Instr _ _ _ -> lemma_instr_leakage_fre...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.bool", "Vale.X64.Instruction_s.instr_t_record", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs", "Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args", ...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_ins_leakage_free (ts:analysis_taints) (ins:Vale.X64.Machine_Semantics_s.ins) : Lemma (let (b, ts') = check_if_ins_consumes_fixed_time ins ts in (b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[]
Vale.X64.Leakage_Ins.lemma_ins_leakage_free
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (ensures (let _ = Vale.X64.Leakage_Ins.check_if_ins_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktuple2 #_ #_ b ts' = _ in b ==> Vale.X64.Leakage_s.isCo...
{ "end_col": 47, "end_line": 842, "start_col": 35, "start_line": 832 }
Prims.Pure
val check_if_consumes_fixed_time_args (args: list instr_operand) (oprs: instr_operands_t_args args) (ts: analysis_taints) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2: S.machine_state). {:pattern (constT...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec check_if_consumes_fixed_time_args (args:list instr_operand) (oprs:instr_operands_t_args args) (ts:analysis_taints) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1 s2:S.machine_state).{:pattern (constTimeInvariant ts.lts s1 s2)} constTimeInvariant ts.lts s1 s2 ==> obs_args arg...
val check_if_consumes_fixed_time_args (args: list instr_operand) (oprs: instr_operands_t_args args) (ts: analysis_taints) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2: S.machine_state). {:pattern (constT...
false
null
false
allow_inversion maddr; allow_inversion tmaddr; match args with | [] -> true | IOpEx i :: args -> let (o: instr_operand_t i), (oprs: instr_operands_t_args args) = coerce oprs in let b' = match i with | IOp64 -> operand_does_not_use_secrets #nat64 #reg_64 o ts | IOpXmm -> operand_does_not_use_secrets #qua...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Prims.list", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_operands_t_args", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Instruction_s.instr_operand_explicit", "Vale.X64.Instruction_s.instr_operand_t", "Prims.op_AmpAmp", "Prims.bool", "Vale.X64.Leakage_Ins.check_if...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_consumes_fixed_time_args (args: list instr_operand) (oprs: instr_operands_t_args args) (ts: analysis_taints) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2: S.machine_state). {:pattern (constT...
[ "recursion" ]
Vale.X64.Leakage_Ins.check_if_consumes_fixed_time_args
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t_args args -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure Prims.bool
{ "end_col": 13, "end_line": 55, "start_col": 2, "start_line": 33 }
Prims.Pure
val check_if_pop_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Pop? ins) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_pop_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Pop? ins) (ensures ins_consumes_fixed_time ins ts) = let BC.Pop dst t_stk = ins in let allowed = operand_taint_allowed dst t_stk in (Public? (Vale.Lib.MapTree.sel ts.rts reg_Rsp) && operand_doe...
val check_if_pop_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Pop? ins) (ensures ins_consumes_fixed_time ins ts) let check_if_pop_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Pop? ins) (ensures ins_cons...
false
null
false
let BC.Pop dst t_stk = ins in let allowed = operand_taint_allowed dst t_stk in (Public? (Vale.Lib.MapTree.sel ts.rts reg_Rsp) && operand_does_not_use_secrets dst ts && allowed, set_taint 0 dst ts t_stk)
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_s.operand64", "Vale.Arch.HeapTypes_s.taint", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "Prims.op_AmpAmp", "Vale.Arch.HeapTypes_s.uu___is_Public", "Vale.Lib.MapTree.sel", "Vale.X64.Machine_s.re...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 3, "max_fuel": 4, "max_ifuel": 3, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_pop_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Pop? ins) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_pop_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 125, "end_line": 601, "start_col": 3, "start_line": 598 }
Prims.Pure
val check_if_push_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Push? ins) (ensures ins_consumes_fixed_time ins ts)
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let check_if_push_consumes_fixed_time (ins:S.ins) (ts:analysis_taints) : Pure (bool & analysis_taints) (requires BC.Push? ins) (ensures ins_consumes_fixed_time ins ts) = let BC.Push src t_stk = ins in let t_out = operand_taint 0 src ts in (Public? (Vale.Lib.MapTree.sel ts.rts reg_Rsp) && operand_does_not_us...
val check_if_push_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Push? ins) (ensures ins_consumes_fixed_time ins ts) let check_if_push_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Push? ins) (ensures ins_...
false
null
false
let BC.Push src t_stk = ins in let t_out = operand_taint 0 src ts in (Public? (Vale.Lib.MapTree.sel ts.rts reg_Rsp) && operand_does_not_use_secrets src ts && (t_out = Public || t_stk = Secret), ts)
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_s.operand64", "Vale.Arch.HeapTypes_s.taint", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "Prims.op_AmpAmp", "Vale.Arch.HeapTypes_s.uu___is_Public", "Vale.Lib.MapTree.sel", "Vale.X64.Machine_s.re...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 3, "max_fuel": 4, "max_ifuel": 3, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_push_consumes_fixed_time (ins: S.ins) (ts: analysis_taints) : Pure (bool & analysis_taints) (requires BC.Push? ins) (ensures ins_consumes_fixed_time ins ts)
[]
Vale.X64.Leakage_Ins.check_if_push_consumes_fixed_time
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ins: Vale.X64.Machine_Semantics_s.ins -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> Prims.Pure (Prims.bool * Vale.X64.Leakage_Helpers.analysis_taints)
{ "end_col": 130, "end_line": 593, "start_col": 3, "start_line": 590 }
Prims.Pure
val check_if_consumes_fixed_time_outs (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t_out: taint) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2:...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec check_if_consumes_fixed_time_outs (outs:list instr_out) (args:list instr_operand) (oprs:instr_operands_t outs args) (ts:analysis_taints) (t_out:taint) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1 s2:S.machine_state).{:pattern (constTimeInvariant ts.lts s1 s2)} constTim...
val check_if_consumes_fixed_time_outs (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t_out: taint) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2:...
false
null
false
allow_inversion maddr; allow_inversion tmaddr; allow_inversion operand64; allow_inversion operand128; match outs with | [] -> check_if_consumes_fixed_time_args args oprs ts | (_, IOpEx i) :: outs -> let (o: instr_operand_t i), (oprs: instr_operands_t outs args) = coerce oprs in let b' = check_if_consumes_fixed_time...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Leakage_Ins.check_if_consumes_fixed_time_args", "Vale.X64.Instruction_s.instr_operan...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val check_if_consumes_fixed_time_outs (outs: list instr_out) (args: list instr_operand) (oprs: instr_operands_t outs args) (ts: analysis_taints) (t_out: taint) : Pure bool (requires True) (ensures fun b -> b ==> (forall (s1: S.machine_state) (s2:...
[ "recursion" ]
Vale.X64.Leakage_Ins.check_if_consumes_fixed_time_outs
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> oprs: Vale.X64.Instruction_s.instr_operands_t outs args -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> t_out: Vale.Arch.HeapTypes_s.taint -> Prims.Pure Prims.bool
{ "end_col": 13, "end_line": 98, "start_col": 2, "start_line": 84 }
FStar.Pervasives.Lemma
val lemma_instr_set_taints (outs: list instr_out) (args: list instr_operand) (vs1 vs2: instr_ret_t outs) (oprs: instr_operands_t outs args) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1_state' =...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec lemma_instr_set_taints (outs:list instr_out) (args:list instr_operand) (vs1 vs2:instr_ret_t outs) (oprs:instr_operands_t outs args) (ts_orig ts:analysis_taints) (t_out:taint) (s1_orig s1 s2_orig s2:S.machine_state) : Lemma (requires ( let s1_state' = S.instr_write_outputs outs args v...
val lemma_instr_set_taints (outs: list instr_out) (args: list instr_operand) (vs1 vs2: instr_ret_t outs) (oprs: instr_operands_t outs args) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1_state' =...
false
null
true
match outs with | [] -> () | (_, i) :: outs -> (let (v1: instr_val_t i), (vs1: instr_ret_t outs) = match outs with | [] -> (vs1, ()) | _ :: _ -> let vs1 = coerce vs1 in (fst vs1, snd vs1) in let (v2: instr_val_t i), (vs2: instr_ret_t outs) = match outs with | [] -...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_ret_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X6...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_instr_set_taints (outs: list instr_out) (args: list instr_operand) (vs1 vs2: instr_ret_t outs) (oprs: instr_operands_t outs args) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1_state' =...
[ "recursion" ]
Vale.X64.Leakage_Ins.lemma_instr_set_taints
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> vs1: Vale.X64.Instruction_s.instr_ret_t outs -> vs2: Vale.X64.Instruction_s.instr_ret_t outs -> oprs: Vale.X64.Instruction_s.instr_operands_t outs args -> ts_orig: Vale.X64.Leakage_Help...
{ "end_col": 5, "end_line": 504, "start_col": 2, "start_line": 472 }
FStar.Pervasives.Lemma
val lemma_dealloc_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Dealloc? ins) (ensures (let b, ts' = check_if_dealloc_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_dealloc_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma (requires BC.Dealloc? ins) (ensures ( let (b, ts') = check_if_dealloc_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts )) = let (b, ts') = check_if_dealloc_consumes_...
val lemma_dealloc_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Dealloc? ins) (ensures (let b, ts' = check_if_dealloc_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) let lemma_dealloc_leakage_free (ts:...
false
null
true
let b, ts' = check_if_dealloc_consumes_fixed_time ins ts in if b then (let code = Ins ins in let lem (s1 s2: S.machine_state) (fuel: nat) : Lemma (requires is_explicit_leakage_free_lhs code fuel ts.lts ts'.lts s1 s2) (ensures is_explicit_leakage_free_rhs code fuel ts.lts ts'.lts s1 s2) ...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.bool", "Vale.X64.Machine_Semantics_s.machine_state", "Prims.nat", "Prims.unit", "Vale.X64.Leakage_s.is_explicit_leakage_free_lhs", "Vale.X64.Leakage_Helpers.__proj__AnalysisTaints__item__lts", "Prims.squash", "V...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_dealloc_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Dealloc? ins) (ensures (let b, ts' = check_if_dealloc_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[]
Vale.X64.Leakage_Ins.lemma_dealloc_leakage_free
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (requires Dealloc? ins) (ensures (let _ = Vale.X64.Leakage_Ins.check_if_dealloc_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktuple2 #_ #_ b ts' = _ in b =...
{ "end_col": 3, "end_line": 702, "start_col": 3, "start_line": 676 }
FStar.Pervasives.Lemma
val lemma_instr_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins) (ensures (let b, ts' = check_if_instr_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_instr_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma (requires BC.Instr? ins) (ensures ( let (b, ts') = check_if_instr_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts )) = let (b, ts') = check_if_instr_consumes_fixed_ti...
val lemma_instr_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins) (ensures (let b, ts' = check_if_instr_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) let lemma_instr_leakage_free (ts: analysi...
false
null
true
let b, ts' = check_if_instr_consumes_fixed_time ins ts in if b then (let code = Ins ins in let lem (s1 s2: S.machine_state) (fuel: nat) : Lemma (requires is_explicit_leakage_free_lhs code fuel ts.lts ts'.lts s1 s2) (ensures is_explicit_leakage_free_rhs code fuel ts.lts ts'.lts s1 s2) [...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.bool", "Vale.X64.Machine_Semantics_s.machine_state", "Prims.nat", "Prims.unit", "Vale.X64.Leakage_s.is_explicit_leakage_free_lhs", "Vale.X64.Leakage_Helpers.__proj__AnalysisTaints__item__lts", "Prims.squash", "V...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_instr_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins) (ensures (let b, ts' = check_if_instr_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
[]
Vale.X64.Leakage_Ins.lemma_instr_leakage_free
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (requires Instr? ins) (ensures (let _ = Vale.X64.Leakage_Ins.check_if_instr_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktuple2 #_ #_ b ts' = _ in b ==> ...
{ "end_col": 3, "end_line": 668, "start_col": 3, "start_line": 621 }
FStar.Pervasives.Lemma
val lemma_args_taint (outs: list instr_out) (args: list instr_operand) (f: instr_args_t outs args) (oprs: instr_operands_t_args args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some? (S.instr_apply_eval_args o...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec lemma_args_taint (outs:list instr_out) (args:list instr_operand) (f:instr_args_t outs args) (oprs:instr_operands_t_args args) (ts:analysis_taints) (s1 s2:S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some? (S.instr_apply_eval_args outs args f oprs s1) /\ ...
val lemma_args_taint (outs: list instr_out) (args: list instr_operand) (f: instr_args_t outs args) (oprs: instr_operands_t_args args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some? (S.instr_apply_eval_args o...
false
null
true
allow_inversion maddr; allow_inversion tmaddr; allow_inversion operand64; allow_inversion operand128; match args with | [] -> () | i :: args -> let v1, v2, oprs:option (instr_val_t i) & option (instr_val_t i) & instr_operands_t_args args = match i with | IOpEx i -> let o, (oprs: instr_operands_t_args ar...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_args_t", "Vale.X64.Instruction_s.instr_operands_t_args", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.machine_state", "FStar.Pervasives.Native.option", ...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_args_taint (outs: list instr_out) (args: list instr_operand) (f: instr_args_t outs args) (oprs: instr_operands_t_args args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some? (S.instr_apply_eval_args o...
[ "recursion" ]
Vale.X64.Leakage_Ins.lemma_args_taint
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> f: Vale.X64.Instruction_s.instr_args_t outs args -> oprs: Vale.X64.Instruction_s.instr_operands_t_args args -> ts: Vale.X64.Leakage_Helpers.analysis_taints -> s1: Vale.X64.Machine_Seman...
{ "end_col": 50, "end_line": 144, "start_col": 2, "start_line": 117 }
FStar.Pervasives.Lemma
val lemma_inouts_taint (outs inouts: list instr_out) (args: list instr_operand) (f: instr_inouts_t outs inouts args) (oprs: instr_operands_t inouts args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let rec lemma_inouts_taint (outs inouts:list instr_out) (args:list instr_operand) (f:instr_inouts_t outs inouts args) (oprs:instr_operands_t inouts args) (ts:analysis_taints) (s1 s2:S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some? (S.instr_apply_eval_inouts outs ...
val lemma_inouts_taint (outs inouts: list instr_out) (args: list instr_operand) (f: instr_inouts_t outs inouts args) (oprs: instr_operands_t inouts args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some...
false
null
true
allow_inversion maddr; allow_inversion tmaddr; allow_inversion operand64; allow_inversion operand128; match inouts with | [] -> lemma_args_taint outs args f oprs ts s1 s2 | (Out, i) :: inouts -> let oprs = match i with | IOpEx i -> snd #(instr_operand_t i) (coerce oprs) | IOpIm i -> coerce oprs in lem...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.instr_inouts_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.machine_state", "Vale.X64.Leakage_Ins.lemma_args_taint...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_inouts_taint (outs inouts: list instr_out) (args: list instr_operand) (f: instr_inouts_t outs inouts args) (oprs: instr_operands_t inouts args) (ts: analysis_taints) (s1 s2: S.machine_state) : Lemma (requires constTimeInvariant ts.lts s1 s2 /\ Some...
[ "recursion" ]
Vale.X64.Leakage_Ins.lemma_inouts_taint
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
outs: Prims.list Vale.X64.Instruction_s.instr_out -> inouts: Prims.list Vale.X64.Instruction_s.instr_out -> args: Prims.list Vale.X64.Instruction_s.instr_operand -> f: Vale.X64.Instruction_s.instr_inouts_t outs inouts args -> oprs: Vale.X64.Instruction_s.instr_operands_t inouts args -> ts: Vale...
{ "end_col": 59, "end_line": 196, "start_col": 2, "start_line": 162 }
FStar.Pervasives.Lemma
val lemma_pxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_pxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts...
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
false
let lemma_pxor_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures ( let (b, ts') = check_if_pxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts )) = let...
val lemma_pxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_pxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts...
false
null
true
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotatePxor eq) = ins in let oprs:normal (instr_operands_t [inOut opXmm] [opXmm]) = coerce_to_normal #(instr_operands_t [inOut opXmm] [opXmm]) oprs in let o1, (o2, ()) = oprs in if o1 = o2 then Vale.Arch.Types.lemma_quad32_xor () else lemma_instr_l...
{ "checked_file": "Vale.X64.Leakage_Ins.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.ch...
[ "lemma" ]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
false
false
Vale.X64.Leakage_Ins.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 2, "max_fuel": 4, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_pxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotatePxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_pxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts...
[]
Vale.X64.Leakage_Ins.lemma_pxor_leakage_free
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (requires Instr? ins /\ AnnotatePxor? (Instr?.annotation ins)) (ensures (let _ = Vale.X64.Leakage_Ins.check_if_pxor_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktuple...
{ "end_col": 35, "end_line": 812, "start_col": 3, "start_line": 804 }