file_name stringlengths 5 52 | name stringlengths 4 95 | original_source_type stringlengths 0 23k | source_type stringlengths 9 23k | source_definition stringlengths 9 57.9k | source dict | source_range dict | file_context stringlengths 0 721k | dependencies dict | opens_and_abbrevs listlengths 2 94 | vconfig dict | interleaved bool 1
class | verbose_type stringlengths 1 7.42k | effect stringclasses 118
values | effect_flags listlengths 0 2 | mutual_with listlengths 0 11 | ideal_premises listlengths 0 236 | proof_features listlengths 0 1 | is_simple_lemma bool 2
classes | is_div bool 2
classes | is_proof bool 2
classes | is_simply_typed bool 2
classes | is_type bool 2
classes | partial_definition stringlengths 5 3.99k | completed_definiton stringlengths 1 1.63M | isa_cross_project_example bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.l_pre | val l_pre : pre: Mkst0?.hprop st -> Type | let l_pre (#st:st) (pre:st.hprop) = fp_prop pre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 47,
"end_line": 221,
"start_col": 0,
"start_line": 221
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | pre: Mkst0?.hprop st -> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.fp_prop"
] | [] | false | false | false | false | true | let l_pre (#st: st) (pre: st.hprop) =
| fp_prop pre | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.depends_only_on2 | val depends_only_on2 : q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp_pre: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> Prims.logical | let depends_only_on2
(#st:st0)
(#a:Type)
(q:st.mem -> a -> st.mem -> prop)
(fp_pre:st.hprop)
(fp_post:a -> st.hprop)
=
depends_only_on_0_2 st.interp st.disjoint st.join q fp_pre fp_post | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 68,
"end_line": 270,
"start_col": 0,
"start_line": 263
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false |
q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp_pre: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.depends_only_on_0_2",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0_... | [] | false | false | false | false | true | let depends_only_on2
(#st: st0)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp_pre: st.hprop)
(fp_post: (a -> st.hprop))
=
| depends_only_on_0_2 st.interp st.disjoint st.join q fp_pre fp_post | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.fp_prop2 | val fp_prop2 : fp_pre: Mkst0?.hprop st -> fp_post: (_: a -> Mkst0?.hprop st) -> Type | let fp_prop2 (#st:st0) (#a:Type) (fp_pre:st.hprop) (fp_post:a -> st.hprop) =
q:(st.mem -> a -> st.mem -> prop){depends_only_on2 q fp_pre fp_post} | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 70,
"end_line": 273,
"start_col": 0,
"start_line": 272
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | fp_pre: Mkst0?.hprop st -> fp_post: (_: a -> Mkst0?.hprop st) -> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.depends_only_on2"
] | [] | false | false | false | false | true | let fp_prop2 (#st: st0) (#a: Type) (fp_pre: st.hprop) (fp_post: (a -> st.hprop)) =
| q: (st.mem -> a -> st.mem -> prop){depends_only_on2 q fp_pre fp_post} | false | |
Hacl.HPKE.Interface.HKDF.fst | Hacl.HPKE.Interface.HKDF.hkdf_expand256 | val hkdf_expand256:HK.expand_st Hash.SHA2_256 | val hkdf_expand256:HK.expand_st Hash.SHA2_256 | let hkdf_expand256 : HK.expand_st Hash.SHA2_256 = Hacl.HKDF.expand_sha2_256 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 28,
"start_col": 0,
"start_line": 28
} | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | {
"checked_file": "/",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Hacl.HPKE.Interface.HKDF.fst... | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Hacl.HKDF.expand_st Spec.Hash.Definitions.SHA2_256 | Prims.Tot | [
"total"
] | [] | [
"Hacl.HKDF.expand_sha2_256"
] | [] | false | false | false | true | false | let hkdf_expand256:HK.expand_st Hash.SHA2_256 =
| Hacl.HKDF.expand_sha2_256 | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.fp_prop_0_2 | val fp_prop_0_2 : interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Type | let fp_prop_0_2
(#a:Type)
(#heap #hprop:Type)
(interp:hprop -> heap -> prop)
(disjoint:heap -> heap -> prop)
(join:(h0:heap -> h1:heap{disjoint h0 h1} -> heap))
(fp_pre:hprop)
(fp_post:a -> hprop)
=
q:(heap -> a -> heap -> prop){depends_only_on_0_2 interp disjoint join q ... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 90,
"end_line": 261,
"start_col": 0,
"start_line": 252
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false |
interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.prop",
"Steel.Semantics.Hoare.MST.depends_only_on_0_2"
] | [] | false | false | false | false | true | let fp_prop_0_2
(#a #heap #hprop: Type)
(interp: (hprop -> heap -> prop))
(disjoint: (heap -> heap -> prop))
(join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap))
(fp_pre: hprop)
(fp_post: (a -> hprop))
=
| q: (heap -> a -> heap -> prop){depends_only_on_0_2 interp disjoint join q fp_pre fp_post} | false | |
Hacl.HPKE.Interface.HKDF.fst | Hacl.HPKE.Interface.HKDF.hkdf_extract512 | val hkdf_extract512:HK.extract_st Hash.SHA2_512 | val hkdf_extract512:HK.extract_st Hash.SHA2_512 | let hkdf_extract512 : HK.extract_st Hash.SHA2_512 = Hacl.HKDF.extract_sha2_512 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 78,
"end_line": 31,
"start_col": 0,
"start_line": 31
} | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | {
"checked_file": "/",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Hacl.HPKE.Interface.HKDF.fst... | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Hacl.HKDF.extract_st Spec.Hash.Definitions.SHA2_512 | Prims.Tot | [
"total"
] | [] | [
"Hacl.HKDF.extract_sha2_512"
] | [] | false | false | false | true | false | let hkdf_extract512:HK.extract_st Hash.SHA2_512 =
| Hacl.HKDF.extract_sha2_512 | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.post_preserves_frame | val post_preserves_frame : post: Mkst0?.hprop st -> frame: Mkst0?.hprop st -> m0: Mkst0?.mem st -> m1: Mkst0?.mem st
-> Prims.logical | let post_preserves_frame (#st:st) (post frame:st.hprop) (m0 m1:st.mem) =
st.interp (post `st.star` frame `st.star` (st.locks_invariant m1)) m1 /\
(forall (f_frame:fp_prop frame). f_frame (st.core m0) == f_frame (st.core m1)) | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 80,
"end_line": 306,
"start_col": 0,
"start_line": 304
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | post: Mkst0?.hprop st -> frame: Mkst0?.hprop st -> m0: Mkst0?.mem st -> m1: Mkst0?.mem st
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Steel.Semantics.Hoare.MST.__proj__... | [] | false | false | false | false | true | let post_preserves_frame (#st: st) (post frame: st.hprop) (m0 m1: st.mem) =
| st.interp ((post `st.star` frame) `st.star` (st.locks_invariant m1)) m1 /\
(forall (f_frame: fp_prop frame). f_frame (st.core m0) == f_frame (st.core m1)) | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.full_mem | val full_mem : st: Steel.Semantics.Hoare.MST.st -> Type | let full_mem (st:st) = m:st.mem{st.full_mem_pred m} | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 51,
"end_line": 284,
"start_col": 0,
"start_line": 284
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | st: Steel.Semantics.Hoare.MST.st -> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__full_mem_pred"
] | [] | false | false | false | true | true | let full_mem (st: st) =
| m: st.mem{st.full_mem_pred m} | false | |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test3_expected_sha2_512 | val test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | val test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | let test3_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x20; 0x4a; 0x8f; 0xc6; 0xdd; 0xa8; 0x2f; 0x0a; 0x0c; 0xed; 0x7b; 0xeb; 0x8e; 0x08; 0xa4; 0x16;
0x57; 0xc1; 0x6e; 0xf4; 0x68; 0xb2; 0x28; 0xa8; 0x27; 0x9b; 0xe3; 0x31; ... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 216,
"start_col": 0,
"start_line": 206
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x20; 0x4a; 0x8f; 0xc6; 0xdd; 0xa8; 0x2f; 0x0a; 0x0c; 0xed; 0x7b; 0xeb; 0x8e; 0x08; 0xa4;
0x16; 0x57; 0xc1; 0x6e; 0xf4; 0x68; 0xb2; 0x28; 0xa8; 0x27; 0x9b; 0xe3; 0x31; 0xa7; 0x03;
0xc3; 0x35; 0x96; 0xfd; 0x15; 0... | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.l_post | val l_post : pre: Mkst0?.hprop st -> post: Steel.Semantics.Hoare.MST.post_t st a -> Type | let l_post (#st:st) (#a:Type) (pre:st.hprop) (post:post_t st a) = fp_prop2 pre post | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 83,
"end_line": 277,
"start_col": 0,
"start_line": 277
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | pre: Mkst0?.hprop st -> post: Steel.Semantics.Hoare.MST.post_t st a -> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.fp_prop2"
] | [] | false | false | false | false | true | let l_post (#st: st) (#a: Type) (pre: st.hprop) (post: post_t st a) =
| fp_prop2 pre post | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.action_t_tot | val action_t_tot : pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | let action_t_tot
(#st:st)
(#a:Type)
(pre:st.hprop)
(post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
= frame:st.hprop ->
MstTot a
(requires fun m0 ->
st.interp (pre `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0))
(ensures fun m0 x m1 ->
post_pres... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 338,
"start_col": 0,
"start_line": 324
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mks... | [] | false | false | false | false | true | let action_t_tot
(#st: st)
(#a: Type)
(pre: st.hprop)
(post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
=
| frame: st.hprop
-> MstTot a
(requires fun m0 -> st.interp (pre `st.star` (st.locks_invariant m0)) m0 /\ lpre (st.core m0))
(ensures
fun m0 x m1 ->
post_preserves_frame (post x) frame m0 m1 /\ lpost (st.core m0) x (st.core m1)) | false | |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test3_expected_sha2_384 | val test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | val test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | let test3_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x33; 0x91; 0xfd; 0xdd; 0xfc; 0x8d; 0xc7; 0x39; 0x37; 0x07; 0xa6; 0x5b; 0x1b; 0x47; 0x09; 0x39;
0x7c; 0xf8; 0xb1; 0xd1; 0x62; 0xaf; 0x05; 0xab; 0xfe; 0x8f; 0x45; 0x0d; ... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 204,
"start_col": 0,
"start_line": 195
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(48ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x33; 0x91; 0xfd; 0xdd; 0xfc; 0x8d; 0xc7; 0x39; 0x37; 0x07; 0xa6; 0x5b; 0x1b; 0x47; 0x09;
0x39; 0x7c; 0xf8; 0xb1; 0xd1; 0x62; 0xaf; 0x05; 0xab; 0xfe; 0x8f; 0x45; 0x0d; 0xe5; 0xf3;
0x6b; 0xc6; 0xb0; 0x45; 0x5a; 0... | false |
Hacl.HPKE.Interface.HKDF.fst | Hacl.HPKE.Interface.HKDF.hkdf_expand512 | val hkdf_expand512:HK.expand_st Hash.SHA2_512 | val hkdf_expand512:HK.expand_st Hash.SHA2_512 | let hkdf_expand512 : HK.expand_st Hash.SHA2_512 = Hacl.HKDF.expand_sha2_512 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 75,
"end_line": 33,
"start_col": 0,
"start_line": 33
} | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | {
"checked_file": "/",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Hacl.HPKE.Interface.HKDF.fst... | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Hacl.HKDF.expand_st Spec.Hash.Definitions.SHA2_512 | Prims.Tot | [
"total"
] | [] | [
"Hacl.HKDF.expand_sha2_512"
] | [] | false | false | false | true | false | let hkdf_expand512:HK.expand_st Hash.SHA2_512 =
| Hacl.HKDF.expand_sha2_512 | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.action_t | val action_t : pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | let action_t
(#st:st)
(#a:Type)
(pre:st.hprop)
(post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
= frame:st.hprop ->
Mst a
(requires fun m0 ->
st.interp (pre `st.star` frame `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0))
(ensures fun m0 x m1 ->
... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 322,
"start_col": 0,
"start_line": 308
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mks... | [] | false | false | false | false | true | let action_t
(#st: st)
(#a: Type)
(pre: st.hprop)
(post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
=
| frame: st.hprop
-> Mst a
(requires
fun m0 ->
st.interp ((pre `st.star` frame) `st.star` (st.locks_invariant m0)) m0 /\
lpre (st.core m0))
(ensures
fun m0 x m1 ->
post_preserves_frame (post x) frame m0 m1 /\ lpost (st.core m0) x (st.core m1)) | false | |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test4_expected_sha2_384 | val test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | val test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | let test4_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x09; 0x33; 0x0c; 0x33; 0xf7; 0x11; 0x47; 0xe8; 0x3d; 0x19; 0x2f; 0xc7; 0x82; 0xcd; 0x1b; 0x47;
0x53; 0x11; 0x1b; 0x17; 0x3b; 0x3b; 0x05; 0xd2; 0x2f; 0xa0; 0x80; 0x86; ... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 265,
"start_col": 0,
"start_line": 256
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(48ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x09; 0x33; 0x0c; 0x33; 0xf7; 0x11; 0x47; 0xe8; 0x3d; 0x19; 0x2f; 0xc7; 0x82; 0xcd; 0x1b;
0x47; 0x53; 0x11; 0x1b; 0x17; 0x3b; 0x3b; 0x05; 0xd2; 0x2f; 0xa0; 0x80; 0x86; 0xe3; 0xb0;
0xf7; 0x12; 0xfc; 0xc7; 0xc7; 0... | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.disjoint_join | val disjoint_join : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | let disjoint_join (st:st0) =
forall m0 m1 m2.
st.disjoint m1 m2 /\
st.disjoint m0 (st.join m1 m2) ==>
st.disjoint m0 m1 /\
st.disjoint m0 m2 /\
st.disjoint (st.join m0 m1) m2 /\
st.disjoint (st.join m0 m2) m1 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 34,
"end_line": 145,
"start_col": 0,
"start_line": 138
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_and",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.logical"
] | [] | false | false | false | true | true | let disjoint_join (st: st0) =
| forall m0 m1 m2.
st.disjoint m1 m2 /\ st.disjoint m0 (st.join m1 m2) ==>
st.disjoint m0 m1 /\ st.disjoint m0 m2 /\ st.disjoint (st.join m0 m1) m2 /\
st.disjoint (st.join m0 m2) m1 | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.weaker_pre | val weaker_pre : pre: Mkst0?.hprop st -> next_pre: Mkst0?.hprop st -> Prims.logical | let weaker_pre (#st:st) (pre:st.hprop) (next_pre:st.hprop) =
forall (h:st.mem) (frame:st.hprop).
st.interp (pre `st.star` frame) h ==>
st.interp (next_pre `st.star` frame) h | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 433,
"start_col": 0,
"start_line": 430
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | pre: Mkst0?.hprop st -> next_pre: Mkst0?.hprop st -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.logical"... | [] | false | false | false | false | true | let weaker_pre (#st: st) (pre next_pre: st.hprop) =
| forall (h: st.mem) (frame: st.hprop).
st.interp (pre `st.star` frame) h ==> st.interp (next_pre `st.star` frame) h | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.join_associative | val join_associative : st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_join st} -> Prims.logical | let join_associative (st:st0{disjoint_join st})=
forall m0 m1 m2.
st.disjoint m1 m2 /\
st.disjoint m0 (st.join m1 m2) ==>
st.join m0 (st.join m1 m2) == st.join (st.join m0 m1) m2 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 60,
"end_line": 156,
"start_col": 0,
"start_line": 152
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_join st} -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.disjoint_join",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.l_imp",
"Prims.e... | [] | false | false | false | false | true | let join_associative (st: st0{disjoint_join st}) =
| forall m0 m1 m2.
st.disjoint m1 m2 /\ st.disjoint m0 (st.join m1 m2) ==>
st.join m0 (st.join m1 m2) == st.join (st.join m0 m1) m2 | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.weakening_ok | val weakening_ok : lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
wlpre: Steel.Semantics.Hoare.MST.l_pre wpre ->
wlpost: Steel.Semantics.Hoare.MST.l_post wpre wpost
-> Prims.logical | let weakening_ok
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
(#wpre:st.hprop)
(#wpost:post_t st a)
(wlpre:l_pre wpre)
(wlpost:l_post wpre wpost)
=
weaker_pre wpre pre /\
stronger_post wpost post /... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 52,
"end_line": 455,
"start_col": 0,
"start_line": 440
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
wlpre: Steel.Semantics.Hoare.MST.l_pre wpre ->
wlpost: Steel.Semantics.Hoare.MST.l_post wpre wpost
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.weaker_pre",
"Steel.Semantics.Hoare.MST.stronger_post",
"Prims.... | [] | false | false | false | false | true | let weakening_ok
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#wpre: st.hprop)
(#wpost: post_t st a)
(wlpre: l_pre wpre)
(wlpost: l_post wpre wpost)
=
| weaker_pre wpre pre /\ stronger_post wpost post /\ (forall h. wlpre h ==> lpre h) /\
(forall h0 x h1. lpost h0 x h1 ==> wlpost h0 x h1) | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.join_commutative | val join_commutative : st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_sym st} -> Prims.logical | let join_commutative (st:st0 { disjoint_sym st }) =
forall m0 m1.
st.disjoint m0 m1 ==>
st.join m0 m1 == st.join m1 m0 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 34,
"end_line": 150,
"start_col": 0,
"start_line": 147
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_sym st} -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.disjoint_sym",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_imp",
"Prims.eq2",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.logi... | [] | false | false | false | false | true | let join_commutative (st: st0{disjoint_sym st}) =
| forall m0 m1. st.disjoint m0 m1 ==> st.join m0 m1 == st.join m1 m0 | false | |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test4_plaintext | val test4_plaintext:b: lbuffer uint8 112ul {recallable b} | val test4_plaintext:b: lbuffer uint8 112ul {recallable b} | let test4_plaintext: b:lbuffer uint8 112ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x61; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69;
0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69; 0x6a; 0x64; 0x65; 0x66; 0x67; 0x68; 0... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 234,
"start_col": 0,
"start_line": 221
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(112ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let test4_plaintext:b: lbuffer uint8 112ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x61; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68;
0x69; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69; 0x6a; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69;
0x6a; 0x6b; 0x65; 0x66; 0x67; 0... | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.stronger_lpost | val stronger_lpost : lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
next_lpost: Steel.Semantics.Hoare.MST.l_post next_pre next_post ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | let stronger_lpost
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(#next_pre:st.hprop)
#next_post
(next_lpost:l_post next_pre next_post)
(m0 m1:st.mem)
=
forall (x:a) (h_final:st.mem).
next_lpost (st.core m1) x h_final =... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 32,
"end_line": 618,
"start_col": 0,
"start_line": 605
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
next_lpost: Steel.Semantics.Hoare.MST.l_post next_pre next_post ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_Forall",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
... | [] | false | false | false | false | true | let stronger_lpost
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(#next_pre: st.hprop)
#next_post
(next_lpost: l_post next_pre next_post)
(m0: st.mem)
(m1: st.mem)
=
| forall (x: a) (h_final: st.mem). next_lpost (st.core m1) x h_final ==> lpost (st.core m0) x h_final | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.stronger_post | val stronger_post : post: Steel.Semantics.Hoare.MST.post_t st a -> next_post: Steel.Semantics.Hoare.MST.post_t st a
-> Prims.logical | let stronger_post (#st:st) (#a:Type u#a) (post next_post:post_t st a) =
forall (x:a) (h:st.mem) (frame:st.hprop).
st.interp (next_post x `st.star` frame) h ==>
st.interp (post x `st.star` frame) h | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 40,
"end_line": 438,
"start_col": 0,
"start_line": 435
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | post: Steel.Semantics.Hoare.MST.post_t st a -> next_post: Steel.Semantics.Hoare.MST.post_t st a
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj_... | [] | false | false | false | false | true | let stronger_post (#st: st) (#a: Type u#a) (post next_post: post_t st a) =
| forall (x: a) (h: st.mem) (frame: st.hprop).
st.interp ((next_post x) `st.star` frame) h ==> st.interp ((post x) `st.star` frame) h | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.st_laws | val st_laws : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | let st_laws (st:st0) =
(* standard laws about the equality relation *)
symmetry st.equals /\
transitive st.equals /\
interp_extensionality st.equals st.interp /\
(* standard laws for star forming a CM *)
associative st.equals st.star /\
commutative st.equals st.star /\
is_unit st.emp st.equals st.star /... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 199,
"start_col": 0,
"start_line": 183
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | {
"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... | false | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.symmetry",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.transitive",
"Steel.Semantics.Hoare.MST.interp_extensionality",
"Steel.Seman... | [] | false | false | false | true | true | let st_laws (st: st0) =
| symmetry st.equals /\ transitive st.equals /\ interp_extensionality st.equals st.interp /\
associative st.equals st.star /\ commutative st.equals st.star /\ is_unit st.emp st.equals st.star /\
equals_ext st.equals st.star /\ affine st /\ disjoint_sym st /\ disjoint_join st /\
join_commutative st /\ join_associative st | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_req | val step_req:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem
-> Type0 | val step_req:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem
-> Type0 | let step_req
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost)
: st.mem -> Type0
= fun m0 ->
st.interp (pre `st.star` frame `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0) | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 593,
"start_col": 0,
"start_line": 581
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost ->
_: Mkst0?.mem st
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Stee... | [] | false | false | false | false | true | let step_req
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost)
: st.mem -> Type0 =
| fun m0 ->
st.interp ((pre `st.star` frame) `st.star` (st.locks_invariant m0)) m0 /\ lpre (st.core m0) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.weaker_lpre | val weaker_lpre : lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
next_lpre: Steel.Semantics.Hoare.MST.l_pre next_pre ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | let weaker_lpre
(#st:st)
(#pre:st.hprop)
(lpre:l_pre pre)
(#next_pre:st.hprop)
(next_lpre:l_pre next_pre)
(m0 m1:st.mem)
=
lpre (st.core m0) ==> next_lpre (st.core m1) | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 46,
"end_line": 603,
"start_col": 0,
"start_line": 595
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
next_lpre: Steel.Semantics.Hoare.MST.l_pre next_pre ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
"Prims.logical"
] | [] | false | false | false | false | true | let weaker_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#next_pre: st.hprop)
(next_lpre: l_pre next_pre)
(m0 m1: st.mem)
=
| lpre (st.core m0) ==> next_lpre (st.core m1) | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_ens | val step_ens:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem ->
step_result st a ->
st.mem
-> Type0 | val step_ens:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem ->
step_result st a ->
st.mem
-> Type0 | let step_ens
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost)
: st.mem -> step_result st a -> st.mem -> Type0
= fun m0 r m1 ->
let Step next_pre next_post next_lpre next_lpost _ = r in
po... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 41,
"end_line": 639,
"start_col": 0,
"start_line": 621
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost ->
_: Mkst0?.mem st ->
_: Steel.Semantics.Hoare.MST.step_result st a ->
_: Mkst0?.mem st
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare... | [] | false | false | false | false | true | let step_ens
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost)
: st.mem -> step_result st a -> st.mem -> Type0 =
| fun m0 r m1 ->
let Step next_pre next_post next_lpre next_lpost _ = r in
post_preserves_frame next_pre frame m0 m1 /\ stronger_post post next_post /\
next_lpre (st.core m1) /\ weaker_lpre lpre next_lpre m0 m1 /\
stronger_lpost lpost next_lpost m0 m1 | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.get | val get: #st: st -> Prims.unit
-> MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) | val get: #st: st -> Prims.unit
-> MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) | let get (#st:st) ()
: MstTot (full_mem st)
(fun _ -> True)
(fun s0 s s1 -> s0 == s /\ s == s1)
= get () | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 10,
"end_line": 296,
"start_col": 0,
"start_line": 292
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | _: Prims.unit -> Steel.Semantics.Hoare.MST.MstTot (Steel.Semantics.Hoare.MST.full_mem st) | Steel.Semantics.Hoare.MST.MstTot | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Prims.unit",
"FStar.NMSTTotal.get",
"Steel.Semantics.Hoare.MST.full_mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__locks_preorder",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_True",
"Prims.l_and",
"Prims.eq2"
] | [] | false | true | false | false | false | let get (#st: st) () : MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) =
| get () | false |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.main | val main: unit -> St C.exit_code | val main: unit -> St C.exit_code | let main () =
C.String.print (C.String.of_literal "\nTEST 1. SHA2\n");
recall test1_expected_sha2_224;
recall test1_expected_sha2_256;
recall test1_expected_sha2_384;
recall test1_expected_sha2_512;
recall test1_plaintext;
test_sha2 3ul
test1_plaintext
test1_expected_sha2_224
test1_expected_sh... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 333,
"start_col": 0,
"start_line": 280
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> FStar.HyperStack.ST.St C.exit_code | FStar.HyperStack.ST.St | [] | [] | [
"Prims.unit",
"C.EXIT_SUCCESS",
"C.exit_code",
"Hacl.Test.SHA2.test_sha2",
"FStar.UInt32.__uint_to_t",
"Hacl.Test.SHA2.test4_plaintext",
"Hacl.Test.SHA2.test4_expected_sha2_224",
"Hacl.Test.SHA2.test4_expected_sha2_256",
"Hacl.Test.SHA2.test4_expected_sha2_384",
"Hacl.Test.SHA2.test4_expected_sha2... | [] | false | true | false | false | false | let main () =
| C.String.print (C.String.of_literal "\nTEST 1. SHA2\n");
recall test1_expected_sha2_224;
recall test1_expected_sha2_256;
recall test1_expected_sha2_384;
recall test1_expected_sha2_512;
recall test1_plaintext;
test_sha2 3ul
test1_plaintext
test1_expected_sha2_224
test1_expected_sha2_256
test1_expected_sha2_384
... | false |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test4_expected_sha2_512 | val test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | val test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | let test4_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x8e; 0x95; 0x9b; 0x75; 0xda; 0xe3; 0x13; 0xda; 0x8c; 0xf4; 0xf7; 0x28; 0x14; 0xfc; 0x14; 0x3f;
0x8f; 0x77; 0x79; 0xc6; 0xeb; 0x9f; 0x7f; 0xa1; 0x72; 0x99; 0xae; 0xad; ... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 277,
"start_col": 0,
"start_line": 267
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(64ul <: FStar.UInt32.t) {Lib.Buffer.recallable b} | Prims.Tot | [
"total"
] | [] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | false | false | false | false | false | let test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} =
| [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x8e; 0x95; 0x9b; 0x75; 0xda; 0xe3; 0x13; 0xda; 0x8c; 0xf4; 0xf7; 0x28; 0x14; 0xfc; 0x14;
0x3f; 0x8f; 0x77; 0x79; 0xc6; 0xeb; 0x9f; 0x7f; 0xa1; 0x72; 0x99; 0xae; 0xad; 0xb6; 0x88;
0x90; 0x18; 0x50; 0x1d; 0x28; 0... | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.return_lpre | val return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) | val return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) | let return_lpre (#st:st) (#a:Type) (#post:post_t st a) (x:a) (lpost:l_post (post x) post)
: l_pre (post x)
=
fun h -> lpost h x h | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 22,
"end_line": 354,
"start_col": 0,
"start_line": 351
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | x: a -> lpost: Steel.Semantics.Hoare.MST.l_post (post x) post
-> Steel.Semantics.Hoare.MST.l_pre (post x) | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.l_pre"
] | [] | false | false | false | false | false | let return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) =
| fun h -> lpost h x h | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.bind_lpre | val bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre | val bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre | let bind_lpre
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post_a:post_t st a)
(lpre_a:l_pre pre)
(lpost_a:l_post pre post_a)
(lpre_b:(x:a -> l_pre (post_a x)))
: l_pre pre
=
fun h -> lpre_a h /\ (forall (x:a) h1. lpost_a h x h1 ==> lpre_b x h1) | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 72,
"end_line": 386,
"start_col": 0,
"start_line": 376
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpre_a: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost_a: Steel.Semantics.Hoare.MST.l_post pre post_a ->
lpre_b: (x: a -> Steel.Semantics.Hoare.MST.l_pre (post_a x))
-> Steel.Semantics.Hoare.MST.l_pre pre | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.l_Forall",
"Prims.l_imp",
"... | [] | false | false | false | false | false | let bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre =
| fun h -> lpre_a h /\ (forall (x: a) h1. lpost_a h x h1 ==> lpre_b x h1) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.par_lpre | val par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) | val par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) | let par_lpre
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#preR:st.hprop)
(lpreR:l_pre preR)
: l_pre (preL `st.star` preR)
=
fun h -> lpreL h /\ lpreR h | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 29,
"end_line": 412,
"start_col": 0,
"start_line": 404
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | lpreL: Steel.Semantics.Hoare.MST.l_pre preL -> lpreR: Steel.Semantics.Hoare.MST.l_pre preR
-> Steel.Semantics.Hoare.MST.l_pre (Mkst0?.star st preL preR) | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star"
] | [] | false | false | false | false | false | let par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) =
| fun h -> lpreL h /\ lpreR h | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.frame_lpre | val frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame) | val frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame) | let frame_lpre (#st:st) (#pre:st.hprop) (lpre:l_pre pre) (#frame:st.hprop) (f_frame:fp_prop frame)
: l_pre (pre `st.star` frame)
=
fun h -> lpre h /\ f_frame h | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 359,
"start_col": 0,
"start_line": 356
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | lpre: Steel.Semantics.Hoare.MST.l_pre pre -> f_frame: Steel.Semantics.Hoare.MST.fp_prop frame
-> Steel.Semantics.Hoare.MST.l_pre (Mkst0?.star st pre frame) | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.fp_prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star"
] | [] | false | false | false | false | false | let frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame) =
| fun h -> lpre h /\ f_frame h | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.bind_lpost | val bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b | val bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b | let bind_lpost
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post_a:post_t st a)
(lpre_a:l_pre pre)
(lpost_a:l_post pre post_a)
(#b:Type)
(#post_b:post_t st b)
(lpost_b:(x:a -> l_post (post_a x) post_b))
: l_post pre post_b
=
fun h0 y h2 -> lpre_a h0 /\ (exists x h... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 83,
"end_line": 400,
"start_col": 0,
"start_line": 388
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpre_a: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost_a: Steel.Semantics.Hoare.MST.l_post pre post_a ->
lpost_b: (x: a -> Steel.Semantics.Hoare.MST.l_post (post_a x) post_b)
-> Steel.Semantics.Hoare.MST.l_post pre post_b | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.l_Exists",
"Prims.prop"
] | [] | false | false | false | false | false | let bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b =
| fun h0 y h2 -> lpre_a h0 /\ (exists x h1. lpost_a h0 x h1 /\ (lpost_b x) h1 y h2) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.par_lpost | val par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | val par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | let par_lpost
(#st:st)
(#aL:Type)
(#preL:st.hprop)
(#postL:post_t st aL)
(lpreL:l_pre preL)
(lpostL:l_post preL postL)
(#aR:Type)
(#preR:st.hprop)
(#postR:post_t st aR)
(lpreR:l_pre preR)
(lpostR:l_post preR postR)
: l_post (preL `st.star` preR) (fun... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 82,
"end_line": 428,
"start_col": 0,
"start_line": 414
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Semantics.Hoare.MST.l_post preR postR
-> Steel.Semantics.Hoare.MST.l_post (Mkst0?.star st preL preR)
(fun _ ->
(let FStar.... | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Pervasives.Native.tuple2",
"Prims.l_and",
"P... | [] | false | false | false | false | false | let par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | fun h0 (xL, xR) h1 -> lpreL h0 /\ lpreR h0 /\ lpostL h0 xL h1 /\ lpostR h0 xR h1 | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.frame_lpost | val frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame) | val frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame) | let frame_lpost
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
(#frame:st.hprop)
(f_frame:fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> post x `st.star` frame)
=
fun h0 x h1 -> lpre h0 /\ lpost h0 x h1 /... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 55,
"end_line": 372,
"start_col": 0,
"start_line": 361
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
f_frame: Steel.Semantics.Hoare.MST.fp_prop frame
-> Steel.Semantics.Hoare.MST.l_post (Mkst0?.star st pre frame)
(fun x -> Mkst0?.star st (post x) frame) | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.fp_prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
... | [] | false | false | false | false | false | let frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame) =
| fun h0 x h1 -> lpre h0 /\ lpost h0 x h1 /\ f_frame h1 | false |
Hacl.Test.SHA2.fst | Hacl.Test.SHA2.test_sha2 | val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
-> expected256:lbuffer uint8 32ul
-> expected384:lbuffer uint8 48ul
-> expected512:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msg /\ live h expected224 /\ live h expected256 /\
li... | val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
-> expected256:lbuffer uint8 32ul
-> expected384:lbuffer uint8 48ul
-> expected512:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msg /\ live h expected224 /\ live h expected256 /\
li... | let test_sha2 msg_len msg expected224 expected256 expected384 expected512 =
Math.Lemmas.pow2_lt_compat 61 32;
Math.Lemmas.pow2_lt_compat 125 32;
push_frame();
let test224 = create 28ul (u8 0) in
let test256 = create 32ul (u8 0) in
let test384 = create 48ul (u8 0) in
let test512 = create 64ul (u8 0) in
h... | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 13,
"end_line": 44,
"start_col": 0,
"start_line": 27
} | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt32.fsti.checked",
"FS... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
msg_len: Lib.IntTypes.size_t ->
msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len ->
expected224: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
expected256: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
expected384: Lib.Buffer.lbuffer Lib.IntTypes.uint8 48ul ->
expected512: Lib.Buffer.lbuffer ... | FStar.HyperStack.ST.Stack | [] | [] | [
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"C.exit",
"FStar.Int32.__int_to_t",
"Prims.bool",
"Prims.op_Negation",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const",
"Lib.Buffer.MU... | [] | false | true | false | false | false | let test_sha2 msg_len msg expected224 expected256 expected384 expected512 =
| Math.Lemmas.pow2_lt_compat 61 32;
Math.Lemmas.pow2_lt_compat 125 32;
push_frame ();
let test224 = create 28ul (u8 0) in
let test256 = create 32ul (u8 0) in
let test384 = create 48ul (u8 0) in
let test512 = create 64ul (u8 0) in
hash_224 (test224 <: lbuffer uint8 28ul) msg msg_len;
hash_256 (test256 <: lbuffer uint8 32u... | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.assoc_star_right | val assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s)))) | val assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s)))) | let assoc_star_right (#st:st) (p q r s:st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s)) `st.equals`
(p `st.star` (q `st.star` (r `st.star` s))))
=
calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s)... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 708,
"start_col": 0,
"start_line": 698
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st -> s: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st (Mkst0?.star st q r) s))
(Mkst0?.star st p (Mkst0?.star st q (Mkst0?.star st r s)))) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | false | false | true | false | false | let assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s)))) =
| calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s) (q `st.star` (r `st.star` s)) }
p `st.star` (q `st.star` (r `st.star` s));
} | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.commute_assoc_star_right | val commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s)))) | val commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s)))) | let commute_assoc_star_right (#st:st) (p q r s:st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s)) `st.equals`
(p `st.star` (r `st.star` (q `st.star` s))))
=
calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p
... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 723,
"start_col": 0,
"start_line": 710
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st -> s: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st (Mkst0?.star st q r) s))
(Mkst0?.star st p (Mkst0?.star st r (Mkst0?.star st q s)))) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | false | false | true | false | false | let commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s)))) =
| calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s) ((r `st.star` q) `st.star` s) }
p `st.star` ((r `st.star` q) `st.star` s);
(st.equals) { assoc_star_right p r q s }
p `st.star` (r `st.star` (q `st.star` s));
} | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.commute_star_right | val commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) | val commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) | let commute_star_right (#st:st) (p q r:st.hprop)
: Lemma
((p `st.star` (q `st.star` r)) `st.equals`
(p `st.star` (r `st.star` q)))
=
calc (st.equals) {
p `st.star` (q `st.star` r);
(st.equals) { equals_ext_right p (q `st.star` r) (r `st.star` q) }
p `st.star` (r `st.star` q);
} | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 696,
"start_col": 0,
"start_line": 687
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st q r))
(Mkst0?.star st p (Mkst0?.star st r q))) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | false | false | true | false | false | let commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) =
| calc (st.equals) {
p `st.star` (q `st.star` r);
(st.equals) { equals_ext_right p (q `st.star` r) (r `st.star` q) }
p `st.star` (r `st.star` q);
} | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.equals_ext_right | val equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) | val equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) | let equals_ext_right (#st:st) (p q r:st.hprop)
: Lemma
(requires q `st.equals` r)
(ensures (p `st.star` q) `st.equals` (p `st.star` r))
=
calc (st.equals) {
p `st.star` q;
(st.equals) { }
q `st.star` p;
(st.equals) { }
r `st.star` p;
(st.equals) { }
p `st.star`... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 685,
"start_col": 0,
"start_line": 672
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st
-> FStar.Pervasives.Lemma (requires Mkst0?.equals st q r)
(ensures Mkst0?.equals st (Mkst0?.star st p q) (Mkst0?.star st p r)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | false | false | true | false | false | let equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) =
| calc (st.equals) {
p `st.star` q;
(st.equals) { () }
q `st.star` p;
(st.equals) { () }
r `st.star` p;
(st.equals) { () }
p `st.star` r;
} | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.commute_star_par_l | val commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0) | val commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0) | let commute_star_par_l (#st:st) (p q r s:st.hprop) (m0:st.mem)
: Lemma
(st.interp (p `st.star` q `st.star` r `st.star` s) m0 <==>
st.interp (p `st.star` (q `st.star` r) `st.star` s) m0)
= assert ((p `st.star` q `st.star` r `st.star` s) `st.equals`
(p `st.star` (q `st.star` r) `st.star` s)) | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 54,
"end_line": 730,
"start_col": 0,
"start_line": 725
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
p: Mkst0?.hprop st ->
q: Mkst0?.hprop st ->
r: Mkst0?.hprop st ->
s: Mkst0?.hprop st ->
m0: Mkst0?.mem st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st (Mkst0?.star st p q) r) s) m0 <==>
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st p (Mkst... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims._assert",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.unit",
"Prims.l_True",
... | [] | true | false | true | false | false | let commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0) =
| assert ((((p `st.star` q) `st.star` r) `st.star` s)
`st.equals`
((p `st.star` (q `st.star` r)) `st.star` s)) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.inst_heap_prop_for_par | val inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre | val inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre | let inst_heap_prop_for_par
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(state:st.mem)
: fp_prop pre
=
fun h ->
forall x final_state.
lpost h x final_state <==>
lpost (st.core state) x final_state | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 41,
"end_line": 819,
"start_col": 0,
"start_line": 807
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | lpost: Steel.Semantics.Hoare.MST.l_post pre post -> state: Mkst0?.mem st
-> Steel.Semantics.Hoare.MST.fp_prop pre | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_Forall",
"Prims.l_iff",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
... | [] | false | false | false | false | false | let inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre =
| fun h -> forall x final_state. lpost h x final_state <==> lpost (st.core state) x final_state | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.commute_star_par_r | val commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0) | val commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0) | let commute_star_par_r (#st:st) (p q r s:st.hprop) (m0:st.mem)
: Lemma
(st.interp (p `st.star` q `st.star` r `st.star` s) m0 <==>
st.interp (q `st.star` (p `st.star` r) `st.star` s) m0)
= calc (st.equals) {
p `st.star` q `st.star` r `st.star` s;
(st.equals) { }
q `st.star` p `st.st... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 5,
"end_line": 742,
"start_col": 0,
"start_line": 732
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
p: Mkst0?.hprop st ->
q: Mkst0?.hprop st ->
r: Mkst0?.hprop st ->
s: Mkst0?.hprop st ->
m0: Mkst0?.mem st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st (Mkst0?.star st p q) r) s) m0 <==>
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st q (Mkst... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.P... | [] | false | false | true | false | false | let commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0) =
| calc (st.equals) {
((p `st.star` q) `st.star` r) `st.star` s;
(st.equals) { () }
((q `st.star` p) `st.star` r) `st.star` s;
(st.equals) { () }
(q `st.star` (p `st.star` r)) `st.star` s;
} | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.depends_only_on_commutes_with_weaker | val depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next) | val depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next) | let depends_only_on_commutes_with_weaker
(#st:st)
(q:st.mem -> prop)
(fp:st.hprop)
(fp_next:st.hprop)
: Lemma
(requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next)
=
assert (forall (h0:fp_heap_0 st.interp fp_next). st.interp (fp_next `... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 91,
"end_line": 774,
"start_col": 0,
"start_line": 765
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | q: (_: Mkst0?.mem st -> Prims.prop) -> fp: Mkst0?.hprop st -> fp_next: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.depends_only_on q fp /\
Steel.Semantics.Hoare.MST.weaker_pre fp_next fp)
(ensures Steel.Semantics.Hoare.MST.depends_only_on q fp_next) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims._assert",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semant... | [] | false | false | true | false | false | let depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next) =
| assert (forall (h0: fp_heap_0 st.interp fp_next). st.interp (fp_next `st.star` st.emp) h0) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.depends_only_on2_commutes_with_weaker | val depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post) | val depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post) | let depends_only_on2_commutes_with_weaker
(#st:st)
(#a:Type)
(q:st.mem -> a -> st.mem -> prop)
(fp:st.hprop)
(fp_next:st.hprop)
(fp_post:a -> st.hprop)
: Lemma
(requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_pos... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 91,
"end_line": 787,
"start_col": 0,
"start_line": 776
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp: Mkst0?.hprop st ->
fp_next: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.depends_only_on2 q fp fp_post /\
Steel.Semantics.Hoare.MST.weake... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims._assert",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semant... | [] | false | false | true | false | false | let depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post) =
| assert (forall (h0: fp_heap_0 st.interp fp_next). st.interp (fp_next `st.star` st.emp) h0) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.frame_post_for_par | val frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | val frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | let frame_post_for_par
(#st:st)
(pre_s post_s:st.hprop)
(m0 m1:st.mem)
(#a:Type)
(#pre_f:st.hprop)
(#post_f:post_t st a)
(lpre_f:l_pre pre_f)
(lpost_f:l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.interp ((p... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 51,
"end_line": 866,
"start_col": 0,
"start_line": 846
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
pre_s: Mkst0?.hprop st ->
post_s: Mkst0?.hprop st ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st ->
lpre_f: Steel.Semantics.Hoare.MST.l_pre pre_f ->
lpost_f: Steel.Semantics.Hoare.MST.l_post pre_f post_f
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.post_preserves_fra... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.frame_post_for_par_aux",
"... | [] | true | false | true | false | false | let frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | frame_post_for_par_tautology lpost_f m0;
frame_post_for_par_aux pre_s post_s m0 m1 lpost_f | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_bind_ret | val step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | val step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | let step_bind_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
=
NMST... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 63,
"end_line": 1086,
"start_col": 0,
"start_line": 1075
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | Steel.Semantics.Hoare.MST.Mst | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Bind",
"S... | [] | false | true | false | false | false | let step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) =
... | NMSTATE?.reflect (fun (_, n) -> step_bind_ret_aux frame f, n) | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.quad32_shl32 | val quad32_shl32 (q: quad32) : quad32 | val quad32_shl32 (q: quad32) : quad32 | let quad32_shl32 (q:quad32) : quad32 =
let Mkfour v0 v1 v2 v3 = q in
Mkfour 0 v0 v1 v2 | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 19,
"start_col": 0,
"start_line": 17
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.Mkfour"
] | [] | false | false | false | true | false | let quad32_shl32 (q: quad32) : quad32 =
| let Mkfour v0 v1 v2 v3 = q in
Mkfour 0 v0 v1 v2 | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.expand_key_128 | val expand_key_128 : key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> round: Prims.nat
-> Prims.Pure Vale.Def.Types_s.quad32 | let expand_key_128 = opaque_make expand_key_128_def | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 70,
"end_line": 42,
"start_col": 19,
"start_line": 42
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> round: Prims.nat
-> Prims.Pure Vale.Def.Types_s.quad32 | Prims.Pure | [] | [] | [
"Vale.Def.Opaque_s.opaque_make",
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.nat32",
"Prims.nat",
"Vale.Def.Types_s.quad32",
"Vale.AES.AES_s.is_aes_key_LE",
"Vale.AES.AES_common_s.AES_128",
"Prims.l_True",
"Vale.AES.AES_helpers.expand_key_128_def"
] | [] | false | false | false | false | false | let expand_key_128 =
| opaque_make expand_key_128_def | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.par_weaker_lpre_and_stronger_lpost_l | val par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | val par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | let par_weaker_lpre_and_stronger_lpost_l
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#aL:Type)
(#postL:post_t st aL)
(lpostL:l_post preL postL)
(#next_preL:st.hprop)
(#next_postL:post_t st aL)
(next_lpreL:l_pre next_preL)
(next_lpostL:l_post next_preL next_p... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 52,
"end_line": 908,
"start_col": 0,
"start_line": 871
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
next_lpreL: Steel.Semantics.Hoare.MST.l_pre next_preL ->
next_lpostL: Steel.Semantics.Hoare.MST.l_post next_preL next_postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Seman... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Tactics.Effect.assert_by_tactic",
"Steel.Seman... | [] | false | false | true | false | false | let par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | frame_post_for_par preL next_preL state next_state lpreR lpostR;
FStar.Tactics.Effect.assert_by_tactic (weaker_lpre (par_lpre lpreL lpreR)
(par_lpre next_lpreL lpreR)
state
next_state)
(fun _ ->
();
(norm [delta_only [`%weaker_lpre; `%par_lpre]])) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.lpost_ret_act | val lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post | val lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post | let lpost_ret_act
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(x:a)
(state:st.mem)
: l_post (post x) post
=
fun _ x h1 -> lpost (st.core state) x h1 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 1034,
"start_col": 0,
"start_line": 1024
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false | lpost: Steel.Semantics.Hoare.MST.l_post pre post -> x: a -> state: Mkst0?.mem st
-> Steel.Semantics.Hoare.MST.l_post (post x) post | Prims.Tot | [
"total"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
"Prims.prop"
] | [] | false | false | false | false | false | let lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post =
| fun _ x h1 -> lpost (st.core state) x h1 | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.round_key_128 | val round_key_128 (prev: quad32) (round: nat) : quad32 | val round_key_128 (prev: quad32) (round: nat) : quad32 | let round_key_128 (prev:quad32) (round:nat) : quad32 =
round_key_128_rcon prev (aes_rcon (round - 1)) | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 34,
"start_col": 0,
"start_line": 33
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | prev: Vale.Def.Types_s.quad32 -> round: Prims.nat -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Prims.nat",
"Vale.AES.AES_helpers.round_key_128_rcon",
"Vale.AES.AES_common_s.aes_rcon",
"Prims.op_Subtraction"
] | [] | false | false | false | true | false | let round_key_128 (prev: quad32) (round: nat) : quad32 =
| round_key_128_rcon prev (aes_rcon (round - 1)) | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.expand_key_128_reveal | val expand_key_128_reveal : _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.AES_helpers.expand_key_128 == Vale.AES.AES_helpers.expand_key_128_def) | let expand_key_128_reveal = opaque_revealer (`%expand_key_128) expand_key_128 expand_key_128_def | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 108,
"end_line": 43,
"start_col": 12,
"start_line": 43
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.AES_helpers.expand_key_128 == Vale.AES.AES_helpers.expand_key_128_def) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.Def.Opaque_s.opaque_revealer",
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.nat32",
"Prims.nat",
"Vale.Def.Types_s.quad32",
"Vale.AES.AES_s.is_aes_key_LE",
"Vale.AES.AES_common_s.AES_128",
"Prims.l_True",
"Vale.AES.AES_helpers.expand_key_128",
"Vale.AES.AES_helpers.expand_key_128_def"
] | [] | true | false | true | false | false | let expand_key_128_reveal =
| opaque_revealer (`%expand_key_128) expand_key_128 expand_key_128_def | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.stronger_post_par_r | val stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | val stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | let stronger_post_par_r
(#st:st)
(#aL #aR:Type u#a)
(postL:post_t st aL)
(postR:post_t st aR)
(next_postR:post_t st aR)
: Lemma
(requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp ((postL xL `st.star` next_postR xR) `st.star`... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 4,
"end_line": 1003,
"start_col": 0,
"start_line": 967
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
postL: Steel.Semantics.Hoare.MST.post_t st aL ->
postR: Steel.Semantics.Hoare.MST.post_t st aR ->
next_postR: Steel.Semantics.Hoare.MST.post_t st aR
-> FStar.Pervasives.Lemma (requires Steel.Semantics.Hoare.MST.stronger_post postR next_postR)
(ensures
forall (xL: aL) (xR: aR) (frame: Mkst0?... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.unit",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
... | [] | false | false | true | false | false | let stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | let aux xL xR frame h
: Lemma (requires st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h)
(ensures st.interp (((postL xL) `st.star` (postR xR)) `st.star` frame) h)
[SMTPat ()] =
calc (st.equals) {
((postL xL) `st.star` (next_postR xR)) `st.star` frame;
(st.equals) { () }
... | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.round_key_128_rcon | val round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 | val round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 | let round_key_128_rcon (prev:quad32) (rcon:nat32) : quad32 =
let Mkfour v0 v1 v2 v3 = prev in
let w0 = v0 *^ (sub_word (rot_word_LE v3) *^ rcon) in
let w1 = v1 *^ w0 in
let w2 = v2 *^ w1 in
let w3 = v3 *^ w2 in
Mkfour w0 w1 w2 w3 | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 31,
"start_col": 0,
"start_line": 25
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | prev: Vale.Def.Types_s.quad32 -> rcon: Vale.Def.Types_s.nat32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.Mkfour",
"Vale.Def.Words_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat",
"Vale.AES.AES_common_s.sub_word",
"Vale.AES.AES_s.rot_word_LE"
] | [] | false | false | false | true | false | let round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 =
| let Mkfour v0 v1 v2 v3 = prev in
let w0 = v0 *^ (sub_word (rot_word_LE v3) *^ rcon) in
let w1 = v1 *^ w0 in
let w2 = v2 *^ w1 in
let w3 = v3 *^ w2 in
Mkfour w0 w1 w2 w3 | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.simd_round_key_128 | val simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 | val simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 | let simd_round_key_128 (prev:quad32) (rcon:nat32) : quad32 =
let r = rot_word_LE (sub_word prev.hi3) *^ rcon in
let q = prev in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
q *^^ Mkfour r r r r | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 83,
"start_col": 0,
"start_line": 77
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | prev: Vale.Def.Types_s.quad32 -> rcon: Vale.Def.Types_s.nat32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat_Hat",
"Vale.Def.Words_s.Mkfour",
"Vale.AES.AES_helpers.quad32_shl32",
"Vale.Def.Words_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat",
"Vale.AES.AES_s.rot_word_LE",
"Vale.AES.AES_common_s.sub_word",
"Vale.Def.Words... | [] | false | false | false | true | false | let simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 =
| let r = rot_word_LE (sub_word prev.hi3) *^ rcon in
let q = prev in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
q *^^ Mkfour r r r r | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_frame_ret | val step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | val step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | let step_frame_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#p:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre p)
(frame:st.hprop)
(f:m st a pre p lpre lpost{Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
=
NMSTATE?.r... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 64,
"end_line": 1164,
"start_col": 0,
"start_line": 1153
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | Steel.Semantics.Hoare.MST.Mst | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Frame",
"... | [] | false | true | false | false | false | let step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) =
| NMSTATE?.reflect (fun (_, n) -> step_frame_ret_aux frame f, n) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_bind_ret_aux | val step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | val step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | let step_bind_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_preorder (step_req... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 57,
"end_line": 1073,
"start_col": 0,
"start_line": 1059
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | FStar.MST.MSTATE | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Bind",
"S... | [] | false | true | false | false | false | let step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | M.MSTATE?.reflect (fun m0 ->
match f with
| Bind #_ #_ #_ #_ #_ #_ #_ #post_b #lpre_b #lpost_b (Ret p x _) g ->
Step (p x) post_b (lpre_b x) (lpost_b x) (g x), m0) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.par_weaker_lpre_and_stronger_lpost_r | val par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | val par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | let par_weaker_lpre_and_stronger_lpost_r
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#aL:Type)
(#postL:post_t st aL)
(lpostL:l_post preL postL)
(#preR:st.hprop)
(lpreR:l_pre preR)
(#aR:Type)
(#postR:post_t st aR)
(lpostR:l_post preR postR)
(#next... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 84,
"end_line": 964,
"start_col": 0,
"start_line": 910
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"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... | false |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Semantics.Hoare.MST.l_post preR postR ->
next_lpreR: Steel.Semantics.Hoare.MST.l_pre next_preR ->
next_lpostR: Steel.Semantics.Hoare... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.commute_star_par_r",
"Stee... | [] | false | false | true | false | false | let par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | calc (st.equals) {
((preL `st.star` preR) `st.star` frame) `st.star` (st.locks_invariant state);
(st.equals) { () }
((preR `st.star` preL) `st.star` frame) `st.star` (st.locks_invariant state);
(st.equals) { () }
(preR `st.star` preL) `st.star` (frame `st.star` (st.locks_invariant state));
(st.equals) { equ... | false |
Vale.AES.AES_helpers.fsti | Vale.AES.AES_helpers.expand_key_128_def | val expand_key_128_def (key: seq nat32) (round: nat)
: Pure quad32 (requires is_aes_key_LE AES_128 key) (ensures fun _ -> True) | val expand_key_128_def (key: seq nat32) (round: nat)
: Pure quad32 (requires is_aes_key_LE AES_128 key) (ensures fun _ -> True) | let rec expand_key_128_def (key:seq nat32) (round:nat) : Pure quad32
(requires is_aes_key_LE AES_128 key)
(ensures fun _ -> True)
=
if round = 0 then Mkfour key.[0] key.[1] key.[2] key.[3]
else round_key_128 (expand_key_128_def key (round - 1)) round | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 63,
"end_line": 41,
"start_col": 0,
"start_line": 36
} | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | {
"checked_file": "/",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> round: Prims.nat
-> Prims.Pure Vale.Def.Types_s.quad32 | Prims.Pure | [] | [] | [
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.nat32",
"Prims.nat",
"Prims.op_Equality",
"Prims.int",
"Vale.Def.Words_s.Mkfour",
"Vale.AES.AES_helpers.op_String_Access",
"Prims.bool",
"Vale.AES.AES_helpers.round_key_128",
"Vale.AES.AES_helpers.expand_key_128_def",
"Prims.op_Subtraction",
"Vale.Def.Ty... | [
"recursion"
] | false | false | false | false | false | let rec expand_key_128_def (key: seq nat32) (round: nat)
: Pure quad32 (requires is_aes_key_LE AES_128 key) (ensures fun _ -> True) =
| if round = 0
then Mkfour key.[ 0 ] key.[ 1 ] key.[ 2 ] key.[ 3 ]
else round_key_128 (expand_key_128_def key (round - 1)) round | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_par_ret | val step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | val step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | let step_par_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (step_ens fra... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 62,
"end_line": 1239,
"start_col": 0,
"start_line": 1228
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f:
Steel.Semantics.Hoare.MST.m st a pre post lpre lpost
{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | Steel.Semantics.Hoare.MST.Mst | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Par",
"St... | [] | false | true | false | false | false | let step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | NMSTATE?.reflect (fun (_, n) -> step_par_ret_aux frame f, n) | false |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_frame_ret_aux | val step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | val step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | let step_frame_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#p:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre p)
(frame:st.hprop)
(f:m st a pre p lpre lpost{Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_preorder (step_req frame... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 58,
"end_line": 1151,
"start_col": 0,
"start_line": 1134
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | FStar.MST.MSTATE | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Frame",
"... | [] | false | true | false | false | false | let step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | M.MSTATE?.reflect (fun m0 ->
match f with
| Frame (Ret p x lp) frame' _ ->
Step ((p x) `st.star` frame')
(fun x -> (p x) `st.star` frame')
(fun h -> lpost h x h)
lpost
(Ret (fun x -> (p x) `st.star` frame') x lpost),
m0) | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.t64_imm | val t64_imm : Vale.Interop.Base.td | let t64_imm = TD_ImmBuffer TUInt8 TUInt64 ({modified=false; strict_disjointness=false; taint=MS.Secret}) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 104,
"end_line": 28,
"start_col": 0,
"start_line": 28
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.td | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.TD_ImmBuffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Vale.Interop.Base.Mkbuffer_qualifiers",
"Vale.Arch.HeapTypes_s.Secret"
] | [] | false | false | false | true | false | let t64_imm =
| TD_ImmBuffer TUInt8 TUInt64 ({ modified = false; strict_disjointness = false; taint = MS.Secret }) | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.t64_no_mod | val t64_no_mod : Vale.Interop.Base.td | let t64_no_mod = TD_Buffer TUInt8 TUInt64 ({modified=false; strict_disjointness=false; taint=MS.Secret}) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 104,
"end_line": 26,
"start_col": 0,
"start_line": 26
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.td | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.TD_Buffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Vale.Interop.Base.Mkbuffer_qualifiers",
"Vale.Arch.HeapTypes_s.Secret"
] | [] | false | false | false | true | false | let t64_no_mod =
| TD_Buffer TUInt8 TUInt64 ({ modified = false; strict_disjointness = false; taint = MS.Secret }) | false | |
Steel.Semantics.Hoare.MST.fst | Steel.Semantics.Hoare.MST.step_par_ret_aux | val step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | val step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | let step_par_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_... | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 73,
"end_line": 1226,
"start_col": 0,
"start_line": 1202
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.checked",
"FStar.NMST.fst.checked... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | {
"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... | false |
frame: Mkst0?.hprop st ->
f:
Steel.Semantics.Hoare.MST.m st a pre post lpre lpost
{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | FStar.MST.MSTATE | [] | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Par",
"St... | [] | false | true | false | false | false | let step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | M.MSTATE?.reflect (fun m0 ->
match f with
| Par #_ #aL #_ #_ #_ #_ (Ret pL xL lpL) #aR #_ #_ #_ #_ (Ret pR xR lpR) ->
let lpost:l_post #st
#(aL & aR)
((pL xL) `st.star` (pR xR))
(fun (xL, xR) -> (pL xL) `st.star` (pR xR)) =
fun h0 (xL, xR) h1 -> lpL h0 xL h1 /... | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.t64_mod | val t64_mod : Vale.Interop.Base.td | let t64_mod = TD_Buffer TUInt8 TUInt64 default_bq | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 24,
"start_col": 0,
"start_line": 24
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.td | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.TD_Buffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Vale.Interop.Base.default_bq"
] | [] | false | false | false | true | false | let t64_mod =
| TD_Buffer TUInt8 TUInt64 default_bq | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.b64 | val b64 : Type0 | let b64 = buf_t TUInt8 TUInt64 | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 20,
"start_col": 0,
"start_line": 20
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.buf_t",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64"
] | [] | false | false | false | true | true | let b64 =
| buf_t TUInt8 TUInt64 | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.ib64 | val ib64 : Type0 | let ib64 = ibuf_t TUInt8 TUInt64 | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 22,
"start_col": 0,
"start_line": 22
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.ibuf_t",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64"
] | [] | false | false | false | true | true | let ib64 =
| ibuf_t TUInt8 TUInt64 | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.call_c_normal_t | val call_c_normal_t:normal call_c_t | val call_c_normal_t:normal call_c_t | let call_c_normal_t : normal call_c_t = as_normal_t #call_c_t call_c | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 68,
"end_line": 48,
"start_col": 0,
"start_line": 48
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.Pervasives.norm [
FStar.Pervasives.iota;
FStar.Pervasives.zeta;
FStar.Pervasives.delta_attr ["Vale.Arch.HeapTypes_s.__reduce__"; "FStar.BigOps.__reduce__"];
FStar.Pervasives.delta_only [
"Vale.Interop.Base.uu___is_TD_Buffer";
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__i... | Prims.Tot | [
"total"
] | [] | [
"Vale.AsLowStar.Test.as_normal_t",
"Vale.AsLowStar.Test.call_c_t",
"Vale.AsLowStar.Test.call_c"
] | [] | false | false | false | false | false | let call_c_normal_t:normal call_c_t =
| as_normal_t #call_c_t call_c | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.vm_post | val vm_post:VSig.vale_post vm_dom | val vm_post:VSig.vale_post vm_dom | let vm_post : VSig.vale_post vm_dom =
fun (c:V.va_code)
(dst:b64)
(src:ib64)
(va_s0:V.va_state)
(va_s1:V.va_state)
(f:V.va_fuel) ->
VM.va_ens_Memcpy c va_s0 IA.win (as_vale_buffer dst) (as_vale_immbuffer src) va_s1 f | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 90,
"end_line": 75,
"start_col": 0,
"start_line": 68
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": tr... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_post Vale.AsLowStar.Test.vm_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.Test.b64",
"Vale.AsLowStar.Test.ib64",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"Vale.Test.X64.Vale_memcpy.va_ens_Memcpy",
"Vale.Interop.Assumptions.win",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.Heap... | [] | false | false | false | true | false | let vm_post:VSig.vale_post vm_dom =
| fun (c: V.va_code) (dst: b64) (src: ib64) (va_s0: V.va_state) (va_s1: V.va_state) (f: V.va_fuel) ->
VM.va_ens_Memcpy c va_s0 IA.win (as_vale_buffer dst) (as_vale_immbuffer src) va_s1 f | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.vm_pre | val vm_pre:VSig.vale_pre vm_dom | val vm_pre:VSig.vale_pre vm_dom | let vm_pre : VSig.vale_pre vm_dom =
fun (c:V.va_code)
(dst:b64)
(src:ib64)
(va_s0:V.va_state) ->
VM.va_req_Memcpy c va_s0 IA.win (as_vale_buffer dst) (as_vale_immbuffer src) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 82,
"end_line": 65,
"start_col": 0,
"start_line": 60
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": tr... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_pre Vale.AsLowStar.Test.vm_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.Test.b64",
"Vale.AsLowStar.Test.ib64",
"Vale.X64.Decls.va_state",
"Vale.Test.X64.Vale_memcpy.va_req_Memcpy",
"Vale.Interop.Assumptions.win",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Vale.X6... | [] | false | false | false | true | false | let vm_pre:VSig.vale_pre vm_dom =
| fun (c: V.va_code) (dst: b64) (src: ib64) (va_s0: V.va_state) ->
VM.va_req_Memcpy c va_s0 IA.win (as_vale_buffer dst) (as_vale_immbuffer src) | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.code_Memcpy | val code_Memcpy : Vale.X64.Decls.va_code | let code_Memcpy = VM.va_code_Memcpy IA.win | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 42,
"end_line": 110,
"start_col": 0,
"start_line": 110
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Vale.Test.X64.Vale_memcpy.va_code_Memcpy",
"Vale.Interop.Assumptions.win"
] | [] | false | false | false | true | false | let code_Memcpy =
| VM.va_code_Memcpy IA.win | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.vm_dom | val vm_dom : Prims.list Vale.Interop.Base.td | let vm_dom = [t64_mod; t64_imm] | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 31,
"end_line": 56,
"start_col": 0,
"start_line": 56
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.list Vale.Interop.Base.td | Prims.Tot | [
"total"
] | [] | [
"Prims.Cons",
"Vale.Interop.Base.td",
"Vale.AsLowStar.Test.t64_mod",
"Vale.AsLowStar.Test.t64_imm",
"Prims.Nil"
] | [] | false | false | false | true | false | let vm_dom =
| [t64_mod; t64_imm] | false | |
Pulse.Show.fst | Pulse.Show.showable_list | [@@ FStar.Tactics.Typeclasses.tcinstance]
val showable_list: a: Type -> tac_showable a -> tac_showable (list a) | [@@ FStar.Tactics.Typeclasses.tcinstance]
val showable_list: a: Type -> tac_showable a -> tac_showable (list a) | instance showable_list (a:Type) (_ : tac_showable a) : tac_showable (list a) = {
show = string_of_list show;
} | {
"file_name": "lib/steel/pulse/Pulse.Show.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 52,
"start_col": 0,
"start_line": 50
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.Syntax.Base.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.Typeclasses.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file":... | [
{
"abbrev": false,
"full_module": "Pulse.Syntax.Printer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Type -> _: Pulse.Show.tac_showable a -> Pulse.Show.tac_showable (Prims.list a) | Prims.Tot | [
"total"
] | [] | [
"Pulse.Show.tac_showable",
"Pulse.Show.Mktac_showable",
"Prims.list",
"FStar.Tactics.Util.string_of_list",
"Pulse.Show.show"
] | [] | false | false | false | true | false | [@@ FStar.Tactics.Typeclasses.tcinstance]
let showable_list (a: Type) (_: tac_showable a) : tac_showable (list a) =
| { show = string_of_list show } | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.lowstar_Memcpy_normal_t | val lowstar_Memcpy_normal_t : Vale.Interop.Base.normal Vale.AsLowStar.Test.lowstar_Memcpy_t | let lowstar_Memcpy_normal_t //: normal lowstar_Memcpy_t
= as_normal_t #lowstar_Memcpy_t lowstar_Memcpy | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 131,
"start_col": 0,
"start_line": 130
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.normal Vale.AsLowStar.Test.lowstar_Memcpy_t | Prims.Tot | [
"total"
] | [] | [
"Vale.AsLowStar.Test.as_normal_t",
"Vale.AsLowStar.Test.lowstar_Memcpy_t",
"Vale.AsLowStar.Test.lowstar_Memcpy"
] | [] | false | false | false | true | false | let lowstar_Memcpy_normal_t =
| as_normal_t #lowstar_Memcpy_t lowstar_Memcpy | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.code_aesni | val code_aesni : Vale.X64.Decls.va_code | let code_aesni = VC.va_code_Check_aesni_stdcall IA.win | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 234,
"start_col": 0,
"start_line": 234
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Up",
"short_module": "LBV"
},
{
"abbrev":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_aesni_stdcall",
"Vale.Interop.Assumptions.win"
] | [] | false | false | false | true | false | let code_aesni =
| VC.va_code_Check_aesni_stdcall IA.win | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.aesni_pre | val aesni_pre:VSig.vale_pre aesni_dom | val aesni_pre:VSig.vale_pre aesni_dom | let aesni_pre : VSig.vale_pre aesni_dom =
fun (c:V.va_code)
(va_s0:V.va_state) ->
VC.va_req_Check_aesni_stdcall c va_s0 IA.win | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 50,
"end_line": 195,
"start_col": 0,
"start_line": 192
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Up",
"short_module": "LBV"
},
{
"abbrev":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_pre Vale.AsLowStar.Test.aesni_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_aesni_stdcall",
"Vale.Interop.Assumptions.win",
"Prims.prop"
] | [] | false | false | false | true | false | let aesni_pre:VSig.vale_pre aesni_dom =
| fun (c: V.va_code) (va_s0: V.va_state) -> VC.va_req_Check_aesni_stdcall c va_s0 IA.win | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.aesni_post | val aesni_post:VSig.vale_post aesni_dom | val aesni_post:VSig.vale_post aesni_dom | let aesni_post : VSig.vale_post aesni_dom =
fun (c:V.va_code)
(va_s0:V.va_state)
(va_s1:V.va_state)
(f:V.va_fuel) ->
VC.va_ens_Check_aesni_stdcall c va_s0 IA.win va_s1 f | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 58,
"end_line": 203,
"start_col": 0,
"start_line": 198
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Up",
"short_module": "LBV"
},
{
"abbrev":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_post Vale.AsLowStar.Test.aesni_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"Vale.Lib.X64.Cpuidstdcall.va_ens_Check_aesni_stdcall",
"Vale.Interop.Assumptions.win",
"Prims.prop"
] | [] | false | false | false | true | false | let aesni_post:VSig.vale_post aesni_dom =
| fun (c: V.va_code) (va_s0: V.va_state) (va_s1: V.va_state) (f: V.va_fuel) ->
VC.va_ens_Check_aesni_stdcall c va_s0 IA.win va_s1 f | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.code_ta | val code_ta : Vale.X64.Decls.va_code | let code_ta = TA.va_code_Test IA.win | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 36,
"end_line": 375,
"start_col": 0,
"start_line": 375
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Test.X64.Args",
"short_module": "TA"
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": tr... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Vale.Test.X64.Args.va_code_Test",
"Vale.Interop.Assumptions.win"
] | [] | false | false | false | true | false | let code_ta =
| TA.va_code_Test IA.win | false | |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.lowstar_aesni_normal_t | val lowstar_aesni_normal_t : Vale.Interop.Base.normal Vale.AsLowStar.Test.lowstar_aesni_t | let lowstar_aesni_normal_t //: normal lowstar_aesni_t
= as_normal_t #lowstar_aesni_t lowstar_aesni | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 46,
"end_line": 255,
"start_col": 0,
"start_line": 254
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "DV"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Up",
"short_module": "LBV"
},
{
"abbrev":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.normal Vale.AsLowStar.Test.lowstar_aesni_t | Prims.Tot | [
"total"
] | [] | [
"Vale.AsLowStar.Test.as_normal_t",
"Vale.AsLowStar.Test.lowstar_aesni_t",
"Vale.AsLowStar.Test.lowstar_aesni"
] | [] | false | false | false | true | false | let lowstar_aesni_normal_t =
| as_normal_t #lowstar_aesni_t lowstar_aesni | false | |
Steel.Effect.M.fst | Steel.Effect.M.return | val return (a: Type) (x: a) (p: (a -> slprop)) (post: ens_t (p x) a p)
: repr a (p x) p (Sem.return_lpre #state #a #p x post) post | val return (a: Type) (x: a) (p: (a -> slprop)) (post: ens_t (p x) a p)
: repr a (p x) p (Sem.return_lpre #state #a #p x post) post | let return (a:Type) (x:a) (p:a -> slprop) (post:ens_t (p x) a p)
: repr a (p x) p (Sem.return_lpre #state #a #p x post) post
= Sem.Ret p x post | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 18,
"end_line": 60,
"start_col": 0,
"start_line": 58
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.Semantics.Instantiate",
"short_module": "Ins"
},
{
"abbrev": false,
"full_module": "Steel.Semantics.Instantiate",
"short_module": null
},
{
"abbrev": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Type -> x: a -> p: (_: a -> Steel.Memory.slprop) -> post: Steel.Effect.M.ens_t (p x) a p
-> Steel.Effect.M.repr a (p x) p (Steel.Semantics.Hoare.MST.return_lpre x post) post | Prims.Tot | [
"total"
] | [] | [
"Steel.Memory.slprop",
"Steel.Effect.M.ens_t",
"Steel.Semantics.Hoare.MST.Ret",
"Steel.Semantics.Instantiate.state",
"Steel.Effect.M.repr",
"Steel.Semantics.Hoare.MST.return_lpre"
] | [] | false | false | false | false | false | let return (a: Type) (x: a) (p: (a -> slprop)) (post: ens_t (p x) a p)
: repr a (p x) p (Sem.return_lpre #state #a #p x post) post =
| Sem.Ret p x post | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.ta_pre | val ta_pre:VSig.vale_pre ta_dom | val ta_pre:VSig.vale_pre ta_dom | let ta_pre : VSig.vale_pre ta_dom =
fun (c:V.va_code)
(arg0:ib64)
(arg1:ib64)
(arg2:ib64)
(arg3:ib64)
(arg4:ib64)
(arg5:ib64)
(arg6:ib64)
(arg7:ib64)
(va_s0:V.va_state) ->
TA.va_req_Test c va_s0 IA.win
(as_vale_immbuffer arg0)
(as_vale_immbuffer arg1)
(as_va... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 300,
"start_col": 0,
"start_line": 281
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Test.X64.Args",
"short_module": "TA"
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": tr... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_pre Vale.AsLowStar.Test.ta_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.Test.ib64",
"Vale.X64.Decls.va_state",
"Vale.Test.X64.Args.va_req_Test",
"Vale.Interop.Assumptions.win",
"Vale.X64.MemoryAdapters.as_vale_immbuffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Prims.prop"
] | [] | false | false | false | true | false | let ta_pre:VSig.vale_pre ta_dom =
| fun
(c: V.va_code)
(arg0: ib64)
(arg1: ib64)
(arg2: ib64)
(arg3: ib64)
(arg4: ib64)
(arg5: ib64)
(arg6: ib64)
(arg7: ib64)
(va_s0: V.va_state)
->
TA.va_req_Test c va_s0 IA.win (as_vale_immbuffer arg0) (as_vale_immbuffer arg1)
(as_vale_immbuffer arg2) (as_vale_immbuffer arg3) (as_vale_immbuff... | false |
Steel.Effect.M.fst | Steel.Effect.M.frame | val frame
(a: Type)
(pre: pre_t)
(post: post_t a)
(req: req_t pre)
(ens: ens_t pre a post)
(f: repr a pre post req ens)
(frame: slprop)
(f_frame: Sem.fp_prop frame)
: repr a
(pre `star` frame)
(fun x -> (post x) `star` frame)
(Sem.frame_lpre req f_fr... | val frame
(a: Type)
(pre: pre_t)
(post: post_t a)
(req: req_t pre)
(ens: ens_t pre a post)
(f: repr a pre post req ens)
(frame: slprop)
(f_frame: Sem.fp_prop frame)
: repr a
(pre `star` frame)
(fun x -> (post x) `star` frame)
(Sem.frame_lpre req f_fr... | let frame (a:Type) (pre:pre_t) (post:post_t a) (req:req_t pre) (ens:ens_t pre a post)
(f:repr a pre post req ens)
(frame:slprop) (f_frame:Sem.fp_prop frame)
: repr a
(pre `star` frame)
(fun x -> post x `star` frame)
(Sem.frame_lpre req f_frame)
(Sem.frame_lpost req ens f_frame)
= Sem.Frame f frame f_frame | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 27,
"end_line": 100,
"start_col": 0,
"start_line": 92
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.Semantics.Instantiate",
"short_module": "Ins"
},
{
"abbrev": false,
"full_module": "Steel.Semantics.Instantiate",
"short_module": null
},
{
"abbrev": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Type ->
pre: Steel.Effect.M.pre_t ->
post: Steel.Effect.M.post_t a ->
req: Steel.Effect.M.req_t pre ->
ens: Steel.Effect.M.ens_t pre a post ->
f: Steel.Effect.M.repr a pre post req ens ->
frame: Steel.Memory.slprop ->
f_frame: Steel.Semantics.Hoare.MST.fp_prop frame
-> Steel.Effect... | Prims.Tot | [
"total"
] | [] | [
"Steel.Effect.M.pre_t",
"Steel.Effect.M.post_t",
"Steel.Effect.M.req_t",
"Steel.Effect.M.ens_t",
"Steel.Effect.M.repr",
"Steel.Memory.slprop",
"Steel.Semantics.Hoare.MST.fp_prop",
"Steel.Semantics.Instantiate.state",
"Steel.Semantics.Hoare.MST.Frame",
"Steel.Memory.star",
"Steel.Semantics.Hoare.... | [] | false | false | false | false | false | let frame
(a: Type)
(pre: pre_t)
(post: post_t a)
(req: req_t pre)
(ens: ens_t pre a post)
(f: repr a pre post req ens)
(frame: slprop)
(f_frame: Sem.fp_prop frame)
: repr a
(pre `star` frame)
(fun x -> (post x) `star` frame)
(Sem.frame_lpre req f_fr... | Sem.Frame f frame f_frame | false |
Steel.Effect.M.fst | Steel.Effect.M.lift_req_x | val lift_req_x
(#a: Type u#a)
(#pre: (a -> slprop))
(req: (x: a -> req_t (pre x)))
(x: U.raise_t u#a u#b a)
: req_t ((lift_post pre) x) | val lift_req_x
(#a: Type u#a)
(#pre: (a -> slprop))
(req: (x: a -> req_t (pre x)))
(x: U.raise_t u#a u#b a)
: req_t ((lift_post pre) x) | let lift_req_x (#a:Type u#a) (#pre:a -> slprop) (req:(x:a -> req_t (pre x)))
: x:U.raise_t u#a u#b a -> req_t ((lift_post pre) x)
= fun x -> req (U.downgrade_val x) | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 34,
"end_line": 194,
"start_col": 0,
"start_line": 192
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | req: (x: a -> Steel.Effect.M.req_t (pre x)) -> x: FStar.Universe.raise_t a
-> Steel.Effect.M.req_t (Steel.Effect.M.lift_post pre x) | Prims.Tot | [
"total"
] | [] | [
"Steel.Memory.slprop",
"Steel.Effect.M.req_t",
"FStar.Universe.raise_t",
"FStar.Universe.downgrade_val",
"Steel.Effect.M.lift_post"
] | [] | false | false | false | false | false | let lift_req_x (#a: Type u#a) (#pre: (a -> slprop)) (req: (x: a -> req_t (pre x)))
(x: U.raise_t u#a u#b a) : req_t ((lift_post pre) x) =
| fun x -> req (U.downgrade_val x) | false |
Steel.Effect.M.fst | Steel.Effect.M.bind_explicit_univs | val bind_explicit_univs
(a b: Type u#a)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens_f)
... | val bind_explicit_univs
(a b: Type u#a)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens_f)
... | let bind_explicit_univs (a:Type u#a) (b:Type u#a)
(pre_f:pre_t) (post_f:post_t a) (req_f:req_t pre_f) (ens_f:ens_t pre_f a post_f)
(post_g:post_t b) (req_g:(x:a -> req_t (post_f x))) (ens_g:(x:a -> ens_t (post_f x) b post_g))
(f:repr a pre_f post_f req_f ens_f) (g:(x:a -> repr b (post_f x) post_g (req_g x) (ens_g... | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 14,
"end_line": 116,
"start_col": 0,
"start_line": 109
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.Semantics.Instantiate",
"short_module": "Ins"
},
{
"abbrev": false,
"full_module": "Steel.Semantics.Instantiate",
"short_module": null
},
{
"abbrev": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Type ->
b: Type ->
pre_f: Steel.Effect.M.pre_t ->
post_f: Steel.Effect.M.post_t a ->
req_f: Steel.Effect.M.req_t pre_f ->
ens_f: Steel.Effect.M.ens_t pre_f a post_f ->
post_g: Steel.Effect.M.post_t b ->
req_g: (x: a -> Steel.Effect.M.req_t (post_f x)) ->
ens_g: (x: a -> Steel.Eff... | Prims.Tot | [
"total"
] | [] | [
"Steel.Effect.M.pre_t",
"Steel.Effect.M.post_t",
"Steel.Effect.M.req_t",
"Steel.Effect.M.ens_t",
"Steel.Effect.M.repr",
"Steel.Semantics.Hoare.MST.Bind",
"Steel.Semantics.Instantiate.state",
"Steel.Semantics.Hoare.MST.bind_lpre",
"Steel.Semantics.Hoare.MST.bind_lpost"
] | [] | false | false | false | false | false | let bind_explicit_univs
(a b: Type u#a)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens_f)
... | Sem.Bind f g | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.ta_post | val ta_post:VSig.vale_post ta_dom | val ta_post:VSig.vale_post ta_dom | let ta_post : VSig.vale_post ta_dom =
fun (c:V.va_code)
(arg0:ib64)
(arg1:ib64)
(arg2:ib64)
(arg3:ib64)
(arg4:ib64)
(arg5:ib64)
(arg6:ib64)
(arg7:ib64)
(va_s0:V.va_state)
(va_s1:V.va_state)
(f:V.va_fuel) ->
TA.va_ens_Test c va_s0 IA.win
(as_vale_immbuffer arg0)
... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 13,
"end_line": 325,
"start_col": 0,
"start_line": 303
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.Test.X64.Args",
"short_module": "TA"
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.X64.Cpuidstdcall",
"short_module": "VC"
},
{
"abbrev": tr... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.AsLowStar.ValeSig.vale_post Vale.AsLowStar.Test.ta_dom | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.Test.ib64",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"Vale.Test.X64.Args.va_ens_Test",
"Vale.Interop.Assumptions.win",
"Vale.X64.MemoryAdapters.as_vale_immbuffer",
"Vale.Arch.HeapTypes_s.TUInt8",
"Vale.Arch.HeapTypes_s.TUInt64",
"Prims.prop"
] | [] | false | false | false | true | false | let ta_post:VSig.vale_post ta_dom =
| fun
(c: V.va_code)
(arg0: ib64)
(arg1: ib64)
(arg2: ib64)
(arg3: ib64)
(arg4: ib64)
(arg5: ib64)
(arg6: ib64)
(arg7: ib64)
(va_s0: V.va_state)
(va_s1: V.va_state)
(f: V.va_fuel)
->
TA.va_ens_Test c va_s0 IA.win (as_vale_immbuffer arg0) (as_vale_immbuffer arg1)
(as_vale_immbuffer arg2) (a... | false |
Steel.Effect.M.fst | Steel.Effect.M.lift_post | val lift_post (#a: _) (post: post_t u#a a) : post_t u#(max a b) (U.raise_t a) | val lift_post (#a: _) (post: post_t u#a a) : post_t u#(max a b) (U.raise_t a) | let lift_post #a (post:post_t u#a a)
: post_t u#(max a b) (U.raise_t a)
= fun x -> post (U.downgrade_val x) | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 35,
"end_line": 186,
"start_col": 0,
"start_line": 184
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | post: Steel.Effect.M.post_t a -> Steel.Effect.M.post_t (FStar.Universe.raise_t a) | Prims.Tot | [
"total"
] | [] | [
"Steel.Effect.M.post_t",
"FStar.Universe.raise_t",
"FStar.Universe.downgrade_val",
"Steel.Memory.slprop"
] | [] | false | false | false | true | false | let lift_post #a (post: post_t u#a a) : post_t u#(max a b) (U.raise_t a) =
| fun x -> post (U.downgrade_val x) | false |
Steel.Effect.M.fst | Steel.Effect.M.lift_m_x | val lift_m_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: post_t b)
(#req: (x: a -> req_t (pre x)))
(#ens: (x: a -> ens_t (pre x) b post))
(f: (x: a -> repr u#b b (pre x) post (req x) (ens x)))
(x: U.raise_t u#a u#b a)
: repr u#(max a b)
(U.raise_... | val lift_m_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: post_t b)
(#req: (x: a -> req_t (pre x)))
(#ens: (x: a -> ens_t (pre x) b post))
(f: (x: a -> repr u#b b (pre x) post (req x) (ens x)))
(x: U.raise_t u#a u#b a)
: repr u#(max a b)
(U.raise_... | let lift_m_x (#a:Type u#a) (#pre:a -> slprop)
(#b:Type u#b) (#post:post_t b) (#req:(x:a -> req_t (pre x))) (#ens:(x:a -> ens_t (pre x) b post))
(f:(x:a -> repr u#b b (pre x) post (req x) (ens x)))
: x:U.raise_t u#a u#b a ->
repr u#(max a b) (U.raise_t b)
((lift_post pre) x)
(lift_post post)
((lift_req_x req... | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 41,
"end_line": 242,
"start_col": 0,
"start_line": 233
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: (x: a -> Steel.Effect.M.repr b (pre x) post (req x) (ens x)) -> x: FStar.Universe.raise_t a
-> Steel.Effect.M.repr (FStar.Universe.raise_t b)
(Steel.Effect.M.lift_post pre x)
(Steel.Effect.M.lift_post post)
(Steel.Effect.M.lift_req_x req x)
(Steel.Effect.M.lift_ens_x ens x) | Prims.Tot | [
"total"
] | [] | [
"Steel.Memory.slprop",
"Steel.Effect.M.post_t",
"Steel.Effect.M.req_t",
"Steel.Effect.M.ens_t",
"Steel.Effect.M.repr",
"FStar.Universe.raise_t",
"Steel.Effect.M.lift_m",
"FStar.Universe.downgrade_val",
"Steel.Effect.M.lift_post",
"Steel.Effect.M.lift_req_x",
"Steel.Effect.M.lift_ens_x"
] | [] | false | false | false | false | false | let lift_m_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: post_t b)
(#req: (x: a -> req_t (pre x)))
(#ens: (x: a -> ens_t (pre x) b post))
(f: (x: a -> repr u#b b (pre x) post (req x) (ens x)))
(x: U.raise_t u#a u#b a)
: repr u#(max a b)
(... | fun x -> lift_m (f (U.downgrade_val x)) | false |
Steel.Effect.M.fst | Steel.Effect.M.bind_lift | val bind_lift
(a: Type u#a)
(b: Type u#b)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens... | val bind_lift
(a: Type u#a)
(b: Type u#b)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens... | let bind_lift (a:Type u#a) (b:Type u#b)
(pre_f:pre_t) (post_f:post_t a)
(req_f:req_t pre_f) (ens_f:ens_t pre_f a post_f)
(post_g:post_t b)
(req_g:(x:a -> req_t (post_f x))) (ens_g:(x:a -> ens_t (post_f x) b post_g))
(f:repr a pre_f post_f req_f ens_f)
(g:(x:a -> repr b (post_f x) post_g (req_g x) (ens_g x))... | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 14,
"end_line": 265,
"start_col": 0,
"start_line": 247
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Type ->
b: Type ->
pre_f: Steel.Effect.M.pre_t ->
post_f: Steel.Effect.M.post_t a ->
req_f: Steel.Effect.M.req_t pre_f ->
ens_f: Steel.Effect.M.ens_t pre_f a post_f ->
post_g: Steel.Effect.M.post_t b ->
req_g: (x: a -> Steel.Effect.M.req_t (post_f x)) ->
ens_g: (x: a -> Steel.Eff... | Prims.Tot | [
"total"
] | [] | [
"Steel.Effect.M.pre_t",
"Steel.Effect.M.post_t",
"Steel.Effect.M.req_t",
"Steel.Effect.M.ens_t",
"Steel.Effect.M.repr",
"Steel.Semantics.Hoare.MST.Bind",
"Steel.Semantics.Instantiate.state",
"FStar.Universe.raise_t",
"Steel.Effect.M.lift_post",
"Steel.Effect.M.lift_ens",
"Steel.Effect.M.lift_req... | [] | false | false | false | false | false | let bind_lift
(a: Type u#a)
(b: Type u#b)
(pre_f: pre_t)
(post_f: post_t a)
(req_f: req_t pre_f)
(ens_f: ens_t pre_f a post_f)
(post_g: post_t b)
(req_g: (x: a -> req_t (post_f x)))
(ens_g: (x: a -> ens_t (post_f x) b post_g))
(f: repr a pre_f post_f req_f ens... | let f = lift_m f in
let g = lift_m_x g in
Sem.Bind f g | false |
Hacl.Spec.Bignum.MontArithmetic.fst | Hacl.Spec.Bignum.MontArithmetic.bn_field_get_len | val bn_field_get_len: #t:limb_t -> k:bn_mont_ctx t{bn_mont_ctx_inv k} -> BN.bn_len t | val bn_field_get_len: #t:limb_t -> k:bn_mont_ctx t{bn_mont_ctx_inv k} -> BN.bn_len t | let bn_field_get_len #t k = k.len | {
"file_name": "code/bignum/Hacl.Spec.Bignum.MontArithmetic.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 85,
"start_col": 0,
"start_line": 85
} | module Hacl.Spec.Bignum.MontArithmetic
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Spec.Bignum.Definitions
module M = Hacl.Spec.Montgomery.Lemmas
module BM = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Spec.Bignum
module BB = Hacl.Spec.Bignum.Base
module BL = Hacl.Spec.Bignum.Lib
module BIL = Hacl... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.NatMod.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Montgomery.Lemmas.fst.checked",
"Hacl.Spec.Exponentiation.Lemmas.fst.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Ha... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.ModInv",
"short_module": "BI"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.MontExponentiation",
"short_module": "ME"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Exponentiation.Lemmas",
"short_module": "E"
},... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | k: Hacl.Spec.Bignum.MontArithmetic.bn_mont_ctx t {Hacl.Spec.Bignum.MontArithmetic.bn_mont_ctx_inv k}
-> Hacl.Spec.Bignum.bn_len t | Prims.Tot | [
"total"
] | [] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Hacl.Spec.Bignum.MontArithmetic.bn_mont_ctx",
"Hacl.Spec.Bignum.MontArithmetic.bn_mont_ctx_inv",
"Hacl.Spec.Bignum.MontArithmetic.__proj__Mkbn_mont_ctx__item__len",
"Hacl.Spec.Bignum.bn_len"
] | [] | false | false | false | false | false | let bn_field_get_len #t k =
| k.len | false |
LowParseWriters.LowParse.fsti | LowParseWriters.LowParse.parse_empty | val parse_empty:parser | val parse_empty:parser | let parse_empty : parser = Parser unit parse_empty' | {
"file_name": "examples/layeredeffects/LowParseWriters.LowParse.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 51,
"end_line": 78,
"start_col": 0,
"start_line": 78
} | module LowParseWriters.LowParse
module HS = FStar.HyperStack
module B = LowStar.Buffer
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module HST = FStar.HyperStack.ST
type u8 : Type0 = U8.t
val parser' (t: Type0) : Type u#1
inline_for_extraction
noextract
noeq
type parser =
| Parser:
t: Type ->
p: parser' t ... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.checked",
... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "HST"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParseWriters.LowParse.parser | Prims.Tot | [
"total"
] | [] | [
"LowParseWriters.LowParse.Parser",
"Prims.unit",
"LowParseWriters.LowParse.parse_empty'"
] | [] | false | false | false | true | false | let parse_empty:parser =
| Parser unit parse_empty' | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.as_normal_t | val as_normal_t (#a: Type) (x: a) : normal a | val as_normal_t (#a: Type) (x: a) : normal a | let as_normal_t (#a:Type) (x:a) : normal a = x | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 46,
"end_line": 15,
"start_col": 0,
"start_line": 15
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: a -> Vale.Interop.Base.normal a | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.normal"
] | [] | false | false | false | true | false | let as_normal_t (#a: Type) (x: a) : normal a =
| x | false |
LowParseWriters.LowParse.fsti | LowParseWriters.LowParse.parse_pair | val parse_pair (p1 p2: parser) : Tot parser | val parse_pair (p1 p2: parser) : Tot parser | let parse_pair (p1 p2: parser) : Tot parser = Parser (Parser?.t p1 & Parser?.t p2) (parse_pair' (Parser?.p p1) (Parser?.p p2)) | {
"file_name": "examples/layeredeffects/LowParseWriters.LowParse.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 126,
"end_line": 100,
"start_col": 0,
"start_line": 100
} | module LowParseWriters.LowParse
module HS = FStar.HyperStack
module B = LowStar.Buffer
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module HST = FStar.HyperStack.ST
type u8 : Type0 = U8.t
val parser' (t: Type0) : Type u#1
inline_for_extraction
noextract
noeq
type parser =
| Parser:
t: Type ->
p: parser' t ... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.checked",
... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "HST"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": ... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | p1: LowParseWriters.LowParse.parser -> p2: LowParseWriters.LowParse.parser
-> LowParseWriters.LowParse.parser | Prims.Tot | [
"total"
] | [] | [
"LowParseWriters.LowParse.parser",
"LowParseWriters.LowParse.Parser",
"FStar.Pervasives.Native.tuple2",
"LowParseWriters.LowParse.__proj__Parser__item__t",
"LowParseWriters.LowParse.parse_pair'",
"LowParseWriters.LowParse.__proj__Parser__item__p"
] | [] | false | false | false | true | false | let parse_pair (p1 p2: parser) : Tot parser =
| Parser (Parser?.t p1 & Parser?.t p2) (parse_pair' (Parser?.p p1) (Parser?.p p2)) | false |
Pulse.Show.fst | Pulse.Show.showable_option | [@@ FStar.Tactics.Typeclasses.tcinstance]
val showable_option: a: Type -> tac_showable a -> tac_showable (option a) | [@@ FStar.Tactics.Typeclasses.tcinstance]
val showable_option: a: Type -> tac_showable a -> tac_showable (option a) | instance showable_option (a:Type) (_ : tac_showable a) : tac_showable (option a) = {
show = (function None -> "None"
| Some v -> "Some " ^ show v);
} | {
"file_name": "lib/steel/pulse/Pulse.Show.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 48,
"start_col": 0,
"start_line": 45
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.Printer.fsti.checked",
"Pulse.Syntax.Base.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.Typeclasses.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file":... | [
{
"abbrev": false,
"full_module": "Pulse.Syntax.Printer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Type -> _: Pulse.Show.tac_showable a
-> Pulse.Show.tac_showable (FStar.Pervasives.Native.option a) | Prims.Tot | [
"total"
] | [] | [
"Pulse.Show.tac_showable",
"Pulse.Show.Mktac_showable",
"FStar.Pervasives.Native.option",
"Prims.string",
"Prims.op_Hat",
"Pulse.Show.show"
] | [] | false | false | false | true | false | [@@ FStar.Tactics.Typeclasses.tcinstance]
let showable_option (a: Type) (_: tac_showable a) : tac_showable (option a) =
| {
show
=
(function
| None -> "None"
| Some v -> "Some " ^ show v)
} | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.as_t | val as_t (#a: Type) (x: normal a) : a | val as_t (#a: Type) (x: normal a) : a | let as_t (#a:Type) (x:normal a) : a = x | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 39,
"end_line": 14,
"start_col": 0,
"start_line": 14
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.Machine_s",
"short_module": "MS"
},
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": true,
"full_module": "Vale.AsLowStar.Wrapper",
"short_module": "W"
},
{
"abbrev": true,
"full_... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Interop.Base.normal a -> a | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.normal"
] | [] | false | false | false | true | false | let as_t (#a: Type) (x: normal a) : a =
| x | false |
Vale.AsLowStar.Test.fst | Vale.AsLowStar.Test.lowstar_Memcpy_t | val lowstar_Memcpy_t : Type0 | let lowstar_Memcpy_t =
IX64.as_lowstar_sig_t_weak_stdcall
code_Memcpy
vm_dom
[]
_
_
(W.mk_prediction code_Memcpy vm_dom [] (vm_lemma code_Memcpy IA.win)) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.Test.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 121,
"start_col": 0,
"start_line": 114
} | module Vale.AsLowStar.Test
open FStar.Mul
open Vale.Interop.Base
module ME = Vale.X64.Memory
module IA = Vale.Interop.Assumptions
module V = Vale.X64.Decls
module IX64 = Vale.Interop.X64
module VSig = Vale.AsLowStar.ValeSig
module LSig = Vale.AsLowStar.LowStarSig
module W = Vale.AsLowStar.Wrapper
module VS = Vale.X64.S... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Test.X64.Vale_memcpy.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Test.X64.Vale_memcpy",
"short_module": "VM"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.X64.as_lowstar_sig_t_weak_stdcall",
"Vale.AsLowStar.Test.code_Memcpy",
"Vale.AsLowStar.Test.vm_dom",
"Prims.Nil",
"Vale.Interop.Base.arg",
"Vale.AsLowStar.Wrapper.pre_rel_generic",
"Vale.Interop.X64.max_stdcall",
"Vale.Interop.X64.arg_reg_stdcall",
"Vale.AsLowStar.Test.vm_pre",
"Vale... | [] | false | false | false | true | true | let lowstar_Memcpy_t =
| IX64.as_lowstar_sig_t_weak_stdcall code_Memcpy
vm_dom
[]
_
_
(W.mk_prediction code_Memcpy vm_dom [] (vm_lemma code_Memcpy IA.win)) | false | |
Steel.Effect.M.fst | Steel.Effect.M.lift_ens_x | val lift_ens_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: _)
(ens: (x: a -> ens_t u#b (pre x) b post))
(x: U.raise_t u#a u#b a)
: ens_t u#(max a b) ((lift_post pre) x) (U.raise_t b) (lift_post post) | val lift_ens_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: _)
(ens: (x: a -> ens_t u#b (pre x) b post))
(x: U.raise_t u#a u#b a)
: ens_t u#(max a b) ((lift_post pre) x) (U.raise_t b) (lift_post post) | let lift_ens_x (#a:Type u#a) (#pre:a -> slprop)
(#b:Type u#b) (#post:_)
(ens:(x:a -> ens_t u#b (pre x) b post))
: x:U.raise_t u#a u#b a ->
ens_t u#(max a b) ((lift_post pre) x) (U.raise_t b) (lift_post post)
= fun x -> (fun m0 y m1 -> (ens (U.downgrade_val x)) m0 (U.downgrade_val y) m1) | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 79,
"end_line": 201,
"start_col": 0,
"start_line": 196
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ens: (x: a -> Steel.Effect.M.ens_t (pre x) b post) -> x: FStar.Universe.raise_t a
-> Steel.Effect.M.ens_t (Steel.Effect.M.lift_post pre x)
(FStar.Universe.raise_t b)
(Steel.Effect.M.lift_post post) | Prims.Tot | [
"total"
] | [] | [
"Steel.Memory.slprop",
"Steel.Effect.M.post_t",
"Steel.Effect.M.ens_t",
"FStar.Universe.raise_t",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Instantiate.state",
"FStar.Universe.downgrade_val",
"Prims.prop",
"Steel.Effect.M.lift_post"
] | [] | false | false | false | false | false | let lift_ens_x
(#a: Type u#a)
(#pre: (a -> slprop))
(#b: Type u#b)
(#post: _)
(ens: (x: a -> ens_t u#b (pre x) b post))
(x: U.raise_t u#a u#b a)
: ens_t u#(max a b) ((lift_post pre) x) (U.raise_t b) (lift_post post) =
| fun x -> (fun m0 y m1 -> (ens (U.downgrade_val x)) m0 (U.downgrade_val y) m1) | false |
Steel.Effect.M.fst | Steel.Effect.M.lift_ens | val lift_ens (#pre #a #post: _) (ens: ens_t u#a pre a post)
: ens_t u#(max a b) pre (U.raise_t a) (lift_post post) | val lift_ens (#pre #a #post: _) (ens: ens_t u#a pre a post)
: ens_t u#(max a b) pre (U.raise_t a) (lift_post post) | let lift_ens #pre #a #post (ens:ens_t u#a pre a post)
: ens_t u#(max a b) pre (U.raise_t a) (lift_post post)
= fun m0 x m1 -> ens m0 (U.downgrade_val x) m1 | {
"file_name": "lib/steel/Steel.Effect.M.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 46,
"end_line": 190,
"start_col": 0,
"start_line": 188
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Semantics.Instantiate.fsti.checked",
"Steel.Semantics.Hoare.MST.fst.checked",
"Steel.Memory.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Perv... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ens: Steel.Effect.M.ens_t pre a post
-> Steel.Effect.M.ens_t pre (FStar.Universe.raise_t a) (Steel.Effect.M.lift_post post) | Prims.Tot | [
"total"
] | [] | [
"Steel.Effect.M.pre_t",
"Steel.Effect.M.post_t",
"Steel.Effect.M.ens_t",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Instantiate.state",
"FStar.Universe.raise_t",
"FStar.Universe.downgrade_val",
"Prims.prop",
"Steel.Effect.M.lift_post"
] | [] | false | false | false | false | false | let lift_ens #pre #a #post (ens: ens_t u#a pre a post)
: ens_t u#(max a b) pre (U.raise_t a) (lift_post post) =
| fun m0 x m1 -> ens m0 (U.downgrade_val x) m1 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.