effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let elim_exists_post (u:universe) (a:term) (p:term) (x:var) =
let erased_a = mk_erased u a in
mk_abs erased_a Q_Explicit (elim_exists_post_body u a p x) | let elim_exists_post (u: universe) (a p: term) (x: var) = | false | null | false | let erased_a = mk_erased u a in
mk_abs erased_a Q_Explicit (elim_exists_post_body u a p x) | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"Pulse.Reflection.Util.mk_abs",
"FStar.Reflection.V2.Data.Q_Explicit",
"Pulse.Steel.Wrapper.Typing.elim_exists_post_body",
"Pulse.Reflection.Util.mk_erased"
] | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 elim_exists_post : u46: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | [] | Pulse.Steel.Wrapper.Typing.elim_exists_post | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u46: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | {
"end_col": 60,
"end_line": 217,
"start_col": 61,
"start_line": 215
} | |
Prims.Tot | val return_stt_ghost_noeq_comp (u: universe) (a x p: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let return_stt_ghost_noeq_comp (u:universe) (a:term) (x:term) (p:term) : term =
mk_stt_ghost_comp u a emp_inames_tm (pack_ln (Tv_App p (x, Q_Explicit))) p | val return_stt_ghost_noeq_comp (u: universe) (a x p: term) : term
let return_stt_ghost_noeq_comp (u: universe) (a x p: term) : term = | false | null | false | mk_stt_ghost_comp u a emp_inames_tm (pack_ln (Tv_App p (x, Q_Explicit))) p | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_stt_ghost_comp",
"Pulse.Reflection.Util.emp_inames_tm",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv_App",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.V2.Data.aqualv",
"FStar... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 return_stt_ghost_noeq_comp (u: universe) (a x p: term) : term | [] | Pulse.Steel.Wrapper.Typing.return_stt_ghost_noeq_comp | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u32: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 76,
"end_line": 110,
"start_col": 2,
"start_line": 110
} |
Prims.Tot | val return_stt_noeq_comp (u: universe) (a x p: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let return_stt_noeq_comp (u:universe) (a:term) (x:term) (p:term) : term =
mk_stt_comp u a (pack_ln (Tv_App p (x, Q_Explicit))) p | val return_stt_noeq_comp (u: universe) (a x p: term) : term
let return_stt_noeq_comp (u: universe) (a x p: term) : term = | false | null | false | mk_stt_comp u a (pack_ln (Tv_App p (x, Q_Explicit))) p | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_stt_comp",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv_App",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.V2.Data.aqualv",
"FStar.Reflection.V2.Data.Q_Explicit"
] | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 return_stt_noeq_comp (u: universe) (a x p: term) : term | [] | Pulse.Steel.Wrapper.Typing.return_stt_noeq_comp | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u14: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 56,
"end_line": 36,
"start_col": 2,
"start_line": 36
} |
Prims.Tot | val with_localarray_body_post (post a ret_t arr: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_localarray_body_post (post:term) (a:term) (ret_t:term) (arr:term) : term =
mk_abs ret_t Q_Explicit (with_localarray_body_post_body post a arr) | val with_localarray_body_post (post a ret_t arr: term) : term
let with_localarray_body_post (post a ret_t arr: term) : term = | false | null | false | mk_abs ret_t Q_Explicit (with_localarray_body_post_body post a arr) | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_abs",
"FStar.Reflection.V2.Data.Q_Explicit",
"Pulse.Steel.Wrapper.Typing.with_localarray_body_post_body"
] | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_localarray_body_post (post a ret_t arr: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_localarray_body_post | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
post: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
ret_t: FStar.Reflection.Types.term ->
arr: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 69,
"end_line": 395,
"start_col": 2,
"start_line": 395
} |
Prims.Tot | val with_localarray_body_pre (pre a arr init len: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_localarray_body_pre (pre:term) (a:term) (arr:term) (init:term) (len:term) : term =
let pts_to : term =
mk_array_pts_to a arr full_perm_tm (mk_seq_create uzero a (mk_szv len) init) in
let is_full : term = mk_pure (mk_array_is_full a arr) in
let len_vp : term =
mk_pure (mk_eq2 uzero nat_tm (mk_arra... | val with_localarray_body_pre (pre a arr init len: term) : term
let with_localarray_body_pre (pre a arr init len: term) : term = | false | null | false | let pts_to:term = mk_array_pts_to a arr full_perm_tm (mk_seq_create uzero a (mk_szv len) init) in
let is_full:term = mk_pure (mk_array_is_full a arr) in
let len_vp:term = mk_pure (mk_eq2 uzero nat_tm (mk_array_length a arr) (mk_szv len)) in
mk_star pre (mk_star pts_to (mk_star is_full len_vp)) | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_star",
"Pulse.Reflection.Util.mk_pure",
"Pulse.Reflection.Util.mk_eq2",
"Pulse.Reflection.Util.uzero",
"Pulse.Reflection.Util.nat_tm",
"Pulse.Reflection.Util.mk_array_length",
"Pulse.Reflection.Util.mk_szv",
"Pulse.Reflection.Util.mk_array_is_... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_localarray_body_pre (pre a arr init len: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_localarray_body_pre | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
pre: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
arr: FStar.Reflection.Types.term ->
init: FStar.Reflection.Types.term ->
len: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 55,
"end_line": 381,
"start_col": 91,
"start_line": 375
} |
Prims.Tot | val with_local_body_post_body (post a x: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_local_body_post_body (post:term) (a:term) (x:term) : term =
// exists_ (R.pts_to r full_perm)
let exists_tm =
mk_exists (pack_universe Uv_Zero) a
(mk_abs a Q_Explicit
(mk_pts_to a x full_perm_tm (RT.bound_var 0))) in
mk_star post exists_tm | val with_local_body_post_body (post a x: term) : term
let with_local_body_post_body (post a x: term) : term = | false | null | false | let exists_tm =
mk_exists (pack_universe Uv_Zero)
a
(mk_abs a Q_Explicit (mk_pts_to a x full_perm_tm (RT.bound_var 0)))
in
mk_star post exists_tm | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_star",
"Pulse.Reflection.Util.mk_exists",
"FStar.Reflection.V2.Builtins.pack_universe",
"FStar.Reflection.V2.Data.Uv_Zero",
"Pulse.Reflection.Util.mk_abs",
"FStar.Reflection.V2.Data.Q_Explicit",
"Pulse.Reflection.Util.mk_pts_to",
"Pulse.Reflec... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_local_body_post_body (post a x: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_local_body_post_body | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
post: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 24,
"end_line": 344,
"start_col": 68,
"start_line": 338
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let elim_exists_post_body (u:universe) (a:term) (p:term) (x:var) =
let x_tm = RT.var_as_term x in
let reveal_x = mk_reveal u a x_tm in
let post = pack_ln (Tv_App p (reveal_x, Q_Explicit)) in
RT.subst_term post [ RT.ND x 0 ] | let elim_exists_post_body (u: universe) (a p: term) (x: var) = | false | null | false | let x_tm = RT.var_as_term x in
let reveal_x = mk_reveal u a x_tm in
let post = pack_ln (Tv_App p (reveal_x, Q_Explicit)) in
RT.subst_term post [RT.ND x 0] | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"FStar.Reflection.Typing.subst_term",
"Prims.Cons",
"FStar.Reflection.Typing.subst_elt",
"FStar.Reflection.Typing.ND",
"Prims.Nil",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 elim_exists_post_body : u42: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | [] | Pulse.Steel.Wrapper.Typing.elim_exists_post_body | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u42: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | {
"end_col": 34,
"end_line": 213,
"start_col": 66,
"start_line": 209
} | |
Prims.Tot | val return_stt_ghost_comp (u: universe) (a e p: term) (x: var) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let return_stt_ghost_comp (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
mk_stt_ghost_comp u a emp_inames_tm
(pack_ln (Tv_App p (e, Q_Explicit)))
(return_post_with_eq u a e p x) | val return_stt_ghost_comp (u: universe) (a e p: term) (x: var) : term
let return_stt_ghost_comp (u: universe) (a e p: term) (x: var) : term = | false | null | false | mk_stt_ghost_comp u
a
emp_inames_tm
(pack_ln (Tv_App p (e, Q_Explicit)))
(return_post_with_eq u a e p x) | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"Pulse.Reflection.Util.mk_stt_ghost_comp",
"Pulse.Reflection.Util.emp_inames_tm",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv_App",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Re... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 return_stt_ghost_comp (u: universe) (a e p: term) (x: var) : term | [] | Pulse.Steel.Wrapper.Typing.return_stt_ghost_comp | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u28: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
e: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | {
"end_col": 35,
"end_line": 92,
"start_col": 2,
"start_line": 90
} |
Prims.Tot | val with_localarray_body_post_body (post a arr: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_localarray_body_post_body (post:term) (a:term) (arr:term) : term =
// exists_ (A.pts_to arr full_perm)
let exists_tm =
mk_exists uzero (mk_seq uzero a)
(mk_abs (mk_seq uzero a) Q_Explicit
(mk_array_pts_to a arr full_perm_tm (RT.bound_var 0))) in
mk_star post exists_tm | val with_localarray_body_post_body (post a arr: term) : term
let with_localarray_body_post_body (post a arr: term) : term = | false | null | false | let exists_tm =
mk_exists uzero
(mk_seq uzero a)
(mk_abs (mk_seq uzero a) Q_Explicit (mk_array_pts_to a arr full_perm_tm (RT.bound_var 0)))
in
mk_star post exists_tm | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_star",
"Pulse.Reflection.Util.mk_exists",
"Pulse.Reflection.Util.uzero",
"Pulse.Reflection.Util.mk_seq",
"Pulse.Reflection.Util.mk_abs",
"FStar.Reflection.V2.Data.Q_Explicit",
"Pulse.Reflection.Util.mk_array_pts_to",
"Pulse.Reflection.Util.ful... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_localarray_body_post_body (post a arr: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_localarray_body_post_body | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
post: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
arr: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 24,
"end_line": 392,
"start_col": 75,
"start_line": 386
} |
Prims.Tot | val return_stt_atomic_noeq_comp (u: universe) (a x p: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let return_stt_atomic_noeq_comp (u:universe) (a:term) (x:term) (p:term) : term =
mk_stt_atomic_comp u a emp_inames_tm (pack_ln (Tv_App p (x, Q_Explicit))) p | val return_stt_atomic_noeq_comp (u: universe) (a x p: term) : term
let return_stt_atomic_noeq_comp (u: universe) (a x p: term) : term = | false | null | false | mk_stt_atomic_comp u a emp_inames_tm (pack_ln (Tv_App p (x, Q_Explicit))) p | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.universe",
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_stt_atomic_comp",
"Pulse.Reflection.Util.emp_inames_tm",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv_App",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.V2.Data.aqualv",
"FSta... | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 return_stt_atomic_noeq_comp (u: universe) (a x p: term) : term | [] | Pulse.Steel.Wrapper.Typing.return_stt_atomic_noeq_comp | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
u23: FStar.Reflection.Types.universe ->
a: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term ->
p: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 77,
"end_line": 73,
"start_col": 2,
"start_line": 73
} |
Prims.Tot | val with_local_body_pre (pre a x init: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_local_body_pre (pre:term) (a:term) (x:term) (init:term) : term =
let pts_to : term =
mk_pts_to a x full_perm_tm init in
mk_star pre pts_to | val with_local_body_pre (pre a x init: term) : term
let with_local_body_pre (pre a x init: term) : term = | false | null | false | let pts_to:term = mk_pts_to a x full_perm_tm init in
mk_star pre pts_to | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_star",
"Pulse.Reflection.Util.mk_pts_to",
"Pulse.Reflection.Util.full_perm_tm"
] | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_local_body_pre (pre a x init: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_local_body_pre | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
pre: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term ->
init: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 20,
"end_line": 333,
"start_col": 73,
"start_line": 330
} |
Prims.Tot | val with_local_body_post (post a ret_t x: term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Reflection.V2",
"short_module": null
},
{
"abbrev": true... | false | let with_local_body_post (post:term) (a:term) (ret_t:term) (x:term) : term =
mk_abs ret_t Q_Explicit (with_local_body_post_body post a x) | val with_local_body_post (post a ret_t x: term) : term
let with_local_body_post (post a ret_t x: term) : term = | false | null | false | mk_abs ret_t Q_Explicit (with_local_body_post_body post a x) | {
"checked_file": "Pulse.Steel.Wrapper.Typing.fsti.checked",
"dependencies": [
"Pulse.Reflection.Util.fst.checked",
"prims.fst.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"i... | [
"total"
] | [
"FStar.Reflection.Types.term",
"Pulse.Reflection.Util.mk_abs",
"FStar.Reflection.V2.Data.Q_Explicit",
"Pulse.Steel.Wrapper.Typing.with_local_body_post_body"
] | [] | module Pulse.Steel.Wrapper.Typing
open FStar.Reflection.V2
open Pulse.Reflection.Util
module RT = FStar.Reflection.Typing
let return_post_with_eq (u:universe) (a:term) (e:term) (p:term) (x:var) : term =
let x_tm = RT.var_as_term x in
let eq2_tm = mk_eq2 u a x_tm e in
let p_app_x = pack_ln (Tv_App p (x_tm, Q_Ex... | false | true | Pulse.Steel.Wrapper.Typing.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 with_local_body_post (post a ret_t x: term) : term | [] | Pulse.Steel.Wrapper.Typing.with_local_body_post | {
"file_name": "lib/steel/pulse/Pulse.Steel.Wrapper.Typing.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
post: FStar.Reflection.Types.term ->
a: FStar.Reflection.Types.term ->
ret_t: FStar.Reflection.Types.term ->
x: FStar.Reflection.Types.term
-> FStar.Reflection.Types.term | {
"end_col": 62,
"end_line": 347,
"start_col": 2,
"start_line": 347
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_consttime_threshold = 200 | let bn_exp_mont_consttime_threshold = | false | null | false | 200 | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [] | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | true | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_consttime_threshold : Prims.int | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_consttime_threshold | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.int | {
"end_col": 41,
"end_line": 99,
"start_col": 38,
"start_line": 99
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_vartime_threshold = 200 | let bn_exp_mont_vartime_threshold = | false | null | false | 200 | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [] | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | true | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_vartime_threshold : Prims.int | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_vartime_threshold | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.int | {
"end_col": 39,
"end_line": 96,
"start_col": 36,
"start_line": 96
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_mont_t (#t:limb_t) (#len:BN.bn_len t) (n:lbignum t len) =
x:lbignum t len{bn_v x < bn_v n} | let bn_mont_t (#t: limb_t) (#len: BN.bn_len t) (n: lbignum t len) = | false | null | false | x: lbignum t len {bn_v x < bn_v n} | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Prims.b2t",
"Prims.op_LessThan",
"Hacl.Spec.Bignum.Definitions.bn_v"
] | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_t : n: Hacl.Spec.Bignum.Definitions.lbignum t len -> Type0 | [] | Hacl.Spec.Bignum.MontExponentiation.bn_mont_t | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | n: Hacl.Spec.Bignum.Definitions.lbignum t len -> Type0 | {
"end_col": 34,
"end_line": 25,
"start_col": 2,
"start_line": 25
} | |
Prims.Tot | val bn_mont_one:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.one_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_mont_one #t #len n mu _ =
BM.bn_precomp_r2_mod_n_lemma 0 n;
let r2 = BM.bn_precomp_r2_mod_n 0 n in
BM.bn_mont_one_lemma n mu r2;
BM.bn_mont_one n mu r2 | val bn_mont_one:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.one_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu)
let bn_mont_one #t #len n mu _ = | false | null | false | BM.bn_precomp_r2_mod_n_lemma 0 n;
let r2 = BM.bn_precomp_r2_mod_n 0 n in
BM.bn_mont_one_lemma n mu r2;
BM.bn_mont_one n mu r2 | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Prims.unit",
"Hacl.Spec.Bignum.Montgomery.bn_mont_one",
"Hacl.Spec.Bignum.Montgomery.bn_mont_one_lemma",
"Hacl.Sp... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_one:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.one_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [] | Hacl.Spec.Bignum.MontExponentiation.bn_mont_one | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
n: Hacl.Spec.Bignum.Definitions.lbignum t len ->
mu: Hacl.Spec.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre n mu}
-> Spec.Exponentiation.one_st (Hacl.Spec.Bignum.MontExponentiation.bn_mont_t n)
(Hacl.Spec.Bignum.MontExponentiation.mk_to_nat_mont_ll_comm_monoid n mu) | {
"end_col": 24,
"end_line": 51,
"start_col": 2,
"start_line": 48
} |
Prims.Tot | val bn_mont_mul:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.mul_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_mont_mul #t #len n mu aM bM =
BM.bn_mont_mul_lemma n mu aM bM;
BM.bn_mont_mul n mu aM bM | val bn_mont_mul:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.mul_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu)
let bn_mont_mul #t #len n mu aM bM = | false | null | false | BM.bn_mont_mul_lemma n mu aM bM;
BM.bn_mont_mul n mu aM bM | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Hacl.Spec.Bignum.Montgomery.bn_mont_mul",
"Prims.unit",
"Hacl.Sp... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_mul:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.mul_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [] | Hacl.Spec.Bignum.MontExponentiation.bn_mont_mul | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
n: Hacl.Spec.Bignum.Definitions.lbignum t len ->
mu: Hacl.Spec.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre n mu}
-> Spec.Exponentiation.mul_st (Hacl.Spec.Bignum.MontExponentiation.bn_mont_t n)
(Hacl.Spec.Bignum.MontExponentiation.mk_to_nat_mont_ll_comm_monoid n mu) | {
"end_col": 27,
"end_line": 63,
"start_col": 2,
"start_line": 62
} |
Prims.Tot | val bn_mont_sqr:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.sqr_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_mont_sqr #t #len n mu aM =
BM.bn_mont_sqr_lemma n mu aM;
BM.bn_mont_sqr n mu aM | val bn_mont_sqr:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.sqr_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu)
let bn_mont_sqr #t #len n mu aM = | false | null | false | BM.bn_mont_sqr_lemma n mu aM;
BM.bn_mont_sqr n mu aM | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Hacl.Spec.Bignum.Montgomery.bn_mont_sqr",
"Prims.unit",
"Hacl.Sp... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_sqr:
#t:limb_t
-> #len:BN.bn_len t
-> n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu} ->
SE.sqr_st (bn_mont_t n) (mk_to_nat_mont_ll_comm_monoid n mu) | [] | Hacl.Spec.Bignum.MontExponentiation.bn_mont_sqr | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
n: Hacl.Spec.Bignum.Definitions.lbignum t len ->
mu: Hacl.Spec.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre n mu}
-> Spec.Exponentiation.sqr_st (Hacl.Spec.Bignum.MontExponentiation.bn_mont_t n)
(Hacl.Spec.Bignum.MontExponentiation.mk_to_nat_mont_ll_comm_monoid n mu) | {
"end_col": 24,
"end_line": 75,
"start_col": 2,
"start_line": 74
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_st (t:limb_t) (len:BN.bn_len t) =
n:lbignum t len
-> mu:limb t{BM.bn_mont_pre n mu}
-> aM:bn_mont_t n
-> bBits:size_nat
-> b:lbignum t (blocks0 bBits (bits t)){bn_v b < pow2 bBits} ->
Pure (bn_mont_t n)
(requires True)
(ensures fun resM ->
let k = E.mk_nat_mont_ll_comm_monoid (bit... | let bn_exp_mont_st (t: limb_t) (len: BN.bn_len t) = | false | null | false |
n: lbignum t len ->
mu: limb t {BM.bn_mont_pre n mu} ->
aM: bn_mont_t n ->
bBits: size_nat ->
b: lbignum t (blocks0 bBits (bits t)) {bn_v b < pow2 bBits}
-> Pure (bn_mont_t n)
(requires True)
(ensures
fun resM ->
let k = E.mk_nat_mont_ll_comm_monoid (bits t) len (bn_... | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Lib.IntTypes.size_nat",
"Hacl.Spec.Bignum.Definitions.blocks0",
... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_st : t: Hacl.Spec.Bignum.Definitions.limb_t -> len: Hacl.Spec.Bignum.bn_len t -> Type0 | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Spec.Bignum.Definitions.limb_t -> len: Hacl.Spec.Bignum.bn_len t -> Type0 | {
"end_col": 45,
"end_line": 113,
"start_col": 4,
"start_line": 104
} | |
Prims.Tot | val bn_exp_mont_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_vartime #t #len n mu aM bBits b =
if bBits < bn_exp_mont_vartime_threshold then
bn_exp_mont_bm_vartime n mu aM bBits b
else
bn_exp_mont_fw 4 n mu aM bBits b | val bn_exp_mont_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len
let bn_exp_mont_vartime #t #len n mu aM bBits b = | false | null | false | if bBits < bn_exp_mont_vartime_threshold
then bn_exp_mont_bm_vartime n mu aM bBits b
else bn_exp_mont_fw 4 n mu aM bBits b | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Lib.IntTypes.size_nat",
"Hacl.Spec.Bignum.Definitions.blocks0",
... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_vartime | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st t len | {
"end_col": 36,
"end_line": 152,
"start_col": 2,
"start_line": 149
} |
Prims.Tot | val bn_exp_mont_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_consttime #t #len n mu aM bBits b =
if bBits < bn_exp_mont_consttime_threshold then
bn_exp_mont_bm_consttime n mu aM bBits b
else
bn_exp_mont_fw 4 n mu aM bBits b | val bn_exp_mont_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len
let bn_exp_mont_consttime #t #len n mu aM bBits b = | false | null | false | if bBits < bn_exp_mont_consttime_threshold
then bn_exp_mont_bm_consttime n mu aM bBits b
else bn_exp_mont_fw 4 n mu aM bBits b | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Lib.IntTypes.size_nat",
"Hacl.Spec.Bignum.Definitions.blocks0",
... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_consttime | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st t len | {
"end_col": 36,
"end_line": 160,
"start_col": 2,
"start_line": 157
} |
Prims.Tot | val bn_exp_mont_bm_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_bm_vartime #t #len n mu aM bBits b =
let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_rl_lemma k1 aM bBits (bn_v b);
LE.exp_rl_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
SE.exp_rl k1 aM bBits (bn_v b) | val bn_exp_mont_bm_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len
let bn_exp_mont_bm_vartime #t #len n mu aM bBits b = | false | null | false | let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_rl_lemma k1 aM bBits (bn_v b);
LE.exp_rl_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
SE.exp_rl k1 aM bBits (bn_v b) | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Lib.IntTypes.size_nat",
"Hacl.Spec.Bignum.Definitions.blocks0",
... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_bm_vartime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_bm_vartime | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st t len | {
"end_col": 32,
"end_line": 122,
"start_col": 52,
"start_line": 118
} |
Prims.Tot | val bn_exp_mont_bm_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_bm_consttime #t #len n mu aM bBits b =
let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_mont_ladder_swap_lemma k1 aM bBits (bn_v b);
LE.exp_mont_ladder_swap_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
LE.exp_mont_ladder_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
SE.exp_... | val bn_exp_mont_bm_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len
let bn_exp_mont_bm_consttime #t #len n mu aM bBits b = | false | null | false | let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_mont_ladder_swap_lemma k1 aM bBits (bn_v b);
LE.exp_mont_ladder_swap_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
LE.exp_mont_ladder_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b);
SE.exp_mont_ladder_swap k1 aM bBits (bn_v b) | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Hacl.Spec.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spec.Bignum.Montgomery.bn_mont_pre",
"Hacl.Spec.Bignum.MontExponentiation.bn_mont_t",
"Lib.IntTypes.size_nat",
"Hacl.Spec.Bignum.Definitions.blocks0",
... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_bm_consttime: #t:limb_t -> #len:BN.bn_len t -> bn_exp_mont_st t len | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_bm_consttime | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st t len | {
"end_col": 46,
"end_line": 131,
"start_col": 54,
"start_line": 126
} |
Prims.Tot | val bn_exp_mont_fw:
#t:limb_t
-> #len:BN.bn_len t
-> l:size_pos{l < bits t /\ pow2 l * len <= max_size_t} ->
bn_exp_mont_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "BM"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Montgomery.Lemmas",
"short_module": "M"
},
{
"abbrev": ... | false | let bn_exp_mont_fw #t #len l n mu aM bBits b =
let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_fw_lemma k1 aM bBits (bn_v b) l;
LE.exp_fw_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b) l;
SE.exp_fw k1 aM bBits (bn_v b) l | val bn_exp_mont_fw:
#t:limb_t
-> #len:BN.bn_len t
-> l:size_pos{l < bits t /\ pow2 l * len <= max_size_t} ->
bn_exp_mont_st t len
let bn_exp_mont_fw #t #len l n mu aM bBits b = | false | null | false | let k1 = mk_bn_mont_concrete_ops n mu in
SE.exp_fw_lemma k1 aM bBits (bn_v b) l;
LE.exp_fw_lemma k1.SE.to.SE.comm_monoid (bn_v aM) bBits (bn_v b) l;
SE.exp_fw k1 aM bBits (bn_v b) l | {
"checked_file": "Hacl.Spec.Bignum.MontExponentiation.fst.checked",
"dependencies": [
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Hacl.Spec.Montgomery.Le... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.bn_len",
"Lib.IntTypes.size_pos",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.bits",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Prims.pow2",
"Lib.IntTypes.max_size_t",
"Hacl.Spec.Bignum.Definitions.lbignum",
"... | [] | module Hacl.Spec.Bignum.MontExponentiation
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module E = Hacl.Spec.Exponentiation.Lemmas
module M = Hacl.Spec.Montgomery.Lemmas
module BN = Hacl.Spec.Bignum
module BM = ... | false | false | Hacl.Spec.Bignum.MontExponentiation.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_exp_mont_fw:
#t:limb_t
-> #len:BN.bn_len t
-> l:size_pos{l < bits t /\ pow2 l * len <= max_size_t} ->
bn_exp_mont_st t len | [] | Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_fw | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontExponentiation.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l: Lib.IntTypes.size_pos{l < Lib.IntTypes.bits t /\ Prims.pow2 l * len <= Lib.IntTypes.max_size_t}
-> Hacl.Spec.Bignum.MontExponentiation.bn_exp_mont_st t len | {
"end_col": 34,
"end_line": 144,
"start_col": 46,
"start_line": 140
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_payload_kind = parse_bounded_vlgen_payload_kind | let parse_deplen_payload_kind = | false | null | false | parse_bounded_vlgen_payload_kind | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"LowParse.Spec.VLGen.parse_bounded_vlgen_payload_kind"
] | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_payload_kind : min: Prims.nat -> max: Prims.nat{min <= max} -> k: LowParse.Spec.Base.parser_kind
-> LowParse.Spec.Base.parser_kind | [] | LowParse.Spec.DepLen.parse_deplen_payload_kind | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | min: Prims.nat -> max: Prims.nat{min <= max} -> k: LowParse.Spec.Base.parser_kind
-> LowParse.Spec.Base.parser_kind | {
"end_col": 64,
"end_line": 89,
"start_col": 32,
"start_line": 89
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_kind
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(hk : parser_kind)
(pk : parser_kind)
= and_then_kind hk (parse_deplen_payload_kind min max pk) | let parse_deplen_kind (min: nat) (max: nat{min <= max /\ max < 4294967296}) (hk pk: parser_kind) = | false | null | false | and_then_kind hk (parse_deplen_payload_kind min max pk) | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Combinators.and_then_kind",
"LowParse.Spec.DepLen.parse_deplen_payload_kind"
] | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_kind : min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hk: LowParse.Spec.Base.parser_kind ->
pk: LowParse.Spec.Base.parser_kind
-> LowParse.Spec.Base.parser_kind | [] | LowParse.Spec.DepLen.parse_deplen_kind | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hk: LowParse.Spec.Base.parser_kind ->
pk: LowParse.Spec.Base.parser_kind
-> LowParse.Spec.Base.parser_kind | {
"end_col": 57,
"end_line": 172,
"start_col": 2,
"start_line": 172
} | |
Prims.GTot | val calc_tag_of_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(x: parse_deplen_data_t min max dlf ps)
: GTot ht | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let calc_tag_of_deplen_data
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(x : parse_deplen_data_t min max dlf ps)
: GTot ht
= fst x | val calc_tag_of_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(x: parse_deplen_data_t min max dlf ps)
: GTot ht
let calc_tag_of_de... | false | null | false | fst x | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"sometrivial"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.DepLen.parse_deplen_data_t",
"FStar.Pervasives.Native... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 calc_tag_of_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(x: parse_deplen_data_t min max dlf ps)
: GTot ht | [] | LowParse.Spec.DepLen.calc_tag_of_deplen_data | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
x: LowParse.Spec.DepLen.parse_deplen_data_t min max dlf ps
-> Prims.GTot ht | {
"end_col": 7,
"end_line": 67,
"start_col": 2,
"start_line": 67
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_data_t
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
= x:(ht & pt) {U32.v (dlf (fst x)) == Seq.length (serialize ps (snd x) ) } | let parse_deplen_data_t
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
= | false | null | false | x: (ht & pt){U32.v (dlf (fst x)) == Seq.length (serialize ps (snd x))} | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"FStar.Pervasives.Native.tuple2",
"Prims.eq2",
"Prims.int",
"Pri... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_data_t : min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp
-> Type | [] | LowParse.Spec.DepLen.parse_deplen_data_t | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp
-> Type | {
"end_col": 74,
"end_line": 51,
"start_col": 2,
"start_line": 51
} | |
Prims.Tot | val parse_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
: Tot (parser (parse_... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: ht -> Tot (bounded_int32 min max))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
: Tot (parser (parse_deplen_kind min max hk pk) (parse_deplen_d... | val parse_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
: Tot (parser (parse_... | false | null | false | parse_tagged_union hp (calc_tag_of_deplen_data min max dlf ps) (parse_deplen_payload min max dlf ps) | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.Combinators.parse_tagged_union",
"LowParse.Spec.DepLe... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
: Tot (parser (parse_... | [] | LowParse.Spec.DepLen.parse_deplen | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hp: LowParse.Spec.Base.parser hk ht ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp
-> LowParse.Spec.Base.parser (LowParse.Spec.DepLen.parse_deplen_kind min max hk pk)
... | {
"end_col": 41,
"end_line": 192,
"start_col": 2,
"start_line": 189
} |
Prims.Tot | val serialize_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let serialize_deplen
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp { hk.parser_kind_subkind == Some ParserStrong } )
(dlf: ht -> Tot (bounded_int32 min max))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: se... | val serialize_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
... | false | null | false | serialize_tagged_union hs
(calc_tag_of_deplen_data min max dlf ps)
(serialize_deplen_payload min max dlf ps) | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.__pr... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 serialize_deplen
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
... | [] | LowParse.Spec.DepLen.serialize_deplen | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hs:
LowParse.Spec.Base.serializer hp
{ Mkparser_kind'?.parser_kind_subkind hk ==
FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) -... | {
"end_col": 45,
"end_line": 382,
"start_col": 2,
"start_line": 379
} |
FStar.Pervasives.Lemma | val serialize_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt:... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let serialize_deplen_unfold
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp { hk.parser_kind_subkind == Some ParserStrong } )
(dlf: ht -> Tot (bounded_int32 min max))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
... | val serialize_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt:... | false | null | true | serialize_tagged_union_eq hs
(calc_tag_of_deplen_data min max dlf ps)
(serialize_deplen_payload min max dlf ps)
input;
let h:ht = calc_tag_of_deplen_data min max dlf ps input in
serialize_deplen_payload_unfold min max dlf ps h input | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.__pr... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 serialize_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(#hp: parser hk ht)
(hs: serializer hp {hk.parser_kind_subkind == Some ParserStrong})
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt:... | [] | LowParse.Spec.DepLen.serialize_deplen_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hs:
LowParse.Spec.Base.serializer hp
{ Mkparser_kind'?.parser_kind_subkind hk ==
FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) -... | {
"end_col": 56,
"end_line": 411,
"start_col": 2,
"start_line": 405
} |
Prims.Tot | val parse_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot
(parser (parse_deplen_payload_kind min max pk)
... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_payload
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
: Tot (parser (parse_deplen_payload_kind min max pk) (refine_with_tag (calc_t... | val parse_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot
(parser (parse_deplen_payload_kind min max pk)
... | false | null | false | let sz = (U32.v (dlf h)) in
let bounds_off =
pk.parser_kind_low > sz ||
(match pk.parser_kind_high with
| None -> false
| Some pkmax -> pkmax < sz)
in
if bounds_off
then
fail_parser (parse_deplen_payload_kind min max pk)
(refine_with_tag (calc_tag_of_deplen_data min max dlf ps) h)
else
weaken (parse... | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.Combinators.fail_parser",
"LowParse.Spec.DepLen.parse... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot
(parser (parse_deplen_payload_kind min max pk)
... | [] | LowParse.Spec.DepLen.parse_deplen_payload | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht
-> LowParse.Spec.Base.parser (LowParse.Spec.DepLen.parse_deplen_payload_kind min max pk)
(LowParse.Spec.Base.re... | {
"end_col": 41,
"end_line": 119,
"start_col": 1,
"start_line": 105
} |
FStar.Pervasives.Lemma | val serialize_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: refine_with_tag (calc_tag_of_deplen_data m... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let serialize_deplen_payload_unfold
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
(input : refine_with_tag (calc_tag_of_deplen_data min max dlf ps... | val serialize_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: refine_with_tag (calc_tag_of_deplen_data m... | false | null | true | let sz = U32.v (dlf h) in
serialize_synth_eq (parse_fldata_strong ps sz)
(synth_deplen_data min max dlf ps h)
(serialize_fldata_strong ps sz)
(synth_deplen_data_recip min max dlf ps h)
()
input | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DepLen.parse_de... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 serialize_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: refine_with_tag (calc_tag_of_deplen_data m... | [] | LowParse.Spec.DepLen.serialize_deplen_payload_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht ->
input:
LowParse.Spec.Base.refine_with_tag (LowParse.Spec.DepLen.calc_tag_of_deplen_data min
ma... | {
"end_col": 9,
"end_line": 364,
"start_col": 1,
"start_line": 357
} |
Prims.Tot | val synth_deplen_data_recip
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: refine_with_tag (calc_tag_of_deplen_data min max dlf p... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let synth_deplen_data_recip
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
(x : refine_with_tag (calc_tag_of_deplen_data min max dlf ps) h)
: Tot (... | val synth_deplen_data_recip
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: refine_with_tag (calc_tag_of_deplen_data min max dlf p... | false | null | false | snd x | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.Base.refine_with_tag",
"LowParse.Spec.DepLen.parse_de... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 synth_deplen_data_recip
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: refine_with_tag (calc_tag_of_deplen_data min max dlf p... | [] | LowParse.Spec.DepLen.synth_deplen_data_recip | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht ->
x:
LowParse.Spec.Base.refine_with_tag (LowParse.Spec.DepLen.calc_tag_of_deplen_data min
max
... | {
"end_col": 7,
"end_line": 309,
"start_col": 2,
"start_line": 309
} |
Prims.Tot | val synth_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: parse_fldata_strong_t ps (U32.v (dlf h)))
: Tot (refine_... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let synth_deplen_data
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
(x : parse_fldata_strong_t ps (U32.v (dlf h)))
: Tot (refine_with_tag (calc_ta... | val synth_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: parse_fldata_strong_t ps (U32.v (dlf h)))
: Tot (refine_... | false | null | false | (h, x) | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.FLData.parse_fldata_strong_t",
"FStar.UInt32.v",
"F... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 synth_deplen_data
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(x: parse_fldata_strong_t ps (U32.v (dlf h)))
: Tot (refine_... | [] | LowParse.Spec.DepLen.synth_deplen_data | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht ->
x: LowParse.Spec.FLData.parse_fldata_strong_t ps (FStar.UInt32.v (dlf h))
-> LowParse.Spec.Base.refine_with_ta... | {
"end_col": 8,
"end_line": 84,
"start_col": 2,
"start_line": 84
} |
Prims.Tot | val serialize_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot (serializer (parse_deplen_payload min max dlf ps h)) | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let serialize_deplen_payload
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
: Tot (serializer (parse_deplen_payload min max dlf ps h))
= let sz = U32... | val serialize_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot (serializer (parse_deplen_payload min max dlf ps h))
... | false | null | false | let sz = U32.v (dlf h) in
let bounds_off =
pk.parser_kind_low > sz ||
(match pk.parser_kind_high with
| None -> false
| Some pkmax -> pkmax < sz)
in
if bounds_off
then
fail_serializer (parse_deplen_payload_kind min max pk)
(refine_with_tag (calc_tag_of_deplen_data min max dlf ps) h)
(fun _ -> ())
... | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.Combinators.fail_serializer",
"LowParse.Spec.DepLen.p... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.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 serialize_deplen_payload
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
: Tot (serializer (parse_deplen_payload min max dlf ps h)) | [] | LowParse.Spec.DepLen.serialize_deplen_payload | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht
-> LowParse.Spec.Base.serializer (LowParse.Spec.DepLen.parse_deplen_payload min max dlf ps h) | {
"end_col": 7,
"end_line": 340,
"start_col": 1,
"start_line": 322
} |
FStar.Pervasives.Lemma | val parse_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byte... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_unfold
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: ht -> Tot (bounded_int32 min max))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input : bytes)
: Lemma
(parse (parse_deplen min max... | val parse_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byte... | false | null | true | parse_tagged_union_eq hp
(calc_tag_of_deplen_data min max dlf ps)
(parse_deplen_payload min max dlf ps)
input;
match parse hp input with
| None -> ()
| Some (h, consumed) ->
let input' = Seq.slice input consumed (Seq.length input) in
parse_deplen_payload_unfold min max dlf ps h input';
let sz = (U32.v (dlf ... | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"LowParse.Spec.Base.parse",
"LowParse.Spec... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byte... | [] | LowParse.Spec.DepLen.parse_deplen_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hp: LowParse.Spec.Base.parser hk ht ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowPars... | {
"end_col": 60,
"end_line": 243,
"start_col": 2,
"start_line": 229
} |
FStar.Pervasives.Lemma | val parse_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: bytes)
: Lemma
(parse (parse_deplen_pa... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_payload_unfold
(min : nat)
(max : nat { min <= max /\ max < 4294967296 } )
(#ht : Type)
(#pt : Type)
(dlf : ht -> Tot (bounded_int32 min max) )
(#pk : parser_kind)
(#pp : parser pk pt)
(ps : serializer pp)
(h : ht)
(input: bytes)
: Lemma
(parse (parse_deplen_payload min max dlf ps... | val parse_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: bytes)
: Lemma
(parse (parse_deplen_pa... | false | null | true | let sz = (U32.v (dlf h)) in
let bounds_off =
pk.parser_kind_low > sz ||
(match pk.parser_kind_high with
| None -> false
| Some pkmax -> pkmax < sz)
in
if bounds_off
then ()
else parse_synth_eq (parse_fldata_strong ps sz) (synth_deplen_data min max dlf ps h) input | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"Prims.bool",
"LowParse.Spec.Combinators.p... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_payload_unfold
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#ht #pt: Type)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pp: parser pk pt)
(ps: serializer pp)
(h: ht)
(input: bytes)
: Lemma
(parse (parse_deplen_pa... | [] | LowParse.Spec.DepLen.parse_deplen_payload_unfold | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
h: ht ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Sp... | {
"end_col": 12,
"end_line": 157,
"start_col": 2,
"start_line": 143
} |
FStar.Pervasives.Lemma | val parse_deplen_unfold2
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byt... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "LowParse.Spec.VLGen",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let parse_deplen_unfold2
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: ht -> Tot (bounded_int32 min max))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input : bytes)
: Lemma
(parse (parse_deplen min ma... | val parse_deplen_unfold2
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byt... | false | null | true | parse_tagged_union_eq hp
(calc_tag_of_deplen_data min max dlf ps)
(parse_deplen_payload min max dlf ps)
input;
match parse hp input with
| None -> ()
| Some (h, consumed) ->
let input' = Seq.slice input consumed (Seq.length input) in
parse_deplen_payload_unfold min max dlf ps h input';
let sz = (U32.v (dlf ... | {
"checked_file": "LowParse.Spec.DepLen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.AllIntegers.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Nativ... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"LowParse.Spec.Base.parse",
"LowParse.Spec... | [] | module LowParse.Spec.DepLen
(* LowParse specification module for parsing structures with dependent length
Example:
struct {
uint len;
uint foo;
uint buf[len];
};
*)
include LowParse.Spec.Combinators
include LowParse.Spec.AllIntegers
include LowParse.Spec.VLGen
module U32 = FStar.UInt32
mod... | false | false | LowParse.Spec.DepLen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_deplen_unfold2
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#hk: parser_kind)
(#ht: Type)
(hp: parser hk ht)
(dlf: (ht -> Tot (bounded_int32 min max)))
(#pk: parser_kind)
(#pt: Type)
(#pp: parser pk pt)
(ps: serializer pp)
(input: byt... | [] | LowParse.Spec.DepLen.parse_deplen_unfold2 | {
"file_name": "src/lowparse/LowParse.Spec.DepLen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
hp: LowParse.Spec.Base.parser hk ht ->
dlf: (_: ht -> LowParse.Spec.BoundedInt.bounded_int32 min max) ->
ps: LowParse.Spec.Base.serializer pp ->
input: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowPars... | {
"end_col": 60,
"end_line": 292,
"start_col": 2,
"start_line": 278
} |
Prims.Tot | val repr (a:Type)
(framed:bool)
(pre:pre_t)
(post:post_t a)
(req:pure_pre)
(ens:pure_post a)
: Type u#2 | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let repr a framed pre post req ens : Type u#2 =
Steel.Effect.repr a framed pre post (fun _ -> req) (fun _ v _ -> ens v) | val repr (a:Type)
(framed:bool)
(pre:pre_t)
(post:post_t a)
(req:pure_pre)
(ens:pure_post a)
: Type u#2
let repr a framed pre post req ens : Type u#2 = | false | null | false | Steel.Effect.repr a framed pre post (fun _ -> req) (fun _ v _ -> ens v) | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"total"
] | [
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Prims.pure_pre",
"Prims.pure_post",
"Steel.Effect.repr",
"Steel.Effect.Common.rmem"
] | [] | (*
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.ST.Effect.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 repr (a:Type)
(framed:bool)
(pre:pre_t)
(post:post_t a)
(req:pure_pre)
(ens:pure_post a)
: Type u#2 | [] | Steel.ST.Effect.repr | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
a: Type ->
framed: Prims.bool ->
pre: Steel.Effect.Common.pre_t ->
post: Steel.Effect.Common.post_t a ->
req: Prims.pure_pre ->
ens: Prims.pure_post a
-> Type | {
"end_col": 73,
"end_line": 29,
"start_col": 2,
"start_line": 29
} |
FStar.Pervasives.Lemma | val equiv_star_emp_r (p: vprop) : Lemma ((p `star` emp) `equiv` p) | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let equiv_star_emp_r (p:vprop)
: Lemma ((p `star` emp) `equiv` p)
= cm_identity p;
assert ((emp `star` p) `equiv` p);
star_commutative p emp;
equiv_trans (p `star` emp) (emp `star` p) p | val equiv_star_emp_r (p: vprop) : Lemma ((p `star` emp) `equiv` p)
let equiv_star_emp_r (p: vprop) : Lemma ((p `star` emp) `equiv` p) = | false | null | true | cm_identity p;
assert ((emp `star` p) `equiv` p);
star_commutative p emp;
equiv_trans (p `star` emp) (emp `star` p) p | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"lemma"
] | [
"Steel.Effect.Common.vprop",
"Steel.Effect.Common.equiv_trans",
"Steel.Effect.Common.star",
"Steel.Effect.Common.emp",
"Prims.unit",
"Steel.Effect.Common.star_commutative",
"Prims._assert",
"Steel.Effect.Common.equiv",
"Steel.Effect.Common.cm_identity",
"Prims.l_True",
"Prims.squash",
"Prims.N... | [] | (*
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.ST.Effect.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 equiv_star_emp_r (p: vprop) : Lemma ((p `star` emp) `equiv` p) | [] | Steel.ST.Effect.equiv_star_emp_r | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Steel.Effect.Common.vprop
-> FStar.Pervasives.Lemma
(ensures Steel.Effect.Common.equiv (Steel.Effect.Common.star p Steel.Effect.Common.emp) p) | {
"end_col": 47,
"end_line": 36,
"start_col": 4,
"start_line": 33
} |
Prims.Tot | val return_ (a:Type)
(x:a)
(#[@@@ framing_implicit] p:a -> vprop)
: repr a true (return_pre (p x)) p True (fun v -> v == x) | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let return_ (a:Type)
(x:a)
(#[@@@ framing_implicit] p:a -> vprop)
: Tot (repr a true (return_pre (p x)) p True (fun v -> v == x))
= let k : Steel.Effect.repr a true
(p x)
p
(fun _ -> True)
(return_ens a x p)
= Steel.Effect.return_ a x... | val return_ (a:Type)
(x:a)
(#[@@@ framing_implicit] p:a -> vprop)
: repr a true (return_pre (p x)) p True (fun v -> v == x)
let return_ (a: Type) (x: a) (#[@@@ framing_implicit]p: (a -> vprop))
: Tot (repr a true (return_pre (p x)) p True (fun v -> v == x)) = | false | null | false | let k:Steel.Effect.repr a true (p x) p (fun _ -> True) (return_ens a x p) =
Steel.Effect.return_ a x #p
in
weaken_repr _ _ _ _ _ _ _ _ k () () | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"total"
] | [
"Steel.Effect.Common.vprop",
"Steel.ST.Effect.weaken_repr",
"Steel.Effect.Common.rmem'",
"Steel.Effect.Common.valid_rmem",
"Prims.l_True",
"Steel.Effect.Common.rmem",
"Steel.Effect.Common.return_pre",
"Prims.l_and",
"Prims.eq2",
"FStar.Tactics.Effect.rewrite_with_tactic",
"Steel.Effect.Common.fr... | [] | (*
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.ST.Effect.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 return_ (a:Type)
(x:a)
(#[@@@ framing_implicit] p:a -> vprop)
: repr a true (return_pre (p x)) p True (fun v -> v == x) | [] | Steel.ST.Effect.return_ | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | a: Type -> x: a
-> Steel.ST.Effect.repr a
true
(Steel.Effect.Common.return_pre (p x))
p
Prims.l_True
(fun v -> v == x) | {
"end_col": 39,
"end_line": 107,
"start_col": 3,
"start_line": 100
} |
Prims.Tot | val weaken_repr:
a: _ ->
framed: _ ->
pre: pre_t ->
post: post_t a ->
req: req_t pre ->
req': req_t pre ->
ens: ens_t pre a post ->
ens': ens_t pre a post ->
f: Steel.Effect.repr a framed pre post req ens ->
squash (forall (h0: hmem pre). req' (mk_rmem _ h0) ==> req (mk_rmem _ h0... | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let weaken_repr a framed
(pre:pre_t)
(post:post_t a)
(req req':req_t pre)
(ens ens':ens_t pre a post)
(f:Steel.Effect.repr a framed pre post req ens)
(_:squash (forall (h0:hmem pre).
req' (mk_rmem... | val weaken_repr:
a: _ ->
framed: _ ->
pre: pre_t ->
post: post_t a ->
req: req_t pre ->
req': req_t pre ->
ens: ens_t pre a post ->
ens': ens_t pre a post ->
f: Steel.Effect.repr a framed pre post req ens ->
squash (forall (h0: hmem pre). req' (mk_rmem _ h0) ==> req (mk_rmem _ h0... | false | null | false | let focus_rmem_refl (r: vprop) (h: rmem r)
: Lemma (ensures focus_rmem #r h r == h) [SMTPat (focus_rmem #r h r)] =
focus_rmem_refl r h
in
let equiv_trans (x y z: vprop)
: Lemma (requires equiv x y /\ equiv y z)
(ensures equiv x z)
[SMTPat (equiv x z); SMTPat (equiv x y)] =
equiv_trans x y z
in
l... | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"total"
] | [
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Steel.Effect.Common.req_t",
"Steel.Effect.Common.ens_t",
"Steel.Effect.repr",
"Prims.squash",
"Prims.l_Forall",
"Steel.Effect.Common.hmem",
"Prims.l_imp",
"Steel.Effect.Common.mk_rmem",
"Steel.Effect.subcomp_opaque",
"... | [] | (*
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.ST.Effect.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 weaken_repr:
a: _ ->
framed: _ ->
pre: pre_t ->
post: post_t a ->
req: req_t pre ->
req': req_t pre ->
ens: ens_t pre a post ->
ens': ens_t pre a post ->
f: Steel.Effect.repr a framed pre post req ens ->
squash (forall (h0: hmem pre). req' (mk_rmem _ h0) ==> req (mk_rmem _ h0... | [] | Steel.ST.Effect.weaken_repr | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
a: Type ->
framed: Prims.bool ->
pre: Steel.Effect.Common.pre_t ->
post: Steel.Effect.Common.post_t a ->
req: Steel.Effect.Common.req_t pre ->
req': Steel.Effect.Common.req_t pre ->
ens: Steel.Effect.Common.ens_t pre a post ->
ens': Steel.Effect.Common.ens_t pre a post ->
f: Steel.E... | {
"end_col": 26,
"end_line": 93,
"start_col": 3,
"start_line": 53
} |
Prims.Pure | val subcomp (a:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:pre_t)
(#[@@@ framing_i... | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let subcomp (a:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:Type0)
(#[@@@ framing_implicit] ens_f:a -> Type0)
... | val subcomp (a:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:pre_t)
(#[@@@ framing_i... | false | null | false | weaken_repr _ _ _ _ _ _ _ _
(Steel.Effect.subcomp a #framed_f #framed_g #pre_f #post_f #(fun _ -> req_f)
#(fun _ x _ -> ens_f x) #pre_g #post_g #(fun _ -> req_g) #(fun _ x _ -> ens_g x) #frame #_x1
#True #p1 #p2 f) () () | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [] | [
"FStar.Pervasives.eqtype_as_type",
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Steel.Effect.Common.vprop",
"Prims.squash",
"Steel.Effect.Common.maybe_emp",
"Steel.Effect.Common.can_be_split",
"Steel.Effect.Common.star",
"Steel.Effect.Common.equiv_forall",
"Steel.ST.... | [] | (*
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.ST.Effect.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 subcomp (a:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:pre_t)
(#[@@@ framing_i... | [] | Steel.ST.Effect.subcomp | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | a: Type -> f: Steel.ST.Effect.repr a framed_f pre_f post_f req_f ens_f
-> Prims.Pure (Steel.ST.Effect.repr a framed_g pre_g post_g req_g ens_g) | {
"end_col": 27,
"end_line": 196,
"start_col": 6,
"start_line": 177
} |
Prims.Tot | val bind_pure_st_ (a:Type) (b:Type)
(#[@@@ framing_implicit] wp:pure_wp a)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t b)
(#[@@@ framing_implicit] req:a -> pure_pre)
... | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let bind_pure_st_ (a:Type) (b:Type)
(#[@@@ framing_implicit] wp:pure_wp a)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t b)
(#[@@@ framing_implicit] req:a -> Type0)
... | val bind_pure_st_ (a:Type) (b:Type)
(#[@@@ framing_implicit] wp:pure_wp a)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t b)
(#[@@@ framing_implicit] req:a -> pure_pre)
... | false | null | false | let c:Steel.Effect.repr b
framed
pre
post
(bind_pure_steel__req wp (fun x _ -> req x))
(bind_pure_steel__ens wp (fun x _ y _ -> ens x y)) =
(Steel.Effect.bind_pure_steel_ a b #wp #framed #pre #post #(fun x _ -> req x)
#(fun x _ y _ -> ens x y) f g)
in
FStar.Monotonic.Pure.elim_pure_wp_monotonicity #a ... | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"total"
] | [
"Prims.pure_wp",
"FStar.Pervasives.eqtype_as_type",
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Prims.unit",
"Steel.ST.Effect.repr",
"Steel.ST.Effect.weaken_repr",
"Steel.Effect.Common.rmem'",
"Steel.Effect.Common.valid_rmem",
"Prims.l_True",
"Steel.Effect.Common.... | [] | (*
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.ST.Effect.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 bind_pure_st_ (a:Type) (b:Type)
(#[@@@ framing_implicit] wp:pure_wp a)
(#framed:eqtype_as_type bool)
(#[@@@ framing_implicit] pre:pre_t)
(#[@@@ framing_implicit] post:post_t b)
(#[@@@ framing_implicit] req:a -> pure_pre)
... | [] | Steel.ST.Effect.bind_pure_st_ | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
a: Type ->
b: Type ->
f: (_: FStar.Pervasives.eqtype_as_type Prims.unit -> Prims.PURE a) ->
g: (x: a -> Steel.ST.Effect.repr b framed pre post (req x) (ens x))
-> Steel.ST.Effect.repr b
framed
pre
post
(Steel.ST.Effect.bind_pure_st_req wp req)
(Steel.ST.Effect.bind_pure_... | {
"end_col": 39,
"end_line": 231,
"start_col": 3,
"start_line": 213
} |
Prims.Tot | val bind (a:Type) (b:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:a -> pre_t)
(#[@@... | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Effect.Common",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module":... | false | let bind (a:Type) (b:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:Type0)
(#[@@@ framing_implicit] ens_f:a -> Type0)
(#[@@... | val bind (a:Type) (b:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:a -> pre_t)
(#[@@... | false | null | false | let c =
Steel.Effect.bind a b #framed_f #framed_g #pre_f #post_f #(fun _ -> req_f) #(fun _ x _ -> ens_f x)
#pre_g #post_g #(fun x _ -> req_g x) #(fun x _ y _ -> ens_g x y) #frame_f #frame_g #post #_x1
#_x2 #pr #p1 #p2 f g
in
weaken_repr _ _ _ _ _ _ _ _ c () () | {
"checked_file": "Steel.ST.Effect.fst.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.Common.fsti.checked",
"Steel.Effect.fst.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Monotonic.Pure.fst.checked",
"FSta... | [
"total"
] | [
"FStar.Pervasives.eqtype_as_type",
"Prims.bool",
"Steel.Effect.Common.pre_t",
"Steel.Effect.Common.post_t",
"Steel.Effect.Common.vprop",
"Prims.squash",
"Steel.Effect.Common.maybe_emp",
"Steel.Effect.Common.maybe_emp_dep",
"Prims.prop",
"Steel.Effect.Common.can_be_split_forall_dep",
"Steel.Effec... | [] | (*
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.ST.Effect.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 bind (a:Type) (b:Type)
(#framed_f:eqtype_as_type bool)
(#framed_g:eqtype_as_type bool)
(#[@@@ framing_implicit] pre_f:pre_t)
(#[@@@ framing_implicit] post_f:post_t a)
(#[@@@ framing_implicit] req_f:pure_pre)
(#[@@@ framing_implicit] ens_f:pure_post a)
(#[@@@ framing_implicit] pre_g:a -> pre_t)
(#[@@... | [] | Steel.ST.Effect.bind | {
"file_name": "lib/steel/Steel.ST.Effect.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
a: Type ->
b: Type ->
f: Steel.ST.Effect.repr a framed_f pre_f post_f req_f ens_f ->
g: (x: a -> Steel.ST.Effect.repr b framed_g (pre_g x) (post_g x) (req_g x) (ens_g x))
-> Steel.ST.Effect.repr b
true
(Steel.Effect.Common.star pre_f frame_f)
post
(Steel.ST.Effect.bind_req a r... | {
"end_col": 41,
"end_line": 153,
"start_col": 5,
"start_line": 134
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let mk_abs ty t = RT.(mk_abs (elab_term ty) T.Q_Explicit (elab_term t)) | let mk_abs ty t = | false | null | false | let open RT in mk_abs (elab_term ty) T.Q_Explicit (elab_term t) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Syntax.Base.term",
"FStar.Reflection.Typing.mk_abs",
"Pulse.Elaborate.Pure.elab_term",
"FStar.Reflection.V2.Data.Q_Explicit",
"FStar.Reflection.Types.term"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | true | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_abs : ty: Pulse.Syntax.Base.term -> t: Pulse.Syntax.Base.term -> FStar.Reflection.Types.term | [] | Pulse.Checker.Base.mk_abs | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | ty: Pulse.Syntax.Base.term -> t: Pulse.Syntax.Base.term -> FStar.Reflection.Types.term | {
"end_col": 71,
"end_line": 34,
"start_col": 18,
"start_line": 34
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let mk_arrow ty t = RT.mk_arrow (elab_term ty) T.Q_Explicit (elab_term t) | let mk_arrow ty t = | false | null | false | RT.mk_arrow (elab_term ty) T.Q_Explicit (elab_term t) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Syntax.Base.term",
"FStar.Reflection.Typing.mk_arrow",
"Pulse.Elaborate.Pure.elab_term",
"FStar.Reflection.V2.Data.Q_Explicit",
"FStar.Reflection.Types.term"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | true | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_arrow : ty: Pulse.Syntax.Base.term -> t: Pulse.Syntax.Base.term -> FStar.Reflection.Types.term | [] | Pulse.Checker.Base.mk_arrow | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | ty: Pulse.Syntax.Base.term -> t: Pulse.Syntax.Base.term -> FStar.Reflection.Types.term | {
"end_col": 73,
"end_line": 33,
"start_col": 20,
"start_line": 33
} | |
Prims.Tot | val k_elab_equiv
(#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt1' #ctxt2 #ctxt2':term)
(k:continuation_elaborator g1 ctxt1 g2 ctxt2)
(d1:vprop_equiv g1 ctxt1 ctxt1')
(d2:vprop_equiv g2 ctxt2 ctxt2')
: continuation_elaborator g1 ctxt1' g2 ctxt2' | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Pulse.Checker.Pure",
"short_module": "CP"
},
{
"abbrev": true,
... | false | let k_elab_equiv
(#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt1' #ctxt2 #ctxt2':term)
(k:continuation_elaborator g1 ctxt1 g2 ctxt2)
(d1:vprop_equiv g1 ctxt1 ctxt1')
(d2:vprop_equiv g2 ctxt2 ctxt2')
: continuation_elaborator g1 ctxt1' g2 ctxt2' =
let k : continuation_elaborato... | val k_elab_equiv
(#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt1' #ctxt2 #ctxt2':term)
(k:continuation_elaborator g1 ctxt1 g2 ctxt2)
(d1:vprop_equiv g1 ctxt1 ctxt1')
(d2:vprop_equiv g2 ctxt2 ctxt2')
: continuation_elaborator g1 ctxt1' g2 ctxt2'
let k_elab_equiv
(#g1: env)
(#g2: env{g2 `... | false | null | false | let k:continuation_elaborator g1 ctxt1 g2 ctxt2' = k_elab_equiv_continuation k d2 in
let k:continuation_elaborator g1 ctxt1' g2 ctxt2' = k_elab_equiv_prefix k d1 in
k | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.env_extends",
"Pulse.Syntax.Base.term",
"Pulse.Checker.Base.continuation_elaborator",
"Pulse.Typing.vprop_equiv",
"Pulse.Checker.Base.k_elab_equiv_prefix",
"Pulse.Checker.Base.k_elab_equiv_continuation"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 k_elab_equiv
(#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt1' #ctxt2 #ctxt2':term)
(k:continuation_elaborator g1 ctxt1 g2 ctxt2)
(d1:vprop_equiv g1 ctxt1 ctxt1')
(d2:vprop_equiv g2 ctxt2 ctxt2')
: continuation_elaborator g1 ctxt1' g2 ctxt2' | [] | Pulse.Checker.Base.k_elab_equiv | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
k: Pulse.Checker.Base.continuation_elaborator g1 ctxt1 g2 ctxt2 ->
d1: Pulse.Typing.vprop_equiv g1 ctxt1 ctxt1' ->
d2: Pulse.Typing.vprop_equiv g2 ctxt2 ctxt2'
-> Pulse.Checker.Base.continuation_elaborator g1 ctxt1' g2 ctxt2' | {
"end_col": 3,
"end_line": 222,
"start_col": 49,
"start_line": 216
} |
Prims.Tot | val vprop_equiv_typing_bk
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g p ctxt)
: tot_typing g p tm_vprop | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let vprop_equiv_typing_bk (#g:env) (#ctxt:_) (ctxt_typing:tot_typing g ctxt tm_vprop)
(#p:_) (d:vprop_equiv g p ctxt)
: tot_typing g p tm_vprop
= let _, bk = vprop_equiv_typing d in
bk ctxt_typing | val vprop_equiv_typing_bk
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g p ctxt)
: tot_typing g p tm_vprop
let vprop_equiv_typing_bk
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_... | false | null | false | let _, bk = vprop_equiv_typing d in
bk ctxt_typing | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.tm_vprop",
"Pulse.Typing.vprop_equiv",
"FStar.Pervasives.Native.tuple2",
"Pulse.Typing.Combinators.vprop_equiv_typing"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 vprop_equiv_typing_bk
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g p ctxt)
: tot_typing g p tm_vprop | [] | Pulse.Checker.Base.vprop_equiv_typing_bk | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
ctxt_typing: Pulse.Typing.tot_typing g ctxt Pulse.Syntax.Base.tm_vprop ->
d: Pulse.Typing.vprop_equiv g p ctxt
-> Pulse.Typing.tot_typing g p Pulse.Syntax.Base.tm_vprop | {
"end_col": 18,
"end_line": 151,
"start_col": 3,
"start_line": 150
} |
Prims.Tot | val ve_unit_r (g: _) (p: term) : vprop_equiv g (tm_star p tm_emp) p | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p =
VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) | val ve_unit_r (g: _) (p: term) : vprop_equiv g (tm_star p tm_emp) p
let ve_unit_r g (p: term) : vprop_equiv g (tm_star p tm_emp) p = | false | null | false | VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.VE_Trans",
"Pulse.Syntax.Base.tm_star",
"Pulse.Syntax.Base.tm_emp",
"Pulse.Typing.VE_Comm",
"Pulse.Typing.VE_Unit",
"Pulse.Typing.vprop_equiv"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 ve_unit_r (g: _) (p: term) : vprop_equiv g (tm_star p tm_emp) p | [] | Pulse.Checker.Base.ve_unit_r | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> p: Pulse.Syntax.Base.term
-> Pulse.Typing.vprop_equiv g (Pulse.Syntax.Base.tm_star p Pulse.Syntax.Base.tm_emp) p | {
"end_col": 48,
"end_line": 89,
"start_col": 2,
"start_line": 89
} |
Prims.Tot | val vprop_equiv_typing_fwd
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g ctxt p)
: tot_typing g p tm_vprop | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let vprop_equiv_typing_fwd (#g:env) (#ctxt:_) (ctxt_typing:tot_typing g ctxt tm_vprop)
(#p:_) (d:vprop_equiv g ctxt p)
: tot_typing g p tm_vprop
= let fwd, _ = vprop_equiv_typing d in
fwd ctxt_typing | val vprop_equiv_typing_fwd
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g ctxt p)
: tot_typing g p tm_vprop
let vprop_equiv_typing_fwd
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vpro... | false | null | false | let fwd, _ = vprop_equiv_typing d in
fwd ctxt_typing | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.tm_vprop",
"Pulse.Typing.vprop_equiv",
"FStar.Pervasives.Native.tuple2",
"Pulse.Typing.Combinators.vprop_equiv_typing"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 vprop_equiv_typing_fwd
(#g: env)
(#ctxt: _)
(ctxt_typing: tot_typing g ctxt tm_vprop)
(#p: _)
(d: vprop_equiv g ctxt p)
: tot_typing g p tm_vprop | [] | Pulse.Checker.Base.vprop_equiv_typing_fwd | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
ctxt_typing: Pulse.Typing.tot_typing g ctxt Pulse.Syntax.Base.tm_vprop ->
d: Pulse.Typing.vprop_equiv g ctxt p
-> Pulse.Typing.tot_typing g p Pulse.Syntax.Base.tm_vprop | {
"end_col": 19,
"end_line": 192,
"start_col": 3,
"start_line": 191
} |
FStar.Tactics.Effect.Tac | val format_failed_goal (g:env) (ctxt:list term) (goal:list term) : T.Tac string | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Pulse.Checker.Pure",
"short_module": "CP"
},
{
"abbrev": true,
... | false | let format_failed_goal (g:env) (ctxt:list term) (goal:list term) =
let terms_to_strings (ts:list term)= T.map Pulse.Syntax.Printer.term_to_string ts in
let numbered_list ss =
let _, s = T.fold_left (fun (i, acc) s -> (i+1, Printf.sprintf "%d. %s" i s :: acc)) (1, []) ss in
String.concat "\n " (List.... | val format_failed_goal (g:env) (ctxt:list term) (goal:list term) : T.Tac string
let format_failed_goal (g: env) (ctxt goal: list term) = | true | null | false | let terms_to_strings (ts: list term) = T.map Pulse.Syntax.Printer.term_to_string ts in
let numbered_list ss =
let _, s =
T.fold_left (fun (i, acc) s -> (i + 1, Printf.sprintf "%d. %s" i s :: acc)) (1, []) ss
in
String.concat "\n " (List.rev s)
in
let format_terms (ts: list term) = numbered_list (terms_to_str... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [] | [
"Pulse.Typing.Env.env",
"Prims.list",
"Pulse.Syntax.Base.term",
"Prims.string",
"FStar.Printf.sprintf",
"Pulse.Typing.Env.env_to_string",
"Prims.int",
"FStar.String.concat",
"FStar.List.Tot.Base.rev",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.Util.fold_left",
"FStar.Pervasives.Native.Mk... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory | false | false | Pulse.Checker.Base.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 format_failed_goal (g:env) (ctxt:list term) (goal:list term) : T.Tac string | [] | Pulse.Checker.Base.format_failed_goal | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
g: Pulse.Typing.Env.env ->
ctxt: Prims.list Pulse.Syntax.Base.term ->
goal: Prims.list Pulse.Syntax.Base.term
-> FStar.Tactics.Effect.Tac Prims.string | {
"end_col": 21,
"end_line": 30,
"start_col": 66,
"start_line": 14
} |
Prims.Tot | val post_hint_from_comp_typing (#g:env) (#c:comp_st) (ct:Metatheory.comp_typing_u g c)
: post_hint_for_env g | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Pulse.Checker.Pure",
"short_module": "CP"
},
{
"abbrev": true,
... | false | let post_hint_from_comp_typing #g #c ct =
let st_comp_typing = Metatheory.comp_typing_inversion ct in
let (| ty_typing, pre_typing, x, post_typing |) = Metatheory.st_comp_typing_inversion st_comp_typing in
let p : post_hint_t =
{ g;
ctag_hint = Some (ctag_of_comp_st c);
ret_ty = comp_res c; u=co... | val post_hint_from_comp_typing (#g:env) (#c:comp_st) (ct:Metatheory.comp_typing_u g c)
: post_hint_for_env g
let post_hint_from_comp_typing #g #c ct = | false | null | false | let st_comp_typing = Metatheory.comp_typing_inversion ct in
let (| ty_typing , pre_typing , x , post_typing |) =
Metatheory.st_comp_typing_inversion st_comp_typing
in
let p:post_hint_t =
{
g = g;
ctag_hint = Some (ctag_of_comp_st c);
ret_ty = comp_res c;
u = comp_u c;
ty_typing = ty_typing;
... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.Metatheory.Base.comp_typing_u",
"Pulse.Typing.universe_of",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__res",
"Pulse.Syntax.Base.st_comp_of_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__u",
"Pulse.Typing.tot_typing",
"Pulse.Synt... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 post_hint_from_comp_typing (#g:env) (#c:comp_st) (ct:Metatheory.comp_typing_u g c)
: post_hint_for_env g | [] | Pulse.Checker.Base.post_hint_from_comp_typing | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | ct: Pulse.Typing.Metatheory.Base.comp_typing_u g c -> Pulse.Typing.post_hint_for_env g | {
"end_col": 3,
"end_line": 68,
"start_col": 41,
"start_line": 57
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let comp_with_pre (c:comp_st) (pre:term) =
match c with
| C_ST st -> C_ST { st with pre }
| C_STGhost i st -> C_STGhost i { st with pre }
| C_STAtomic i st -> C_STAtomic i {st with pre} | let comp_with_pre (c: comp_st) (pre: term) = | false | null | false | match c with
| C_ST st -> C_ST ({ st with pre = pre })
| C_STGhost i st -> C_STGhost i ({ st with pre = pre })
| C_STAtomic i st -> C_STAtomic i ({ st with pre = pre }) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Syntax.Base.comp_st",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.C_ST",
"Pulse.Syntax.Base.Mkst_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__u",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__res",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__post",
"Pulse.Syn... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | true | Pulse.Checker.Base.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 comp_with_pre : c: Pulse.Syntax.Base.comp_st -> pre: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.comp | [] | Pulse.Checker.Base.comp_with_pre | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp_st -> pre: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.comp | {
"end_col": 49,
"end_line": 157,
"start_col": 2,
"start_line": 154
} | |
Prims.Tot | val t_equiv (#g #st #c: _) (d: st_typing g st c) (#c': comp) (eq: st_equiv g c c')
: st_typing g st c' | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let t_equiv #g #st #c (d:st_typing g st c) (#c':comp) (eq:st_equiv g c c')
: st_typing g st c'
= match d with
| T_Equiv _ _ _ _ d0 eq' -> (
match st_equiv_trans eq' eq with
| None -> T_Equiv _ _ _ _ d eq
| Some eq'' -> T_Equiv _ _ _ _ d0 eq''
)
| _ -> T_Equiv _ _ _ _ d eq | val t_equiv (#g #st #c: _) (d: st_typing g st c) (#c': comp) (eq: st_equiv g c c')
: st_typing g st c'
let t_equiv #g #st #c (d: st_typing g st c) (#c': comp) (eq: st_equiv g c c') : st_typing g st c' = | false | null | false | match d with
| T_Equiv _ _ _ _ d0 eq' ->
(match st_equiv_trans eq' eq with
| None -> T_Equiv _ _ _ _ d eq
| Some eq'' -> T_Equiv _ _ _ _ d0 eq'')
| _ -> T_Equiv _ _ _ _ d eq | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp",
"Pulse.Typing.st_typing",
"Pulse.Typing.st_equiv",
"Pulse.Checker.Base.st_equiv_trans",
"Pulse.Typing.T_Equiv"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 t_equiv (#g #st #c: _) (d: st_typing g st c) (#c': comp) (eq: st_equiv g c c')
: st_typing g st c' | [] | Pulse.Checker.Base.t_equiv | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | d: Pulse.Typing.st_typing g st c -> eq: Pulse.Typing.st_equiv g c c'
-> Pulse.Typing.st_typing g st c' | {
"end_col": 31,
"end_line": 112,
"start_col": 4,
"start_line": 106
} |
Prims.Tot | val check_equiv_emp (g:env) (vp:term)
: option (vprop_equiv g vp tm_emp) | [
{
"abbrev": true,
"full_module": "Pulse.Typing.LN",
"short_module": "LN"
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"... | false | let rec check_equiv_emp (g:env) (vp:term)
: option (vprop_equiv g vp tm_emp)
= match vp.t with
| Tm_Emp -> Some (VE_Refl _ _)
| Tm_Star vp1 vp2 ->
(match check_equiv_emp g vp1, check_equiv_emp g vp2 with
| Some d1, Some d2 ->
let d3 : vprop_equiv g (tm_star vp1 vp2) (tm_star tm_emp tm_... | val check_equiv_emp (g:env) (vp:term)
: option (vprop_equiv g vp tm_emp)
let rec check_equiv_emp (g: env) (vp: term) : option (vprop_equiv g vp tm_emp) = | false | null | false | match vp.t with
| Tm_Emp -> Some (VE_Refl _ _)
| Tm_Star vp1 vp2 ->
(match check_equiv_emp g vp1, check_equiv_emp g vp2 with
| Some d1, Some d2 ->
let d3:vprop_equiv g (tm_star vp1 vp2) (tm_star tm_emp tm_emp) = VE_Ctxt _ _ _ _ _ d1 d2 in
let d4:vprop_equiv g (tm_star tm_emp tm_emp) tm_emp = VE_Unit _... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"FStar.Pervasives.Native.Some",
"Pulse.Typing.vprop_equiv",
"Pulse.Syntax.Base.tm_emp",
"Pulse.Typing.VE_Refl",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Pervasives.Native.option",
"Pulse.Checker.Base.c... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_equiv_emp (g:env) (vp:term)
: option (vprop_equiv g vp tm_emp) | [
"recursion"
] | Pulse.Checker.Base.check_equiv_emp | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> vp: Pulse.Syntax.Base.term
-> FStar.Pervasives.Native.option (Pulse.Typing.vprop_equiv g vp Pulse.Syntax.Base.tm_emp) | {
"end_col": 16,
"end_line": 369,
"start_col": 4,
"start_line": 358
} |
Prims.Tot | val k_elab_unit (g:env) (ctxt:term)
: continuation_elaborator g ctxt g ctxt | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Pulse.Checker.Pure",
"short_module": "CP"
},
{
"abbrev": true,
... | false | let k_elab_unit (g:env) (ctxt:term)
: continuation_elaborator g ctxt g ctxt
= fun p r -> r | val k_elab_unit (g:env) (ctxt:term)
: continuation_elaborator g ctxt g ctxt
let k_elab_unit (g: env) (ctxt: term) : continuation_elaborator g ctxt g ctxt = | false | null | false | fun p r -> r | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.post_hint_opt",
"Pulse.Typing.Combinators.st_typing_in_ctxt",
"Pulse.Checker.Base.continuation_elaborator"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 k_elab_unit (g:env) (ctxt:term)
: continuation_elaborator g ctxt g ctxt | [] | Pulse.Checker.Base.k_elab_unit | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> ctxt: Pulse.Syntax.Base.term
-> Pulse.Checker.Base.continuation_elaborator g ctxt g ctxt | {
"end_col": 16,
"end_line": 72,
"start_col": 4,
"start_line": 72
} |
Prims.Tot | val k_elab_equiv_prefix
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt1 #ctxt2 #ctxt: term)
(k: continuation_elaborator g1 ctxt1 g2 ctxt)
(d: vprop_equiv g1 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt2 g2 ctxt | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let k_elab_equiv_prefix
(#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt1 #ctxt2 #ctxt:term)
(k:continuation_elaborator g1 ctxt1 g2 ctxt)
(d:vprop_equiv g1 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt2 g2 ctxt =
fun post_hint res ->
let framing_token : frame_for_req_in_ctxt g1 ctxt2 ctxt1 =
let d = V... | val k_elab_equiv_prefix
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt1 #ctxt2 #ctxt: term)
(k: continuation_elaborator g1 ctxt1 g2 ctxt)
(d: vprop_equiv g1 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt2 g2 ctxt
let k_elab_equiv_prefix
(#g1: env)
(#g2: env{g2 `env_exten... | false | null | false | fun post_hint res ->
let framing_token:frame_for_req_in_ctxt g1 ctxt2 ctxt1 =
let d = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Trans _ _ _ _ (VE_Unit _ _) d) in
(| tm_emp, emp_typing, d |)
in
let res = k post_hint res in
let (| st , c , st_d |) = res in
assert (comp_pre c == ctxt1);
(| _, _, st_equiv_pr... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.env_extends",
"Pulse.Syntax.Base.term",
"Pulse.Checker.Base.continuation_elaborator",
"Pulse.Typing.vprop_equiv",
"Pulse.Typing.post_hint_opt",
"Pulse.Typing.Combinators.st_typing_in_ctxt",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Prims.l... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 k_elab_equiv_prefix
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt1 #ctxt2 #ctxt: term)
(k: continuation_elaborator g1 ctxt1 g2 ctxt)
(d: vprop_equiv g1 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt2 g2 ctxt | [] | Pulse.Checker.Base.k_elab_equiv_prefix | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
k: Pulse.Checker.Base.continuation_elaborator g1 ctxt1 g2 ctxt ->
d: Pulse.Typing.vprop_equiv g1 ctxt1 ctxt2
-> Pulse.Checker.Base.continuation_elaborator g1 ctxt2 g2 ctxt | {
"end_col": 35,
"end_line": 208,
"start_col": 2,
"start_line": 200
} |
Prims.Tot | val k_elab_trans
(#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term)
(k0:continuation_elaborator g0 ctxt0 g1 ctxt1)
(k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0})
: continuation_elaborator g0 ctxt0 g2 ctxt2 | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"full_module": "Pulse.Checker.Pure",
"short_module": "CP"
},
{
"abbrev": true,
... | false | let k_elab_trans
(#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term)
(k0:continuation_elaborator g0 ctxt0 g1 ctxt1)
(k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0})
: continuation_elaborator g0 ctxt0 g2 ctxt2
= fun post_hint res -> k... | val k_elab_trans
(#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term)
(k0:continuation_elaborator g0 ctxt0 g1 ctxt1)
(k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0})
: continuation_elaborator g0 ctxt0 g2 ctxt2
let k_elab_trans
(#g0... | false | null | false | fun post_hint res -> k0 post_hint (k1 post_hint res) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.env_extends",
"Pulse.Syntax.Base.term",
"Pulse.Checker.Base.continuation_elaborator",
"Pulse.Typing.post_hint_opt",
"Pulse.Typing.Combinators.st_typing_in_ctxt"
] | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 k_elab_trans
(#g0:env) (#g1:env { g1 `env_extends` g0 }) (#g2:env { g2 `env_extends` g1 }) (#ctxt0 #ctxt1 #ctxt2:term)
(k0:continuation_elaborator g0 ctxt0 g1 ctxt1)
(k1:continuation_elaborator g1 ctxt1 g2 ctxt2 { g1 `env_extends` g0})
: continuation_elaborator g0 ctxt0 g2 ctxt2 | [] | Pulse.Checker.Base.k_elab_trans | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
k0: Pulse.Checker.Base.continuation_elaborator g0 ctxt0 g1 ctxt1 ->
k1:
Pulse.Checker.Base.continuation_elaborator g1 ctxt1 g2 ctxt2
{Pulse.Typing.Env.env_extends g1 g0}
-> Pulse.Checker.Base.continuation_elaborator g0 ctxt0 g2 ctxt2 | {
"end_col": 57,
"end_line": 79,
"start_col": 5,
"start_line": 79
} |
Prims.Tot | val comp_st_with_post (c: comp_st) (post: term)
: c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)} | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let comp_st_with_post (c:comp_st) (post:term)
: c':comp_st { st_comp_of_comp c' == ({ st_comp_of_comp c with post} <: st_comp) } =
match c with
| C_ST st -> C_ST { st with post }
| C_STGhost i st -> C_STGhost i { st with post }
| C_STAtomic i st -> C_STAtomic i {st with post} | val comp_st_with_post (c: comp_st) (post: term)
: c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)}
let comp_st_with_post (c: comp_st) (post: term)
: c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)} = | false | null | false | match c with
| C_ST st -> C_ST ({ st with post = post })
| C_STGhost i st -> C_STGhost i ({ st with post = post })
| C_STAtomic i st -> C_STAtomic i ({ st with post = post }) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Syntax.Base.comp_st",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.C_ST",
"Pulse.Syntax.Base.Mkst_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__u",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__res",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__pre",
"Pulse.Synt... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 comp_st_with_post (c: comp_st) (post: term)
: c': comp_st{st_comp_of_comp c' == ({ st_comp_of_comp c with post = post } <: st_comp)} | [] | Pulse.Checker.Base.comp_st_with_post | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp_st -> post: Pulse.Syntax.Base.term
-> c':
Pulse.Syntax.Base.comp_st
{ Pulse.Syntax.Base.st_comp_of_comp c' ==
(let _ = Pulse.Syntax.Base.st_comp_of_comp c in
Pulse.Syntax.Base.Mkst_comp (Mkst_comp?.u _) (Mkst_comp?.res _) (Mkst_comp?.pre _) post) } | {
"end_col": 50,
"end_line": 86,
"start_col": 2,
"start_line": 83
} |
Prims.Tot | val st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2)
: option (st_equiv g c0 c2) | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let st_equiv_trans (#g:env) (#c0 #c1 #c2:comp) (d01:st_equiv g c0 c1) (d12:st_equiv g c1 c2)
: option (st_equiv g c0 c2)
= let ST_VPropEquiv _f _c0 _c1 x c0_pre_typing c0_res_typing c0_post_typing eq_res_01 eq_pre_01 eq_post_01 = d01 in
let ST_VPropEquiv _f _c1 _c2 y c1_pre_typing c1_res_typing c1_post_typing e... | val st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2)
: option (st_equiv g c0 c2)
let st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2)
: option (st_equiv g c0 c2) = | false | null | false | let
ST_VPropEquiv _f _c0 _c1 x c0_pre_typing c0_res_typing c0_post_typing eq_res_01 eq_pre_01 eq_post_01
=
d01
in
let
ST_VPropEquiv _f _c1 _c2 y c1_pre_typing c1_res_typing c1_post_typing eq_res_12 eq_pre_12 eq_post_12
=
d12
in
if x = y && eq_tm (comp_res c0) (comp_res c1)
then
Some
(ST_VPropEquiv g
c0
... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.comp",
"Pulse.Typing.st_equiv",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.st_equiv_pre",
"Pulse.Syntax.Base.var",
"Prims.l_and",
"Prims.b2t",
"FStar.Pervasives.Native.uu___is_None",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Env.lookup",
"Prims.l_not",
... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 st_equiv_trans (#g: env) (#c0 #c1 #c2: comp) (d01: st_equiv g c0 c1) (d12: st_equiv g c1 c2)
: option (st_equiv g c0 c2) | [] | Pulse.Checker.Base.st_equiv_trans | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | d01: Pulse.Typing.st_equiv g c0 c1 -> d12: Pulse.Typing.st_equiv g c1 c2
-> FStar.Pervasives.Native.option (Pulse.Typing.st_equiv g c0 c2) | {
"end_col": 13,
"end_line": 102,
"start_col": 3,
"start_line": 93
} |
Prims.Tot | val k_elab_equiv_continuation
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt #ctxt1 #ctxt2: term)
(k: continuation_elaborator g1 ctxt g2 ctxt1)
(d: vprop_equiv g2 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt g2 ctxt2 | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let k_elab_equiv_continuation (#g1:env) (#g2:env { g2 `env_extends` g1 }) (#ctxt #ctxt1 #ctxt2:term)
(k:continuation_elaborator g1 ctxt g2 ctxt1)
(d:vprop_equiv g2 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt g2 ctxt2 =
fun post_hint res ->
let (| st, c, st_d |) = res in
let st_d : st_typing g2 st c =... | val k_elab_equiv_continuation
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt #ctxt1 #ctxt2: term)
(k: continuation_elaborator g1 ctxt g2 ctxt1)
(d: vprop_equiv g2 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt g2 ctxt2
let k_elab_equiv_continuation
(#g1: env)
(#g2: env{g... | false | null | false | fun post_hint res ->
let (| st , c , st_d |) = res in
let st_d:st_typing g2 st c = st_d in
assert (comp_pre c == ctxt2);
let st_d':st_typing g2 st (comp_with_pre c ctxt1) = st_equiv_pre st_d _ (VE_Sym _ _ _ d) in
k post_hint (| st, _, st_d' |) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.env_extends",
"Pulse.Syntax.Base.term",
"Pulse.Checker.Base.continuation_elaborator",
"Pulse.Typing.vprop_equiv",
"Pulse.Typing.post_hint_opt",
"Pulse.Typing.Combinators.st_typing_in_ctxt",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Prims.l... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 k_elab_equiv_continuation
(#g1: env)
(#g2: env{g2 `env_extends` g1})
(#ctxt #ctxt1 #ctxt2: term)
(k: continuation_elaborator g1 ctxt g2 ctxt1)
(d: vprop_equiv g2 ctxt1 ctxt2)
: continuation_elaborator g1 ctxt g2 ctxt2 | [] | Pulse.Checker.Base.k_elab_equiv_continuation | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
k: Pulse.Checker.Base.continuation_elaborator g1 ctxt g2 ctxt1 ->
d: Pulse.Typing.vprop_equiv g2 ctxt1 ctxt2
-> Pulse.Checker.Base.continuation_elaborator g1 ctxt g2 ctxt2 | {
"end_col": 34,
"end_line": 185,
"start_col": 2,
"start_line": 180
} |
FStar.Tactics.Effect.Tac | val apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g)
(r:checker_result_t g ctxt (Some post_hint))
(res_ppname:ppname)
: T.Tac (st_typing_in_ctxt g ctxt (Some post_hint)) | [
{
"abbrev": true,
"full_module": "Pulse.Typing.LN",
"short_module": "LN"
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"... | false | let apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g)
(r:checker_result_t g ctxt (Some post_hint))
(res_ppname:ppname)
: T.Tac (st_typing_in_ctxt g ctxt (Some post_hint)) =
// TODO: FIXME add to checker result type?
let (| y, g1, (| u_ty, ty_y, d_ty_y |), (| pre', _ |), k |) = r ... | val apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g)
(r:checker_result_t g ctxt (Some post_hint))
(res_ppname:ppname)
: T.Tac (st_typing_in_ctxt g ctxt (Some post_hint))
let apply_checker_result_k
(#g: env)
(#ctxt: vprop)
(#post_hint: post_hint_for_env g)
(r: ... | true | null | false | let (| y , g1 , (| u_ty , ty_y , d_ty_y |) , (| pre' , _ |) , k |) = r in
let (| u_ty_y , d_ty_y |) = Pulse.Checker.Pure.check_universe g1 ty_y in
let d:st_typing_in_ctxt g1 pre' (Some post_hint) =
return_in_ctxt g1 y res_ppname u_ty_y ty_y pre' d_ty_y (Some post_hint)
in
k (Some post_hint) d | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.vprop",
"Pulse.Typing.post_hint_for_env",
"Pulse.Checker.Base.checker_result_t",
"FStar.Pervasives.Native.Some",
"Pulse.Typing.post_hint_t",
"Pulse.Syntax.Base.ppname",
"Pulse.Syntax.Base.var",
"Pulse.Typing.Env.env_extends",
"Pulse.Syntax.Base.universe",... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val apply_checker_result_k (#g:env) (#ctxt:vprop) (#post_hint:post_hint_for_env g)
(r:checker_result_t g ctxt (Some post_hint))
(res_ppname:ppname)
: T.Tac (st_typing_in_ctxt g ctxt (Some post_hint)) | [] | Pulse.Checker.Base.apply_checker_result_k | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
r: Pulse.Checker.Base.checker_result_t g ctxt (FStar.Pervasives.Native.Some post_hint) ->
res_ppname: Pulse.Syntax.Base.ppname
-> FStar.Tactics.Effect.Tac
(Pulse.Typing.Combinators.st_typing_in_ctxt g ctxt (FStar.Pervasives.Native.Some post_hint)) | {
"end_col": 22,
"end_line": 482,
"start_col": 55,
"start_line": 472
} |
Prims.Tot | val simplify_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{comp_post c == tm_star post tm_emp})
: st_typing g t (comp_st_with_post c post) | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let simplify_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c)
(post:term { comp_post c == tm_star post tm_emp})
: st_typing g t (comp_st_with_post c post)
= st_equiv_post d post (fun x -> ve_unit_r (push_binding g x ppname_default (comp_res c)) (open_term post x)) | val simplify_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{comp_post c == tm_star post tm_emp})
: st_typing g t (comp_st_with_post c post)
let simplify_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: ter... | false | null | false | st_equiv_post d
post
(fun x -> ve_unit_r (push_binding g x ppname_default (comp_res c)) (open_term post x)) | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.st_typing",
"Pulse.Syntax.Base.term",
"Prims.eq2",
"Pulse.Syntax.Base.comp_post",
"Pulse.Syntax.Base.tm_star",
"Pulse.Syntax.Base.tm_emp",
"Pulse.Checker.Base.st_equiv_post",
"Pulse.Syntax.Base.var",
... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{comp_post c == tm_star post tm_emp})
: st_typing g t (comp_st_with_post c post) | [] | Pulse.Checker.Base.simplify_post | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
d: Pulse.Typing.st_typing g t c ->
post:
Pulse.Syntax.Base.term
{Pulse.Syntax.Base.comp_post c == Pulse.Syntax.Base.tm_star post Pulse.Syntax.Base.tm_emp}
-> Pulse.Typing.st_typing g t (Pulse.Checker.Base.comp_st_with_post c post) | {
"end_col": 111,
"end_line": 134,
"start_col": 4,
"start_line": 134
} |
Prims.Tot | val st_equiv_pre
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(pre: term)
(veq: vprop_equiv g (comp_pre c) pre)
: st_typing g t (comp_with_pre c pre) | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let st_equiv_pre (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c)
(pre:term)
(veq: vprop_equiv g (comp_pre c) pre)
: st_typing g t (comp_with_pre c pre)
= if eq_tm pre (comp_pre c) then d
else
let c' = comp_with_pre c pre in
let (| u_of, pre_typing, x, post_ty... | val st_equiv_pre
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(pre: term)
(veq: vprop_equiv g (comp_pre c) pre)
: st_typing g t (comp_with_pre c pre)
let st_equiv_pre
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(pre: term... | false | null | false | if eq_tm pre (comp_pre c)
then d
else
let c' = comp_with_pre c pre in
let (| u_of , pre_typing , x , post_typing |) =
let open Metatheory in
st_comp_typing_inversion (comp_typing_inversion (st_typing_correctness d))
in
let st_equiv:st_equiv g c c' =
ST_VPropEquiv g c c' x pre_typing u_of post_typing... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.st_typing",
"Pulse.Syntax.Base.term",
"Pulse.Typing.vprop_equiv",
"Pulse.Syntax.Base.comp_pre",
"Pulse.Syntax.Base.eq_tm",
"Prims.bool",
"Pulse.Typing.universe_of",
"Pulse.Syntax.Base.__proj__Mkst_com... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 st_equiv_pre
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(pre: term)
(veq: vprop_equiv g (comp_pre c) pre)
: st_typing g t (comp_with_pre c pre) | [] | Pulse.Checker.Base.st_equiv_pre | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
d: Pulse.Typing.st_typing g t c ->
pre: Pulse.Syntax.Base.term ->
veq: Pulse.Typing.vprop_equiv g (Pulse.Syntax.Base.comp_pre c) pre
-> Pulse.Typing.st_typing g t (Pulse.Checker.Base.comp_with_pre c pre) | {
"end_col": 24,
"end_line": 172,
"start_col": 4,
"start_line": 164
} |
Prims.Tot | val st_equiv_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{(freevars post) `Set.subset` (freevars (comp_post c))})
(veq:
(x: var{fresh_wrt x g (freevars (comp_post c))}
-> vprop_equiv (push_binding g x ppname_default (comp_res c))... | [
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Combinators",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": t... | false | let st_equiv_post (#g:env) (#t:st_term) (#c:comp_st) (d:st_typing g t c)
(post:term { freevars post `Set.subset` freevars (comp_post c)})
(veq: (x:var { fresh_wrt x g (freevars (comp_post c)) } ->
vprop_equiv (push_binding g x ppname_default (comp_res c))
... | val st_equiv_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{(freevars post) `Set.subset` (freevars (comp_post c))})
(veq:
(x: var{fresh_wrt x g (freevars (comp_post c))}
-> vprop_equiv (push_binding g x ppname_default (comp_res c))... | false | null | false | if eq_tm post (comp_post c)
then d
else
let c' = comp_st_with_post c post in
let (| u_of , pre_typing , x , post_typing |) =
let open Metatheory in
st_comp_typing_inversion (comp_typing_inversion (st_typing_correctness d))
in
let veq = veq x in
let st_equiv:st_equiv g c c' =
ST_VPropEquiv g c c' x... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.st_typing",
"Pulse.Syntax.Base.term",
"FStar.Set.subset",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Naming.freevars",
"Pulse.Syntax.Base.comp_post",
"Pulse.Typing.fresh_wrt",
"Pulse.Typing.vprop_equiv",
... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.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 st_equiv_post
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
(post: term{(freevars post) `Set.subset` (freevars (comp_post c))})
(veq:
(x: var{fresh_wrt x g (freevars (comp_post c))}
-> vprop_equiv (push_binding g x ppname_default (comp_res c))... | [] | Pulse.Checker.Base.st_equiv_post | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
d: Pulse.Typing.st_typing g t c ->
post:
Pulse.Syntax.Base.term
{ FStar.Set.subset (Pulse.Syntax.Naming.freevars post)
(Pulse.Syntax.Naming.freevars (Pulse.Syntax.Base.comp_post c)) } ->
veq:
(
x:
Pulse.Syntax.Base.var
{ Pulse.Typing... | {
"end_col": 24,
"end_line": 129,
"start_col": 4,
"start_line": 121
} |
FStar.Tactics.Effect.Tac | val intro_comp_typing (g:env)
(c:comp_st)
(pre_typing:tot_typing g (comp_pre c) tm_vprop)
(res_typing:universe_of g (comp_res c) (comp_u c))
(x:var { fresh_wrt x g (freevars (comp_post c)) })
(post_typing:tot_... | [
{
"abbrev": true,
"full_module": "Pulse.Typing.LN",
"short_module": "LN"
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"... | false | let intro_comp_typing (g:env)
(c:comp_st)
(pre_typing:tot_typing g (comp_pre c) tm_vprop)
(res_typing:universe_of g (comp_res c) (comp_u c))
(x:var { fresh_wrt x g (freevars (comp_post c)) })
(post_typing:tot_... | val intro_comp_typing (g:env)
(c:comp_st)
(pre_typing:tot_typing g (comp_pre c) tm_vprop)
(res_typing:universe_of g (comp_res c) (comp_u c))
(x:var { fresh_wrt x g (freevars (comp_post c)) })
(post_typing:tot_... | true | null | false | let intro_st_comp_typing
(st:
st_comp
{ comp_u c == st.u /\ comp_pre c == st.pre /\ comp_res c == st.res /\
comp_post c == st.post })
: T.Tac (st_comp_typing g st) =
STC g st x res_typing pre_typing post_typing
in
match c with
| C_ST st ->
let stc = intro_st_comp_typing... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.comp_pre",
"Pulse.Syntax.Base.tm_vprop",
"Pulse.Typing.universe_of",
"Pulse.Syntax.Base.comp_res",
"Pulse.Syntax.Base.comp_u",
"Pulse.Syntax.Base.var",
"Pulse.Typing.fresh_wrt",
"Pulse.Syntax.Namin... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val intro_comp_typing (g:env)
(c:comp_st)
(pre_typing:tot_typing g (comp_pre c) tm_vprop)
(res_typing:universe_of g (comp_res c) (comp_u c))
(x:var { fresh_wrt x g (freevars (comp_post c)) })
(post_typing:tot_... | [] | Pulse.Checker.Base.intro_comp_typing | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
g: Pulse.Typing.Env.env ->
c: Pulse.Syntax.Base.comp_st ->
pre_typing: Pulse.Typing.tot_typing g (Pulse.Syntax.Base.comp_pre c) Pulse.Syntax.Base.tm_vprop ->
res_typing:
Pulse.Typing.universe_of g (Pulse.Syntax.Base.comp_res c) (Pulse.Syntax.Base.comp_u c) ->
x:
Pulse.Syntax.Base.var
... | {
"end_col": 40,
"end_line": 400,
"start_col": 3,
"start_line": 378
} |
FStar.Tactics.Effect.Tac | val match_comp_res_with_post_hint (#g:env) (#t:st_term) (#c:comp_st)
(d:st_typing g t c)
(post_hint:post_hint_opt g)
: T.Tac (t':st_term &
c':comp_st &
st_typing g t' c') | [
{
"abbrev": true,
"full_module": "Pulse.Typing.LN",
"short_module": "LN"
},
{
"abbrev": false,
"full_module": "Pulse.Typing.Metatheory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Syntax.Printer",
"short_module": "P"
},
{
"abbrev": true,
"... | false | let match_comp_res_with_post_hint (#g:env) (#t:st_term) (#c:comp_st)
(d:st_typing g t c)
(post_hint:post_hint_opt g)
: T.Tac (t':st_term &
c':comp_st &
st_typing g t' c') =
match post_hint with
| None -> (| t, c, d |)
| Some { ret_ty } ->
let cres = comp_res c in
if eq_tm cres... | val match_comp_res_with_post_hint (#g:env) (#t:st_term) (#c:comp_st)
(d:st_typing g t c)
(post_hint:post_hint_opt g)
: T.Tac (t':st_term &
c':comp_st &
st_typing g t' c')
let match_comp_res_with_post_hint
(#g: env)
(#t: st_term)
(#c: comp_st)
(d: st_typing g t c)
... | true | null | false | match post_hint with
| None -> (| t, c, d |)
| Some { ret_ty = ret_ty } ->
let cres = comp_res c in
if eq_tm cres ret_ty
then (| t, c, d |)
else
match Pulse.Checker.Pure.check_equiv g cres ret_ty with
| None ->
fail g
(Some t.range)
(Printf.sprintf "Could not prove equiv for comput... | {
"checked_file": "Pulse.Checker.Base.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.LN.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.RuntimeUtils.fsti.checked",
"... | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp_st",
"Pulse.Typing.st_typing",
"Pulse.Typing.post_hint_opt",
"FStar.Pervasives.Mkdtuple3",
"FStar.Pervasives.dtuple3",
"FStar.Pervasives.Native.option",
"Pulse.Syntax.Base.ctag",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.... | [] | module Pulse.Checker.Base
module T = FStar.Tactics.V2
module RT = FStar.Reflection.Typing
module Metatheory = Pulse.Typing.Metatheory
module CP = Pulse.Checker.Pure
module RU = Pulse.RuntimeUtils
module FV = Pulse.Typing.FV
module P = Pulse.Syntax.Printer
open Pulse.Typing.Combinators
open Pulse.Typing.Metatheory
le... | false | false | Pulse.Checker.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val match_comp_res_with_post_hint (#g:env) (#t:st_term) (#c:comp_st)
(d:st_typing g t c)
(post_hint:post_hint_opt g)
: T.Tac (t':st_term &
c':comp_st &
st_typing g t' c') | [] | Pulse.Checker.Base.match_comp_res_with_post_hint | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | d: Pulse.Typing.st_typing g t c -> post_hint: Pulse.Typing.post_hint_opt g
-> FStar.Tactics.Effect.Tac
(FStar.Pervasives.dtuple3 Pulse.Syntax.Base.st_term
(fun _ -> Pulse.Syntax.Base.comp_st)
(fun t' c' -> Pulse.Typing.st_typing g t' c')) | {
"end_col": 51,
"end_line": 467,
"start_col": 2,
"start_line": 442
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let u16 = U16.t | let u16 = | false | null | false | U16.t | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.UInt16.t"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 u16 : Prims.eqtype | [] | FStar.Bytes.u16 | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Prims.eqtype | {
"end_col": 22,
"end_line": 41,
"start_col": 17,
"start_line": 41
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let length b = FStar.UInt32.v (len b) | let length b = | false | null | false | FStar.UInt32.v (len b) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.Bytes.bytes",
"FStar.UInt32.v",
"FStar.Bytes.len",
"FStar.UInt.uint_t"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 length : b: FStar.Bytes.bytes -> FStar.UInt.uint_t 32 | [] | FStar.Bytes.length | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: FStar.Bytes.bytes -> FStar.UInt.uint_t 32 | {
"end_col": 44,
"end_line": 52,
"start_col": 22,
"start_line": 52
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let u32 = U32.t | let u32 = | false | null | false | U32.t | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.UInt32.t"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 u32 : Prims.eqtype | [] | FStar.Bytes.u32 | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Prims.eqtype | {
"end_col": 22,
"end_line": 42,
"start_col": 17,
"start_line": 42
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let op_String_Access = get | let op_String_Access = | false | null | false | get | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [] | [
"FStar.Bytes.get"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 op_String_Access : b: FStar.Bytes.bytes -> pos: FStar.Bytes.u32{FStar.UInt32.v pos < FStar.Bytes.length b}
-> Prims.Pure FStar.Bytes.byte | [] | FStar.Bytes.op_String_Access | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: FStar.Bytes.bytes -> pos: FStar.Bytes.u32{FStar.UInt32.v pos < FStar.Bytes.length b}
-> Prims.Pure FStar.Bytes.byte | {
"end_col": 33,
"end_line": 98,
"start_col": 30,
"start_line": 98
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let u8 = U8.t | let u8 = | false | null | false | U8.t | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.UInt8.t"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 u8 : Prims.eqtype | [] | FStar.Bytes.u8 | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Prims.eqtype | {
"end_col": 20,
"end_line": 40,
"start_col": 16,
"start_line": 40
} | |
Prims.Pure | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let op_At_Bar = append | let op_At_Bar = | false | null | false | append | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [] | [
"FStar.Bytes.append"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 op_At_Bar : b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.Pure FStar.Bytes.bytes | [] | FStar.Bytes.op_At_Bar | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.Pure FStar.Bytes.bytes | {
"end_col": 29,
"end_line": 140,
"start_col": 23,
"start_line": 140
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let lbytes32 (l:UInt32.t) = b:bytes{len b = l} | let lbytes32 (l: UInt32.t) = | false | null | false | b: bytes{len b = l} | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.UInt32.t",
"FStar.Bytes.bytes",
"Prims.b2t",
"Prims.op_Equality",
"FStar.Bytes.len"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 lbytes32 : l: FStar.UInt32.t -> Type0 | [] | FStar.Bytes.lbytes32 | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l: FStar.UInt32.t -> Type0 | {
"end_col": 46,
"end_line": 82,
"start_col": 28,
"start_line": 82
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let create_ (n:nat{FStar.UInt.size n U32.n}) v = create (U32.uint_to_t n) v | let create_ (n: nat{FStar.UInt.size n U32.n}) v = | false | null | false | create (U32.uint_to_t n) v | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"Prims.nat",
"FStar.UInt.size",
"FStar.UInt32.n",
"FStar.Bytes.byte",
"FStar.Bytes.create",
"FStar.UInt32.uint_to_t",
"FStar.Bytes.lbytes",
"FStar.UInt32.v",
"Prims.l_Forall",
"FStar.Bytes.u32",
"Prims.b2t",
"FStar.UInt32.op_Less_Hat",
"Prims.eq2",
"FStar.Bytes.op_String_Access"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 create_ : n: Prims.nat{FStar.UInt.size n FStar.UInt32.n} -> v: FStar.Bytes.byte
-> b:
FStar.Bytes.lbytes (FStar.UInt32.v (FStar.UInt32.uint_to_t n))
{forall (i: FStar.Bytes.u32{i <^ FStar.UInt32.uint_to_t n}). {:pattern b.[ i ]} b.[ i ] == v} | [] | FStar.Bytes.create_ | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | n: Prims.nat{FStar.UInt.size n FStar.UInt32.n} -> v: FStar.Bytes.byte
-> b:
FStar.Bytes.lbytes (FStar.UInt32.v (FStar.UInt32.uint_to_t n))
{forall (i: FStar.Bytes.u32{i <^ FStar.UInt32.uint_to_t n}). {:pattern b.[ i ]} b.[ i ] == v} | {
"end_col": 75,
"end_line": 119,
"start_col": 49,
"start_line": 119
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let index (b:bytes) (i:nat{i < length b}) = get b (U32.uint_to_t i) | let index (b: bytes) (i: nat{i < length b}) = | false | null | false | get b (U32.uint_to_t i) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.Bytes.bytes",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Bytes.length",
"FStar.Bytes.get",
"FStar.UInt32.uint_to_t",
"FStar.Bytes.byte"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 index : b: FStar.Bytes.bytes -> i: Prims.nat{i < FStar.Bytes.length b} -> FStar.Bytes.byte | [] | FStar.Bytes.index | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: FStar.Bytes.bytes -> i: Prims.nat{i < FStar.Bytes.length b} -> FStar.Bytes.byte | {
"end_col": 74,
"end_line": 100,
"start_col": 51,
"start_line": 100
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let equal b1 b2 =
length b1 = length b2 /\
(forall (i:u32{U32.v i < length b1}).{:pattern (b1.[i]); (b2.[i])} b1.[i] == b2.[i]) | let equal b1 b2 = | false | null | false | length b1 = length b2 /\
(forall (i: u32{U32.v i < length b1}). {:pattern (b1.[ i ]); (b2.[ i ])} b1.[ i ] == b2.[ i ]) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.Bytes.bytes",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt.uint_t",
"FStar.Bytes.length",
"Prims.l_Forall",
"FStar.Bytes.u32",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.eq2",
"FStar.Bytes.byte",
"FStar.Bytes.op_String_Access",
"Prims.logical"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 equal : b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.logical | [] | FStar.Bytes.equal | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b1: FStar.Bytes.bytes -> b2: FStar.Bytes.bytes -> Prims.logical | {
"end_col": 86,
"end_line": 104,
"start_col": 2,
"start_line": 103
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let split_ b (k:nat{FStar.UInt.size k U32.n /\ k < length b}) = split b (U32.uint_to_t k) | let split_ b (k: nat{FStar.UInt.size k U32.n /\ k < length b}) = | false | null | false | split b (U32.uint_to_t k) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.Bytes.bytes",
"Prims.nat",
"Prims.l_and",
"FStar.UInt.size",
"FStar.UInt32.n",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Bytes.length",
"FStar.Bytes.split",
"FStar.UInt32.uint_to_t",
"FStar.Pervasives.Native.tuple2",
"Prims.eq2",
"FStar.Seq.Base.seq",
"FStar.Bytes.byte",
"FStar.Per... | [] | (*
Copyright 2008-2017 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.Bytes.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 split_ : b: FStar.Bytes.bytes -> k: Prims.nat{FStar.UInt.size k FStar.UInt32.n /\ k < FStar.Bytes.length b}
-> p:
(FStar.Bytes.bytes * FStar.Bytes.bytes)
{ let _ = p in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ x y = _ in
FStar.Pervasives.Native.Mktuple2 (FStar.Bytes.reveal x) (FStar... | [] | FStar.Bytes.split_ | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: FStar.Bytes.bytes -> k: Prims.nat{FStar.UInt.size k FStar.UInt32.n /\ k < FStar.Bytes.length b}
-> p:
(FStar.Bytes.bytes * FStar.Bytes.bytes)
{ let _ = p in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ x y = _ in
FStar.Pervasives.Native.Mktuple2 (FStar.Bytes.reveal x) (FStar.Bytes.reveal... | {
"end_col": 96,
"end_line": 162,
"start_col": 71,
"start_line": 162
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let slice_ b (s:nat) (e:nat{s <= e /\ e <= length b}) = slice b (U32.uint_to_t s) (U32.uint_to_t e) | let slice_ b (s: nat) (e: nat{s <= e /\ e <= length b}) = | false | null | false | slice b (U32.uint_to_t s) (U32.uint_to_t e) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"FStar.Bytes.bytes",
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.Bytes.length",
"FStar.Bytes.slice",
"FStar.UInt32.uint_to_t",
"Prims.eq2",
"FStar.Seq.Base.seq",
"FStar.Bytes.byte",
"FStar.Bytes.reveal",
"FStar.Seq.Base.slice",
"FStar.UInt32.v"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 slice_ : b: FStar.Bytes.bytes -> s: Prims.nat -> e: Prims.nat{s <= e /\ e <= FStar.Bytes.length b}
-> r:
FStar.Bytes.bytes
{ FStar.Bytes.reveal r ==
FStar.Seq.Base.slice (FStar.Bytes.reveal b)
(FStar.UInt32.v (FStar.UInt32.uint_to_t s))
(FStar.UInt32.v (FStar.UInt32.uint_to_t... | [] | FStar.Bytes.slice_ | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: FStar.Bytes.bytes -> s: Prims.nat -> e: Prims.nat{s <= e /\ e <= FStar.Bytes.length b}
-> r:
FStar.Bytes.bytes
{ FStar.Bytes.reveal r ==
FStar.Seq.Base.slice (FStar.Bytes.reveal b)
(FStar.UInt32.v (FStar.UInt32.uint_to_t s))
(FStar.UInt32.v (FStar.UInt32.uint_to_t e)) } | {
"end_col": 99,
"end_line": 147,
"start_col": 56,
"start_line": 147
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let fits_in_k_bytes (n:nat) (k:nat) = FStar.UInt.size n (op_Multiply 8 k) | let fits_in_k_bytes (n k: nat) = | false | null | false | FStar.UInt.size n (op_Multiply 8 k) | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"Prims.nat",
"FStar.UInt.size",
"Prims.op_Multiply"
] | [] | (*
Copyright 2008-2017 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.Bytes.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 fits_in_k_bytes : n: Prims.nat -> k: Prims.nat -> Type0 | [] | FStar.Bytes.fits_in_k_bytes | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | n: Prims.nat -> k: Prims.nat -> Type0 | {
"end_col": 73,
"end_line": 165,
"start_col": 38,
"start_line": 165
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Char",
"short_module": "Chr"
},
{
"abbrev": true,
"full_module": "FStar.String",
"short_module": "Str"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.... | false | let xor_ (#n:nat{FStar.UInt.size n U32.n}) (b1:minbytes n) (b2:minbytes n) = xor (U32.uint_to_t n) b1 b2 | let xor_ (#n: nat{FStar.UInt.size n U32.n}) (b1 b2: minbytes n) = | false | null | false | xor (U32.uint_to_t n) b1 b2 | {
"checked_file": "FStar.Bytes.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.UInt16.fsti.checked",
"FStar.UInt.fsti.check... | [
"total"
] | [
"Prims.nat",
"FStar.UInt.size",
"FStar.UInt32.n",
"FStar.Bytes.minbytes",
"FStar.Bytes.xor",
"FStar.UInt32.uint_to_t",
"FStar.Bytes.bytes",
"Prims.b2t",
"Prims.op_Equality",
"FStar.Bytes.u32",
"FStar.Bytes.len"
] | [] | (*
Copyright 2008-2017 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.Bytes.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 xor_ : b1: FStar.Bytes.minbytes n -> b2: FStar.Bytes.minbytes n
-> b: FStar.Bytes.bytes{FStar.Bytes.len b = FStar.UInt32.uint_to_t n} | [] | FStar.Bytes.xor_ | {
"file_name": "ulib/FStar.Bytes.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b1: FStar.Bytes.minbytes n -> b2: FStar.Bytes.minbytes n
-> b: FStar.Bytes.bytes{FStar.Bytes.len b = FStar.UInt32.uint_to_t n} | {
"end_col": 111,
"end_line": 247,
"start_col": 84,
"start_line": 247
} | |
Prims.Tot | val eval_Paddd (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Paddd (src1 src2:quad32) : option quad32 = check_sse2 (eval_Paddd_raw src1 src2) | val eval_Paddd (src1 src2: quad32) : option quad32
let eval_Paddd (src1 src2: quad32) : option quad32 = | false | null | false | check_sse2 (eval_Paddd_raw src1 src2) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_sse2",
"Vale.X64.Instructions_s.eval_Paddd_raw",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Paddd (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_Paddd | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 89,
"end_line": 129,
"start_col": 52,
"start_line": 129
} |
Prims.Tot | val eval_Mov64 (src: nat64) : option nat64 | [
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": ... | false | let eval_Mov64 (src:nat64) : option nat64 = Some src | val eval_Mov64 (src: nat64) : option nat64
let eval_Mov64 (src: nat64) : option nat64 = | false | null | false | Some src | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.nat64",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base | false | true | Vale.X64.Instructions_s.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 eval_Mov64 (src: nat64) : option nat64 | [] | Vale.X64.Instructions_s.eval_Mov64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64 | {
"end_col": 52,
"end_line": 13,
"start_col": 44,
"start_line": 13
} |
Prims.Tot | val eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Shufpd_raw (permutation:int) (src1 src2:quad32) : option quad32 =
if 0 <= permutation && permutation < 4 then
Some (Mkfour
(if permutation % 2 = 0 then src1.lo0 else src1.hi2)
(if permutation % 2 = 0 then src1.lo1 else src1.hi3)
(if (permutation / 2) % 2 = 0 then src2.lo0 else src2.hi2)... | val eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32
let eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32 = | false | null | false | if 0 <= permutation && permutation < 4
then
Some
(Mkfour (if permutation % 2 = 0 then src1.lo0 else src1.hi2)
(if permutation % 2 = 0 then src1.lo1 else src1.hi3)
(if (permutation / 2) % 2 = 0 then src2.lo0 else src2.hi2)
(if (permutation / 2) % 2 = 0 then src2.lo1 else src2.hi3))
else None | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Prims.int",
"Vale.X64.Machine_s.quad32",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"FStar.Pervasives.Native.Some",
"Vale.Def.Words_s.Mkfour",
"Vale.Def.Types_s.nat32",
"Prims.op_Equality",
"Prims.op_Modulus",
"Vale.Def.Words_s.__proj__Mkfour__item__lo0",
"Prims.bool"... | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Shufpd_raw (permutation: int) (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_Shufpd_raw | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | permutation: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 11,
"end_line": 177,
"start_col": 2,
"start_line": 171
} |
Prims.Tot | val is_byte_reversal_mask (q: quad32) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let is_byte_reversal_mask (q:quad32) : bool =
q.lo0 = 0x00010203 &&
q.lo1 = 0x04050607 &&
q.hi2 = 0x08090A0B &&
q.hi3 = 0x0C0D0E0F | val is_byte_reversal_mask (q: quad32) : bool
let is_byte_reversal_mask (q: quad32) : bool = | false | null | false | q.lo0 = 0x00010203 && q.lo1 = 0x04050607 && q.hi2 = 0x08090A0B && q.hi3 = 0x0C0D0E0F | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Prims.op_AmpAmp",
"Prims.op_Equality",
"Prims.int",
"Vale.Def.Words_s.__proj__Mkfour__item__lo0",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.__proj__Mkfour__item__lo1",
"Vale.Def.Words_s.__proj__Mkfour__item__hi2",
"Vale.Def.Words_s.__proj__Mkfour__item__hi3",
"Prims... | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 is_byte_reversal_mask (q: quad32) : bool | [] | Vale.X64.Instructions_s.is_byte_reversal_mask | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | q: Vale.X64.Machine_s.quad32 -> Prims.bool | {
"end_col": 20,
"end_line": 199,
"start_col": 2,
"start_line": 196
} |
Prims.Tot | val eval_VPxor (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_VPxor (src1 src2:quad32) : option quad32 = check_avx (Some (quad32_xor src1 src2)) | val eval_VPxor (src1 src2: quad32) : option quad32
let eval_VPxor (src1 src2: quad32) : option quad32 = | false | null | false | check_avx (Some (quad32_xor src1 src2)) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_avx",
"FStar.Pervasives.Native.Some",
"Vale.Def.Types_s.quad32_xor",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_VPxor (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_VPxor | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 91,
"end_line": 116,
"start_col": 52,
"start_line": 116
} |
Prims.Tot | val eval_MovBe64 (src: nat64) : option nat64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_MovBe64 (src:nat64) : option nat64 = if movbe_enabled then Some (reverse_bytes_nat64 src) else None | val eval_MovBe64 (src: nat64) : option nat64
let eval_MovBe64 (src: nat64) : option nat64 = | false | null | false | if movbe_enabled then Some (reverse_bytes_nat64 src) else None | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.nat64",
"Vale.X64.CPU_Features_s.movbe_enabled",
"FStar.Pervasives.Native.Some",
"Vale.Def.Types_s.reverse_bytes_nat64",
"Prims.bool",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_MovBe64 (src: nat64) : option nat64 | [] | Vale.X64.Instructions_s.eval_MovBe64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src: Vale.X64.Machine_s.nat64 -> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64 | {
"end_col": 108,
"end_line": 16,
"start_col": 46,
"start_line": 16
} |
Prims.Tot | val is_lower_upper_byte_reversal_mask (q: quad32) : bool | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let is_lower_upper_byte_reversal_mask (q:quad32) : bool =
q.lo0 = 0x04050607 &&
q.lo1 = 0x00010203 &&
q.hi2 = 0x0C0D0E0F &&
q.hi3 = 0x08090A0B | val is_lower_upper_byte_reversal_mask (q: quad32) : bool
let is_lower_upper_byte_reversal_mask (q: quad32) : bool = | false | null | false | q.lo0 = 0x04050607 && q.lo1 = 0x00010203 && q.hi2 = 0x0C0D0E0F && q.hi3 = 0x08090A0B | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Prims.op_AmpAmp",
"Prims.op_Equality",
"Prims.int",
"Vale.Def.Words_s.__proj__Mkfour__item__lo0",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.__proj__Mkfour__item__lo1",
"Vale.Def.Words_s.__proj__Mkfour__item__hi2",
"Vale.Def.Words_s.__proj__Mkfour__item__hi3",
"Prims... | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 is_lower_upper_byte_reversal_mask (q: quad32) : bool | [] | Vale.X64.Instructions_s.is_lower_upper_byte_reversal_mask | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | q: Vale.X64.Machine_s.quad32 -> Prims.bool | {
"end_col": 20,
"end_line": 211,
"start_col": 2,
"start_line": 208
} |
Prims.Tot | val eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool)) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Xor64 (dst src:nat64) : option (nat64 & (bool & bool)) =
Some (Vale.Def.Types_s.ixor dst src, (false, false)) | val eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool))
let eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool)) = | false | null | false | Some (Vale.Def.Types_s.ixor dst src, (false, false)) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.nat64",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.tuple2",
"Prims.bool",
"FStar.Pervasives.Native.Mktuple2",
"Vale.Def.Types_s.ixor",
"Vale.Def.Words_s.pow2_64",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Xor64 (dst src: nat64) : option (nat64 & (bool & bool)) | [] | Vale.X64.Instructions_s.eval_Xor64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | dst: Vale.X64.Machine_s.nat64 -> src: Vale.X64.Machine_s.nat64
-> FStar.Pervasives.Native.option (Vale.X64.Machine_s.nat64 * (Prims.bool * Prims.bool)) | {
"end_col": 54,
"end_line": 70,
"start_col": 2,
"start_line": 70
} |
Prims.Tot | val eval_Pshufb (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Pshufb (src1 src2:quad32) : option quad32 = check_ssse3 (eval_Pshufb_raw src1 src2) | val eval_Pshufb (src1 src2: quad32) : option quad32
let eval_Pshufb (src1 src2: quad32) : option quad32 = | false | null | false | check_ssse3 (eval_Pshufb_raw src1 src2) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_ssse3",
"Vale.X64.Instructions_s.eval_Pshufb_raw",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Pshufb (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_Pshufb | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 92,
"end_line": 237,
"start_col": 53,
"start_line": 237
} |
Prims.Tot | val eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_VPalignr (amount:nat8) (src1 src2:quad32) : option quad32 =
check_avx (eval_Palignr_raw amount src1 src2) | val eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32
let eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32 = | false | null | false | check_avx (eval_Palignr_raw amount src1 src2) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.Def.Types_s.nat8",
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_avx",
"Vale.X64.Instructions_s.eval_Palignr_raw",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_VPalignr (amount: nat8) (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_VPalignr | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | amount: Vale.Def.Types_s.nat8 -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 47,
"end_line": 166,
"start_col": 2,
"start_line": 166
} |
Prims.Tot | val eval_VPaddd (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_VPaddd (src1 src2:quad32) : option quad32 = check_avx (eval_Paddd_raw src1 src2) | val eval_VPaddd (src1 src2: quad32) : option quad32
let eval_VPaddd (src1 src2: quad32) : option quad32 = | false | null | false | check_avx (eval_Paddd_raw src1 src2) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_avx",
"Vale.X64.Instructions_s.eval_Paddd_raw",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_VPaddd (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_VPaddd | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 89,
"end_line": 132,
"start_col": 53,
"start_line": 132
} |
Prims.Tot | val eval_Pslld (amt: int) (dst: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Pslld (amt:int) (dst:quad32) : option quad32 =
check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishl i amt) dst) else None) | val eval_Pslld (amt: int) (dst: quad32) : option quad32
let eval_Pslld (amt: int) (dst: quad32) : option quad32 = | false | null | false | check_sse2 (if 0 <= amt && amt < 32 then Some (four_map (fun i -> ishl i amt) dst) else None) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Prims.int",
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_sse2",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"FStar.Pervasives.Native.Some",
"Vale.Def.Words.Four_s.four_map",
"Vale.Def.Words_s.natN",
"Vale.Def.Words_s.pow2_32",
"Vale.Def.Types_s.ishl",
"P... | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Pslld (amt: int) (dst: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_Pslld | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | amt: Prims.int -> dst: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 95,
"end_line": 136,
"start_col": 2,
"start_line": 136
} |
Prims.Tot | val eval_AESNI_dec_last (dst src: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_AESNI_dec_last (dst src:quad32) : option quad32 =
if aesni_enabled then
Some (quad32_xor (Vale.AES.AES_s.inv_sub_bytes (Vale.AES.AES_s.inv_shift_rows_LE dst)) src)
else None | val eval_AESNI_dec_last (dst src: quad32) : option quad32
let eval_AESNI_dec_last (dst src: quad32) : option quad32 = | false | null | false | if aesni_enabled
then Some (quad32_xor (Vale.AES.AES_s.inv_sub_bytes (Vale.AES.AES_s.inv_shift_rows_LE dst)) src)
else None | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.CPU_Features_s.aesni_enabled",
"FStar.Pervasives.Native.Some",
"Vale.Def.Types_s.quad32_xor",
"Vale.AES.AES_common_s.inv_sub_bytes",
"Vale.AES.AES_s.inv_shift_rows_LE",
"Prims.bool",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_AESNI_dec_last (dst src: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_AESNI_dec_last | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | dst: Vale.X64.Machine_s.quad32 -> src: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 11,
"end_line": 339,
"start_col": 2,
"start_line": 337
} |
Prims.Tot | val eval_Shl64 (dst amt: nat64) : option nat64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Shl64 (dst amt:nat64) : option nat64 =
if amt < 64 then Some (Vale.Def.Types_s.ishl dst amt) else None | val eval_Shl64 (dst amt: nat64) : option nat64
let eval_Shl64 (dst amt: nat64) : option nat64 = | false | null | false | if amt < 64 then Some (Vale.Def.Types_s.ishl dst amt) else None | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.nat64",
"Prims.op_LessThan",
"FStar.Pervasives.Native.Some",
"Vale.Def.Types_s.ishl",
"Vale.Def.Words_s.pow2_64",
"Prims.bool",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Shl64 (dst amt: nat64) : option nat64 | [] | Vale.X64.Instructions_s.eval_Shl64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | dst: Vale.X64.Machine_s.nat64 -> amt: Vale.X64.Machine_s.nat64
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.nat64 | {
"end_col": 65,
"end_line": 78,
"start_col": 2,
"start_line": 78
} |
Prims.Tot | val eval_VPshufb (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_VPshufb (src1 src2:quad32) : option quad32 = check_avx (eval_Pshufb_raw src1 src2) | val eval_VPshufb (src1 src2: quad32) : option quad32
let eval_VPshufb (src1 src2: quad32) : option quad32 = | false | null | false | check_avx (eval_Pshufb_raw src1 src2) | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.Instructions_s.check_avx",
"Vale.X64.Instructions_s.eval_Pshufb_raw",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_VPshufb (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_VPshufb | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 91,
"end_line": 240,
"start_col": 54,
"start_line": 240
} |
Prims.Tot | val eval_Pclmulqdq (imm: int) (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_Pclmulqdq (imm:int) (src1 src2:quad32) : option quad32 =
let Mkfour a0 a1 a2 a3 = src1 in
let Mkfour b0 b1 b2 b3 = src2 in
let f x0 x1 y0 y1 =
let x = Vale.Math.Poly2.Bits_s.of_double32 (Mktwo x0 x1) in
let y = Vale.Math.Poly2.Bits_s.of_double32 (Mktwo y0 y1) in
Vale.Math.Poly2.Bits_s.to_quad... | val eval_Pclmulqdq (imm: int) (src1 src2: quad32) : option quad32
let eval_Pclmulqdq (imm: int) (src1 src2: quad32) : option quad32 = | false | null | false | let Mkfour a0 a1 a2 a3 = src1 in
let Mkfour b0 b1 b2 b3 = src2 in
let f x0 x1 y0 y1 =
let x = Vale.Math.Poly2.Bits_s.of_double32 (Mktwo x0 x1) in
let y = Vale.Math.Poly2.Bits_s.of_double32 (Mktwo y0 y1) in
Vale.Math.Poly2.Bits_s.to_quad32 (Vale.Math.Poly2_s.mul x y)
in
if pclmulqdq_enabled
then
match imm with
... | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Prims.int",
"Vale.X64.Machine_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.X64.CPU_Features_s.pclmulqdq_enabled",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option",
"Prims.bool",
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.quad32",
"Vale.Math.Poly2.B... | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_Pclmulqdq (imm: int) (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_Pclmulqdq | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | imm: Prims.int -> src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 11,
"end_line": 305,
"start_col": 65,
"start_line": 290
} |
Prims.Tot | val eval_AESNI_enc_last (src1 src2: quad32) : option quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let eval_AESNI_enc_last (src1 src2:quad32) : option quad32 =
if aesni_enabled then
Some (quad32_xor (Vale.AES.AES_s.sub_bytes (Vale.AES.AES_s.shift_rows_LE src1)) src2)
else None | val eval_AESNI_enc_last (src1 src2: quad32) : option quad32
let eval_AESNI_enc_last (src1 src2: quad32) : option quad32 = | false | null | false | if aesni_enabled
then Some (quad32_xor (Vale.AES.AES_s.sub_bytes (Vale.AES.AES_s.shift_rows_LE src1)) src2)
else None | {
"checked_file": "Vale.X64.Instructions_s.fsti.checked",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CryptoInstructions_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Math.Poly2_s.fsti.checked",
"Vale.Math.Poly2.Bits_s.... | [
"total"
] | [
"Vale.X64.Machine_s.quad32",
"Vale.X64.CPU_Features_s.aesni_enabled",
"FStar.Pervasives.Native.Some",
"Vale.Def.Types_s.quad32_xor",
"Vale.AES.AES_common_s.sub_bytes",
"Vale.AES.AES_s.shift_rows_LE",
"Prims.bool",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | module Vale.X64.Instructions_s
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four_s
open Vale.Def.Types_s
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
open Vale.X64.CPU_Features_s
open Vale.X64.CryptoInstructions_s
open FStar.Seq.Base
let eval_Mov64 (src:nat64) : option nat6... | false | true | Vale.X64.Instructions_s.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 eval_AESNI_enc_last (src1 src2: quad32) : option quad32 | [] | Vale.X64.Instructions_s.eval_AESNI_enc_last | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | src1: Vale.X64.Machine_s.quad32 -> src2: Vale.X64.Machine_s.quad32
-> FStar.Pervasives.Native.option Vale.X64.Machine_s.quad32 | {
"end_col": 11,
"end_line": 324,
"start_col": 2,
"start_line": 322
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.