effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
false
let block a = lbytes (block_length a)
let block a =
false
null
false
lbytes (block_length a)
{ "checked_file": "Spec.Agile.Cipher.fsti.checked", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Agile.Cipher.cipher_alg", "Lib.ByteSequence.lbytes", "Spec.Agile.Cipher.block_length" ]
[]
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" /// This module is concerned with defining an agile stream cipher, i.e. a /// function that given: a key; an iv (nonce); a counter, produces a fresh /// block. W...
false
true
Spec.Agile.Cipher.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val block : a: Spec.Agile.Cipher.cipher_alg -> Type0
[]
Spec.Agile.Cipher.block
{ "file_name": "specs/Spec.Agile.Cipher.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": 37, "end_line": 49, "start_col": 14, "start_line": 49 }
Prims.Tot
val key_length (a: cipher_alg) : size_nat
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
false
let key_length (a: cipher_alg): size_nat = match a with | AES128 | AES256 -> Spec.AES.key_size (aes_alg_of_alg a) | CHACHA20 -> Spec.Chacha20.size_key
val key_length (a: cipher_alg) : size_nat let key_length (a: cipher_alg) : size_nat =
false
null
false
match a with | AES128 | AES256 -> Spec.AES.key_size (aes_alg_of_alg a) | CHACHA20 -> Spec.Chacha20.size_key
{ "checked_file": "Spec.Agile.Cipher.fsti.checked", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Agile.Cipher.cipher_alg", "Spec.AES.key_size", "Spec.Agile.Cipher.aes_alg_of_alg", "Spec.Chacha20.size_key", "Lib.IntTypes.size_nat" ]
[]
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" /// This module is concerned with defining an agile stream cipher, i.e. a /// function that given: a key; an iv (nonce); a counter, produces a fresh /// block. W...
false
true
Spec.Agile.Cipher.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val key_length (a: cipher_alg) : size_nat
[]
Spec.Agile.Cipher.key_length
{ "file_name": "specs/Spec.Agile.Cipher.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Agile.Cipher.cipher_alg -> Lib.IntTypes.size_nat
{ "end_col": 38, "end_line": 37, "start_col": 2, "start_line": 35 }
Prims.Tot
val ctr_stream (a: cipher_alg) (k: key a) (iv: nonce a) (len: size_nat) : b: bytes{length b = len}
[ { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
false
let ctr_stream (a: cipher_alg) (k: key a) (iv: nonce a) (len: size_nat): b:bytes { length b = len } = // JP: useful? be overconservative and always do + 1? would necessitate a // little bit of reasoning on the implementation side, perhaps better to have // a tighter bound here let n_blocks: n:nat { n * block_...
val ctr_stream (a: cipher_alg) (k: key a) (iv: nonce a) (len: size_nat) : b: bytes{length b = len} let ctr_stream (a: cipher_alg) (k: key a) (iv: nonce a) (len: size_nat) : b: bytes{length b = len} =
false
null
false
let n_blocks:n: nat{n * block_length a >= len} = if len % block_length a = 0 then len / block_length a else len / block_length a + 1 in let (), blocks = generate_blocks (block_length a) max_size_t n_blocks (fun _ -> unit) (fun i _ -> (), ctr_block a k iv i) () in Seq.slice blocks 0 len
{ "checked_file": "Spec.Agile.Cipher.fsti.checked", "dependencies": [ "Spec.Chacha20.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native...
[ "total" ]
[ "Spec.Agile.Cipher.cipher_alg", "Spec.Agile.Cipher.key", "Spec.Agile.Cipher.nonce", "Lib.IntTypes.size_nat", "Lib.Sequence.seq", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.eq2", "Prims.int", "Lib.Sequence.length", "FStar.Mul.op_Star", "Spec.Agile.Cipher.block_length...
[]
module Spec.Agile.Cipher open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence #reset-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 1" /// This module is concerned with defining an agile stream cipher, i.e. a /// function that given: a key; an iv (nonce); a counter, produces a fresh /// block. W...
false
false
Spec.Agile.Cipher.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ctr_stream (a: cipher_alg) (k: key a) (iv: nonce a) (len: size_nat) : b: bytes{length b = len}
[]
Spec.Agile.Cipher.ctr_stream
{ "file_name": "specs/Spec.Agile.Cipher.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Agile.Cipher.cipher_alg -> k: Spec.Agile.Cipher.key a -> iv: Spec.Agile.Cipher.nonce a -> len: Lib.IntTypes.size_nat -> b: Lib.ByteSequence.bytes{Lib.Sequence.length b = len}
{ "end_col": 24, "end_line": 90, "start_col": 1, "start_line": 72 }
FStar.Tactics.Effect.Tac
val tiff: Prims.unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let tiff () : Tac unit = apply_lemma (`lem_iff_refl)
val tiff: Prims.unit -> Tac unit let tiff () : Tac unit =
true
null
false
apply_lemma (`lem_iff_refl)
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.apply_lemma" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 tiff: Prims.unit -> Tac unit
[]
FStar.Tactics.Simplifier.tiff
{ "file_name": "ulib/FStar.Tactics.Simplifier.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": 31, "end_line": 35, "start_col": 4, "start_line": 35 }
FStar.Tactics.Effect.Tac
val step: Prims.unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let step () : Tac unit = apply_lemma (`lem_iff_trans)
val step: Prims.unit -> Tac unit let step () : Tac unit =
true
null
false
apply_lemma (`lem_iff_trans)
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.apply_lemma" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 step: Prims.unit -> Tac unit
[]
FStar.Tactics.Simplifier.step
{ "file_name": "ulib/FStar.Tactics.Simplifier.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": 32, "end_line": 38, "start_col": 4, "start_line": 38 }
FStar.Tactics.Effect.Tac
val simplify: Prims.unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let simplify () : Tac unit = apply_lemma (`equiv); simplify_point ()
val simplify: Prims.unit -> Tac unit let simplify () : Tac unit =
true
null
false
apply_lemma (`equiv); simplify_point ()
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "Prims.unit", "FStar.Tactics.Simplifier.simplify_point", "FStar.Tactics.V2.Derived.apply_lemma" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 simplify: Prims.unit -> Tac unit
[]
FStar.Tactics.Simplifier.simplify
{ "file_name": "ulib/FStar.Tactics.Simplifier.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": 21, "end_line": 309, "start_col": 4, "start_line": 308 }
FStar.Tactics.Effect.Tac
val is_false : term -> Tac bool
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let is_false t = begin match term_as_formula' t with | False_ -> true | _ -> begin match inspect t with | Tv_App l r -> begin match inspect l with | Tv_Abs b t -> begin match term_as_formula' t with | False_ -> true | _ -> fa...
val is_false : term -> Tac bool let is_false t =
true
null
false
match term_as_formula' t with | False_ -> true | _ -> match inspect t with | Tv_App l r -> (match inspect l with | Tv_Abs b t -> (match term_as_formula' t with | False_ -> true | _ -> false) | _ -> false) | _ -> false
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "FStar.Tactics.NamedView.term", "Prims.bool", "FStar.Reflection.V2.Formula.formula", "FStar.Reflection.V2.Data.argv", "FStar.Tactics.NamedView.binder", "FStar.Reflection.V2.Formula.term_as_formula'", "FStar.Tactics.NamedView.named_term_view", "FStar.Tactics.NamedView.inspect" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 is_false : term -> Tac bool
[]
FStar.Tactics.Simplifier.is_false
{ "file_name": "ulib/FStar.Tactics.Simplifier.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 14, "end_line": 190, "start_col": 10, "start_line": 177 }
FStar.Tactics.Effect.Tac
val is_true : term -> Tac bool
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let is_true t = begin match term_as_formula' t with | True_ -> true | _ -> begin match inspect t with | Tv_App l r -> begin match inspect l with | Tv_Abs b t -> begin match term_as_formula' t with | True_ -> true | _ -> false...
val is_true : term -> Tac bool let is_true t =
true
null
false
match term_as_formula' t with | True_ -> true | _ -> match inspect t with | Tv_App l r -> (match inspect l with | Tv_Abs b t -> (match term_as_formula' t with | True_ -> true | _ -> false) | _ -> false) | _ -> false
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "FStar.Tactics.NamedView.term", "Prims.bool", "FStar.Reflection.V2.Formula.formula", "FStar.Reflection.V2.Data.argv", "FStar.Tactics.NamedView.binder", "FStar.Reflection.V2.Formula.term_as_formula'", "FStar.Tactics.NamedView.named_term_view", "FStar.Tactics.NamedView.inspect" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 is_true : term -> Tac bool
[]
FStar.Tactics.Simplifier.is_true
{ "file_name": "ulib/FStar.Tactics.Simplifier.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.bool
{ "end_col": 14, "end_line": 172, "start_col": 10, "start_line": 159 }
FStar.Tactics.Effect.Tac
val inhabit : unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let inhabit () = let t = cur_goal () in match inspect t with | Tv_FVar fv -> let qn = inspect_fv fv in if qn = int_lid then exact (`42) else if qn = bool_lid then exact (`true) else if qn = unit_lid then exact (`()) else fail "" | _ -> fail ""
val inhabit : unit -> Tac unit let inhabit () =
true
null
false
let t = cur_goal () in match inspect t with | Tv_FVar fv -> let qn = inspect_fv fv in if qn = int_lid then exact (`42) else if qn = bool_lid then exact (`true) else if qn = unit_lid then exact (`()) else fail "" | _ -> fail ""
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[]
[ "Prims.unit", "FStar.Reflection.Types.fv", "Prims.op_Equality", "Prims.list", "Prims.string", "FStar.Reflection.Const.int_lid", "FStar.Tactics.V2.Derived.exact", "Prims.bool", "FStar.Reflection.Const.bool_lid", "FStar.Reflection.Const.unit_lid", "FStar.Tactics.V2.Derived.fail", "FStar.Reflecti...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 inhabit : unit -> Tac unit
[]
FStar.Tactics.Simplifier.inhabit
{ "file_name": "ulib/FStar.Tactics.Simplifier.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": 18, "end_line": 203, "start_col": 16, "start_line": 194 }
FStar.Pervasives.Lemma
val fa_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((forall (x:a). p x) <==> (forall (x:a). q x))
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let fa_cong #a #p #q f = assert ((forall (x:a). p x) <==> (forall (x:a). q x)) by ( split(); let do1 () : Tac unit = let _ = l_intros () in let t = quote f in let x = nth_var (-1) in let bb = pose (mk_e_app t [binding_to_term x]) in () in iseq [do1; do1] )
val fa_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((forall (x:a). p x) <==> (forall (x:a). q x)) let fa_cong #a #p #q f =
false
null
true
FStar.Tactics.Effect.assert_by_tactic ((forall (x: a). p x) <==> (forall (x: a). q x)) (fun _ -> (); (split (); let do1 () : Tac unit = let _ = l_intros () in let t = quote f in let x = nth_var (- 1) in let bb = pose (mk_e_app t [binding_to_term x]) in ...
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[ "lemma" ]
[ "Prims.squash", "Prims.l_iff", "FStar.Tactics.Effect.assert_by_tactic", "Prims.l_Forall", "Prims.unit", "FStar.Tactics.V2.Derived.iseq", "Prims.Cons", "Prims.Nil", "FStar.Tactics.NamedView.binding", "FStar.Tactics.V2.Derived.pose", "FStar.Reflection.V2.Derived.mk_e_app", "FStar.Reflection.Type...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 fa_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((forall (x:a). p x) <==> (forall (x:a). q x))
[]
FStar.Tactics.Simplifier.fa_cong
{ "file_name": "ulib/FStar.Tactics.Simplifier.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
f: (x: a -> Prims.squash (p x <==> q x)) -> FStar.Pervasives.Lemma (ensures (forall (x: a). p x) <==> (forall (x: a). q x))
{ "end_col": 3, "end_line": 132, "start_col": 2, "start_line": 122 }
FStar.Pervasives.Lemma
val ex_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((exists (x:a). p x) <==> (exists (x:a). q x))
[ { "abbrev": false, "full_module": "FStar.Reflection.Const", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.V2.Formula", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": f...
false
let ex_cong #a #p #q f = assert ((exists (x:a). p x) <==> (exists (x:a). q x)) by (assume_safe (fun () -> split(); let do1 () : Tac unit = let [ex] = l_intros () in let (b, pf) = elim_exists (binding_to_term ex) in let t = quote f in let bb = pose (mk_e_app t [binding_to_term b]) in ...
val ex_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((exists (x:a). p x) <==> (exists (x:a). q x)) let ex_cong #a #p #q f =
false
null
true
FStar.Tactics.Effect.assert_by_tactic ((exists (x: a). p x) <==> (exists (x: a). q x)) (fun _ -> (); (assume_safe (fun () -> split (); let do1 () : Tac unit = let [ex] = l_intros () in let b, pf = elim_exists (binding_to_term ex) in ...
{ "checked_file": "FStar.Tactics.Simplifier.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V2.Formula.fst.checked", "FStar.Reflection.Const.fst.checked", "FStar.Pervasives.fsti.checked" ], "inter...
[ "lemma" ]
[ "Prims.squash", "Prims.l_iff", "FStar.Tactics.Effect.assert_by_tactic", "Prims.l_Exists", "Prims.unit", "FStar.Tactics.Effect.assume_safe", "FStar.Tactics.V2.Derived.iseq", "Prims.Cons", "Prims.Nil", "FStar.Tactics.NamedView.binding", "FStar.Tactics.V2.Derived.pose", "FStar.Reflection.V2.Deriv...
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Tactics.Simplifier.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 ex_cong (#a : Type) (#p #q : a -> Type) : (x:a -> squash (p x <==> q x)) -> Lemma ((exists (x:a). p x) <==> (exists (x:a). q x))
[]
FStar.Tactics.Simplifier.ex_cong
{ "file_name": "ulib/FStar.Tactics.Simplifier.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
f: (x: a -> Prims.squash (p x <==> q x)) -> FStar.Pervasives.Lemma (ensures (exists (x: a). p x) <==> (exists (x: a). q x))
{ "end_col": 4, "end_line": 148, "start_col": 2, "start_line": 138 }
Prims.Tot
val ex_proj1 : #a:Type -> #p:(a->Type) -> ex a p -> Tot (erased a)
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives",...
false
let ex_proj1 #a #p e = (elift1 (exists_proj1 #a #p)) e
val ex_proj1 : #a:Type -> #p:(a->Type) -> ex a p -> Tot (erased a) let ex_proj1 #a #p e =
false
null
false
(elift1 (exists_proj1 #a #p)) e
{ "checked_file": "FStar.ErasedLogic.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": false, "source_file": "FStar.ErasedLogic.fst" }
[ "total" ]
[ "FStar.ErasedLogic.ex", "FStar.Ghost.elift1", "Prims.l_Exists", "FStar.ErasedLogic.exists_proj1", "FStar.Ghost.erased" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.ErasedLogic.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 ex_proj1 : #a:Type -> #p:(a->Type) -> ex a p -> Tot (erased a)
[]
FStar.ErasedLogic.ex_proj1
{ "file_name": "ulib/legacy/FStar.ErasedLogic.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
e: FStar.ErasedLogic.ex a p -> FStar.Ghost.erased a
{ "end_col": 54, "end_line": 40, "start_col": 23, "start_line": 40 }
Prims.GTot
val gex_proj1 : #a:Type -> #p:(a->Type) -> (ex a p) -> GTot a
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives",...
false
let gex_proj1 #a #p e = (reveal (ex_proj1 e))
val gex_proj1 : #a:Type -> #p:(a->Type) -> (ex a p) -> GTot a let gex_proj1 #a #p e =
false
null
false
(reveal (ex_proj1 e))
{ "checked_file": "FStar.ErasedLogic.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": false, "source_file": "FStar.ErasedLogic.fst" }
[ "sometrivial" ]
[ "FStar.ErasedLogic.ex", "FStar.Ghost.reveal", "FStar.ErasedLogic.ex_proj1" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
false
false
FStar.ErasedLogic.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 gex_proj1 : #a:Type -> #p:(a->Type) -> (ex a p) -> GTot a
[]
FStar.ErasedLogic.gex_proj1
{ "file_name": "ulib/legacy/FStar.ErasedLogic.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
e: FStar.ErasedLogic.ex a p -> Prims.GTot a
{ "end_col": 45, "end_line": 44, "start_col": 24, "start_line": 44 }
FStar.Pervasives.Lemma
val is_unit: Prims.unit -> Lemma (S.is_unit emp equiv star)
[ { "abbrev": true, "full_module": "Steel.Semantics.Hoare.MST", "short_module": "S" }, { "abbrev": false, "full_module": "Steel.Memory", "short_module": null }, { "abbrev": false, "full_module": "Steel.Memory", "short_module": null }, { "abbrev": true, "full_mod...
false
let is_unit () : Lemma (S.is_unit emp equiv star) = let aux (y:slprop) : Lemma (star emp y `equiv` y /\ star y emp `equiv` y) = emp_unit y; star_commutative emp y in Classical.forall_intro aux
val is_unit: Prims.unit -> Lemma (S.is_unit emp equiv star) let is_unit () : Lemma (S.is_unit emp equiv star) =
false
null
true
let aux (y: slprop) : Lemma ((star emp y) `equiv` y /\ (star y emp) `equiv` y) = emp_unit y; star_commutative emp y in Classical.forall_intro aux
{ "checked_file": "Steel.Semantics.Instantiate.fst.checked", "dependencies": [ "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.Semanti...
[ "lemma" ]
[ "Prims.unit", "FStar.Classical.forall_intro", "Steel.Memory.slprop", "Prims.l_and", "Steel.Memory.equiv", "Steel.Memory.star", "Steel.Memory.emp", "Prims.l_True", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern", "Steel.Memory.star_commutative", "Steel.Memory.emp_unit", "Steel.Seman...
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.Semantics.Instantiate.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 is_unit: Prims.unit -> Lemma (S.is_unit emp equiv star)
[]
Steel.Semantics.Instantiate.is_unit
{ "file_name": "lib/steel/Steel.Semantics.Instantiate.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Steel.Semantics.Hoare.MST.is_unit Steel.Memory.emp Steel.Memory.equiv Steel.Memory.star )
{ "end_col": 30, "end_line": 27, "start_col": 3, "start_line": 23 }
FStar.Pervasives.Lemma
val state_obeys_st_laws (uses:inames) : Lemma (S.st_laws (state0 uses))
[ { "abbrev": false, "full_module": "Steel.Memory", "short_module": null }, { "abbrev": true, "full_module": "Steel.Semantics.Hoare.MST", "short_module": "S" }, { "abbrev": false, "full_module": "Steel.Semantics", "short_module": null }, { "abbrev": false, "full...
false
let state_obeys_st_laws uses = Classical.forall_intro_3 star_associative; Classical.forall_intro_2 star_commutative; is_unit (); FStar.Classical.forall_intro_3 disjoint_join; let aux (m0 m1:mem) : Lemma (requires disjoint m0 m1) (ensures join m0 m1 == join m1 m0) [SMTPat (disjoint ...
val state_obeys_st_laws (uses:inames) : Lemma (S.st_laws (state0 uses)) let state_obeys_st_laws uses =
false
null
true
Classical.forall_intro_3 star_associative; Classical.forall_intro_2 star_commutative; is_unit (); FStar.Classical.forall_intro_3 disjoint_join; let aux (m0 m1: mem) : Lemma (requires disjoint m0 m1) (ensures join m0 m1 == join m1 m0) [SMTPat (disjoint m0 m1)] = join_commutative m0 m1 in let aux (m0 m1 m2: mem) ...
{ "checked_file": "Steel.Semantics.Instantiate.fst.checked", "dependencies": [ "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.Semanti...
[ "lemma" ]
[ "Steel.Memory.inames", "Steel.Memory.slprop", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.l_imp", "Steel.Memory.equiv", "Steel.Memory.star", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil", "Steel.Memory.equiv_extensional_on_star", "Steel.Memory.m...
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.Semantics.Instantiate.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 state_obeys_st_laws (uses:inames) : Lemma (S.st_laws (state0 uses))
[]
Steel.Semantics.Instantiate.state_obeys_st_laws
{ "file_name": "lib/steel/Steel.Semantics.Instantiate.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
uses: Steel.Memory.inames -> FStar.Pervasives.Lemma (ensures Steel.Semantics.Hoare.MST.st_laws (Steel.Semantics.Instantiate.state0 uses))
{ "end_col": 4, "end_line": 57, "start_col": 2, "start_line": 31 }
FStar.Pervasives.Lemma
val state_correspondence (inames:inames) : Lemma (let s = state_uses inames in s.S.hprop == slprop /\ s.S.mem == mem /\ s.S.interp == interp /\ s.S.star == star /\ s.S.locks_invariant == locks_invariant inames /\ (forall (p q frame:slprop) (m0:mem{interp (p `star` frame `star...
[ { "abbrev": false, "full_module": "Steel.Memory", "short_module": null }, { "abbrev": true, "full_module": "Steel.Semantics.Hoare.MST", "short_module": "S" }, { "abbrev": false, "full_module": "Steel.Semantics", "short_module": null }, { "abbrev": false, "full...
false
let state_correspondence inames = let s = state_uses inames in assert_norm (s.S.hprop == slprop) ; assert_norm (s.S.mem == mem) ; assert_norm (s.S.interp == interp); assert_norm (s.S.star == star); assert_norm (s.S.locks_invariant == locks_invariant inames)
val state_correspondence (inames:inames) : Lemma (let s = state_uses inames in s.S.hprop == slprop /\ s.S.mem == mem /\ s.S.interp == interp /\ s.S.star == star /\ s.S.locks_invariant == locks_invariant inames /\ (forall (p q frame:slprop) (m0:mem{interp (p `star` frame `star...
false
null
true
let s = state_uses inames in assert_norm (s.S.hprop == slprop); assert_norm (s.S.mem == mem); assert_norm (s.S.interp == interp); assert_norm (s.S.star == star); assert_norm (s.S.locks_invariant == locks_invariant inames)
{ "checked_file": "Steel.Semantics.Instantiate.fst.checked", "dependencies": [ "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.Semanti...
[ "lemma" ]
[ "Steel.Memory.inames", "FStar.Pervasives.assert_norm", "Prims.eq2", "Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem", "Steel.Memory.slprop", "Steel.Semantics.Hoare.MST.__proj__Mkst0__item__locks_invariant", "Steel.Memory.locks_invariant", "Prims.unit", "Steel.Semantics.Hoare.MST.__proj__Mkst0__i...
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.Semantics.Instantiate.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 state_correspondence (inames:inames) : Lemma (let s = state_uses inames in s.S.hprop == slprop /\ s.S.mem == mem /\ s.S.interp == interp /\ s.S.star == star /\ s.S.locks_invariant == locks_invariant inames /\ (forall (p q frame:slprop) (m0:mem{interp (p `star` frame `star...
[]
Steel.Semantics.Instantiate.state_correspondence
{ "file_name": "lib/steel/Steel.Semantics.Instantiate.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
inames: Steel.Memory.inames -> FStar.Pervasives.Lemma (ensures (let s = Steel.Semantics.Instantiate.state_uses inames in Mkst0?.hprop s == Steel.Memory.slprop /\ Mkst0?.mem s == Steel.Memory.mem /\ Mkst0?.interp s == Steel.Memory.interp /\ Mkst0?.star s == Steel.Memory.star /\ Mkst0?...
{ "end_col": 63, "end_line": 66, "start_col": 33, "start_line": 60 }
Prims.Tot
val is_aes_key_word (alg: algorithm) (s: seq nat32) : prop0
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let is_aes_key_word (alg:algorithm) (s:seq nat32) : prop0 = length s == nk alg
val is_aes_key_word (alg: algorithm) (s: seq nat32) : prop0 let is_aes_key_word (alg: algorithm) (s: seq nat32) : prop0 =
false
null
false
length s == nk alg
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "Vale.AES.AES_common_s.nk", "Vale.Def.Prop_s.prop0" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
true
Vale.AES.AES_BE_s.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 is_aes_key_word (alg: algorithm) (s: seq nat32) : prop0
[]
Vale.AES.AES_BE_s.is_aes_key_word
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> s: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> Vale.Def.Prop_s.prop0
{ "end_col": 78, "end_line": 29, "start_col": 60, "start_line": 29 }
FStar.Pervasives.Lemma
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_rounds_reveal = opaque_revealer (`%eval_rounds) eval_rounds eval_rounds_def
let eval_rounds_reveal =
false
null
true
opaque_revealer (`%eval_rounds) eval_rounds eval_rounds_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "lemma" ]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Vale.AES.AES_BE_s.eval_rounds", "Vale.AES.AES_BE_s.eval_rounds_def" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_rounds_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.eval_rounds == Vale.AES.AES_BE_s.eval_rounds_def)
[]
Vale.AES.AES_BE_s.eval_rounds_reveal
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.eval_rounds == Vale.AES.AES_BE_s.eval_rounds_def)
{ "end_col": 96, "end_line": 45, "start_col": 37, "start_line": 45 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_round (state round_key:quad32) = let s = sub_bytes state in let s = shift_rows s in let s = mix_columns s in let s = quad32_xor s round_key in s
let eval_round (state round_key: quad32) =
false
null
false
let s = sub_bytes state in let s = shift_rows s in let s = mix_columns s in let s = quad32_xor s round_key in s
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.Def.Types_s.quad32", "Vale.Def.Types_s.quad32_xor", "Vale.AES.AES_BE_s.mix_columns", "Vale.AES.AES_BE_s.shift_rows", "Vale.AES.AES_common_s.sub_bytes" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
true
Vale.AES.AES_BE_s.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 eval_round : state: Vale.Def.Types_s.quad32 -> round_key: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
[]
Vale.AES.AES_BE_s.eval_round
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
state: Vale.Def.Types_s.quad32 -> round_key: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
{ "end_col": 3, "end_line": 37, "start_col": 41, "start_line": 32 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_rounds = opaque_make eval_rounds_def
let eval_rounds =
false
null
false
opaque_make eval_rounds_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Vale.AES.AES_BE_s.eval_rounds_def" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_rounds : _: Vale.Def.Types_s.quad32 -> _: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> _: n: Prims.nat{n < FStar.Seq.Base.length _} -> Vale.Def.Types_s.quad32
[]
Vale.AES.AES_BE_s.eval_rounds
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Vale.Def.Types_s.quad32 -> _: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> _: n: Prims.nat{n < FStar.Seq.Base.length _} -> Vale.Def.Types_s.quad32
{ "end_col": 64, "end_line": 44, "start_col": 37, "start_line": 44 }
FStar.Pervasives.Lemma
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_cipher_reveal = opaque_revealer (`%eval_cipher) eval_cipher eval_cipher_def
let eval_cipher_reveal =
false
null
true
opaque_revealer (`%eval_cipher) eval_cipher eval_cipher_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "lemma" ]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.AES.AES_common_s.algorithm", "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "Prims.l_True", "Vale.AES.AES_BE_s.eval_cipher", "Vale.AES.AES_BE_s.eval_...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_cipher_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.eval_cipher == Vale.AES.AES_BE_s.eval_cipher_def)
[]
Vale.AES.AES_BE_s.eval_cipher_reveal
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.eval_cipher == Vale.AES.AES_BE_s.eval_cipher_def)
{ "end_col": 96, "end_line": 58, "start_col": 37, "start_line": 58 }
Prims.Pure
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let aes_encrypt_word = opaque_make aes_encrypt_word_def
let aes_encrypt_word =
false
null
false
opaque_make aes_encrypt_word_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Vale.Def.Types_s.quad32", "Vale.AES.AES_BE_s.is_aes_key_word", "Prims.l_True", "Vale.AES.AES_BE_s.aes_encrypt_word_def" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 aes_encrypt_word : alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> input: Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
[]
Vale.AES.AES_BE_s.aes_encrypt_word
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> input: Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
{ "end_col": 74, "end_line": 101, "start_col": 42, "start_line": 101 }
Prims.Pure
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_cipher = opaque_make eval_cipher_def
let eval_cipher =
false
null
false
opaque_make eval_cipher_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.AES.AES_common_s.algorithm", "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Prims.eq2", "Prims.int", "FStar.Seq.Base.length", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "Prims.l_True", "Vale.AES.AES_BE_s.eval_cipher_def" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_cipher : alg: Vale.AES.AES_common_s.algorithm -> input: Vale.Def.Types_s.quad32 -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
[]
Vale.AES.AES_BE_s.eval_cipher
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> input: Vale.Def.Types_s.quad32 -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
{ "end_col": 64, "end_line": 57, "start_col": 37, "start_line": 57 }
FStar.Pervasives.Lemma
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let expand_key_reveal = opaque_revealer (`%expand_key) expand_key expand_key_def
let expand_key_reveal =
false
null
true
opaque_revealer (`%expand_key) expand_key expand_key_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "lemma" ]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.AES.AES_common_s.algorithm", "Vale.AES.AES_BE_s.aes_key_word", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Vale.AES.AES_common_s.nb", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "FStar.Seq.Base.seq", "Vale.Def.Type...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 expand_key_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.expand_key == Vale.AES.AES_BE_s.expand_key_def)
[]
Vale.AES.AES_BE_s.expand_key_reveal
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.expand_key == Vale.AES.AES_BE_s.expand_key_def)
{ "end_col": 92, "end_line": 79, "start_col": 36, "start_line": 79 }
FStar.Pervasives.Lemma
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let aes_encrypt_word_reveal = opaque_revealer (`%aes_encrypt_word) aes_encrypt_word aes_encrypt_word_def
let aes_encrypt_word_reveal =
false
null
true
opaque_revealer (`%aes_encrypt_word) aes_encrypt_word aes_encrypt_word_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "lemma" ]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Vale.Def.Types_s.quad32", "Vale.AES.AES_BE_s.is_aes_key_word", "Prims.l_True", "Vale.AES.AES_BE_s.aes_encrypt_word", "Vale.AES.AES_BE_s.aes_encrypt_word_def" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 aes_encrypt_word_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.aes_encrypt_word == Vale.AES.AES_BE_s.aes_encrypt_word_def)
[]
Vale.AES.AES_BE_s.aes_encrypt_word_reveal
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.AES.AES_BE_s.aes_encrypt_word == Vale.AES.AES_BE_s.aes_encrypt_word_def)
{ "end_col": 116, "end_line": 102, "start_col": 42, "start_line": 102 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let expand_key = opaque_make expand_key_def
let expand_key =
false
null
false
opaque_make expand_key_def
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.AES.AES_common_s.algorithm", "Vale.AES.AES_BE_s.aes_key_word", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Vale.AES.AES_common_s.nb", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "FStar.Seq.Base.seq", "Vale.Def.Types_s....
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 expand_key : _: Vale.AES.AES_common_s.algorithm -> _: Vale.AES.AES_BE_s.aes_key_word _ -> _: size: Prims.nat{size <= Vale.AES.AES_common_s.nb * (Vale.AES.AES_common_s.nr _ + 1)} -> ek: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 {FStar.Seq.Base.length ek == _}
[]
Vale.AES.AES_BE_s.expand_key
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Vale.AES.AES_common_s.algorithm -> _: Vale.AES.AES_BE_s.aes_key_word _ -> _: size: Prims.nat{size <= Vale.AES.AES_common_s.nb * (Vale.AES.AES_common_s.nr _ + 1)} -> ek: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 {FStar.Seq.Base.length ek == _}
{ "end_col": 62, "end_line": 78, "start_col": 36, "start_line": 78 }
Prims.Pure
val aes_encrypt_word_def (alg: algorithm) (key: seq nat32) (input: quad32) : Pure quad32 (requires is_aes_key_word alg key) (ensures fun _ -> True)
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let aes_encrypt_word_def (alg:algorithm) (key:seq nat32) (input:quad32) : Pure quad32 (requires is_aes_key_word alg key) (ensures fun _ -> True) = eval_cipher_def alg input (key_to_round_keys_word alg key)
val aes_encrypt_word_def (alg: algorithm) (key: seq nat32) (input: quad32) : Pure quad32 (requires is_aes_key_word alg key) (ensures fun _ -> True) let aes_encrypt_word_def (alg: algorithm) (key: seq nat32) (input: quad32) : Pure quad32 (requires is_aes_key_word alg key) (ensures fun _ -> True) =
false
null
false
eval_cipher_def alg input (key_to_round_keys_word alg key)
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Vale.Def.Types_s.quad32", "Vale.AES.AES_BE_s.eval_cipher_def", "Vale.AES.AES_BE_s.key_to_round_keys_word", "Vale.AES.AES_BE_s.is_aes_key_word", "Prims.l_True" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 aes_encrypt_word_def (alg: algorithm) (key: seq nat32) (input: quad32) : Pure quad32 (requires is_aes_key_word alg key) (ensures fun _ -> True)
[]
Vale.AES.AES_BE_s.aes_encrypt_word_def
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> input: Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
{ "end_col": 60, "end_line": 100, "start_col": 2, "start_line": 100 }
Prims.Pure
val key_to_round_keys_word (alg: algorithm) (key: seq nat32) : Pure (seq quad32) (requires is_aes_key_word alg key) (ensures fun round_keys -> length round_keys == nr alg + 1)
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let key_to_round_keys_word (alg:algorithm) (key:seq nat32) : Pure (seq quad32) (requires is_aes_key_word alg key) (ensures fun round_keys -> length round_keys == nr alg + 1) = key_schedule_to_round_keys (nr alg + 1) (expand_key alg key (nb * (nr alg + 1)))
val key_to_round_keys_word (alg: algorithm) (key: seq nat32) : Pure (seq quad32) (requires is_aes_key_word alg key) (ensures fun round_keys -> length round_keys == nr alg + 1) let key_to_round_keys_word (alg: algorithm) (key: seq nat32) : Pure (seq quad32) (requires is_aes_key_word alg key) ...
false
null
false
key_schedule_to_round_keys (nr alg + 1) (expand_key alg key (nb * (nr alg + 1)))
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Vale.AES.AES_BE_s.key_schedule_to_round_keys", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "Vale.AES.AES_BE_s.expand_key", "FStar.Mul.op_Star", "Vale.AES.AES_common_s.nb", "Vale.Def.Types_s.quad32", "Vale.AE...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 key_to_round_keys_word (alg: algorithm) (key: seq nat32) : Pure (seq quad32) (requires is_aes_key_word alg key) (ensures fun round_keys -> length round_keys == nr alg + 1)
[]
Vale.AES.AES_BE_s.key_to_round_keys_word
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> Prims.Pure (FStar.Seq.Base.seq Vale.Def.Types_s.quad32)
{ "end_col": 82, "end_line": 94, "start_col": 2, "start_line": 94 }
Prims.Tot
val eval_rounds_def (init: quad32) (round_keys: seq quad32) (n: nat{n < length round_keys}) : quad32
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let rec eval_rounds_def (init:quad32) (round_keys:seq quad32) (n:nat{n < length round_keys}) : quad32 = if n = 0 then init else eval_round (eval_rounds_def init round_keys (n - 1)) (index round_keys n)
val eval_rounds_def (init: quad32) (round_keys: seq quad32) (n: nat{n < length round_keys}) : quad32 let rec eval_rounds_def (init: quad32) (round_keys: seq quad32) (n: nat{n < length round_keys}) : quad32 =
false
null
false
if n = 0 then init else eval_round (eval_rounds_def init round_keys (n - 1)) (index round_keys n)
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "Prims.op_Equality", "Prims.int", "Prims.bool", "Vale.AES.AES_BE_s.eval_round", "Vale.AES.AES_BE_s.eval_rounds_def", "Prims.op_Subtraction", "FStar.Seq.Base.index" ]
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_rounds_def (init: quad32) (round_keys: seq quad32) (n: nat{n < length round_keys}) : quad32
[ "recursion" ]
Vale.AES.AES_BE_s.eval_rounds_def
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
init: Vale.Def.Types_s.quad32 -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> n: Prims.nat{n < FStar.Seq.Base.length round_keys} -> Vale.Def.Types_s.quad32
{ "end_col": 77, "end_line": 43, "start_col": 2, "start_line": 40 }
Prims.Tot
val key_schedule_to_round_keys (rounds: nat) (w: seq nat32 {length w >= 4 * rounds}) : (round_keys: seq quad32 {length round_keys == rounds})
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let rec key_schedule_to_round_keys (rounds:nat) (w:seq nat32 {length w >= 4 * rounds}) : (round_keys:seq quad32 {length round_keys == rounds}) = if rounds = 0 then empty else let round_keys = key_schedule_to_round_keys (rounds - 1) w in let rk = Mkfour (index w (4 * rounds - 1)) (index w (4 * rounds - 2))...
val key_schedule_to_round_keys (rounds: nat) (w: seq nat32 {length w >= 4 * rounds}) : (round_keys: seq quad32 {length round_keys == rounds}) let rec key_schedule_to_round_keys (rounds: nat) (w: seq nat32 {length w >= 4 * rounds}) : (round_keys: seq quad32 {length round_keys == rounds}) =
false
null
false
if rounds = 0 then empty else let round_keys = key_schedule_to_round_keys (rounds - 1) w in let rk = Mkfour (index w (4 * rounds - 1)) (index w (4 * rounds - 2)) (index w (4 * rounds - 3)) (index w (4 * rounds - 4)) in append round_keys (create 1 rk)
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Prims.nat", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat32", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Seq.Base.length", "FStar.Mul.op_Star", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.empty", "Vale.Def.Types_s.quad32", "Prims.bool", "FStar.Seq.Base.append", "FStar.Seq.Base...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 key_schedule_to_round_keys (rounds: nat) (w: seq nat32 {length w >= 4 * rounds}) : (round_keys: seq quad32 {length round_keys == rounds})
[ "recursion" ]
Vale.AES.AES_BE_s.key_schedule_to_round_keys
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
rounds: Prims.nat -> w: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 {FStar.Seq.Base.length w >= 4 * rounds} -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 {FStar.Seq.Base.length round_keys == rounds}
{ "end_col": 35, "end_line": 87, "start_col": 2, "start_line": 83 }
Prims.Tot
val aes_encrypt (alg: algorithm) (key: aes_key alg) (input: seq16 nat8) : seq16 nat8
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let aes_encrypt (alg:algorithm) (key:aes_key alg) (input:seq16 nat8) : seq16 nat8 = let key_word = seq_nat8_to_seq_nat32_BE key in let input = be_bytes_to_quad32 input in be_quad32_to_bytes (aes_encrypt_word alg key_word input)
val aes_encrypt (alg: algorithm) (key: aes_key alg) (input: seq16 nat8) : seq16 nat8 let aes_encrypt (alg: algorithm) (key: aes_key alg) (input: seq16 nat8) : seq16 nat8 =
false
null
false
let key_word = seq_nat8_to_seq_nat32_BE key in let input = be_bytes_to_quad32 input in be_quad32_to_bytes (aes_encrypt_word alg key_word input)
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.AES.AES_common_s.algorithm", "Vale.AES.AES_common_s.aes_key", "Vale.Def.Words.Seq_s.seq16", "Vale.Def.Types_s.nat8", "Vale.Arch.Types.be_quad32_to_bytes", "Vale.AES.AES_BE_s.aes_encrypt_word", "Vale.Def.Types_s.quad32", "Vale.Def.Types_s.be_bytes_to_quad32", "FStar.Seq.Base.seq", "Vale.Def.W...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 aes_encrypt (alg: algorithm) (key: aes_key alg) (input: seq16 nat8) : seq16 nat8
[]
Vale.AES.AES_BE_s.aes_encrypt
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: Vale.AES.AES_common_s.aes_key alg -> input: Vale.Def.Words.Seq_s.seq16 Vale.Def.Types_s.nat8 -> Vale.Def.Words.Seq_s.seq16 Vale.Def.Types_s.nat8
{ "end_col": 58, "end_line": 114, "start_col": 83, "start_line": 111 }
Prims.Tot
val expand_key_def (alg: algorithm) (key: aes_key_word alg) (size: nat{size <= (nb * ((nr alg) + 1))}) : (ek: seq nat32 {length ek == size})
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let rec expand_key_def (alg:algorithm) (key:aes_key_word alg) (size:nat{size <= (nb * ((nr alg) + 1))}) : (ek:seq nat32 {length ek == size}) = if size = 0 then empty else let w = expand_key_def alg key (size - 1) in let i = size - 1 in if 0 <= i && i < nk alg then append w (create 1 (index key i...
val expand_key_def (alg: algorithm) (key: aes_key_word alg) (size: nat{size <= (nb * ((nr alg) + 1))}) : (ek: seq nat32 {length ek == size}) let rec expand_key_def (alg: algorithm) (key: aes_key_word alg) (size: nat{size <= (nb * ((nr alg) + 1))}) : (ek: seq nat32 {length ek ...
false
null
false
if size = 0 then empty else let w = expand_key_def alg key (size - 1) in let i = size - 1 in if 0 <= i && i < nk alg then append w (create 1 (index key i)) else let temp = if i % (nk alg) = 0 then nat32_xor (sub_word (rot_word (index w (i - 1)))) (aes_rcon ((i / (nk alg)) - 1)) else if n...
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.AES.AES_common_s.algorithm", "Vale.AES.AES_BE_s.aes_key_word", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Vale.AES.AES_common_s.nb", "Prims.op_Addition", "Vale.AES.AES_common_s.nr", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.empty", "Vale.Def.Typ...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 expand_key_def (alg: algorithm) (key: aes_key_word alg) (size: nat{size <= (nb * ((nr alg) + 1))}) : (ek: seq nat32 {length ek == size})
[ "recursion" ]
Vale.AES.AES_BE_s.expand_key_def
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: Vale.AES.AES_BE_s.aes_key_word alg -> size: Prims.nat{size <= Vale.AES.AES_common_s.nb * (Vale.AES.AES_common_s.nr alg + 1)} -> ek: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 {FStar.Seq.Base.length ek == size}
{ "end_col": 67, "end_line": 77, "start_col": 2, "start_line": 62 }
Prims.Tot
val key_to_round_keys (alg: algorithm) (key: aes_key alg) : (round_keys: seq nat8 {length round_keys == 16 * (nr alg + 1)})
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let key_to_round_keys (alg:algorithm) (key:aes_key alg) : (round_keys:seq nat8 {length round_keys == 16 * (nr alg + 1)}) = let key_word = seq_nat8_to_seq_nat32_BE key in seq_nat32_to_seq_nat8_BE (seq_four_to_seq_BE (key_to_round_keys_word alg key_word))
val key_to_round_keys (alg: algorithm) (key: aes_key alg) : (round_keys: seq nat8 {length round_keys == 16 * (nr alg + 1)}) let key_to_round_keys (alg: algorithm) (key: aes_key alg) : (round_keys: seq nat8 {length round_keys == 16 * (nr alg + 1)}) =
false
null
false
let key_word = seq_nat8_to_seq_nat32_BE key in seq_nat32_to_seq_nat8_BE (seq_four_to_seq_BE (key_to_round_keys_word alg key_word))
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "total" ]
[ "Vale.AES.AES_common_s.algorithm", "Vale.AES.AES_common_s.aes_key", "Vale.Def.Words.Seq_s.seq_nat32_to_seq_nat8_BE", "Vale.Def.Words.Seq_s.seq_four_to_seq_BE", "Vale.Def.Types_s.nat32", "Vale.AES.AES_BE_s.key_to_round_keys_word", "FStar.Seq.Base.seq", "Vale.Def.Words_s.nat32", "Vale.Def.Words.Seq_s....
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 key_to_round_keys (alg: algorithm) (key: aes_key alg) : (round_keys: seq nat8 {length round_keys == 16 * (nr alg + 1)})
[]
Vale.AES.AES_BE_s.key_to_round_keys
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: Vale.AES.AES_common_s.aes_key alg -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 {FStar.Seq.Base.length round_keys == 16 * (Vale.AES.AES_common_s.nr alg + 1)}
{ "end_col": 85, "end_line": 108, "start_col": 68, "start_line": 106 }
Prims.Pure
val eval_cipher_def (alg: algorithm) (input: quad32) (round_keys: seq quad32) : Pure quad32 (requires length round_keys == nr alg + 1) (ensures fun _ -> True)
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let eval_cipher_def (alg:algorithm) (input:quad32) (round_keys:seq quad32) : Pure quad32 (requires length round_keys == nr alg + 1) (ensures fun _ -> True) = let state = quad32_xor input (index round_keys 0) in let state = eval_rounds_def state round_keys (nr alg - 1) in let state = sub_bytes state in let...
val eval_cipher_def (alg: algorithm) (input: quad32) (round_keys: seq quad32) : Pure quad32 (requires length round_keys == nr alg + 1) (ensures fun _ -> True) let eval_cipher_def (alg: algorithm) (input: quad32) (round_keys: seq quad32) : Pure quad32 (requires length round_keys == nr alg + 1) (ensures fun _ -> ...
false
null
false
let state = quad32_xor input (index round_keys 0) in let state = eval_rounds_def state round_keys (nr alg - 1) in let state = sub_bytes state in let state = shift_rows state in let state = quad32_xor state (index round_keys (nr alg)) in state
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[]
[ "Vale.AES.AES_common_s.algorithm", "Vale.Def.Types_s.quad32", "FStar.Seq.Base.seq", "Vale.Def.Types_s.quad32_xor", "FStar.Seq.Base.index", "Vale.AES.AES_common_s.nr", "Vale.AES.AES_BE_s.shift_rows", "Vale.AES.AES_common_s.sub_bytes", "Vale.AES.AES_BE_s.eval_rounds_def", "Prims.op_Subtraction", "...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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 eval_cipher_def (alg: algorithm) (input: quad32) (round_keys: seq quad32) : Pure quad32 (requires length round_keys == nr alg + 1) (ensures fun _ -> True)
[]
Vale.AES.AES_BE_s.eval_cipher_def
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> input: Vale.Def.Types_s.quad32 -> round_keys: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> Prims.Pure Vale.Def.Types_s.quad32
{ "end_col": 7, "end_line": 56, "start_col": 3, "start_line": 50 }
FStar.Pervasives.Lemma
val lemma_shl_rcon (rcon: nat8) : Lemma (ishl32 rcon 16 == ishl64 rcon 16 % pow2_32)
[ { "abbrev": false, "full_module": "Vale.AES.AES_common_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "...
false
let lemma_shl_rcon (rcon:nat8) : Lemma (ishl32 rcon 16 == ishl64 rcon 16 % pow2_32) = Vale.Def.TypesNative_s.reveal_ishl 32 rcon 16; FStar.UInt.shift_left_value_lemma #32 rcon 16; Vale.Def.TypesNative_s.reveal_ishl 64 rcon 16; FStar.UInt.shift_left_value_lemma #64 rcon 16
val lemma_shl_rcon (rcon: nat8) : Lemma (ishl32 rcon 16 == ishl64 rcon 16 % pow2_32) let lemma_shl_rcon (rcon: nat8) : Lemma (ishl32 rcon 16 == ishl64 rcon 16 % pow2_32) =
false
null
true
Vale.Def.TypesNative_s.reveal_ishl 32 rcon 16; FStar.UInt.shift_left_value_lemma #32 rcon 16; Vale.Def.TypesNative_s.reveal_ishl 64 rcon 16; FStar.UInt.shift_left_value_lemma #64 rcon 16
{ "checked_file": "Vale.AES.AES_BE_s.fst.checked", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.TypesNative_s.fst.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Prop_s.fst.checked", "Vale.Def....
[ "lemma" ]
[ "Vale.Def.Types_s.nat8", "FStar.UInt.shift_left_value_lemma", "Prims.unit", "Vale.Def.TypesNative_s.reveal_ishl", "Prims.l_True", "Prims.squash", "Prims.eq2", "Prims.int", "Vale.Arch.Types.ishl32", "Prims.op_Modulus", "Vale.Arch.Types.ishl64", "Vale.Def.Words_s.pow2_32", "Prims.Nil", "FSta...
[]
module Vale.AES.AES_BE_s // IMPORTANT: This specification is written assuming a big-endian mapping from bytes to quad32s // This is explicit in key_schedule_to_round_keys when we construct the round_key rk, // but it also applies implicitly to the input quad32 open Vale.Def.Prop_s open Vale.Def....
false
false
Vale.AES.AES_BE_s.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_shl_rcon (rcon: nat8) : Lemma (ishl32 rcon 16 == ishl64 rcon 16 % pow2_32)
[]
Vale.AES.AES_BE_s.lemma_shl_rcon
{ "file_name": "vale/specs/crypto/Vale.AES.AES_BE_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
rcon: Vale.Def.Types_s.nat8 -> FStar.Pervasives.Lemma (ensures Vale.Arch.Types.ishl32 rcon 16 == Vale.Arch.Types.ishl64 rcon 16 % Vale.Def.Words_s.pow2_32)
{ "end_col": 47, "end_line": 121, "start_col": 2, "start_line": 118 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Fold", "short_module": "CF" }, { ...
false
let double_fold #c #eq #a0 (#ak: not_less_than a0) #b0 (#bk:not_less_than b0) (cm: CE.cm c eq) (g: ifrom_ito a0 ak -> ifrom_ito b0 bk -> c) = CF.fold cm a0 ak (fun (i: ifrom_ito a0 ak) -> CF.fold cm b0 bk (g i))
let double_fold #c #eq #a0 (#ak: not_less_than a0) #b0 (#bk: not_less_than b0) (cm: CE.cm c eq) (g: (ifrom_ito a0 ak -> ifrom_ito b0 bk -> c)) =
false
null
false
CF.fold cm a0 ak (fun (i: ifrom_ito a0 ak) -> CF.fold cm b0 bk (g i))
{ "checked_file": "FStar.Algebra.CommMonoid.Fold.Nested.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommMonoid.Fold.fsti.checked", "FStar.Algebra.CommMonoid.Equiv.fst.checked" ], "interface_file":...
[ "total" ]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.Algebra.CommMonoid.Equiv.cm", "FStar.IntegerIntervals.ifrom_ito", "FStar.Algebra.CommMonoid.Fold.fold" ]
[]
(* Copyright 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law...
false
false
FStar.Algebra.CommMonoid.Fold.Nested.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 double_fold : cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> g: (_: FStar.IntegerIntervals.ifrom_ito a0 ak -> _: FStar.IntegerIntervals.ifrom_ito b0 bk -> c) -> c
[]
FStar.Algebra.CommMonoid.Fold.Nested.double_fold
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.Nested.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> g: (_: FStar.IntegerIntervals.ifrom_ito a0 ak -> _: FStar.IntegerIntervals.ifrom_ito b0 bk -> c) -> c
{ "end_col": 71, "end_line": 46, "start_col": 2, "start_line": 46 }
Prims.Tot
val transpose_generator (#c: _) (#m0 #mk #n0 #nk: int) (gen: (ifrom_ito m0 mk -> ifrom_ito n0 nk -> c)) : (f: (ifrom_ito n0 nk -> ifrom_ito m0 mk -> c){forall i j. f j i == gen i j})
[ { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Equiv", "short_module": "CE" }, { "abbrev": true, "full_module": "FStar.Algebra.CommMonoid.Fold", "short_module": "CF" }, { ...
false
let transpose_generator #c (#m0 #mk: int) (#n0 #nk: int) (gen: ifrom_ito m0 mk -> ifrom_ito n0 nk -> c) : (f: (ifrom_ito n0 nk -> ifrom_ito m0 mk -> c) { forall i j. f j i == gen i j }) = fun j i -> gen i j
val transpose_generator (#c: _) (#m0 #mk #n0 #nk: int) (gen: (ifrom_ito m0 mk -> ifrom_ito n0 nk -> c)) : (f: (ifrom_ito n0 nk -> ifrom_ito m0 mk -> c){forall i j. f j i == gen i j}) let transpose_generator #c (#m0: int) (#mk: int) (#n0: int) (#nk: int) (gen: (i...
false
null
false
fun j i -> gen i j
{ "checked_file": "FStar.Algebra.CommMonoid.Fold.Nested.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommMonoid.Fold.fsti.checked", "FStar.Algebra.CommMonoid.Equiv.fst.checked" ], "interface_file":...
[ "total" ]
[ "Prims.int", "FStar.IntegerIntervals.ifrom_ito", "Prims.l_Forall", "Prims.eq2" ]
[]
(* Copyright 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law...
false
false
FStar.Algebra.CommMonoid.Fold.Nested.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 transpose_generator (#c: _) (#m0 #mk #n0 #nk: int) (gen: (ifrom_ito m0 mk -> ifrom_ito n0 nk -> c)) : (f: (ifrom_ito n0 nk -> ifrom_ito m0 mk -> c){forall i j. f j i == gen i j})
[]
FStar.Algebra.CommMonoid.Fold.Nested.transpose_generator
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.Nested.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
gen: (_: FStar.IntegerIntervals.ifrom_ito m0 mk -> _: FStar.IntegerIntervals.ifrom_ito n0 nk -> c) -> f: (_: FStar.IntegerIntervals.ifrom_ito n0 nk -> _: FStar.IntegerIntervals.ifrom_ito m0 mk -> c) { forall (i: FStar.IntegerIntervals.ifrom_ito m0 mk) (j: FStar.IntegerIntervals.ifrom_ito n0 nk). ...
{ "end_col": 22, "end_line": 41, "start_col": 4, "start_line": 41 }
Prims.Tot
val va_quick_Loop (in_b k_b: buffer128) : (va_quickCode unit (va_code_Loop ()))
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.SHA.PPC64LE.Rounds", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full...
false
let va_quick_Loop (in_b:buffer128) (k_b:buffer128) : (va_quickCode unit (va_code_Loop ())) = (va_QProc (va_code_Loop ()) ([va_Mod_vec 31; va_Mod_vec 30; va_Mod_vec 29; va_Mod_vec 28; va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_...
val va_quick_Loop (in_b k_b: buffer128) : (va_quickCode unit (va_code_Loop ())) let va_quick_Loop (in_b k_b: buffer128) : (va_quickCode unit (va_code_Loop ())) =
false
null
false
(va_QProc (va_code_Loop ()) ([ va_Mod_vec 31; va_Mod_vec 30; va_Mod_vec 29; va_Mod_vec 28; va_Mod_vec 26; va_Mod_vec 25; va_Mod_vec 24; va_Mod_vec 23; va_Mod_vec 22; va_Mod_vec 21; va_Mod_vec 20; va_Mod_vec 19; va_Mod_vec 18; va_Mod_vec 17; va_Mod_vec 16; va_Mod_vec 15; va_Mod_vec 14; va_Mod...
{ "checked_file": "Vale.SHA.PPC64LE.Loop.fsti.checked", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.SHA.PPC64LE.Rounds.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fs...
[ "total" ]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.QuickCode.va_QProc", "Prims.unit", "Vale.SHA.PPC64LE.Loop.va_code_Loop", "Prims.Cons", "Vale.PPC64LE.QuickCode.mod_t", "Vale.PPC64LE.QuickCode.va_Mod_vec", "Vale.PPC64LE.QuickCode.va_Mod_cr0", "Vale.PPC64LE.QuickCode.va_Mod_reg", "Prims.Nil", "Vale....
[]
module Vale.SHA.PPC64LE.Loop open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.P...
false
false
Vale.SHA.PPC64LE.Loop.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_quick_Loop (in_b k_b: buffer128) : (va_quickCode unit (va_code_Loop ()))
[]
Vale.SHA.PPC64LE.Loop.va_quick_Loop
{ "file_name": "obj/Vale.SHA.PPC64LE.Loop.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
in_b: Vale.PPC64LE.Memory.buffer128 -> k_b: Vale.PPC64LE.Memory.buffer128 -> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.SHA.PPC64LE.Loop.va_code_Loop ())
{ "end_col": 53, "end_line": 123, "start_col": 2, "start_line": 117 }
Prims.Tot
val va_wp_Loop (in_b k_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.SHA.PPC64LE.Rounds", "short_module": null }, { "abbrev": false, "full_module": "Spec.Loops", "short_module": null }, { "abbrev": false, "full...
false
let va_wp_Loop (in_b:buffer128) (k_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (Vale.PPC64LE.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 4 va_s0) in_b (4 `op_Multiply` va_get_reg 5 va_s0) (va_get_mem_layout va_s0) Secret /\ Vale.PPC64LE....
val va_wp_Loop (in_b k_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 let va_wp_Loop (in_b k_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
false
null
false
(va_get_ok va_s0 /\ (Vale.PPC64LE.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 4 va_s0) in_b (4 `op_Multiply` (va_get_reg 5 va_s0)) (va_get_mem_layout va_s0) Secret /\ Vale.PPC64LE.Decls.validSrcAddrs128 (va_get_mem_heaplet 0 va_s0) (va_get_reg 6 va_s0) ...
{ "checked_file": "Vale.SHA.PPC64LE.Loop.fsti.checked", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.SHA.PPC64LE.SHA_helpers.fsti.checked", "Vale.SHA.PPC64LE.Rounds.fsti.checked", "Vale.PPC64LE.State.fsti.checked", "Vale.PPC64LE.Stack_i.fsti.checked", "Vale.PPC64LE.QuickCodes.fs...
[ "total" ]
[ "Vale.PPC64LE.Memory.buffer128", "Vale.PPC64LE.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.PPC64LE.Decls.va_get_ok", "Vale.PPC64LE.Decls.validSrcAddrs128", "Vale.PPC64LE.Decls.va_get_mem_heaplet", "Vale.PPC64LE.Decls.va_get_reg", "Prims.op_Multiply", "Vale.PPC64LE.Decls.va_g...
[]
module Vale.SHA.PPC64LE.Loop open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Seq_s open FStar.Seq open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.PPC64LE.Machine_s open Vale.PPC64LE.Memory open Vale.PPC64LE.Stack_i open Vale.PPC64LE.State open Vale.PPC64LE.Decls open Vale.P...
false
true
Vale.SHA.PPC64LE.Loop.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_wp_Loop (in_b k_b: buffer128) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[]
Vale.SHA.PPC64LE.Loop.va_wp_Loop
{ "file_name": "obj/Vale.SHA.PPC64LE.Loop.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
in_b: Vale.PPC64LE.Memory.buffer128 -> k_b: Vale.PPC64LE.Memory.buffer128 -> va_s0: Vale.PPC64LE.Decls.va_state -> va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
{ "end_col": 94, "end_line": 102, "start_col": 2, "start_line": 69 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let term_eq = FStar.Tactics.term_eq_old
let term_eq =
true
null
false
FStar.Tactics.term_eq_old
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions
false
false
FStar.InteractiveHelpers.Effectful.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.Effectful.term_eq
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.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.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let mk_eterm_info = Mketerm_info
let mk_eterm_info =
false
null
false
Mketerm_info
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.Mketerm_info" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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_eterm_info : einfo: FStar.InteractiveHelpers.Effectful.effect_info -> head: FStar.Reflection.Types.term -> parameters: Prims.list FStar.InteractiveHelpers.Effectful.cast_info -> FStar.InteractiveHelpers.Effectful.eterm_info
[]
FStar.InteractiveHelpers.Effectful.mk_eterm_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
einfo: FStar.InteractiveHelpers.Effectful.effect_info -> head: FStar.Reflection.Types.term -> parameters: Prims.list FStar.InteractiveHelpers.Effectful.cast_info -> FStar.InteractiveHelpers.Effectful.eterm_info
{ "end_col": 32, "end_line": 73, "start_col": 20, "start_line": 73 }
FStar.Tactics.Effect.Tac
val comp_to_effect_info : dbg:bool -> comp -> Tac (option effect_info)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let comp_to_effect_info dbg c = let cv : comp_view = inspect_comp c in comp_view_to_effect_info dbg cv
val comp_to_effect_info : dbg:bool -> comp -> Tac (option effect_info) let comp_to_effect_info dbg c =
true
null
false
let cv:comp_view = inspect_comp c in comp_view_to_effect_info dbg cv
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.comp", "FStar.InteractiveHelpers.Effectful.comp_view_to_effect_info", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.Effectful.effect_info", "FStar.Reflection.V1.Data.comp_view", "FStar.Reflection.V1.Builtins.inspect_comp" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 comp_to_effect_info : dbg:bool -> comp -> Tac (option effect_info)
[]
FStar.InteractiveHelpers.Effectful.comp_to_effect_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> c: FStar.Reflection.Types.comp -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.InteractiveHelpers.Effectful.effect_info)
{ "end_col": 33, "end_line": 148, "start_col": 31, "start_line": 146 }
Prims.Tot
val has_refinement (ty: type_info) : Tot bool
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let has_refinement (ty:type_info) : Tot bool = Some? ty.refin
val has_refinement (ty: type_info) : Tot bool let has_refinement (ty: type_info) : Tot bool =
false
null
false
Some? ty.refin
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.ExploreTerm.type_info", "FStar.Pervasives.Native.uu___is_Some", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.ExploreTerm.__proj__Mktype_info__item__refin", "Prims.bool" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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 has_refinement (ty: type_info) : Tot bool
[]
FStar.InteractiveHelpers.Effectful.has_refinement
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ty: FStar.InteractiveHelpers.ExploreTerm.type_info -> Prims.bool
{ "end_col": 16, "end_line": 227, "start_col": 2, "start_line": 227 }
Prims.Tot
val get_rawest_type (ty: type_info) : Tot typ
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let get_rawest_type (ty:type_info) : Tot typ = ty.ty
val get_rawest_type (ty: type_info) : Tot typ let get_rawest_type (ty: type_info) : Tot typ =
false
null
false
ty.ty
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.ExploreTerm.type_info", "FStar.InteractiveHelpers.ExploreTerm.__proj__Mktype_info__item__ty", "FStar.Reflection.Types.typ" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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 get_rawest_type (ty: type_info) : Tot typ
[]
FStar.InteractiveHelpers.Effectful.get_rawest_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ty: FStar.InteractiveHelpers.ExploreTerm.type_info -> FStar.Reflection.Types.typ
{ "end_col": 7, "end_line": 236, "start_col": 2, "start_line": 236 }
FStar.Tactics.Effect.Tac
val cast_info_to_string : cast_info -> Tac string
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let cast_info_to_string info = "Mkcast_info (" ^ term_to_string info.term ^ ") (" ^ option_to_string type_info_to_string info.p_ty ^ ") (" ^ option_to_string type_info_to_string info.exp_ty ^ ")"
val cast_info_to_string : cast_info -> Tac string let cast_info_to_string info =
true
null
false
"Mkcast_info (" ^ term_to_string info.term ^ ") (" ^ option_to_string type_info_to_string info.p_ty ^ ") (" ^ option_to_string type_info_to_string info.exp_ty ^ ")"
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.cast_info", "Prims.op_Hat", "Prims.string", "FStar.InteractiveHelpers.Base.option_to_string", "FStar.InteractiveHelpers.ExploreTerm.type_info", "FStar.InteractiveHelpers.ExploreTerm.type_info_to_string", "FStar.InteractiveHelpers.Effectful.__proj__Mkcast_info__item__e...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 cast_info_to_string : cast_info -> Tac string
[]
FStar.InteractiveHelpers.Effectful.cast_info_to_string
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
info: FStar.InteractiveHelpers.Effectful.cast_info -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 56, "end_line": 35, "start_col": 2, "start_line": 33 }
FStar.Tactics.Effect.Tac
val eterm_info_to_string : eterm_info -> Tac string
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let eterm_info_to_string info = let params = map (fun x -> "(" ^ cast_info_to_string x ^ "); \n") info.parameters in let params_str = List.Tot.fold_left (fun x y -> x ^ y) "" params in "Mketerm_info (" ^ effect_info_to_string info.einfo ^ ") (" ^ term_to_string info.head ^ ")\n[" ^ params_str ^ "]"
val eterm_info_to_string : eterm_info -> Tac string let eterm_info_to_string info =
true
null
false
let params = map (fun x -> "(" ^ cast_info_to_string x ^ "); \n") info.parameters in let params_str = List.Tot.fold_left (fun x y -> x ^ y) "" params in "Mketerm_info (" ^ effect_info_to_string info.einfo ^ ") (" ^ term_to_string info.head ^ ")\n[" ^ params_str ^ "]"
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.eterm_info", "Prims.op_Hat", "Prims.string", "FStar.Tactics.V1.Builtins.term_to_string", "FStar.InteractiveHelpers.Effectful.__proj__Mketerm_info__item__head", "FStar.InteractiveHelpers.Effectful.effect_info_to_string", "FStar.InteractiveHelpers.Effectful.__proj__Mket...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 eterm_info_to_string : eterm_info -> Tac string
[]
FStar.InteractiveHelpers.Effectful.eterm_info_to_string
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
info: FStar.InteractiveHelpers.Effectful.eterm_info -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 18, "end_line": 71, "start_col": 31, "start_line": 65 }
FStar.Tactics.Effect.Tac
val effect_info_to_string : effect_info -> Tac string
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let effect_info_to_string c = "Mkeffect_info " ^ effect_type_to_string c.ei_type ^ " (" ^ option_to_string term_to_string c.ei_pre ^ ") (" ^ type_info_to_string c.ei_ret_type ^ ") (" ^ option_to_string term_to_string c.ei_post ^ ")"
val effect_info_to_string : effect_info -> Tac string let effect_info_to_string c =
true
null
false
"Mkeffect_info " ^ effect_type_to_string c.ei_type ^ " (" ^ option_to_string term_to_string c.ei_pre ^ ") (" ^ type_info_to_string c.ei_ret_type ^ ") (" ^ option_to_string term_to_string c.ei_post ^ ")"
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.effect_info", "Prims.op_Hat", "Prims.string", "FStar.InteractiveHelpers.ExploreTerm.effect_type_to_string", "FStar.InteractiveHelpers.Effectful.__proj__Mkeffect_info__item__ei_type", "FStar.InteractiveHelpers.Base.option_to_string", "FStar.Reflection.Types.term", "F...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 effect_info_to_string : effect_info -> Tac string
[]
FStar.InteractiveHelpers.Effectful.effect_info_to_string
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
c: FStar.InteractiveHelpers.Effectful.effect_info -> FStar.Tactics.Effect.Tac Prims.string
{ "end_col": 49, "end_line": 54, "start_col": 2, "start_line": 50 }
FStar.Tactics.Effect.Tac
val opt_remove_refin : typ -> Tac typ
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let opt_remove_refin ty = match inspect ty with | Tv_Refine _ sort _ -> sort | _ -> ty
val opt_remove_refin : typ -> Tac typ let opt_remove_refin ty =
true
null
false
match inspect ty with | Tv_Refine _ sort _ -> sort | _ -> ty
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.typ", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.term", "FStar.Reflection.V1.Data.term_view", "FStar.Tactics.V1.Builtins.inspect" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 opt_remove_refin : typ -> Tac typ
[]
FStar.InteractiveHelpers.Effectful.opt_remove_refin
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ty: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.typ
{ "end_col": 11, "end_line": 391, "start_col": 2, "start_line": 389 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let mk_effect_info = Mkeffect_info
let mk_effect_info =
false
null
false
Mkeffect_info
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.Mkeffect_info" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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_effect_info : ei_type: FStar.InteractiveHelpers.ExploreTerm.effect_type -> ei_ret_type: FStar.InteractiveHelpers.ExploreTerm.type_info -> ei_pre: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> ei_post: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> FStar.InteractiveHel...
[]
FStar.InteractiveHelpers.Effectful.mk_effect_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ei_type: FStar.InteractiveHelpers.ExploreTerm.effect_type -> ei_ret_type: FStar.InteractiveHelpers.ExploreTerm.type_info -> ei_pre: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> ei_post: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> FStar.InteractiveHelpers.Effectful.e...
{ "end_col": 34, "end_line": 45, "start_col": 21, "start_line": 45 }
Prims.Tot
val get_opt_refinment (ty: type_info) : Tot (option term)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let get_opt_refinment (ty:type_info) : Tot (option term) = ty.refin
val get_opt_refinment (ty: type_info) : Tot (option term) let get_opt_refinment (ty: type_info) : Tot (option term) =
false
null
false
ty.refin
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.ExploreTerm.type_info", "FStar.InteractiveHelpers.ExploreTerm.__proj__Mktype_info__item__refin", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.term" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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 get_opt_refinment (ty: type_info) : Tot (option term)
[]
FStar.InteractiveHelpers.Effectful.get_opt_refinment
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ty: FStar.InteractiveHelpers.ExploreTerm.type_info -> FStar.Pervasives.Native.option FStar.Reflection.Types.term
{ "end_col": 10, "end_line": 233, "start_col": 2, "start_line": 233 }
FStar.Tactics.Effect.Tac
val tcc_no_lift : env -> term -> Tac comp
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let tcc_no_lift e t = match inspect t with | Tv_App _ _ -> let hd, args = collect_app t in let c = tcc e hd in inst_comp e c (List.Tot.map fst args) | _ -> (* Fall back to ``tcc`` *) tcc e t
val tcc_no_lift : env -> term -> Tac comp let tcc_no_lift e t =
true
null
false
match inspect t with | Tv_App _ _ -> let hd, args = collect_app t in let c = tcc e hd in inst_comp e c (List.Tot.map fst args) | _ -> tcc e t
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.Reflection.V1.Data.argv", "Prims.list", "FStar.InteractiveHelpers.ExploreTerm.inst_comp", "FStar.List.Tot.Base.map", "FStar.Pervasives.Native.fst", "FStar.Reflection.V1.Data.aqualv", "FStar.Reflection.Types.comp", "FStar.Tactics.V...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 tcc_no_lift : env -> term -> Tac comp
[]
FStar.InteractiveHelpers.Effectful.tcc_no_lift
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
e: FStar.Reflection.Types.env -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.comp
{ "end_col": 11, "end_line": 199, "start_col": 2, "start_line": 192 }
FStar.Tactics.Effect.Tac
val mk_has_type : term -> typ -> Tac term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let mk_has_type t ty = let params = [(ty, Q_Implicit); (t, Q_Explicit); (ty, Q_Explicit)] in mk_app (`has_type) params
val mk_has_type : term -> typ -> Tac term let mk_has_type t ty =
true
null
false
let params = [(ty, Q_Implicit); (t, Q_Explicit); (ty, Q_Explicit)] in mk_app (`has_type) params
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.typ", "FStar.Reflection.V1.Derived.mk_app", "Prims.list", "FStar.Reflection.V1.Data.argv", "Prims.Cons", "FStar.Pervasives.Native.Mktuple2", "FStar.Reflection.V1.Data.aqualv", "FStar.Reflection.V1.Data.Q_Implicit", "FStar.Reflection.V1.Data.Q_...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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_has_type : term -> typ -> Tac term
[]
FStar.InteractiveHelpers.Effectful.mk_has_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> ty: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 27, "end_line": 304, "start_col": 22, "start_line": 302 }
FStar.Tactics.Effect.Tac
val cast_info_list_to_propositions : bool -> genv -> list cast_info -> Tac (list proposition)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let cast_info_list_to_propositions dbg ge ls = let lsl = map (cast_info_to_propositions dbg ge) ls in flatten lsl
val cast_info_list_to_propositions : bool -> genv -> list cast_info -> Tac (list proposition) let cast_info_list_to_propositions dbg ge ls =
true
null
false
let lsl = map (cast_info_to_propositions dbg ge) ls in flatten lsl
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.InteractiveHelpers.Effectful.cast_info", "FStar.List.Tot.Base.flatten", "FStar.InteractiveHelpers.Propositions.proposition", "FStar.Tactics.Util.map", "FStar.InteractiveHelpers.Effectful.cast_info_to_propositions" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 cast_info_list_to_propositions : bool -> genv -> list cast_info -> Tac (list proposition)
[]
FStar.InteractiveHelpers.Effectful.cast_info_list_to_propositions
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> ls: Prims.list FStar.InteractiveHelpers.Effectful.cast_info -> FStar.Tactics.Effect.Tac (Prims.list FStar.InteractiveHelpers.Propositions.proposition)
{ "end_col": 13, "end_line": 349, "start_col": 46, "start_line": 347 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let is_let_st_get dbg (t : term_view) = print_dbg dbg ("[> is_let_st_get:\n" ^ term_to_string t); match t with | Tv_Let recf attrs bv ty def body -> print_dbg dbg "The term is a let expression"; if is_st_get dbg def then Some (bv, ty) else None | _ -> print_dbg dbg "The term is not a let expression"...
let is_let_st_get dbg (t: term_view) =
true
null
false
print_dbg dbg ("[> is_let_st_get:\n" ^ term_to_string t); match t with | Tv_Let recf attrs bv ty def body -> print_dbg dbg "The term is a let expression"; if is_st_get dbg def then Some (bv, ty) else None | _ -> print_dbg dbg "The term is not a let expression"; None
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.V1.Data.term_view", "Prims.list", "FStar.Reflection.Types.term", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.None", "FStar...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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_let_st_get : dbg: Prims.bool -> t: FStar.Reflection.V1.Data.term_view -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Reflection.Types.bv * FStar.Reflection.Types.typ))
[]
FStar.InteractiveHelpers.Effectful.is_let_st_get
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> t: FStar.Reflection.V1.Data.term_view -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Reflection.Types.bv * FStar.Reflection.Types.typ))
{ "end_col": 8, "end_line": 535, "start_col": 2, "start_line": 528 }
FStar.Tactics.Effect.Tac
val check_pre_post_type : bool -> env -> term -> term -> term -> Tac pre_post_type
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let check_pre_post_type dbg e pre ret_type post = print_dbg dbg "[> check_pre_post_type"; match compute_pre_type dbg e pre, compute_post_type dbg e ret_type post with | PP_Pure, PP_Pure -> print_dbg dbg "PP_Pure, PP_Pure"; PP_Pure | PP_State ty1, PP_State ty2 -> print_dbg dbg "PP_State, PP_State"; ...
val check_pre_post_type : bool -> env -> term -> term -> term -> Tac pre_post_type let check_pre_post_type dbg e pre ret_type post =
true
null
false
print_dbg dbg "[> check_pre_post_type"; match compute_pre_type dbg e pre, compute_post_type dbg e ret_type post with | PP_Pure, PP_Pure -> print_dbg dbg "PP_Pure, PP_Pure"; PP_Pure | PP_State ty1, PP_State ty2 -> print_dbg dbg "PP_State, PP_State"; if term_eq ty1 ty2 then PP_State ty1 else PP_Unknown | _ -> p...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful.PP_Pure", "FStar.InteractiveHelpers.Effectful.pre_post_type", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "FStar.InteractiveHelpers.Effectful.PP_State", "FStar.InteractiveHelpe...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 check_pre_post_type : bool -> env -> term -> term -> term -> Tac pre_post_type
[]
FStar.InteractiveHelpers.Effectful.check_pre_post_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> pre: FStar.Reflection.Types.term -> ret_type: FStar.Reflection.Types.term -> post: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.InteractiveHelpers.Effectful.pre_post_type
{ "end_col": 14, "end_line": 457, "start_col": 2, "start_line": 447 }
Prims.Tot
val get_refinement (ty: type_info{Some? ty.refin}) : Tot term
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let get_refinement (ty:type_info{Some? ty.refin}) : Tot term = Some?.v ty.refin
val get_refinement (ty: type_info{Some? ty.refin}) : Tot term let get_refinement (ty: type_info{Some? ty.refin}) : Tot term =
false
null
false
Some?.v ty.refin
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.ExploreTerm.type_info", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.ExploreTerm.__proj__Mktype_info__item__refin", "FStar.Pervasives.Native.__proj__Some__item__v" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 get_refinement (ty: type_info{Some? ty.refin}) : Tot term
[]
FStar.InteractiveHelpers.Effectful.get_refinement
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ty: FStar.InteractiveHelpers.ExploreTerm.type_info{Some? (Mktype_info?.refin ty)} -> FStar.Reflection.Types.term
{ "end_col": 18, "end_line": 230, "start_col": 2, "start_line": 230 }
FStar.Tactics.Effect.Tac
val introduce_variables_for_abs : genv -> term -> Tac (list term & list binder & genv)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let introduce_variables_for_abs ge tm = match safe_tc ge.env tm with | Some ty -> _introduce_variables_for_abs ge ty | None -> [], [], ge
val introduce_variables_for_abs : genv -> term -> Tac (list term & list binder & genv) let introduce_variables_for_abs ge tm =
true
null
false
match safe_tc ge.env tm with | Some ty -> _introduce_variables_for_abs ge ty | None -> [], [], ge
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Base.genv", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful._introduce_variables_for_abs", "FStar.Pervasives.Native.tuple3", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Pervasives.Native.Mktuple3", "Prims.Nil", "FStar.Pervasives.Native.option", ...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 introduce_variables_for_abs : genv -> term -> Tac (list term & list binder & genv)
[]
FStar.InteractiveHelpers.Effectful.introduce_variables_for_abs
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ge: FStar.InteractiveHelpers.Base.genv -> tm: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac ((Prims.list FStar.Reflection.Types.term * Prims.list FStar.Reflection.Types.binder) * FStar.InteractiveHelpers.Base.genv)
{ "end_col": 22, "end_line": 495, "start_col": 2, "start_line": 493 }
Prims.Tot
val effect_type_is_stateful : effect_type -> Tot bool
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let effect_type_is_stateful etype = match etype with | E_Total | E_GTotal | E_Lemma | E_PURE | E_Pure -> false | E_Stack | E_ST | E_Unknown -> true
val effect_type_is_stateful : effect_type -> Tot bool let effect_type_is_stateful etype =
false
null
false
match etype with | E_Total | E_GTotal | E_Lemma | E_PURE | E_Pure -> false | E_Stack | E_ST | E_Unknown -> true
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.ExploreTerm.effect_type", "Prims.bool" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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 effect_type_is_stateful : effect_type -> Tot bool
[]
FStar.InteractiveHelpers.Effectful.effect_type_is_stateful
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
etype: FStar.InteractiveHelpers.ExploreTerm.effect_type -> Prims.bool
{ "end_col": 38, "end_line": 508, "start_col": 2, "start_line": 506 }
FStar.Tactics.Effect.Tac
val compute_eterm_info : dbg:bool -> env -> term -> Tac eterm_info
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compute_eterm_info (dbg : bool) (e : env) (t : term) = (* Decompose the term if it is a function application *) let hd, parameters = decompose_application e t in try begin let c : comp = tcc_no_lift e t in let opt_einfo = comp_to_effect_info dbg c in match opt_einfo with | None -> mfail ("...
val compute_eterm_info : dbg:bool -> env -> term -> Tac eterm_info let compute_eterm_info (dbg: bool) (e: env) (t: term) =
true
null
false
let hd, parameters = decompose_application e t in try let c:comp = tcc_no_lift e t in let opt_einfo = comp_to_effect_info dbg c in match opt_einfo with | None -> mfail ("compute_eterm_info: failed on: " ^ term_to_string t) | Some einfo -> mk_eterm_info einfo hd parameters with | TacticFailure msg -> mfail ("c...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "Prims.list", "FStar.InteractiveHelpers.Effectful.cast_info", "FStar.Tactics.V1.Derived.try_with", "FStar.InteractiveHelpers.Effectful.eterm_info", "Prims.unit", "FStar.InteractiveHelpers.Base.mfail", "Prims.string", "Pri...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compute_eterm_info : dbg:bool -> env -> term -> Tac eterm_info
[]
FStar.InteractiveHelpers.Effectful.compute_eterm_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.InteractiveHelpers.Effectful.eterm_info
{ "end_col": 16, "end_line": 220, "start_col": 58, "start_line": 205 }
FStar.Tactics.Effect.Tac
val check_opt_pre_post_type : bool -> env -> option term -> term -> option term -> Tac (option pre_post_type)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let check_opt_pre_post_type dbg e opt_pre ret_type opt_post = print_dbg dbg "[> check_opt_pre_post_type"; match opt_pre, opt_post with | Some pre, Some post -> print_dbg dbg "Some pre, Some post"; Some (check_pre_post_type dbg e pre ret_type post) | Some pre, None -> print_dbg dbg "Some pre, None"; ...
val check_opt_pre_post_type : bool -> env -> option term -> term -> option term -> Tac (option pre_post_type) let check_opt_pre_post_type dbg e opt_pre ret_type opt_post =
true
null
false
print_dbg dbg "[> check_opt_pre_post_type"; match opt_pre, opt_post with | Some pre, Some post -> print_dbg dbg "Some pre, Some post"; Some (check_pre_post_type dbg e pre ret_type post) | Some pre, None -> print_dbg dbg "Some pre, None"; Some (compute_pre_type dbg e pre) | None, Some post -> print_dbg dbg "No...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.Some", "FStar.InteractiveHelpers.Effectful.pre_post_type", "FStar.InteractiveHelpers.Effectful.check_pre_post_type", "Prims.unit",...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 check_opt_pre_post_type : bool -> env -> option term -> term -> option term -> Tac (option pre_post_type)
[]
FStar.InteractiveHelpers.Effectful.check_opt_pre_post_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> opt_pre: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> ret_type: FStar.Reflection.Types.term -> opt_post: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option ...
{ "end_col": 8, "end_line": 474, "start_col": 2, "start_line": 461 }
FStar.Tactics.Effect.Tac
val find_mem_in_children: dbg:bool -> ge:genv -> child:term -> Tac (genv & option bv)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let rec find_mem_in_children dbg ge child = (* We stop whenever we find an expression which is not a let-binding *) match inspect child with | Tv_Let recf attrs bv ty def body -> if is_st_get dbg def then ge, Some bv else if term_has_effectful_comp dbg ge.env def <> Some false then ge, None else ...
val find_mem_in_children: dbg:bool -> ge:genv -> child:term -> Tac (genv & option bv) let rec find_mem_in_children dbg ge child =
true
null
false
match inspect child with | Tv_Let recf attrs bv ty def body -> if is_st_get dbg def then ge, Some bv else if term_has_effectful_comp dbg ge.env def <> Some false then ge, None else let ge1 = genv_push_bv ge bv ty false None in find_mem_in_children dbg ge1 body | _ -> ge, None
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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", "Prims.list", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FSt...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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_mem_in_children: dbg:bool -> ge:genv -> child:term -> Tac (genv & option bv)
[ "recursion" ]
FStar.InteractiveHelpers.Effectful.find_mem_in_children
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> child: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.InteractiveHelpers.Base.genv * FStar.Pervasives.Native.option FStar.Reflection.Types.bv)
{ "end_col": 17, "end_line": 646, "start_col": 2, "start_line": 639 }
FStar.Tactics.Effect.Tac
val typ_or_comp_to_effect_info (dbg: bool) (ge: genv) (c: typ_or_comp) : Tac effect_info
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let typ_or_comp_to_effect_info (dbg : bool) (ge : genv) (c : typ_or_comp) : Tac effect_info = (* match c with | TC_Typ ty pl num_unflushed -> let tinfo = get_type_info_from_type ty in mk_effect_info E_Total tinfo None None | TC_Comp cv pl num_unflushed -> let opt_einfo = comp_to_effect_info dbg cv in...
val typ_or_comp_to_effect_info (dbg: bool) (ge: genv) (c: typ_or_comp) : Tac effect_info let typ_or_comp_to_effect_info (dbg: bool) (ge: genv) (c: typ_or_comp) : Tac effect_info =
true
null
false
let c = flush_typ_or_comp dbg ge.env c in match c with | TC_Typ ty _ _ -> let tinfo = get_type_info_from_type ty in mk_effect_info E_Total tinfo None None | TC_Comp cv _ _ -> let opt_einfo = comp_to_effect_info dbg cv in match opt_einfo with | None -> mfail ("typ_or_comp_to_effect_info failed on: " ^ acomp_to...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.InteractiveHelpers.ExploreTerm.typ_or_comp", "FStar.Reflection.Types.typ", "Prims.list", "FStar.Reflection.Types.binder", "Prims.nat", "FStar.InteractiveHelpers.Effectful.mk_effect_info", "FStar.InteractiveHelpers.ExploreTerm.E_Total", "FS...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 typ_or_comp_to_effect_info (dbg: bool) (ge: genv) (c: typ_or_comp) : Tac effect_info
[]
FStar.InteractiveHelpers.Effectful.typ_or_comp_to_effect_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> c: FStar.InteractiveHelpers.ExploreTerm.typ_or_comp -> FStar.Tactics.Effect.Tac FStar.InteractiveHelpers.Effectful.effect_info
{ "end_col": 25, "end_line": 179, "start_col": 19, "start_line": 160 }
FStar.Tactics.Effect.Tac
val compute_effect_info : dbg:bool -> env -> term -> Tac (option effect_info)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compute_effect_info dbg e tm = match safe_tcc e tm with | Some c -> comp_to_effect_info dbg c | None -> None
val compute_effect_info : dbg:bool -> env -> term -> Tac (option effect_info) let compute_effect_info dbg e tm =
true
null
false
match safe_tcc e tm with | Some c -> comp_to_effect_info dbg c | None -> None
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.Reflection.Types.comp", "FStar.InteractiveHelpers.Effectful.comp_to_effect_info", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.Effectful.effect_info", "FStar.Pervasives.Native.None", "FStar.InteractiveHe...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compute_effect_info : dbg:bool -> env -> term -> Tac (option effect_info)
[]
FStar.InteractiveHelpers.Effectful.compute_effect_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> tm: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.InteractiveHelpers.Effectful.effect_info)
{ "end_col": 16, "end_line": 155, "start_col": 2, "start_line": 153 }
FStar.Tactics.Effect.Tac
val introduce_variables_for_opt_abs : genv -> option term -> Tac (list term & list binder & genv)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let introduce_variables_for_opt_abs ge opt_tm = match opt_tm with | Some tm -> introduce_variables_for_abs ge tm | None -> [], [], ge
val introduce_variables_for_opt_abs : genv -> option term -> Tac (list term & list binder & genv) let introduce_variables_for_opt_abs ge opt_tm =
true
null
false
match opt_tm with | Some tm -> introduce_variables_for_abs ge tm | None -> [], [], ge
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Base.genv", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful.introduce_variables_for_abs", "FStar.Pervasives.Native.tuple3", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Pervasives.Native.Mktuple3", "Prims.Nil" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 introduce_variables_for_opt_abs : genv -> option term -> Tac (list term & list binder & genv)
[]
FStar.InteractiveHelpers.Effectful.introduce_variables_for_opt_abs
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ge: FStar.InteractiveHelpers.Base.genv -> opt_tm: FStar.Pervasives.Native.option FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac ((Prims.list FStar.Reflection.Types.term * Prims.list FStar.Reflection.Types.binder) * FStar.InteractiveHelpers.Base.genv)
{ "end_col": 22, "end_line": 501, "start_col": 2, "start_line": 499 }
FStar.Tactics.Effect.Tac
val term_has_effectful_comp : bool -> env -> term -> Tac (option bool)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let term_has_effectful_comp dbg e tm = print_dbg dbg "[> term_has_effectful_comp"; let einfo_opt = compute_effect_info dbg e tm in match einfo_opt with | Some einfo -> print_dbg dbg ("Effect type: " ^ effect_type_to_string einfo.ei_type); Some (not (effect_type_is_pure einfo.ei_type)) | None -> pr...
val term_has_effectful_comp : bool -> env -> term -> Tac (option bool) let term_has_effectful_comp dbg e tm =
true
null
false
print_dbg dbg "[> term_has_effectful_comp"; let einfo_opt = compute_effect_info dbg e tm in match einfo_opt with | Some einfo -> print_dbg dbg ("Effect type: " ^ effect_type_to_string einfo.ei_type); Some (not (effect_type_is_pure einfo.ei_type)) | None -> print_dbg dbg "Could not compute effect info"; None
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful.effect_info", "FStar.Pervasives.Native.Some", "Prims.op_Negation", "FStar.InteractiveHelpers.ExploreTerm.effect_type_is_pure", "FStar.InteractiveHelpers.Effectful.__proj__Mkeffect_info__item_...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 term_has_effectful_comp : bool -> env -> term -> Tac (option bool)
[]
FStar.InteractiveHelpers.Effectful.term_has_effectful_comp
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> tm: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option Prims.bool)
{ "end_col": 8, "end_line": 555, "start_col": 2, "start_line": 547 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let type_comparison_to_string c = match c with | Refines -> "Refines" | Same_raw_type -> "Same_raw_type" | Unknown -> "Unknown"
let type_comparison_to_string c =
false
null
false
match c with | Refines -> "Refines" | Same_raw_type -> "Same_raw_type" | Unknown -> "Unknown"
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.type_comparison", "Prims.string" ]
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
true
FStar.InteractiveHelpers.Effectful.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 type_comparison_to_string : c: FStar.InteractiveHelpers.Effectful.type_comparison -> Prims.string
[]
FStar.InteractiveHelpers.Effectful.type_comparison_to_string
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
c: FStar.InteractiveHelpers.Effectful.type_comparison -> Prims.string
{ "end_col": 24, "end_line": 246, "start_col": 2, "start_line": 243 }
FStar.Tactics.Effect.Tac
val _introduce_variables_for_abs : genv -> typ -> Tac (list term & list binder & genv)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let rec _introduce_variables_for_abs ge ty = match inspect ty with | Tv_Arrow b c -> let ge1, b1 = genv_push_fresh_binder ge ("__" ^ name_of_binder b) (type_of_binder b) in let bv1 = bv_of_binder b1 in let v1 = pack (Tv_Var bv1) in begin match get_total_or_gtotal_ret_type c with | Some ty1 -> ...
val _introduce_variables_for_abs : genv -> typ -> Tac (list term & list binder & genv) let rec _introduce_variables_for_abs ge ty =
true
null
false
match inspect ty with | Tv_Arrow b c -> let ge1, b1 = genv_push_fresh_binder ge ("__" ^ name_of_binder b) (type_of_binder b) in let bv1 = bv_of_binder b1 in let v1 = pack (Tv_Var bv1) in (match get_total_or_gtotal_ret_type c with | Some ty1 -> let vl, bl, ge2 = _introduce_variables_for_abs ge1 ty1 in ...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Base.genv", "FStar.Reflection.Types.typ", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.InteractiveHelpers.ExploreTerm.get_total_or_gtotal_ret_type", "Prims.list", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.Mktuple3", "Prims.Cons", "F...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 _introduce_variables_for_abs : genv -> typ -> Tac (list term & list binder & genv)
[ "recursion" ]
FStar.InteractiveHelpers.Effectful._introduce_variables_for_abs
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
ge: FStar.InteractiveHelpers.Base.genv -> ty: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac ((Prims.list FStar.Reflection.Types.term * Prims.list FStar.Reflection.Types.binder) * FStar.InteractiveHelpers.Base.genv)
{ "end_col": 18, "end_line": 489, "start_col": 2, "start_line": 478 }
FStar.Tactics.Effect.Tac
val compute_pre_type : bool -> env -> term -> Tac pre_post_type
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compute_pre_type dbg e pre = print_dbg dbg "[> compute_pre_type"; match safe_tc e pre with | None -> print_dbg dbg "safe_tc failed"; PP_Unknown | Some ty -> print_dbg dbg "safe_tc succeeded"; let brs, c = collect_arr_bs ty in print_dbg dbg ("num binders: " ^ string_of_int (List.Tot.lengt...
val compute_pre_type : bool -> env -> term -> Tac pre_post_type let compute_pre_type dbg e pre =
true
null
false
print_dbg dbg "[> compute_pre_type"; match safe_tc e pre with | None -> print_dbg dbg "safe_tc failed"; PP_Unknown | Some ty -> print_dbg dbg "safe_tc succeeded"; let brs, c = collect_arr_bs ty in print_dbg dbg ("num binders: " ^ string_of_int (List.Tot.length brs)); match brs, is_total_or_gtotal c with |...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful.PP_Unknown", "FStar.InteractiveHelpers.Effectful.pre_post_type", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection....
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compute_pre_type : bool -> env -> term -> Tac pre_post_type
[]
FStar.InteractiveHelpers.Effectful.compute_pre_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> pre: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.InteractiveHelpers.Effectful.pre_post_type
{ "end_col": 16, "end_line": 385, "start_col": 2, "start_line": 367 }
FStar.Tactics.Effect.Tac
val compare_cast_types (dbg: bool) (p: cast_info) : Tac (c: type_comparison { ((c = Refines \/ c = Same_raw_type) ==> (Some? p.p_ty /\ Some? p.exp_ty)) /\ (c = Same_raw_type ==> has_refinement (Some?.v p.exp_ty)) })
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compare_cast_types (dbg : bool) (p:cast_info) : Tac (c:type_comparison{ ((c = Refines \/ c = Same_raw_type) ==> (Some? p.p_ty /\ Some? p.exp_ty)) /\ (c = Same_raw_type ==> has_refinement (Some?.v p.exp_ty))}) = print_dbg dbg "[> compare_cast_types"; match p.p_ty, p.exp_ty with | Some info1, Some inf...
val compare_cast_types (dbg: bool) (p: cast_info) : Tac (c: type_comparison { ((c = Refines \/ c = Same_raw_type) ==> (Some? p.p_ty /\ Some? p.exp_ty)) /\ (c = Same_raw_type ==> has_refinement (Some?.v p.exp_ty)) }) let compare_cast_types (dbg: bool) (p: cast_info) : Tac (c: ...
true
null
false
print_dbg dbg "[> compare_cast_types"; match p.p_ty, p.exp_ty with | Some info1, Some info2 -> compare_types dbg info1 info2 | _ -> Unknown
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Effectful.cast_info", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.type_info", "FStar.InteractiveHelpers.Effectful.__proj__Mkcast_info__item__p_ty", "FStar.InteractiveHelpers.Effectful.__proj__Mkcast_i...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compare_cast_types (dbg: bool) (p: cast_info) : Tac (c: type_comparison { ((c = Refines \/ c = Same_raw_type) ==> (Some? p.p_ty /\ Some? p.exp_ty)) /\ (c = Same_raw_type ==> has_refinement (Some?.v p.exp_ty)) })
[]
FStar.InteractiveHelpers.Effectful.compare_cast_types
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> p: FStar.InteractiveHelpers.Effectful.cast_info -> FStar.Tactics.Effect.Tac (c: FStar.InteractiveHelpers.Effectful.type_comparison { (c = FStar.InteractiveHelpers.Effectful.Refines \/ c = FStar.InteractiveHelpers.Effectful.Same_raw_type ==> Some? (Mkcast_in...
{ "end_col": 16, "end_line": 286, "start_col": 2, "start_line": 282 }
FStar.Tactics.Effect.Tac
val decompose_application_aux (e: env) (t: term) : Tac (term & list cast_info)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let rec decompose_application_aux (e : env) (t : term) : Tac (term & list cast_info) = match inspect t with | Tv_App hd (a, qualif) -> let hd0, params = decompose_application_aux e hd in (* Parameter type *) let a_type = get_type_info e a in (* Type expected by the function *) let hd_ty = safe...
val decompose_application_aux (e: env) (t: term) : Tac (term & list cast_info) let rec decompose_application_aux (e: env) (t: term) : Tac (term & list cast_info) =
true
null
false
match inspect t with | Tv_App hd (a, qualif) -> let hd0, params = decompose_application_aux e hd in let a_type = get_type_info e a in let hd_ty = safe_tc e hd in let param_type = match hd_ty with | None -> None | Some hd_ty' -> match inspect hd_ty' with | Tv_Arrow b c -> Some (get_type_i...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.Reflection.V1.Data.aqualv", "Prims.list", "FStar.InteractiveHelpers.Effectful.cast_info", "FStar.Pervasives.Native.Mktuple2", "Prims.Cons", "FStar.InteractiveHelpers.Effectful.mk_cast_info", "FStar.Pervasives.Native.tuple2", "FSta...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 decompose_application_aux (e: env) (t: term) : Tac (term & list cast_info)
[ "recursion" ]
FStar.InteractiveHelpers.Effectful.decompose_application_aux
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
e: FStar.Reflection.Types.env -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Reflection.Types.term * Prims.list FStar.InteractiveHelpers.Effectful.cast_info)
{ "end_col": 14, "end_line": 101, "start_col": 2, "start_line": 83 }
FStar.Tactics.Effect.Tac
val cast_info_to_propositions : bool -> genv -> cast_info -> Tac (list proposition)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let cast_info_to_propositions dbg ge ci = print_dbg dbg ("[> cast_info_to_propositions:\n" ^ cast_info_to_string ci); match compare_cast_types dbg ci with | Refines -> print_dbg dbg ("-> Comparison result: Refines"); [] | Same_raw_type -> print_dbg dbg ("-> Comparison result: Same_raw_type"); l...
val cast_info_to_propositions : bool -> genv -> cast_info -> Tac (list proposition) let cast_info_to_propositions dbg ge ci =
true
null
false
print_dbg dbg ("[> cast_info_to_propositions:\n" ^ cast_info_to_string ci); match compare_cast_types dbg ci with | Refines -> print_dbg dbg ("-> Comparison result: Refines"); [] | Same_raw_type -> print_dbg dbg ("-> Comparison result: Same_raw_type"); let refin = get_refinement (Some?.v ci.exp_ty) in let inst...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.InteractiveHelpers.Effectful.cast_info", "Prims.Nil", "FStar.InteractiveHelpers.Propositions.proposition", "Prims.list", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "Prims.Cons", "FStar.Reflection.Types.term", "FStar.Interac...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 cast_info_to_propositions : bool -> genv -> cast_info -> Tac (list proposition)
[]
FStar.InteractiveHelpers.Effectful.cast_info_to_propositions
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> ci: FStar.InteractiveHelpers.Effectful.cast_info -> FStar.Tactics.Effect.Tac (Prims.list FStar.InteractiveHelpers.Propositions.proposition)
{ "end_col": 13, "end_line": 341, "start_col": 2, "start_line": 313 }
FStar.Tactics.Effect.Tac
val find_mem_in_related: dbg:bool -> ge:genv -> tms:list term_view -> Tac (option (bv & typ))
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let rec find_mem_in_related dbg ge tms = match tms with | [] -> None | tv :: tms' -> print_dbg dbg ("[> find_mem_in_related:\n" ^ term_to_string tv); match is_let_st_get dbg tv with | Some bvt -> print_dbg dbg "Term is of the form `let x = FStar.HyperStack.ST.get ()`: success"; Some bvt ...
val find_mem_in_related: dbg:bool -> ge:genv -> tms:list term_view -> Tac (option (bv & typ)) let rec find_mem_in_related dbg ge tms =
true
null
false
match tms with | [] -> None | tv :: tms' -> print_dbg dbg ("[> find_mem_in_related:\n" ^ term_to_string tv); match is_let_st_get dbg tv with | Some bvt -> print_dbg dbg "Term is of the form `let x = FStar.HyperStack.ST.get ()`: success"; Some bvt | None -> print_dbg dbg "Term is not of the form `let...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.Types.bv", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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_mem_in_related: dbg:bool -> ge:genv -> tms:list term_view -> Tac (option (bv & typ))
[ "recursion" ]
FStar.InteractiveHelpers.Effectful.find_mem_in_related
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> tms: Prims.list FStar.Reflection.V1.Data.term_view -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Reflection.Types.bv * FStar.Reflection.Types.typ))
{ "end_col": 11, "end_line": 626, "start_col": 2, "start_line": 606 }
FStar.Tactics.Effect.Tac
val comp_view_to_effect_info : dbg:bool -> comp_view -> Tac (option effect_info)
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let comp_view_to_effect_info dbg cv = match cv with | C_Total ret_ty -> let ret_type_info = get_type_info_from_type ret_ty in Some (mk_effect_info E_Total ret_type_info None None) | C_GTotal ret_ty -> let ret_type_info = get_type_info_from_type ret_ty in Some (mk_effect_info E_Total ret_type_info ...
val comp_view_to_effect_info : dbg:bool -> comp_view -> Tac (option effect_info) let comp_view_to_effect_info dbg cv =
true
null
false
match cv with | C_Total ret_ty -> let ret_type_info = get_type_info_from_type ret_ty in Some (mk_effect_info E_Total ret_type_info None None) | C_GTotal ret_ty -> let ret_type_info = get_type_info_from_type ret_ty in Some (mk_effect_info E_Total ret_type_info None None) | C_Lemma pre post patterns -> let pre ...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.V1.Data.comp_view", "FStar.Reflection.Types.typ", "FStar.Pervasives.Native.Some", "FStar.InteractiveHelpers.Effectful.effect_info", "FStar.InteractiveHelpers.Effectful.mk_effect_info", "FStar.InteractiveHelpers.ExploreTerm.E_Total", "FStar.Pervasives.Native.None", "FS...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 comp_view_to_effect_info : dbg:bool -> comp_view -> Tac (option effect_info)
[]
FStar.InteractiveHelpers.Effectful.comp_view_to_effect_info
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> cv: FStar.Reflection.V1.Data.comp_view -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.InteractiveHelpers.Effectful.effect_info)
{ "end_col": 7, "end_line": 142, "start_col": 2, "start_line": 112 }
FStar.Tactics.Effect.Tac
val compare_types (dbg: bool) (info1 info2: type_info) : Tac (c: type_comparison{c = Same_raw_type ==> has_refinement info2})
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compare_types (dbg : bool) (info1 info2 : type_info) : Tac (c:type_comparison{c = Same_raw_type ==> has_refinement info2}) = print_dbg dbg "[> compare_types"; if term_eq info1.ty info2.ty then let _ = print_dbg dbg "-> types are equal" in if has_refinement info2 then let _ = print_dbg dbg ...
val compare_types (dbg: bool) (info1 info2: type_info) : Tac (c: type_comparison{c = Same_raw_type ==> has_refinement info2}) let compare_types (dbg: bool) (info1 info2: type_info) : Tac (c: type_comparison{c = Same_raw_type ==> has_refinement info2}) =
true
null
false
print_dbg dbg "[> compare_types"; if term_eq info1.ty info2.ty then let _ = print_dbg dbg "-> types are equal" in if has_refinement info2 then let _ = print_dbg dbg "-> 2nd type has refinement" in if has_refinement info1 then let _ = print_dbg dbg "-> 1st type has refinement" in if term_eq...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.type_info", "FStar.InteractiveHelpers.Effectful.has_refinement", "FStar.InteractiveHelpers.Effectful.Refines", "FStar.InteractiveHelpers.Effectful.type_comparison", "Prims.l_imp", "Prims.b2t", "Prims.op_Equality", "FStar.InteractiveHelpers.Effectfu...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compare_types (dbg: bool) (info1 info2: type_info) : Tac (c: type_comparison{c = Same_raw_type ==> has_refinement info2})
[]
FStar.InteractiveHelpers.Effectful.compare_types
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> info1: FStar.InteractiveHelpers.ExploreTerm.type_info -> info2: FStar.InteractiveHelpers.ExploreTerm.type_info -> FStar.Tactics.Effect.Tac (c: FStar.InteractiveHelpers.Effectful.type_comparison { c = FStar.InteractiveHelpers.Effectful.Same_raw_type ==> FStar...
{ "end_col": 13, "end_line": 276, "start_col": 2, "start_line": 252 }
FStar.Tactics.Effect.Tac
val compute_post_type : bool -> env -> term -> term -> Tac pre_post_type
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let compute_post_type dbg e ret_type post = print_dbg dbg "[> compute_post_type"; let get_tot_ret_type c : Tac (option term_view) = match get_total_or_gtotal_ret_type c with | Some ret_ty -> Some (inspect ret_ty) | None -> None in match safe_tc e post with | None -> print_dbg dbg "safe_tc fail...
val compute_post_type : bool -> env -> term -> term -> Tac pre_post_type let compute_post_type dbg e ret_type post =
true
null
false
print_dbg dbg "[> compute_post_type"; let get_tot_ret_type c : Tac (option term_view) = match get_total_or_gtotal_ret_type c with | Some ret_ty -> Some (inspect ret_ty) | None -> None in match safe_tc e post with | None -> print_dbg dbg "safe_tc failed"; PP_Unknown | Some ty -> print_dbg dbg "safe_tc succee...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.env", "FStar.Reflection.Types.term", "FStar.InteractiveHelpers.Effectful.PP_Unknown", "FStar.InteractiveHelpers.Effectful.pre_post_type", "Prims.unit", "FStar.InteractiveHelpers.Base.print_dbg", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection....
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 compute_post_type : bool -> env -> term -> term -> Tac pre_post_type
[]
FStar.InteractiveHelpers.Effectful.compute_post_type
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> e: FStar.Reflection.Types.env -> ret_type: FStar.Reflection.Types.term -> post: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.InteractiveHelpers.Effectful.pre_post_type
{ "end_col": 16, "end_line": 443, "start_col": 2, "start_line": 395 }
FStar.Tactics.Effect.Tac
val pre_post_to_propositions : dbg:bool -> ge:genv -> etype:effect_type -> ret_value:term -> ret_abs_binder:option binder -> ret_type:type_info -> opt_pre:option term -> opt_post:option term -> parents:list term_view (* to look for state variables for the pre *) -> children:list term_view (* to l...
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let pre_post_to_propositions dbg ge0 etype v ret_abs_binder ret_type opt_pre opt_post parents children = print_dbg dbg "[> pre_post_to_propositions: begin"; print_dbg dbg ("- uninstantiated pre: " ^ option_to_string term_to_string opt_pre); print_dbg dbg ("- uninstantiated post: " ^ o...
val pre_post_to_propositions : dbg:bool -> ge:genv -> etype:effect_type -> ret_value:term -> ret_abs_binder:option binder -> ret_type:type_info -> opt_pre:option term -> opt_post:option term -> parents:list term_view (* to look for state variables for the pre *) -> children:list term_view (* to l...
true
null
false
print_dbg dbg "[> pre_post_to_propositions: begin"; print_dbg dbg ("- uninstantiated pre: " ^ option_to_string term_to_string opt_pre); print_dbg dbg ("- uninstantiated post: " ^ option_to_string term_to_string opt_post); let brs = match ret_abs_binder with | None -> [] | Some b -> [b] in let ge3, (pre_values, pr...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.InteractiveHelpers.ExploreTerm.effect_type", "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "FStar.Reflection.Types.binder", "FStar.InteractiveHelpers.ExploreTerm.type_info", "Prims.list", "FStar.Reflection.V1.Data.term_vie...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 pre_post_to_propositions : dbg:bool -> ge:genv -> etype:effect_type -> ret_value:term -> ret_abs_binder:option binder -> ret_type:type_info -> opt_pre:option term -> opt_post:option term -> parents:list term_view (* to look for state variables for the pre *) -> children:list term_view (* to l...
[]
FStar.InteractiveHelpers.Effectful.pre_post_to_propositions
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
dbg: Prims.bool -> ge: FStar.InteractiveHelpers.Base.genv -> etype: FStar.InteractiveHelpers.ExploreTerm.effect_type -> ret_value: FStar.Reflection.Types.term -> ret_abs_binder: FStar.Pervasives.Native.option FStar.Reflection.Types.binder -> ret_type: FStar.InteractiveHelpers.ExploreTerm.type_i...
{ "end_col": 26, "end_line": 742, "start_col": 2, "start_line": 664 }
FStar.Tactics.Effect.Tac
val eterm_info_to_assertions : dbg:bool -> with_gpre:bool -> with_gpost:bool -> ge:genv -> t:term -> is_let:bool (* the term is the bound expression in a let binding *) -> is_assert:bool (* the term is an assert - in which case we only output the precondition *) -> info:eterm_info -> opt_bind_var:o...
[ { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Propositions", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.ExploreTerm", "short_module": null }, { "abbrev": false, "full_module": "FStar.InteractiveHelpers.Base", "short_m...
false
let eterm_info_to_assertions dbg with_gpre with_gpost ge t is_let is_assert info bind_var opt_c parents children = print_dbg dbg "[> eterm_info_to_assertions"; (* Introduce additional variables to instantiate the return type refinement, * the precondition, the postcondition and the g...
val eterm_info_to_assertions : dbg:bool -> with_gpre:bool -> with_gpost:bool -> ge:genv -> t:term -> is_let:bool (* the term is the bound expression in a let binding *) -> is_assert:bool (* the term is an assert - in which case we only output the precondition *) -> info:eterm_info -> opt_bind_var:o...
true
null
false
print_dbg dbg "[> eterm_info_to_assertions"; let einfo = info.einfo in let ge0, (v: term), (opt_b: option binder) = match bind_var with | Some v -> ge, v, None | None -> if effect_type_is_stateful einfo.ei_type then if is_unit_type einfo.ei_ret_type.ty then ge, (`()), None else l...
{ "checked_file": "FStar.InteractiveHelpers.Effectful.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.InteractiveHelpers.Effectful.eterm_info", "FStar.Pervasives.Native.option", "FStar.InteractiveHelpers.ExploreTerm.typ_or_comp", "Prims.list", "FStar.Reflection.V1.Data.term_view", "FStar.Reflection.Types.binder...
[]
module FStar.InteractiveHelpers.Effectful module HS = FStar.HyperStack open FStar.List open FStar.Tactics open FStar.Mul open FStar.InteractiveHelpers.Base open FStar.InteractiveHelpers.ExploreTerm open FStar.InteractiveHelpers.Propositions let term_eq = FStar.Tactics.term_eq_old /// Effectful term analysis: retrie...
false
false
FStar.InteractiveHelpers.Effectful.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 eterm_info_to_assertions : dbg:bool -> with_gpre:bool -> with_gpost:bool -> ge:genv -> t:term -> is_let:bool (* the term is the bound expression in a let binding *) -> is_assert:bool (* the term is an assert - in which case we only output the precondition *) -> info:eterm_info -> opt_bind_var:o...
[]
FStar.InteractiveHelpers.Effectful.eterm_info_to_assertions
{ "file_name": "ulib/experimental/FStar.InteractiveHelpers.Effectful.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 -> ge: FStar.InteractiveHelpers.Base.genv -> t: FStar.Reflection.Types.term -> is_let: Prims.bool -> is_assert: Prims.bool -> info: FStar.InteractiveHelpers.Effectful.eterm_info -> opt_bind_var: FStar.Pervasives.Nati...
{ "end_col": 7, "end_line": 962, "start_col": 2, "start_line": 766 }
Prims.Tot
val view_n (t: base_typ) : pos
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let view_n (t:base_typ) : pos = view_n_unfold t
val view_n (t: base_typ) : pos let view_n (t: base_typ) : pos =
false
null
false
view_n_unfold t
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Types.view_n_unfold", "Prims.pos" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
true
Vale.Interop.Types.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 view_n (t: base_typ) : pos
[]
Vale.Interop.Types.view_n
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> Prims.pos
{ "end_col": 47, "end_line": 32, "start_col": 32, "start_line": 32 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let disjoint_addr addr1 length1 addr2 length2 = (* The first buffer is completely before the second, or the opposite *) addr1 + length1 < addr2 || addr2 + length2 < addr1
let disjoint_addr addr1 length1 addr2 length2 =
false
null
false
addr1 + length1 < addr2 || addr2 + length2 < addr1
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Prims.int", "Prims.op_BarBar", "Prims.op_LessThan", "Prims.op_Addition", "Prims.bool" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
true
Vale.Interop.Types.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 disjoint_addr : addr1: Prims.int -> length1: Prims.int -> addr2: Prims.int -> length2: Prims.int -> Prims.bool
[]
Vale.Interop.Types.disjoint_addr
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
addr1: Prims.int -> length1: Prims.int -> addr2: Prims.int -> length2: Prims.int -> Prims.bool
{ "end_col": 25, "end_line": 61, "start_col": 2, "start_line": 60 }
Prims.GTot
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let get_downview (#src:base_typ) (#rrel #rel:MB.srel (base_typ_as_type src)) (b:MB.mbuffer (base_typ_as_type src) rrel rel) = DV.mk_buffer_view b (down_view src)
let get_downview (#src: base_typ) (#rrel #rel: MB.srel (base_typ_as_type src)) (b: MB.mbuffer (base_typ_as_type src) rrel rel) =
false
null
false
DV.mk_buffer_view b (down_view src)
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "sometrivial" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "LowStar.Monotonic.Buffer.srel", "Vale.Interop.Types.base_typ_as_type", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.BufferView.Down.mk_buffer_view", "FStar.UInt8.t", "Vale.Interop.Types.down_view", "LowStar.BufferView.Down.buffer" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
false
Vale.Interop.Types.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 get_downview : b: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src) rrel rel -> Prims.GTot (LowStar.BufferView.Down.buffer FStar.UInt8.t)
[]
Vale.Interop.Types.get_downview
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: LowStar.Monotonic.Buffer.mbuffer (Vale.Interop.Types.base_typ_as_type src) rrel rel -> Prims.GTot (LowStar.BufferView.Down.buffer FStar.UInt8.t)
{ "end_col": 37, "end_line": 67, "start_col": 2, "start_line": 67 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let addr_map_pred (m:b8 -> W.nat64) = (forall (buf1 buf2:b8).{:pattern (m buf1); (m buf2)} MB.disjoint buf1.bsrc buf2.bsrc ==> disjoint_addr (m buf1) (DV.length (get_downview buf1.bsrc)) (m buf2) (DV.length (get_downview buf2.bsrc))) /\ (forall (b:b8).{:pattern (m b)} m b + DV.length (get_downview b.bsrc) <...
let addr_map_pred (m: (b8 -> W.nat64)) =
false
null
false
(forall (buf1: b8) (buf2: b8). {:pattern (m buf1); (m buf2)} MB.disjoint buf1.bsrc buf2.bsrc ==> disjoint_addr (m buf1) (DV.length (get_downview buf1.bsrc)) (m buf2) (DV.length (get_downview buf2.bsrc))) /\ (forall (b: b8). {:pattern (m b)} m b + DV.length (get_downview b.bsrc) < W.pow2_64)
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Vale.Interop.Types.b8", "Vale.Def.Words_s.nat64", "Prims.l_and", "Prims.l_Forall", "Prims.l_imp", "LowStar.Monotonic.Buffer.disjoint", "Vale.Interop.Types.base_typ_as_type", "Vale.Interop.Types.__proj__Buffer__item__src", "Vale.Interop.Types.b8_preorder", "Vale.Interop.Types.__proj__Buffer__item_...
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
true
Vale.Interop.Types.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 addr_map_pred : m: (_: Vale.Interop.Types.b8 -> Vale.Def.Words_s.nat64) -> Prims.logical
[]
Vale.Interop.Types.addr_map_pred
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
m: (_: Vale.Interop.Types.b8 -> Vale.Def.Words_s.nat64) -> Prims.logical
{ "end_col": 84, "end_line": 74, "start_col": 2, "start_line": 71 }
Prims.Tot
val b8_preorder (writeable: bool) (a: Type0) : MB.srel a
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let b8_preorder (writeable:bool) (a:Type0) : MB.srel a = match writeable with | true -> B.trivial_preorder a | false -> IB.immutable_preorder a
val b8_preorder (writeable: bool) (a: Type0) : MB.srel a let b8_preorder (writeable: bool) (a: Type0) : MB.srel a =
false
null
false
match writeable with | true -> B.trivial_preorder a | false -> IB.immutable_preorder a
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Prims.bool", "LowStar.Buffer.trivial_preorder", "LowStar.ImmutableBuffer.immutable_preorder", "LowStar.Monotonic.Buffer.srel" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
false
Vale.Interop.Types.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 b8_preorder (writeable: bool) (a: Type0) : MB.srel a
[]
Vale.Interop.Types.b8_preorder
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
writeable: Prims.bool -> a: Type0 -> LowStar.Monotonic.Buffer.srel a
{ "end_col": 36, "end_line": 45, "start_col": 2, "start_line": 43 }
Prims.Tot
val base_typ_as_type (t: base_typ) : eqtype
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let base_typ_as_type (t:base_typ) : eqtype = let open W in let open Vale.Def.Types_s in match t with | TUInt8 -> UInt8.t | TUInt16 -> UInt16.t | TUInt32 -> UInt32.t | TUInt64 -> UInt64.t | TUInt128 -> quad32
val base_typ_as_type (t: base_typ) : eqtype let base_typ_as_type (t: base_typ) : eqtype =
false
null
false
let open W in let open Vale.Def.Types_s in match t with | TUInt8 -> UInt8.t | TUInt16 -> UInt16.t | TUInt32 -> UInt32.t | TUInt64 -> UInt64.t | TUInt128 -> quad32
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "FStar.UInt8.t", "FStar.UInt16.t", "FStar.UInt32.t", "FStar.UInt64.t", "Vale.Def.Types_s.quad32", "Prims.eqtype" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__]
false
true
Vale.Interop.Types.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 base_typ_as_type (t: base_typ) : eqtype
[]
Vale.Interop.Types.base_typ_as_type
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> Prims.eqtype
{ "end_col": 22, "end_line": 20, "start_col": 2, "start_line": 13 }
Prims.Tot
val view_n_unfold (t: base_typ) : pos
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let view_n_unfold (t:base_typ) : pos = match t with | TUInt8 -> 1 | TUInt16 -> 2 | TUInt32 -> 4 | TUInt64 -> 8 | TUInt128 -> 16
val view_n_unfold (t: base_typ) : pos let view_n_unfold (t: base_typ) : pos =
false
null
false
match t with | TUInt8 -> 1 | TUInt16 -> 2 | TUInt32 -> 4 | TUInt64 -> 8 | TUInt128 -> 16
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Prims.pos" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
true
Vale.Interop.Types.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 view_n_unfold (t: base_typ) : pos
[]
Vale.Interop.Types.view_n_unfold
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> Prims.pos
{ "end_col": 18, "end_line": 30, "start_col": 2, "start_line": 25 }
Prims.Tot
val down_view (t: base_typ) : DV.view (base_typ_as_type t) UInt8.t
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.Def.Words_s", "short_module": "W" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "DV" }, { "abbrev": true, "full_mo...
false
let down_view (t:base_typ) : DV.view (base_typ_as_type t) UInt8.t = match t with | TUInt8 -> Vale.Interop.Views.down_view8 | TUInt16 -> Vale.Interop.Views.down_view16 | TUInt32 -> Vale.Interop.Views.down_view32 | TUInt64 -> Vale.Interop.Views.down_view64 | TUInt128 -> Vale.Interop.Views.down_view128
val down_view (t: base_typ) : DV.view (base_typ_as_type t) UInt8.t let down_view (t: base_typ) : DV.view (base_typ_as_type t) UInt8.t =
false
null
false
match t with | TUInt8 -> Vale.Interop.Views.down_view8 | TUInt16 -> Vale.Interop.Views.down_view16 | TUInt32 -> Vale.Interop.Views.down_view32 | TUInt64 -> Vale.Interop.Views.down_view64 | TUInt128 -> Vale.Interop.Views.down_view128
{ "checked_file": "Vale.Interop.Types.fst.checked", "dependencies": [ "Vale.Interop.Views.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Arch.HeapTypes_s.fst.checked", "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableB...
[ "total" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Views.down_view8", "Vale.Interop.Views.down_view16", "Vale.Interop.Views.down_view32", "Vale.Interop.Views.down_view64", "Vale.Interop.Views.down_view128", "LowStar.BufferView.Down.view", "Vale.Interop.Types.base_typ_as_type", "FStar.UInt8.t" ]
[]
module Vale.Interop.Types open FStar.Mul include Vale.Arch.HeapTypes_s module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module MB = LowStar.Monotonic.Buffer module DV = LowStar.BufferView.Down module W = Vale.Def.Words_s module L = FStar.List.Tot [@__reduce__] let base_typ_as_type (t:base_typ) : eqtype = ...
false
false
Vale.Interop.Types.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 down_view (t: base_typ) : DV.view (base_typ_as_type t) UInt8.t
[]
Vale.Interop.Types.down_view
{ "file_name": "vale/specs/interop/Vale.Interop.Types.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> LowStar.BufferView.Down.view (Vale.Interop.Types.base_typ_as_type t) FStar.UInt8.t
{ "end_col": 47, "end_line": 40, "start_col": 68, "start_line": 35 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.Def.Types_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.State", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_s", "short_module": null }, { "abbrev": false, "full_m...
false
let heaplet_id = M.heaplet_id
let heaplet_id =
false
null
false
M.heaplet_id
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Memory.heaplet_id" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.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 heaplet_id : Type0
[]
Vale.X64.Decls.heaplet_id
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 36, "end_line": 22, "start_col": 24, "start_line": 22 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.Def.Types_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.State", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_s", "short_module": null }, { "abbrev": false, "full_m...
false
let vale_heap = M.vale_heap
let vale_heap =
false
null
false
M.vale_heap
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Memory.vale_heap" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.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 vale_heap : Type
[]
Vale.X64.Decls.vale_heap
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type
{ "end_col": 34, "end_line": 20, "start_col": 23, "start_line": 20 }
Prims.GTot
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let loc_buffer(#t:M.base_typ) (b:M.buffer t) = M.loc_buffer #t b
let loc_buffer (#t: M.base_typ) (b: M.buffer t) =
false
null
false
M.loc_buffer #t b
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "sometrivial" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.X64.Memory.buffer", "Vale.X64.Memory.loc_buffer", "Vale.X64.Memory.loc" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
false
Vale.X64.Decls.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 loc_buffer : b: Vale.X64.Memory.buffer t -> Prims.GTot Vale.X64.Memory.loc
[]
Vale.X64.Decls.loc_buffer
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.X64.Memory.buffer t -> Prims.GTot Vale.X64.Memory.loc
{ "end_col": 71, "end_line": 118, "start_col": 54, "start_line": 118 }
Prims.Tot
val va_get_reg64 (r: reg_64) (s: va_state) : nat64
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_get_reg64 (r:reg_64) (s:va_state) : nat64 = eval_reg_64 r s
val va_get_reg64 (r: reg_64) (s: va_state) : nat64 let va_get_reg64 (r: reg_64) (s: va_state) : nat64 =
false
null
false
eval_reg_64 r s
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Machine_s.reg_64", "Vale.X64.Decls.va_state", "Vale.X64.State.eval_reg_64", "Vale.Def.Types_s.nat64" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_get_reg64 (r: reg_64) (s: va_state) : nat64
[]
Vale.X64.Decls.va_get_reg64
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r: Vale.X64.Machine_s.reg_64 -> s: Vale.X64.Decls.va_state -> Vale.Def.Types_s.nat64
{ "end_col": 85, "end_line": 204, "start_col": 70, "start_line": 204 }
Prims.Tot
val va_op_xmm_xmm (x: reg_xmm) : va_operand_xmm
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_op_xmm_xmm (x:reg_xmm) : va_operand_xmm = x
val va_op_xmm_xmm (x: reg_xmm) : va_operand_xmm let va_op_xmm_xmm (x: reg_xmm) : va_operand_xmm =
false
null
false
x
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Machine_s.reg_xmm", "Vale.X64.Decls.va_operand_xmm" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_op_xmm_xmm (x: reg_xmm) : va_operand_xmm
[]
Vale.X64.Decls.va_op_xmm_xmm
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.X64.Machine_s.reg_xmm -> Vale.X64.Decls.va_operand_xmm
{ "end_col": 69, "end_line": 160, "start_col": 68, "start_line": 160 }
Prims.Tot
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_operand_opr64 = operand64
let va_operand_opr64 =
false
null
false
operand64
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Machine_s.operand64" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_operand_opr64 : Prims.eqtype
[]
Vale.X64.Decls.va_operand_opr64
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.eqtype
{ "end_col": 39, "end_line": 73, "start_col": 30, "start_line": 73 }
Prims.GTot
val buffer128_as_seq (m: vale_heap) (b: M.buffer128) : GTot (Seq.seq quad32)
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let buffer128_as_seq (m:vale_heap) (b:M.buffer128) : GTot (Seq.seq quad32) = M.buffer_as_seq m b
val buffer128_as_seq (m: vale_heap) (b: M.buffer128) : GTot (Seq.seq quad32) let buffer128_as_seq (m: vale_heap) (b: M.buffer128) : GTot (Seq.seq quad32) =
false
null
false
M.buffer_as_seq m b
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "sometrivial" ]
[ "Vale.X64.Decls.vale_heap", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.buffer_as_seq", "Vale.X64.Memory.vuint128", "FStar.Seq.Base.seq", "Vale.X64.Decls.quad32" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
false
Vale.X64.Decls.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 buffer128_as_seq (m: vale_heap) (b: M.buffer128) : GTot (Seq.seq quad32)
[]
Vale.X64.Decls.buffer128_as_seq
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
m: Vale.X64.Decls.vale_heap -> b: Vale.X64.Memory.buffer128 -> Prims.GTot (FStar.Seq.Base.seq Vale.X64.Decls.quad32)
{ "end_col": 103, "end_line": 111, "start_col": 84, "start_line": 111 }
Prims.Tot
val valid_buf_maddr128 (addr: int) (s_mem: vale_heap) (layout: vale_heap_layout) (b: M.buffer128) (index: int) (t: taint) : prop0
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let valid_buf_maddr128 (addr:int) (s_mem:vale_heap) (layout:vale_heap_layout) (b:M.buffer128) (index:int) (t:taint) : prop0 = valid_src_addr s_mem b index /\ M.valid_taint_buf128 b s_mem layout.vl_taint t /\ addr == M.buffer_addr b s_mem + 16 * index
val valid_buf_maddr128 (addr: int) (s_mem: vale_heap) (layout: vale_heap_layout) (b: M.buffer128) (index: int) (t: taint) : prop0 let valid_buf_maddr128 (addr: int) (s_mem: vale_heap) (layout: vale_heap_layout) (b: M.buffer128) (index: int) (t:...
false
null
false
valid_src_addr s_mem b index /\ M.valid_taint_buf128 b s_mem layout.vl_taint t /\ addr == M.buffer_addr b s_mem + 16 * index
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Prims.int", "Vale.X64.Decls.vale_heap", "Vale.Arch.HeapImpl.vale_heap_layout", "Vale.X64.Memory.buffer128", "Vale.Arch.HeapTypes_s.taint", "Prims.l_and", "Vale.X64.Decls.valid_src_addr", "Vale.X64.Memory.vuint128", "Vale.X64.Memory.valid_taint_buf128", "Vale.Arch.HeapImpl.__proj__Mkvale_heap_layo...
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.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 valid_buf_maddr128 (addr: int) (s_mem: vale_heap) (layout: vale_heap_layout) (b: M.buffer128) (index: int) (t: taint) : prop0
[]
Vale.X64.Decls.valid_buf_maddr128
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
addr: Prims.int -> s_mem: Vale.X64.Decls.vale_heap -> layout: Vale.Arch.HeapImpl.vale_heap_layout -> b: Vale.X64.Memory.buffer128 -> index: Prims.int -> t: Vale.Arch.HeapTypes_s.taint -> Vale.Def.Prop_s.prop0
{ "end_col": 44, "end_line": 130, "start_col": 2, "start_line": 128 }
Prims.Tot
val va_coerce_reg_opr64_to_opr64 (o: va_operand_reg_opr64) : va_operand_opr64
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_coerce_reg_opr64_to_opr64 (o:va_operand_reg_opr64) : va_operand_opr64 = o
val va_coerce_reg_opr64_to_opr64 (o: va_operand_reg_opr64) : va_operand_opr64 let va_coerce_reg_opr64_to_opr64 (o: va_operand_reg_opr64) : va_operand_opr64 =
false
null
false
o
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Decls.va_operand_reg_opr64", "Vale.X64.Decls.va_operand_opr64" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_coerce_reg_opr64_to_opr64 (o: va_operand_reg_opr64) : va_operand_opr64
[]
Vale.X64.Decls.va_coerce_reg_opr64_to_opr64
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
o: Vale.X64.Decls.va_operand_reg_opr64 -> Vale.X64.Decls.va_operand_opr64
{ "end_col": 99, "end_line": 171, "start_col": 98, "start_line": 171 }
Prims.Tot
val va_subscript (#a: eqtype) (#b: Type) (x: Map.t a b) (y: a) : Tot b
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_subscript (#a:eqtype) (#b:Type) (x:Map.t a b) (y:a) : Tot b = Map.sel x y
val va_subscript (#a: eqtype) (#b: Type) (x: Map.t a b) (y: a) : Tot b let va_subscript (#a: eqtype) (#b: Type) (x: Map.t a b) (y: a) : Tot b =
false
null
false
Map.sel x y
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Prims.eqtype", "FStar.Map.t", "FStar.Map.sel" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
false
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_subscript (#a: eqtype) (#b: Type) (x: Map.t a b) (y: a) : Tot b
[]
Vale.X64.Decls.va_subscript
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: FStar.Map.t a b -> y: a -> b
{ "end_col": 87, "end_line": 43, "start_col": 76, "start_line": 43 }
Prims.Tot
val va_upd_ok (ok: bool) (s: vale_state) : vale_state
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_upd_ok (ok:bool) (s:vale_state) : vale_state = { s with vs_ok = ok }
val va_upd_ok (ok: bool) (s: vale_state) : vale_state let va_upd_ok (ok: bool) (s: vale_state) : vale_state =
false
null
false
{ s with vs_ok = ok }
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Prims.bool", "Vale.X64.State.vale_state", "Vale.X64.State.Mkvale_state", "Vale.X64.State.__proj__Mkvale_state__item__vs_regs", "Vale.X64.State.__proj__Mkvale_state__item__vs_flags", "Vale.X64.State.__proj__Mkvale_state__item__vs_heap", "Vale.X64.State.__proj__Mkvale_state__item__vs_stack", "Vale.X64....
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_upd_ok (ok: bool) (s: vale_state) : vale_state
[]
Vale.X64.Decls.va_upd_ok
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ok: Prims.bool -> s: Vale.X64.State.vale_state -> Vale.X64.State.vale_state
{ "end_col": 85, "end_line": 212, "start_col": 68, "start_line": 212 }
Prims.Tot
val total_if (#a: Type) (b: bool) (x y: a) : a
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let total_if (#a:Type) (b:bool) (x y:a) : a = if b then x else y
val total_if (#a: Type) (b: bool) (x y: a) : a let total_if (#a: Type) (b: bool) (x y: a) : a =
false
null
false
if b then x else y
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Prims.bool" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
false
Vale.X64.Decls.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 total_if (#a: Type) (b: bool) (x y: a) : a
[]
Vale.X64.Decls.total_if
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Prims.bool -> x: a -> y: a -> a
{ "end_col": 20, "end_line": 57, "start_col": 2, "start_line": 57 }
Prims.Tot
val va_get_mem (s: va_state) : vale_heap
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_get_mem (s:va_state) : vale_heap = M.get_vale_heap s.vs_heap
val va_get_mem (s: va_state) : vale_heap let va_get_mem (s: va_state) : vale_heap =
false
null
false
M.get_vale_heap s.vs_heap
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Decls.va_state", "Vale.X64.Memory.get_vale_heap", "Vale.X64.State.__proj__Mkvale_state__item__vs_heap", "Vale.X64.Decls.vale_heap" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_get_mem (s: va_state) : vale_heap
[]
Vale.X64.Decls.va_get_mem
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Vale.X64.Decls.va_state -> Vale.X64.Decls.vale_heap
{ "end_col": 86, "end_line": 206, "start_col": 61, "start_line": 206 }
Prims.Tot
val va_get_success (r: va_transformation_result) : va_pbool
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_get_success (r:va_transformation_result) : va_pbool = r.success
val va_get_success (r: va_transformation_result) : va_pbool let va_get_success (r: va_transformation_result) : va_pbool =
false
null
false
r.success
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Vale.X64.Decls.va_transformation_result", "Vale.X64.Decls.__proj__Mkva_transformation_result__item__success", "Vale.X64.Decls.va_pbool" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_get_success (r: va_transformation_result) : va_pbool
[]
Vale.X64.Decls.va_get_success
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r: Vale.X64.Decls.va_transformation_result -> Vale.X64.Decls.va_pbool
{ "end_col": 77, "end_line": 94, "start_col": 68, "start_line": 94 }
Prims.Tot
val va_mul_nat (x y: nat) : nat
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "BS" }, { "abbrev": true, "full_module": "Vale.X64.Bytes_Code_s", "short_module": "BC" }, { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": false...
false
let va_mul_nat (x y:nat) : nat = mul_nat_helper x y; x * y
val va_mul_nat (x y: nat) : nat let va_mul_nat (x y: nat) : nat =
false
null
false
mul_nat_helper x y; x * y
{ "checked_file": "Vale.X64.Decls.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.Lib.Map16.fsti.checked", "Vale.Def.Types_s.fst.checked...
[ "total" ]
[ "Prims.nat", "FStar.Mul.op_Star", "Prims.unit", "Vale.X64.Decls.mul_nat_helper" ]
[]
module Vale.X64.Decls open FStar.Mul open Vale.Arch.HeapTypes_s open Vale.Arch.HeapImpl module M = Vale.X64.Memory module S = Vale.X64.Stack_i module Map16 = Vale.Lib.Map16 // This interface should hide all of Machine_Semantics_s. // (It should not refer to Machine_Semantics_s, directly or indirectly.) // It should no...
false
true
Vale.X64.Decls.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val va_mul_nat (x y: nat) : nat
[]
Vale.X64.Decls.va_mul_nat
{ "file_name": "vale/code/arch/x64/Vale.X64.Decls.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Prims.nat -> y: Prims.nat -> Prims.nat
{ "end_col": 7, "end_line": 100, "start_col": 2, "start_line": 99 }