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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DPE.Messages.Spec.fst | DPE.Messages.Spec.seal_new_context_handle | val seal_new_context_handle : FStar.UInt64.t | let seal_new_context_handle = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 33,
"end_line": 663,
"start_col": 0,
"start_line": 663
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let seal_new_context_handle =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.seal_sealed_data | val seal_sealed_data : FStar.UInt64.t | let seal_sealed_data = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 26,
"end_line": 661,
"start_col": 0,
"start_line": 661
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let seal_sealed_data =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_label | val unseal_label : FStar.UInt64.t | let unseal_label = 4uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 22,
"end_line": 687,
"start_col": 0,
"start_line": 687
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_label =
| 4uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_retain_context | val unseal_retain_context : FStar.UInt64.t | let unseal_retain_context = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 31,
"end_line": 683,
"start_col": 0,
"start_line": 683
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_retain_context =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_context_handle | val unseal_context_handle : FStar.UInt64.t | let unseal_context_handle = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 31,
"end_line": 681,
"start_col": 0,
"start_line": 681
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_context_handle =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_is_asymmetric | val unseal_is_asymmetric : FStar.UInt64.t | let unseal_is_asymmetric = 3uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 685,
"start_col": 0,
"start_line": 685
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_is_asymmetric =
| 3uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_input_args | val unseal_input_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let unseal_input_args = Cddl.t_map unseal_input_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 74,
"end_line": 705,
"start_col": 16,
"start_line": 705
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.unseal_input_args_group"
] | [] | false | false | false | true | false | let unseal_input_args =
| Cddl.t_map unseal_input_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_data_to_unseal | val unseal_data_to_unseal : FStar.UInt64.t | let unseal_data_to_unseal = 5uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 31,
"end_line": 689,
"start_col": 0,
"start_line": 689
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_data_to_unseal =
| 5uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_unseal_policy | val derive_sealing_unseal_policy : FStar.UInt64.t | let derive_sealing_unseal_policy = 3uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 38,
"end_line": 732,
"start_col": 0,
"start_line": 732
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_unseal_policy =
| 3uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_input_args_group | val unseal_input_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let unseal_input_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal unseal_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal unseal_retain_context `Cddl.MapGroupEntry` Cddl.t_bool) false (
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_litera... | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 5,
"end_line": 698,
"start_col": 0,
"start_line": 691
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.unseal_context_handle",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.unseal_retain_context",
"CDDL.Spec.t_bool",
"DPE.Messages.... | [] | false | false | false | true | false | let unseal_input_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry (Cddl.t_uint_literal unseal_context_handle)
Cddl.bytes)
false
(Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry (Cddl.t_uint_literal unseal_retain_context)
Cddl.t_bool)
false
(Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
... | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_output_args_group | val unseal_output_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let unseal_output_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal unseal_unsealed_data `Cddl.MapGroupEntry` Cddl.bytes) false (
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal unseal_new_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
default_args_group
)) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 2,
"end_line": 716,
"start_col": 0,
"start_line": 712
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.unseal_unsealed_data",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.unseal_new_context_handle",
"DPE.Messages.Spec.default_args_g... | [] | false | false | false | true | false | let unseal_output_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry (Cddl.t_uint_literal unseal_unsealed_data)
Cddl.bytes)
false
(Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal unseal_new_context_handle) Cddl.bytes)
false
(default_args_group)) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_unsealed_data | val unseal_unsealed_data : FStar.UInt64.t | let unseal_unsealed_data = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 708,
"start_col": 0,
"start_line": 708
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_unsealed_data =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_retain_context | val derive_sealing_retain_context : FStar.UInt64.t | let derive_sealing_retain_context = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 39,
"end_line": 730,
"start_col": 0,
"start_line": 730
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_retain_context =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_label | val derive_sealing_label : FStar.UInt64.t | let derive_sealing_label = 4uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 734,
"start_col": 0,
"start_line": 734
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_label =
| 4uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_output_args | val unseal_output_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let unseal_output_args = Cddl.t_map unseal_output_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 77,
"end_line": 723,
"start_col": 17,
"start_line": 723
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.unseal_output_args_group"
] | [] | false | false | false | true | false | let unseal_output_args =
| Cddl.t_map unseal_output_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_context_handle | val derive_sealing_context_handle : FStar.UInt64.t | let derive_sealing_context_handle = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 39,
"end_line": 728,
"start_col": 0,
"start_line": 728
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_context_handle =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.unseal_new_context_handle | val unseal_new_context_handle : FStar.UInt64.t | let unseal_new_context_handle = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 35,
"end_line": 710,
"start_col": 0,
"start_line": 710
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let unseal_new_context_handle =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_input_args_group | val derive_sealing_input_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let derive_sealing_input_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal derive_sealing_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal derive_sealing_retain_context `Cddl.MapGroupEntry` Cddl.t_bool) false (
Cddl.map_group_cons_zero_or... | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 4,
"end_line": 742,
"start_col": 0,
"start_line": 736
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.derive_sealing_context_handle",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.derive_sealing_retain_context",
"CDDL.Spec.t_bool",
... | [] | false | false | false | true | false | let derive_sealing_input_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal derive_sealing_context_handle) Cddl.bytes)
false
(Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal derive_sealing_retain_context) Cddl.t_bool)
false
(Cddl.map_group_cons_zero_or_one (Cddl.Map... | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_input_args | val derive_sealing_input_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let derive_sealing_input_args = Cddl.t_map derive_sealing_input_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 90,
"end_line": 749,
"start_col": 16,
"start_line": 749
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.derive_sealing_input_args_group"
] | [] | false | false | false | true | false | let derive_sealing_input_args =
| Cddl.t_map derive_sealing_input_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_derived_public_key | val derive_sealing_derived_public_key : FStar.UInt64.t | let derive_sealing_derived_public_key = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 43,
"end_line": 752,
"start_col": 0,
"start_line": 752
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_derived_public_key =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_input_args | val rotate_context_handle_input_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let rotate_context_handle_input_args = Cddl.t_map rotate_context_handle_input_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 104,
"end_line": 784,
"start_col": 16,
"start_line": 784
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.rotate_context_handle_input_args_group"
] | [] | false | false | false | true | false | let rotate_context_handle_input_args =
| Cddl.t_map rotate_context_handle_input_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_output_args | val derive_sealing_output_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let derive_sealing_output_args = Cddl.t_map derive_sealing_output_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 93,
"end_line": 767,
"start_col": 17,
"start_line": 767
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.derive_sealing_output_args_group"
] | [] | false | false | false | true | false | let derive_sealing_output_args =
| Cddl.t_map derive_sealing_output_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_context_handle | val rotate_context_handle_context_handle : FStar.UInt64.t | let rotate_context_handle_context_handle = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 46,
"end_line": 772,
"start_col": 0,
"start_line": 772
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let rotate_context_handle_context_handle =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_new_context_handle | val derive_sealing_new_context_handle : FStar.UInt64.t | let derive_sealing_new_context_handle = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 43,
"end_line": 754,
"start_col": 0,
"start_line": 754
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let derive_sealing_new_context_handle =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_input_args_group | val rotate_context_handle_input_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let rotate_context_handle_input_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal rotate_context_handle_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
default_args_group
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 777,
"start_col": 0,
"start_line": 774
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.rotate_context_handle_context_handle",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let rotate_context_handle_input_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal rotate_context_handle_context_handle) Cddl.bytes)
false
(default_args_group) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_output_args | val rotate_context_handle_output_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let rotate_context_handle_output_args = Cddl.t_map rotate_context_handle_output_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 107,
"end_line": 799,
"start_col": 17,
"start_line": 799
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.rotate_context_handle_output_args_group"
] | [] | false | false | false | true | false | let rotate_context_handle_output_args =
| Cddl.t_map rotate_context_handle_output_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.destroy_context_input_args | val destroy_context_input_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let destroy_context_input_args = Cddl.t_map destroy_context_input_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 92,
"end_line": 816,
"start_col": 16,
"start_line": 816
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.destroy_context_input_args_group"
] | [] | false | false | false | true | false | let destroy_context_input_args =
| Cddl.t_map destroy_context_input_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_output_args_group | val rotate_context_handle_output_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let rotate_context_handle_output_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal rotate_context_handle_new_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
default_args_group
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 792,
"start_col": 0,
"start_line": 789
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.rotate_context_handle_new_context_handle",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let rotate_context_handle_output_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal rotate_context_handle_new_context_handle) Cddl.bytes)
false
(default_args_group) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.rotate_context_handle_new_context_handle | val rotate_context_handle_new_context_handle : FStar.UInt64.t | let rotate_context_handle_new_context_handle = 2uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 50,
"end_line": 787,
"start_col": 0,
"start_line": 787
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let rotate_context_handle_new_context_handle =
| 2uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.destroy_context_context_handle | val destroy_context_context_handle : FStar.UInt64.t | let destroy_context_context_handle = 1uL | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 40,
"end_line": 804,
"start_col": 0,
"start_line": 804
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.UInt64.t | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.__uint_to_t"
] | [] | false | false | false | true | false | let destroy_context_context_handle =
| 1uL | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.derive_sealing_output_args_group | val derive_sealing_output_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let derive_sealing_output_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal derive_sealing_derived_public_key `Cddl.MapGroupEntry` Cddl.bytes) false (
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal derive_sealing_new_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
default_args_group
... | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 2,
"end_line": 760,
"start_col": 0,
"start_line": 756
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.derive_sealing_derived_public_key",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.derive_sealing_new_context_handle",
"DPE.Message... | [] | false | false | false | true | false | let derive_sealing_output_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal derive_sealing_derived_public_key) Cddl.bytes)
false
(Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal derive_sealing_new_context_handle) Cddl.bytes)
false
(default_args_group)) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.destroy_context_input_args_group | val destroy_context_input_args_group : CDDL.Spec.map_group FStar.Pervasives.Native.None | let destroy_context_input_args_group =
Cddl.map_group_cons_zero_or_one (Cddl.t_uint_literal destroy_context_context_handle `Cddl.MapGroupEntry` Cddl.bytes) false (
default_args_group
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 809,
"start_col": 0,
"start_line": 806
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.map_group FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.map_group_cons_zero_or_one",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.MapGroupEntry",
"CDDL.Spec.t_uint_literal",
"DPE.Messages.Spec.destroy_context_context_handle",
"CDDL.Spec.bytes",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let destroy_context_input_args_group =
| Cddl.map_group_cons_zero_or_one (Cddl.MapGroupEntry
(Cddl.t_uint_literal destroy_context_context_handle) Cddl.bytes)
false
(default_args_group) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.create_choice_from | val create_choice_from (attr: T.term) : T.Tac unit | val create_choice_from (attr: T.term) : T.Tac unit | let create_choice_from (attr: T.term) : T.Tac unit =
T.exact (t_create_choice_from_gen attr (fun accu t ->
T.mk_e_app (`Cddl.t_choice) [
t;
accu;
]
)) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 4,
"end_line": 829,
"start_col": 0,
"start_line": 823
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | attr: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Stubs.Reflection.Types.term",
"FStar.Tactics.V1.Derived.exact",
"Prims.unit",
"DPE.Messages.Spec.t_create_choice_from_gen",
"FStar.Reflection.V1.Derived.mk_e_app",
"Prims.Cons",
"Prims.Nil"
] | [] | false | true | false | false | false | let create_choice_from (attr: T.term) : T.Tac unit =
| T.exact (t_create_choice_from_gen attr (fun accu t -> T.mk_e_app (`Cddl.t_choice) [t; accu])) | false |
DPE.Messages.Spec.fst | DPE.Messages.Spec.output_args | val output_args:Cddl.typ | val output_args:Cddl.typ | let output_args : Cddl.typ = _ by (create_choice_from (`_output_args)) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 70,
"end_line": 832,
"start_col": 0,
"start_line": 832
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.typ | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_choice",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.get_profile_output_args",
"DPE.Messages.Spec.open_session_output_args",
"DPE.Messages.Spec.close_session_output_args",
"DPE.Messages.Spec.sync_session_output_args",
"DPE.Messages.Spec.export_sessio... | [] | false | false | false | true | false | let output_args:Cddl.typ =
| FStar.Tactics.Effect.synth_by_tactic (fun _ -> (create_choice_from (`_output_args))) | false |
DPE.Messages.Spec.fst | DPE.Messages.Spec.response_message' | val response_message' : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let response_message' = Cddl.t_array3 (
Cddl.array_group3_item error_code `Cddl.array_group3_concat`
Cddl.array_group3_item (Cddl.t_map default_args_group)
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 863,
"start_col": 0,
"start_line": 860
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_array3",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.array_group3_concat",
"CDDL.Spec.array_group3_item",
"DPE.Messages.Spec.error_code",
"CDDL.Spec.t_map",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let response_message' =
| Cddl.t_array3 ((Cddl.array_group3_item error_code)
`Cddl.array_group3_concat`
(Cddl.array_group3_item (Cddl.t_map default_args_group))) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.destroy_context_output_args | val destroy_context_output_args : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let destroy_context_output_args = Cddl.t_map default_args_group | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 80,
"end_line": 818,
"start_col": 17,
"start_line": 818
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_map",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let destroy_context_output_args =
| Cddl.t_map default_args_group | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.command_message | val command_message : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let command_message = Cddl.t_array3 (
Cddl.array_group3_item (* command_id *) command_id `Cddl.array_group3_concat`
Cddl.array_group3_item (* input_args *) input_args
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 843,
"start_col": 0,
"start_line": 840
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_array3",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.array_group3_concat",
"CDDL.Spec.array_group3_item",
"DPE.Messages.Spec.command_id",
"DPE.Messages.Spec.input_args"
] | [] | false | false | false | true | false | let command_message =
| Cddl.t_array3 ((Cddl.array_group3_item command_id)
`Cddl.array_group3_concat`
(Cddl.array_group3_item input_args)) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.input_args | val input_args:Cddl.typ | val input_args:Cddl.typ | let input_args : Cddl.typ = _ by (create_choice_from (`_input_args)) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 68,
"end_line": 831,
"start_col": 0,
"start_line": 831
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.typ | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_choice",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"DPE.Messages.Spec.get_profile_input_args",
"DPE.Messages.Spec.open_session_input_args",
"DPE.Messages.Spec.close_session_input_args",
"DPE.Messages.Spec.sync_session_input_args",
"DPE.Messages.Spec.export_session_in... | [] | false | false | false | true | false | let input_args:Cddl.typ =
| FStar.Tactics.Effect.synth_by_tactic (fun _ -> (create_choice_from (`_input_args))) | false |
DPE.Messages.Spec.fst | DPE.Messages.Spec.command_message' | val command_message' : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let command_message' = Cddl.t_array3 (
Cddl.array_group3_item command_id `Cddl.array_group3_concat`
Cddl.array_group3_item (Cddl.t_map default_args_group)
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 848,
"start_col": 0,
"start_line": 845
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_array3",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.array_group3_concat",
"CDDL.Spec.array_group3_item",
"DPE.Messages.Spec.command_id",
"CDDL.Spec.t_map",
"DPE.Messages.Spec.default_args_group"
] | [] | false | false | false | true | false | let command_message' =
| Cddl.t_array3 ((Cddl.array_group3_item command_id)
`Cddl.array_group3_concat`
(Cddl.array_group3_item (Cddl.t_map default_args_group))) | false | |
DPE.Messages.Spec.fst | DPE.Messages.Spec.response_message | val response_message : CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | let response_message = Cddl.t_array3 (
Cddl.array_group3_item (* error_code *) error_code `Cddl.array_group3_concat`
Cddl.array_group3_item (* output_args *) output_args
) | {
"file_name": "share/steel/examples/pulse/dice/dpe/DPE.Messages.Spec.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 858,
"start_col": 0,
"start_line": 855
} | (*
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": [
"prims.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked",
"CDDL.Spec.fsti.checked",
"CBOR.Spec.fsti.checked"
],
"interfa... | [
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "CBOR.Sp... | {
"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 | CDDL.Spec.bounded_typ_gen FStar.Pervasives.Native.None | Prims.Tot | [
"total"
] | [] | [
"CDDL.Spec.t_array3",
"FStar.Pervasives.Native.None",
"CBOR.Spec.Type.raw_data_item",
"CDDL.Spec.array_group3_concat",
"CDDL.Spec.array_group3_item",
"DPE.Messages.Spec.error_code",
"DPE.Messages.Spec.output_args"
] | [] | false | false | false | true | false | let response_message =
| Cddl.t_array3 ((Cddl.array_group3_item error_code)
`Cddl.array_group3_concat`
(Cddl.array_group3_item output_args)) | false | |
Steel.Reference.fst | Steel.Reference.null | val null (#a:Type0) : ref a | val null (#a:Type0) : ref a | let null #a = H.null #(U.raise_t a) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 35,
"end_line": 31,
"start_col": 0,
"start_line": 31
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | Steel.Reference.ref a | Prims.Tot | [
"total"
] | [] | [
"Steel.HigherReference.null",
"FStar.Universe.raise_t",
"Steel.Reference.ref"
] | [] | false | false | false | true | false | let null #a =
| H.null #(U.raise_t a) | false |
Steel.Reference.fst | Steel.Reference.ref | val ref ([@@@unused] a:Type0) : Type0 | val ref ([@@@unused] a:Type0) : Type0 | let ref a = H.ref (U.raise_t a) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 31,
"end_line": 29,
"start_col": 0,
"start_line": 29
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | a: Type0 -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Steel.HigherReference.ref",
"FStar.Universe.raise_t"
] | [] | false | false | false | true | true | let ref a =
| H.ref (U.raise_t a) | false |
Steel.Reference.fst | Steel.Reference.pts_to_sl | val pts_to_sl (#a:Type0) (r:ref a) (p:perm) (v:a) : slprop u#1 | val pts_to_sl (#a:Type0) (r:ref a) (p:perm) (v:a) : slprop u#1 | let pts_to_sl r p v = H.pts_to_sl r p (U.raise_val v) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 53,
"end_line": 34,
"start_col": 0,
"start_line": 34
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Memory.slprop | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.HigherReference.pts_to_sl",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Steel.Memory.slprop"
] | [] | false | false | false | true | false | let pts_to_sl r p v =
| H.pts_to_sl r p (U.raise_val v) | false |
Steel.Reference.fst | Steel.Reference.raise_val_inj | val raise_val_inj (#a:Type) (x y:a) : Lemma
(requires U.raise_val x == U.raise_val y)
(ensures x == y) | val raise_val_inj (#a:Type) (x y:a) : Lemma
(requires U.raise_val x == U.raise_val y)
(ensures x == y) | let raise_val_inj x y =
U.downgrade_val_raise_val x;
U.downgrade_val_raise_val y | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 29,
"end_line": 42,
"start_col": 0,
"start_line": 40
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | x: a -> y: a
-> FStar.Pervasives.Lemma (requires FStar.Universe.raise_val x == FStar.Universe.raise_val y)
(ensures x == y) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Universe.downgrade_val_raise_val",
"Prims.unit"
] | [] | true | false | true | false | false | let raise_val_inj x y =
| U.downgrade_val_raise_val x;
U.downgrade_val_raise_val y | false |
Steel.Reference.fst | Steel.Reference.pts_to_witinv | val pts_to_witinv (#a:Type) (r:ref a) (p:perm) : Lemma (is_witness_invariant (pts_to_sl r p)) | val pts_to_witinv (#a:Type) (r:ref a) (p:perm) : Lemma (is_witness_invariant (pts_to_sl r p)) | let pts_to_witinv (#a:Type) (r:ref a) (p:perm) : Lemma (is_witness_invariant (pts_to_sl r p)) =
let aux (x y : a) (m:mem)
: Lemma (requires (interp (pts_to_sl r p x) m /\ interp (pts_to_sl r p y) m))
(ensures (x == y))
= H.pts_to_witinv r p;
raise_val_inj x y
in
Classical.forall_intro_3... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 73,
"end_line": 88,
"start_col": 0,
"start_line": 81
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm
-> FStar.Pervasives.Lemma
(ensures Steel.Memory.is_witness_invariant (Steel.Reference.pts_to_sl r p)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"FStar.Classical.forall_intro_3",
"Steel.Memory.mem",
"Prims.l_imp",
"Prims.l_and",
"Steel.Memory.interp",
"Steel.Reference.pts_to_sl",
"Prims.eq2",
"FStar.Classical.move_requires",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Pri... | [] | false | false | true | false | false | let pts_to_witinv (#a: Type) (r: ref a) (p: perm) : Lemma (is_witness_invariant (pts_to_sl r p)) =
| let aux (x y: a) (m: mem)
: Lemma (requires (interp (pts_to_sl r p x) m /\ interp (pts_to_sl r p y) m)) (ensures (x == y))
=
H.pts_to_witinv r p;
raise_val_inj x y
in
Classical.forall_intro_3 (fun x y -> Classical.move_requires (aux x y)) | false |
Steel.Reference.fst | Steel.Reference.hide_raise_reveal | val hide_raise_reveal (#a: Type) (v0 v1: erased a)
: Lemma (hide (U.raise_val (reveal v0)) == hide (U.raise_val (reveal v1)) <==> v0 == v1)
[SMTPat (hide (U.raise_val (reveal v0))); SMTPat (hide (U.raise_val (reveal v1)))] | val hide_raise_reveal (#a: Type) (v0 v1: erased a)
: Lemma (hide (U.raise_val (reveal v0)) == hide (U.raise_val (reveal v1)) <==> v0 == v1)
[SMTPat (hide (U.raise_val (reveal v0))); SMTPat (hide (U.raise_val (reveal v1)))] | let hide_raise_reveal (#a:Type) (v0:erased a) (v1:erased a)
: Lemma (hide (U.raise_val (reveal v0)) == hide (U.raise_val (reveal v1)) <==>
v0 == v1)
[SMTPat (hide (U.raise_val (reveal v0)));
SMTPat (hide (U.raise_val (reveal v1)))]
= let u0 = hide (U.raise_val (reveal v0)) in
l... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 158,
"start_col": 0,
"start_line": 150
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | v0: FStar.Ghost.erased a -> v1: FStar.Ghost.erased a
-> FStar.Pervasives.Lemma
(ensures
FStar.Ghost.hide (FStar.Universe.raise_val (FStar.Ghost.reveal v0)) ==
FStar.Ghost.hide (FStar.Universe.raise_val (FStar.Ghost.reveal v1)) <==>
v0 == v1)
[
SMTPat (FStar.Ghost.hide (FSta... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Ghost.erased",
"Prims._assert",
"Prims.l_iff",
"Prims.eq2",
"FStar.Universe.downgrade_val",
"FStar.Universe.raise_val",
"FStar.Ghost.reveal",
"FStar.Universe.raise_t",
"FStar.Ghost.hide",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FSta... | [] | true | false | true | false | false | let hide_raise_reveal (#a: Type) (v0 v1: erased a)
: Lemma (hide (U.raise_val (reveal v0)) == hide (U.raise_val (reveal v1)) <==> v0 == v1)
[SMTPat (hide (U.raise_val (reveal v0))); SMTPat (hide (U.raise_val (reveal v1)))] =
| let u0 = hide (U.raise_val (reveal v0)) in
let u1 = hide (U.raise_val (reveal v1)) in
assert (U.downgrade_val (U.raise_val (reveal v0)) == U.downgrade_val (U.raise_val (reveal v1)) <==>
v0 == v1) | false |
Steel.Reference.fst | Steel.Reference.pts_to_ref_injective | val pts_to_ref_injective
(#a: Type u#0)
(r: ref a)
(p0 p1:perm)
(v0 v1:a)
(m:mem)
: Lemma
(requires
interp (pts_to_sl r p0 v0 `Mem.star` pts_to_sl r p1 v1) m)
(ensures v0 == v1) | val pts_to_ref_injective
(#a: Type u#0)
(r: ref a)
(p0 p1:perm)
(v0 v1:a)
(m:mem)
: Lemma
(requires
interp (pts_to_sl r p0 v0 `Mem.star` pts_to_sl r p1 v1) m)
(ensures v0 == v1) | let pts_to_ref_injective
(#a: Type u#0)
(r: ref a)
(p0 p1:perm)
(v0 v1:a)
(m:mem)
: Lemma
(requires
interp (pts_to_sl r p0 v0 `Mem.star` pts_to_sl r p1 v1) m)
(ensures v0 == v1)
= let v0' = U.raise_val v0 in
let v1' = U.raise_val v1 in
H.pts_to_ref_i... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 25,
"end_line": 58,
"start_col": 0,
"start_line": 45
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 |
r: Steel.Reference.ref a ->
p0: Steel.FractionalPermission.perm ->
p1: Steel.FractionalPermission.perm ->
v0: a ->
v1: a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires
Steel.Memory.interp (Steel.Memory.star (Steel.Reference.pts_to_sl r p0 v0)
(Steel.Ref... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.mem",
"Steel.Reference.raise_val_inj",
"Prims.unit",
"Steel.HigherReference.pts_to_ref_injective",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Steel.Memory.interp",
"Steel.Memory.star",
"Steel.Reference.pts_to_sl"... | [] | true | false | true | false | false | let pts_to_ref_injective (#a: Type u#0) (r: ref a) (p0 p1: perm) (v0 v1: a) (m: mem)
: Lemma (requires interp ((pts_to_sl r p0 v0) `Mem.star` (pts_to_sl r p1 v1)) m)
(ensures v0 == v1) =
| let v0' = U.raise_val v0 in
let v1' = U.raise_val v1 in
H.pts_to_ref_injective r p0 p1 v0' v1' m;
raise_val_inj v0 v1 | false |
Steel.Reference.fst | Steel.Reference.is_null | val is_null (#a:Type0) (r:ref a) : (b:bool{b <==> r == null}) | val is_null (#a:Type0) (r:ref a) : (b:bool{b <==> r == null}) | let is_null #a r = H.is_null #(U.raise_t a) r | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 45,
"end_line": 32,
"start_col": 0,
"start_line": 32
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> b: Prims.bool{b <==> r == Steel.Reference.null} | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ref",
"Steel.HigherReference.is_null",
"FStar.Universe.raise_t",
"Prims.bool",
"Prims.l_iff",
"Prims.b2t",
"Prims.eq2",
"Steel.Reference.null"
] | [] | false | false | false | false | false | let is_null #a r =
| H.is_null #(U.raise_t a) r | false |
Steel.Reference.fst | Steel.Reference.raise_equiv | val raise_equiv (#t: Type) (x y: t) : Lemma (U.raise_val x == U.raise_val y <==> x == y) | val raise_equiv (#t: Type) (x y: t) : Lemma (U.raise_val x == U.raise_val y <==> x == y) | let raise_equiv (#t:Type) (x y:t)
: Lemma (U.raise_val x == U.raise_val y <==>
x == y)
= assert (U.downgrade_val (U.raise_val x) == x);
assert (U.downgrade_val (U.raise_val y) == y) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 49,
"end_line": 173,
"start_col": 0,
"start_line": 169
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | x: t -> y: t
-> FStar.Pervasives.Lemma
(ensures FStar.Universe.raise_val x == FStar.Universe.raise_val y <==> x == y) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims._assert",
"Prims.eq2",
"FStar.Universe.downgrade_val",
"FStar.Universe.raise_val",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_iff",
"FStar.Universe.raise_t",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | true | false | true | false | false | let raise_equiv (#t: Type) (x y: t) : Lemma (U.raise_val x == U.raise_val y <==> x == y) =
| assert (U.downgrade_val (U.raise_val x) == x);
assert (U.downgrade_val (U.raise_val y) == y) | false |
Steel.Reference.fst | Steel.Reference.pts_to_not_null | val pts_to_not_null (#a:Type u#0)
(x:ref a)
(p:perm)
(v:a)
(m:mem)
: Lemma (requires interp (pts_to_sl x p v) m)
(ensures x =!= null) | val pts_to_not_null (#a:Type u#0)
(x:ref a)
(p:perm)
(v:a)
(m:mem)
: Lemma (requires interp (pts_to_sl x p v) m)
(ensures x =!= null) | let pts_to_not_null (#a:Type u#0)
(x:ref a)
(p:perm)
(v:a)
(m:mem)
: Lemma (requires interp (pts_to_sl x p v) m)
(ensures x =!= null)
= let v = U.raise_val v in
H.pts_to_not_null #(U.raise_t a) x p v m | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 44,
"end_line": 68,
"start_col": 0,
"start_line": 60
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | x: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> m: Steel.Memory.mem
-> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.pts_to_sl x p v) m)
(ensures ~(x == Steel.Reference.null)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.mem",
"Steel.HigherReference.pts_to_not_null",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Prims.unit",
"Steel.Memory.interp",
"Steel.Reference.pts_to_sl",
"Prims.squash",
"Prims.l_not",
"Prims.eq2",
"Steel.Re... | [] | true | false | true | false | false | let pts_to_not_null (#a: Type u#0) (x: ref a) (p: perm) (v: a) (m: mem)
: Lemma (requires interp (pts_to_sl x p v) m) (ensures x =!= null) =
| let v = U.raise_val v in
H.pts_to_not_null #(U.raise_t a) x p v m | false |
Steel.Reference.fst | Steel.Reference.pts_to_perm | val pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ref a)
: SteelGhost unit u
(pts_to r p v)
(fun _ -> pts_to r p v)
(fun _ -> True)
(fun _ _ _ -> p `lesser_equal_perm` full_perm) | val pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ref a)
: SteelGhost unit u
(pts_to r p v)
(fun _ -> pts_to r p v)
(fun _ -> True)
(fun _ _ _ -> p `lesser_equal_perm` full_perm) | let pts_to_perm
r
= H.pts_to_perm r | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 17,
"end_line": 97,
"start_col": 0,
"start_line": 95
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> Steel.Effect.Atomic.SteelGhost Prims.unit | Steel.Effect.Atomic.SteelGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.Reference.ref",
"Steel.HigherReference.pts_to_perm",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Prims.unit"
] | [] | false | true | false | false | false | let pts_to_perm r =
| H.pts_to_perm r | false |
Steel.Reference.fst | Steel.Reference.downgrade_equiv | val downgrade_equiv (#t: Type) (x y: U.raise_t t)
: Lemma (U.downgrade_val x == U.downgrade_val y <==> x == y) | val downgrade_equiv (#t: Type) (x y: U.raise_t t)
: Lemma (U.downgrade_val x == U.downgrade_val y <==> x == y) | let downgrade_equiv (#t:Type) (x y:U.raise_t t)
: Lemma (U.downgrade_val x == U.downgrade_val y <==>
x == y)
= assert (U.raise_val (U.downgrade_val x) == x);
assert (U.raise_val (U.downgrade_val y) == y) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 49,
"end_line": 180,
"start_col": 0,
"start_line": 176
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | x: FStar.Universe.raise_t t -> y: FStar.Universe.raise_t t
-> FStar.Pervasives.Lemma
(ensures FStar.Universe.downgrade_val x == FStar.Universe.downgrade_val y <==> x == y) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Universe.raise_t",
"Prims._assert",
"Prims.eq2",
"FStar.Universe.raise_val",
"FStar.Universe.downgrade_val",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_iff",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | true | false | true | false | false | let downgrade_equiv (#t: Type) (x y: U.raise_t t)
: Lemma (U.downgrade_val x == U.downgrade_val y <==> x == y) =
| assert (U.raise_val (U.downgrade_val x) == x);
assert (U.raise_val (U.downgrade_val y) == y) | false |
Steel.Reference.fst | Steel.Reference.lift_eq | val lift_eq (#t: eqtype) (x y: U.raise_t t) : b: bool{b <==> x == y} | val lift_eq (#t: eqtype) (x y: U.raise_t t) : b: bool{b <==> x == y} | let lift_eq (#t:eqtype) (x y:U.raise_t t)
: b:bool{b <==> x==y}
= downgrade_equiv x y; U.downgrade_val x = U.downgrade_val y | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 62,
"end_line": 184,
"start_col": 0,
"start_line": 182
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | x: FStar.Universe.raise_t t -> y: FStar.Universe.raise_t t -> b: Prims.bool{b <==> x == y} | Prims.Tot | [
"total"
] | [] | [
"Prims.eqtype",
"FStar.Universe.raise_t",
"Prims.op_Equality",
"FStar.Universe.downgrade_val",
"Prims.unit",
"Steel.Reference.downgrade_equiv",
"Prims.bool",
"Prims.l_iff",
"Prims.b2t",
"Prims.eq2"
] | [] | false | false | false | false | false | let lift_eq (#t: eqtype) (x y: U.raise_t t) : b: bool{b <==> x == y} =
| downgrade_equiv x y;
U.downgrade_val x = U.downgrade_val y | false |
Steel.Reference.fst | Steel.Reference.ptrp | val ptrp (#a:Type0) (r:ref a) ([@@@smt_fallback] p: perm) : slprop u#1 | val ptrp (#a:Type0) (r:ref a) ([@@@smt_fallback] p: perm) : slprop u#1 | let ptrp r p = Mem.h_exists (pts_to_sl r p) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 43,
"end_line": 253,
"start_col": 0,
"start_line": 253
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> Steel.Memory.slprop | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.h_exists",
"Steel.Reference.pts_to_sl",
"Steel.Memory.slprop"
] | [] | false | false | false | true | false | let ptrp r p =
| Mem.h_exists (pts_to_sl r p) | false |
Steel.Reference.fst | Steel.Reference.cas_action | val cas_action
(#t: eqtype)
(#uses: inames)
(r: ref t)
(v: Ghost.erased t)
(v_old v_new: t)
(frame: slprop)
: MstTot (b: bool{b <==> (Ghost.reveal v == v_old)})
uses
(pts_to_sl r full_perm v)
(fun b -> if b then pts_to_sl r full_perm v_new else pts_to_sl r full_... | val cas_action
(#t: eqtype)
(#uses: inames)
(r: ref t)
(v: Ghost.erased t)
(v_old v_new: t)
(frame: slprop)
: MstTot (b: bool{b <==> (Ghost.reveal v == v_old)})
uses
(pts_to_sl r full_perm v)
(fun b -> if b then pts_to_sl r full_perm v_new else pts_to_sl r full_... | let cas_action (#t:eqtype)
(#uses:inames)
(r:ref t)
(v:Ghost.erased t)
(v_old:t)
(v_new:t)
(frame:slprop)
: MstTot (b:bool{b <==> (Ghost.reveal v == v_old)})
uses
(pts_to_sl r full_perm v)
(... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 6,
"end_line": 214,
"start_col": 0,
"start_line": 187
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ref t ->
v: FStar.Ghost.erased t ->
v_old: t ->
v_new: t ->
frame: Steel.Memory.slprop
-> Steel.Memory.MstTot (b: Prims.bool{b <==> FStar.Ghost.reveal v == v_old}) | Steel.Memory.MstTot | [] | [] | [
"Prims.eqtype",
"Steel.Memory.inames",
"Steel.Reference.ref",
"FStar.Ghost.erased",
"Steel.Memory.slprop",
"Prims.unit",
"Steel.Reference.raise_equiv",
"FStar.Ghost.reveal",
"Prims._assert",
"Prims.l_iff",
"Prims.b2t",
"Prims.eq2",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"P... | [] | false | true | false | false | false | let cas_action
(#t: eqtype)
(#uses: inames)
(r: ref t)
(v: Ghost.erased t)
(v_old v_new: t)
(frame: slprop)
: MstTot (b: bool{b <==> (Ghost.reveal v == v_old)})
uses
(pts_to_sl r full_perm v)
(fun b -> if b then pts_to_sl r full_perm v_new else pts_to_sl r full_... | let hv = (Ghost.hide (U.raise_val (Ghost.reveal v))) in
let b =
H.cas_action #(U.raise_t t) (lift_eq #t) #uses r hv (U.raise_val v_old) (U.raise_val v_new) frame
in
assert (b <==> (Ghost.reveal hv == U.raise_val v_old));
assert (b <==> U.raise_val (Ghost.reveal v) == U.raise_val v_old);
raise_equiv (Ghost.reveal v) v... | false |
Steel.Reference.fst | Steel.Reference.ghost_ref | val ghost_ref (a:Type u#0) : Type u#0 | val ghost_ref (a:Type u#0) : Type u#0 | let ghost_ref a = H.ghost_ref (U.raise_t a) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 43,
"end_line": 371,
"start_col": 0,
"start_line": 371
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | a: Type0 -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Steel.HigherReference.ghost_ref",
"FStar.Universe.raise_t"
] | [] | false | false | false | true | true | let ghost_ref a =
| H.ghost_ref (U.raise_t a) | false |
Steel.Reference.fst | Steel.Reference.ghost_pts_to_sl | val ghost_pts_to_sl (#a:_) (r:ghost_ref a) (p:perm) (v:a) : slprop u#1 | val ghost_pts_to_sl (#a:_) (r:ghost_ref a) (p:perm) (v:a) : slprop u#1 | let ghost_pts_to_sl #a r p x = H.ghost_pts_to_sl #(U.raise_t a) r p (U.raise_val x) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 83,
"end_line": 378,
"start_col": 0,
"start_line": 378
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Memory.slprop | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.HigherReference.ghost_pts_to_sl",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Steel.Memory.slprop"
] | [] | false | false | false | true | false | let ghost_pts_to_sl #a r p x =
| H.ghost_pts_to_sl #(U.raise_t a) r p (U.raise_val x) | false |
Steel.Reference.fst | Steel.Reference.ptr_sel' | val ptr_sel' (#a:Type0) (r: ref a) (p: perm) : selector' a (ptrp r p) | val ptr_sel' (#a:Type0) (r: ref a) (p: perm) : selector' a (ptrp r p) | let ptr_sel' #a r p = fun h -> id_elim_exists #a (pts_to_sl r p) h | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 66,
"end_line": 256,
"start_col": 0,
"start_line": 256
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm
-> Steel.Effect.Common.selector' a (Steel.Reference.ptrp r p) | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ptrp",
"FStar.Ghost.reveal",
"Steel.Memory.id_elim_exists",
"Steel.Reference.pts_to_sl"
] | [] | false | false | false | false | false | let ptr_sel' #a r p =
| fun h -> id_elim_exists #a (pts_to_sl r p) h | false |
Steel.Reference.fst | Steel.Reference.ptrp_sel | val ptrp_sel (#a:Type0) (r:ref a) (p: perm) : selector a (ptrp r p) | val ptrp_sel (#a:Type0) (r:ref a) (p: perm) : selector a (ptrp r p) | let ptrp_sel r p =
Classical.forall_intro_2 (ptr_sel_depends_only_on r p);
Classical.forall_intro (ptr_sel_depends_only_on_core r p);
ptr_sel' r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 14,
"end_line": 278,
"start_col": 0,
"start_line": 275
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm
-> Steel.Effect.Common.selector a (Steel.Reference.ptrp r p) | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Reference.ptr_sel'",
"Prims.unit",
"FStar.Classical.forall_intro",
"Steel.Memory.hmem",
"Steel.Reference.ptrp",
"Prims.eq2",
"Steel.Memory.core_mem",
"Steel.Reference.ptr_sel_depends_only_on_core",
"FStar.Classical.forall_intro_2",... | [] | false | false | false | false | false | let ptrp_sel r p =
| Classical.forall_intro_2 (ptr_sel_depends_only_on r p);
Classical.forall_intro (ptr_sel_depends_only_on_core r p);
ptr_sel' r p | false |
Steel.ST.GenElim1.fst | Steel.ST.GenElim1.compute_gen_elim_nondep_correct8 | val compute_gen_elim_nondep_correct8 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8: Type)
: Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8]) | val compute_gen_elim_nondep_correct8 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8: Type)
: Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8]) | let compute_gen_elim_nondep_correct8
(i0: gen_elim_i)
(t1 t2 t3 t4 t5 t6 t7 t8: Type)
: Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8])
= fun q post intro _ ->
intro _;
rewrite_with_trefl (gen_elim_nondep_p _ _ _) (exists_ (fun x1 -> exists_ (fun x2 -> exists_ (fun x3 -> exists_ ... | {
"file_name": "lib/steel/Steel.ST.GenElim1.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 7,
"end_line": 616,
"start_col": 0,
"start_line": 598
} | module Steel.ST.GenElim1
let gen_elim_f
(p: vprop)
(a: Type)
(q: (a -> vprop))
(post: (a -> prop))
: Tot Type
= ((opened: inames) -> STGhost a opened p q True post)
module U = FStar.Universe
let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type =
gen_elim_f (compute_gen_unit_elim_p i) (U.raise_t u#_ u#1 unit... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": true,
"source_file": "Steel.ST.GenElim1.f... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "FStar.Tactics",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Steel.ST.GenElim1.Base",
"short_module": null
},
{
"abbrev": false,
"full_modu... | {
"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 |
i0: Steel.ST.GenElim1.Base.gen_elim_i ->
t1: Type ->
t2: Type ->
t3: Type ->
t4: Type ->
t5: Type ->
t6: Type ->
t7: Type ->
t8: Type
-> Steel.ST.GenElim1.compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8] | Prims.Tot | [
"total"
] | [] | [
"Steel.ST.GenElim1.Base.gen_elim_i",
"Steel.ST.GenElim1.Base.curried_function_type",
"Prims.Cons",
"Prims.Nil",
"FStar.Universe.raise_t",
"Prims.unit",
"Steel.Effect.Common.vprop",
"Prims.prop",
"Steel.ST.GenElim1.vprop_rewrite",
"Steel.ST.GenElim1.Base.compute_gen_elim_p",
"Steel.ST.GenElim1.ge... | [] | false | false | false | false | false | let compute_gen_elim_nondep_correct8 (i0: gen_elim_i) (t1 t2 t3 t4 t5 t6 t7 t8: Type)
: Tot (compute_gen_elim_nondep_correct_t i0 [t1; t2; t3; t4; t5; t6; t7; t8]) =
| fun q post intro _ ->
intro _;
rewrite_with_trefl (gen_elim_nondep_p _ _ _)
(exists_ (fun x1 ->
exists_ (fun x2 ->
exists_ (fun x3 ->
exists_ (fun x4 ->
exists_ (fun x5 ->
exists_ (fun x6 ->
... | false |
Steel.Reference.fst | Steel.Reference.raise_erased | val raise_erased (#a: Type0) (x: erased a) : erased (U.raise_t u#0 u#1 a) | val raise_erased (#a: Type0) (x: erased a) : erased (U.raise_t u#0 u#1 a) | let raise_erased (#a:Type0) (x:erased a)
: erased (U.raise_t u#0 u#1 a)
= Ghost.hide (U.raise_val (Ghost.reveal x)) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 45,
"end_line": 392,
"start_col": 0,
"start_line": 390
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | x: FStar.Ghost.erased a -> FStar.Ghost.erased (FStar.Universe.raise_t a) | Prims.Tot | [
"total"
] | [] | [
"FStar.Ghost.erased",
"FStar.Ghost.hide",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"FStar.Ghost.reveal"
] | [] | false | false | false | true | false | let raise_erased (#a: Type0) (x: erased a) : erased (U.raise_t u#0 u#1 a) =
| Ghost.hide (U.raise_val (Ghost.reveal x)) | false |
Steel.Reference.fst | Steel.Reference.intro_ptrp_interp | val intro_ptrp_interp (#a:Type0) (r:ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m) | val intro_ptrp_interp (#a:Type0) (r:ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m) | let intro_ptrp_interp r p v m = intro_h_exists (reveal v) (pts_to_sl r p) m | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 75,
"end_line": 282,
"start_col": 0,
"start_line": 282
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 |
r: Steel.Reference.ref a ->
p: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires Steel.Memory.interp (Steel.Reference.pts_to_sl r p (FStar.Ghost.reveal v)) m)
(ensures Steel.Memory.interp (Steel.Reference.ptrp r p) m) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Memory.mem",
"Steel.Memory.intro_h_exists",
"FStar.Ghost.reveal",
"Steel.Reference.pts_to_sl",
"Prims.unit"
] | [] | true | false | true | false | false | let intro_ptrp_interp r p v m =
| intro_h_exists (reveal v) (pts_to_sl r p) m | false |
Steel.Reference.fst | Steel.Reference.intro_vptr_lemma | val intro_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m /\ ptrp_sel r p m == reveal v) | val intro_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m /\ ptrp_sel r p m == reveal v) | let intro_vptr_lemma (#a:Type) (r:ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m /\ ptrp_sel r p m == reveal v)
= Mem.intro_h_exists (reveal v) (pts_to_sl r p) m;
pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 288,
"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": [
"Steel.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ref a ->
p: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires Steel.Memory.interp (Steel.Reference.pts_to_sl r p (FStar.Ghost.reveal v)) m)
(ensures
Steel.Memory.interp (Steel.Reference.ptrp r p... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Memory.mem",
"Steel.Reference.pts_to_witinv",
"Prims.unit",
"Steel.Memory.intro_h_exists",
"FStar.Ghost.reveal",
"Steel.Reference.pts_to_sl",
"Steel.Memory.interp",
"Prims.squash",
"Prims.l_and",
"Steel.Re... | [] | true | false | true | false | false | let intro_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (pts_to_sl r p v) m)
(ensures interp (ptrp r p) m /\ ptrp_sel r p m == reveal v) =
| Mem.intro_h_exists (reveal v) (pts_to_sl r p) m;
pts_to_witinv r p | false |
Steel.Reference.fst | Steel.Reference.elim_vptr_lemma | val elim_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ptrp r p) m /\ ptrp_sel r p m == reveal v)
(ensures interp (pts_to_sl r p v) m) | val elim_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ptrp r p) m /\ ptrp_sel r p m == reveal v)
(ensures interp (pts_to_sl r p v) m) | let elim_vptr_lemma (#a:Type) (r:ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (ptrp r p) m /\ ptrp_sel r p m == reveal v)
(ensures interp (pts_to_sl r p v) m)
= Mem.elim_h_exists (pts_to_sl r p) m;
pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 21,
"end_line": 294,
"start_col": 0,
"start_line": 290
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ref a ->
p: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires
Steel.Memory.interp (Steel.Reference.ptrp r p) m /\
Steel.Reference.ptrp_sel r p m == FStar.Ghost.reveal v)
(ensures Steel.M... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Memory.mem",
"Steel.Reference.pts_to_witinv",
"Prims.unit",
"Steel.Memory.elim_h_exists",
"Steel.Reference.pts_to_sl",
"Prims.l_and",
"Steel.Memory.interp",
"Steel.Reference.ptrp",
"Prims.eq2",
"Steel.Refe... | [] | true | false | true | false | false | let elim_vptr_lemma (#a: Type) (r: ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ptrp r p) m /\ ptrp_sel r p m == reveal v)
(ensures interp (pts_to_sl r p v) m) =
| Mem.elim_h_exists (pts_to_sl r p) m;
pts_to_witinv r p | false |
Steel.Reference.fst | Steel.Reference.ptr_sel_depends_only_on_core | val ptr_sel_depends_only_on_core (#a: Type0) (r: ref a) (p: perm) (m0: Mem.hmem (ptrp r p))
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (core_mem m0)) | val ptr_sel_depends_only_on_core (#a: Type0) (r: ref a) (p: perm) (m0: Mem.hmem (ptrp r p))
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (core_mem m0)) | let ptr_sel_depends_only_on_core (#a:Type0) (r:ref a)
(p: perm) (m0:Mem.hmem (ptrp r p))
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (core_mem m0))
= let x = reveal (id_elim_exists #a (pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (pts_to_sl r p) (core_mem m0)) in
pts_to_witinv r p;
elim_wi (pt... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 45,
"end_line": 273,
"start_col": 0,
"start_line": 267
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ref a ->
p: Steel.FractionalPermission.perm ->
m0: Steel.Memory.hmem (Steel.Reference.ptrp r p)
-> FStar.Pervasives.Lemma
(ensures
Steel.Reference.ptr_sel' r p m0 == Steel.Reference.ptr_sel' r p (Steel.Memory.core_mem m0)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ptrp",
"Steel.Memory.elim_wi",
"Steel.Reference.pts_to_sl",
"Steel.Memory.core_mem",
"Prims.unit",
"Steel.Reference.pts_to_witinv",
"FStar.Ghost.reveal",
"Steel.Memory.id_elim_exists",
"Prims.l_True... | [] | true | false | true | false | false | let ptr_sel_depends_only_on_core (#a: Type0) (r: ref a) (p: perm) (m0: Mem.hmem (ptrp r p))
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (core_mem m0)) =
| let x = reveal (id_elim_exists #a (pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (pts_to_sl r p) (core_mem m0)) in
pts_to_witinv r p;
elim_wi (pts_to_sl r p) x y (core_mem m0) | false |
Steel.Reference.fst | Steel.Reference.ptr_sel_depends_only_on | val ptr_sel_depends_only_on
(#a: Type0)
(r: ref a)
(p: perm)
(m0: Mem.hmem (ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (Mem.join m0 m1)) | val ptr_sel_depends_only_on
(#a: Type0)
(r: ref a)
(p: perm)
(m0: Mem.hmem (ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (Mem.join m0 m1)) | let ptr_sel_depends_only_on (#a:Type0) (r:ref a)
(p: perm)
(m0:Mem.hmem (ptrp r p)) (m1:mem{disjoint m0 m1})
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (Mem.join m0 m1))
= let x = reveal (id_elim_exists #a (pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (pts_to_sl r p) (Mem.join m0 m1)) in
pts_to... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 48,
"end_line": 265,
"start_col": 0,
"start_line": 258
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ref a ->
p: Steel.FractionalPermission.perm ->
m0: Steel.Memory.hmem (Steel.Reference.ptrp r p) ->
m1: Steel.Memory.mem{Steel.Memory.disjoint m0 m1}
-> FStar.Pervasives.Lemma
(ensures
Steel.Reference.ptr_sel' r p m0 == Steel.Reference.ptr_sel' r p (Steel.Memory.join m0 m1... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ptrp",
"Steel.Memory.mem",
"Steel.Memory.disjoint",
"Steel.Memory.elim_wi",
"Steel.Reference.pts_to_sl",
"Steel.Memory.join",
"Prims.unit",
"Steel.Reference.pts_to_witinv",
"FStar.Ghost.reveal",
"... | [] | true | false | true | false | false | let ptr_sel_depends_only_on
(#a: Type0)
(r: ref a)
(p: perm)
(m0: Mem.hmem (ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ptr_sel' r p m0 == ptr_sel' r p (Mem.join m0 m1)) =
| let x = reveal (id_elim_exists #a (pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (pts_to_sl r p) (Mem.join m0 m1)) in
pts_to_witinv r p;
elim_wi (pts_to_sl r p) x y (Mem.join m0 m1) | false |
Steel.Reference.fst | Steel.Reference.ptrp_sel_interp | val ptrp_sel_interp (#a:Type0) (r:ref a) (p: perm) (m:mem) : Lemma
(requires interp (ptrp r p) m)
(ensures interp (pts_to_sl r p (ptrp_sel r p m)) m) | val ptrp_sel_interp (#a:Type0) (r:ref a) (p: perm) (m:mem) : Lemma
(requires interp (ptrp r p) m)
(ensures interp (pts_to_sl r p (ptrp_sel r p m)) m) | let ptrp_sel_interp #a r p m = pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 48,
"end_line": 280,
"start_col": 0,
"start_line": 280
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> m: Steel.Memory.mem
-> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.ptrp r p) m)
(ensures
Steel.Memory.interp (Steel.Reference.pts_to_sl r p (Steel.Reference.ptrp_sel r p m)) m) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.mem",
"Steel.Reference.pts_to_witinv",
"Prims.unit"
] | [] | true | false | true | false | false | let ptrp_sel_interp #a r p m =
| pts_to_witinv r p | false |
Steel.Reference.fst | Steel.Reference.dummy_ghost_ref | val dummy_ghost_ref (a: Type) : Tot (ghost_ref a) | val dummy_ghost_ref (a: Type) : Tot (ghost_ref a) | let dummy_ghost_ref a =
H.reveal_ghost_ref (U.raise_t a);
coerce_eq () (Ghost.hide (H.null #(U.raise_t a))) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 51,
"end_line": 375,
"start_col": 0,
"start_line": 373
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | a: Type0 -> Steel.Reference.ghost_ref a | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.coerce_eq",
"FStar.Ghost.erased",
"Steel.HigherReference.ref",
"FStar.Universe.raise_t",
"Steel.Reference.ghost_ref",
"FStar.Ghost.hide",
"Steel.HigherReference.null",
"Prims.unit",
"Steel.HigherReference.reveal_ghost_ref"
] | [] | false | false | false | true | false | let dummy_ghost_ref a =
| H.reveal_ghost_ref (U.raise_t a);
coerce_eq () (Ghost.hide (H.null #(U.raise_t a))) | false |
WhileReify.fst | WhileReify.interpret_exp | val interpret_exp (h: heap) (e: exp) : Tot int | val interpret_exp (h: heap) (e: exp) : Tot int | let interpret_exp (h:heap) (e:exp) : Tot int = reify (interpret_exp_st e) h | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 75,
"end_line": 80,
"start_col": 0,
"start_line": 80
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | h: FStar.DM4F.Heap.IntStoreFixed.heap -> e: WhileReify.exp -> Prims.int | Prims.Tot | [
"total"
] | [] | [
"FStar.DM4F.Heap.IntStoreFixed.heap",
"WhileReify.exp",
"WhileReify.interpret_exp_st",
"Prims.int"
] | [] | false | false | false | true | false | let interpret_exp (h: heap) (e: exp) : Tot int =
| reify (interpret_exp_st e) h | false |
Steel.Reference.fst | Steel.Reference.ghost_pts_to_witinv | val ghost_pts_to_witinv (#a:Type) (r:ghost_ref a) (p:perm)
: Lemma (is_witness_invariant (ghost_pts_to_sl r p)) | val ghost_pts_to_witinv (#a:Type) (r:ghost_ref a) (p:perm)
: Lemma (is_witness_invariant (ghost_pts_to_sl r p)) | let ghost_pts_to_witinv (#a:Type) (r:ghost_ref a) (p:perm) : Lemma (is_witness_invariant (ghost_pts_to_sl r p)) =
let aux (x y : a) (m:mem)
: Lemma (requires (interp (ghost_pts_to_sl r p x) m /\ interp (ghost_pts_to_sl r p y) m))
(ensures (x == y))
= H.ghost_pts_to_witinv r p;
raise_val_inj... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 73,
"end_line": 387,
"start_col": 0,
"start_line": 380
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm
-> FStar.Pervasives.Lemma
(ensures Steel.Memory.is_witness_invariant (Steel.Reference.ghost_pts_to_sl r p)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"FStar.Classical.forall_intro_3",
"Steel.Memory.mem",
"Prims.l_imp",
"Prims.l_and",
"Steel.Memory.interp",
"Steel.Reference.ghost_pts_to_sl",
"Prims.eq2",
"FStar.Classical.move_requires",
"Prims.unit",
"Prims.l_True",
"Prims.squ... | [] | false | false | true | false | false | let ghost_pts_to_witinv (#a: Type) (r: ghost_ref a) (p: perm)
: Lemma (is_witness_invariant (ghost_pts_to_sl r p)) =
| let aux (x y: a) (m: mem)
: Lemma (requires (interp (ghost_pts_to_sl r p x) m /\ interp (ghost_pts_to_sl r p y) m))
(ensures (x == y)) =
H.ghost_pts_to_witinv r p;
raise_val_inj x y
in
Classical.forall_intro_3 (fun x y -> Classical.move_requires (aux x y)) | false |
WhileReify.fst | WhileReify.decr_while | val decr_while : heap -> com -> GTot nat | val decr_while : heap -> com -> GTot nat | let decr_while h c =
match c with
| While c b v -> interpret_exp' h v
| _ -> 0 | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 10,
"end_line": 92,
"start_col": 0,
"start_line": 89
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | h: FStar.DM4F.Heap.IntStoreFixed.heap -> c: WhileReify.com -> Prims.GTot Prims.nat | Prims.GTot | [
"sometrivial"
] | [] | [
"FStar.DM4F.Heap.IntStoreFixed.heap",
"WhileReify.com",
"WhileReify.exp",
"WhileReify.metric",
"WhileReify.interpret_exp'",
"Prims.nat"
] | [] | false | false | false | false | false | let decr_while h c =
| match c with
| While c b v -> interpret_exp' h v
| _ -> 0 | false |
Steel.Reference.fst | Steel.Reference.ghost_ptrp | val ghost_ptrp (#a: Type0) (r: ghost_ref a) ([@@@smt_fallback] p: perm) : slprop u#1 | val ghost_ptrp (#a: Type0) (r: ghost_ref a) ([@@@smt_fallback] p: perm) : slprop u#1 | let ghost_ptrp r p = Mem.h_exists (ghost_pts_to_sl r p) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 55,
"end_line": 448,
"start_col": 0,
"start_line": 448
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> Steel.Memory.slprop | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.h_exists",
"Steel.Reference.ghost_pts_to_sl",
"Steel.Memory.slprop"
] | [] | false | false | false | true | false | let ghost_ptrp r p =
| Mem.h_exists (ghost_pts_to_sl r p) | false |
WhileReify.fst | WhileReify.interpret_binop | val interpret_binop : o:binop -> a:int -> b:int -> Tot int | val interpret_binop : o:binop -> a:int -> b:int -> Tot int | let interpret_binop o a b =
match o with
| Plus -> a + b
| Minus -> a - b
| Times -> op_Multiply a b
| Max -> if a <= b then b else a | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 36,
"end_line": 35,
"start_col": 0,
"start_line": 30
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | o: WhileReify.binop -> a: Prims.int -> b: Prims.int -> Prims.int | Prims.Tot | [
"total"
] | [] | [
"WhileReify.binop",
"Prims.int",
"Prims.op_Addition",
"Prims.op_Subtraction",
"Prims.op_Multiply",
"Prims.op_LessThanOrEqual",
"Prims.bool"
] | [] | false | false | false | true | false | let interpret_binop o a b =
| match o with
| Plus -> a + b
| Minus -> a - b
| Times -> op_Multiply a b
| Max -> if a <= b then b else a | false |
WhileReify.fst | WhileReify.interpret_exp' | val interpret_exp' (h: heap) (e: exp) : Tot nat | val interpret_exp' (h: heap) (e: exp) : Tot nat | let interpret_exp' (h:heap) (e:exp) : Tot nat =
let n = interpret_exp h e in
if 0 > n then 0 else n | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 24,
"end_line": 85,
"start_col": 0,
"start_line": 83
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | h: FStar.DM4F.Heap.IntStoreFixed.heap -> e: WhileReify.exp -> Prims.nat | Prims.Tot | [
"total"
] | [] | [
"FStar.DM4F.Heap.IntStoreFixed.heap",
"WhileReify.exp",
"Prims.op_GreaterThan",
"Prims.bool",
"Prims.nat",
"Prims.int",
"WhileReify.interpret_exp"
] | [] | false | false | false | true | false | let interpret_exp' (h: heap) (e: exp) : Tot nat =
| let n = interpret_exp h e in
if 0 > n then 0 else n | false |
WhileReify.fst | WhileReify.interpret_exp_st | val interpret_exp_st (e: exp) : ISFR.ISRNull int | val interpret_exp_st (e: exp) : ISFR.ISRNull int | let rec interpret_exp_st (e:exp)
(* : INT_STORE_EXC int (fun s0 p -> forall x. p (Some x, s0)) *)
: ISFR.ISRNull int
=
match e with
| AInt i -> i
| AVar x -> ISFR.read x
| AOp o e1 e2 ->
let a = interpret_exp_st e1 in
let b = interpret_exp_st e2 in
interpret_binop o a b | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 25,
"end_line": 76,
"start_col": 0,
"start_line": 66
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | e: WhileReify.exp -> FStar.DM4F.IntStoreFixedReader.ISRNull Prims.int | FStar.DM4F.IntStoreFixedReader.ISRNull | [] | [] | [
"WhileReify.exp",
"Prims.int",
"FStar.DM4F.Heap.IntStoreFixed.id",
"FStar.DM4F.IntStoreFixedReader.read",
"WhileReify.binop",
"WhileReify.interpret_binop",
"WhileReify.interpret_exp_st"
] | [
"recursion"
] | false | true | false | false | false | let rec interpret_exp_st (e: exp) : ISFR.ISRNull int =
| match e with
| AInt i -> i
| AVar x -> ISFR.read x
| AOp o e1 e2 ->
let a = interpret_exp_st e1 in
let b = interpret_exp_st e2 in
interpret_binop o a b | false |
WhileReify.fst | WhileReify.interpret_com | val interpret_com (h0: heap) (c: com) : Tot (option heap) | val interpret_com (h0: heap) (c: com) : Tot (option heap) | let interpret_com (h0:heap) (c:com) : Tot (option heap)
=
match (* normalize_term *) (reify (interpret_com_st c h0) h0) with
| Some (), h -> Some h
| None, _ -> None | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 19,
"end_line": 149,
"start_col": 0,
"start_line": 145
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | h0: FStar.DM4F.Heap.IntStoreFixed.heap -> c: WhileReify.com
-> FStar.Pervasives.Native.option FStar.DM4F.Heap.IntStoreFixed.heap | Prims.Tot | [
"total"
] | [] | [
"FStar.DM4F.Heap.IntStoreFixed.heap",
"WhileReify.com",
"WhileReify.interpret_com_st",
"Prims.unit",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option"
] | [] | false | false | false | true | false | let interpret_com (h0: heap) (c: com) : Tot (option heap) =
| match (reify (interpret_com_st c h0) h0) with
| Some (), h -> Some h
| None, _ -> None | false |
WhileReify.fst | WhileReify.interpret_com_st | val interpret_com_st : c:com -> h0:heap -> IntStoreExc unit
(requires (fun h -> h == h0))
(ensures (fun h _ ho -> h == h0))
(decreases %[c; decr_while h0 c]) | val interpret_com_st : c:com -> h0:heap -> IntStoreExc unit
(requires (fun h -> h == h0))
(ensures (fun h _ ho -> h == h0))
(decreases %[c; decr_while h0 c]) | let rec interpret_com_st c h0 =
match c with
| Skip -> ()
| Assign x e ->
let v = interpret_exp_st e in
write x v
| Seq c1 c2 ->
begin
let h1 = (X.get()) in
interpret_com_st c1 h1;
let h2 = (X.get()) in
interpret_com_st c2 h2
end
| If e ct cf ->
let v = interpret_... | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 9,
"end_line": 138,
"start_col": 1,
"start_line": 100
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | c: WhileReify.com -> h0: FStar.DM4F.Heap.IntStoreFixed.heap
-> FStar.DM4F.IntStoreExcFixed.IntStoreExc Prims.unit | FStar.DM4F.IntStoreExcFixed.IntStoreExc | [
""
] | [] | [
"WhileReify.com",
"FStar.DM4F.Heap.IntStoreFixed.heap",
"Prims.unit",
"FStar.DM4F.Heap.IntStoreFixed.id",
"WhileReify.exp",
"FStar.DM4F.IntStoreExcFixed.write",
"Prims.int",
"WhileReify.interpret_exp_st",
"WhileReify.interpret_com_st",
"FStar.DM4F.IntStoreExcFixed.get",
"Prims.op_Equality",
"P... | [
"recursion"
] | false | true | false | false | false | let rec interpret_com_st c h0 =
| match c with
| Skip -> ()
| Assign x e ->
let v = interpret_exp_st e in
write x v
| Seq c1 c2 ->
let h1 = (X.get ()) in
interpret_com_st c1 h1;
let h2 = (X.get ()) in
interpret_com_st c2 h2
| If e ct cf ->
let v = interpret_exp_st e in
let c = if v = 0 then cf else ct in
let h = (X.get ()) in
interp... | false |
WhileReify.fst | WhileReify.bidule2 | val bidule2 : Prims.unit | let bidule2 = assert (interpret_exp (create 3) (AOp Plus (AVar (to_id 7)) (AInt 5)) = 8) | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 88,
"end_line": 153,
"start_col": 0,
"start_line": 153
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | Prims.unit | Prims.Tot | [
"total"
] | [] | [
"Prims._assert",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"WhileReify.interpret_exp",
"FStar.DM4F.Heap.IntStoreFixed.create",
"WhileReify.AOp",
"WhileReify.Plus",
"WhileReify.AVar",
"FStar.DM4F.Heap.IntStoreFixed.to_id",
"WhileReify.AInt"
] | [] | false | false | false | true | false | let bidule2 =
| assert (interpret_exp (create 3) (AOp Plus (AVar (to_id 7)) (AInt 5)) = 8) | false | |
WhileReify.fst | WhileReify.bidule | val bidule : Prims.unit | let bidule = assert (reify (interpret_exp_st (AOp Plus (AVar (to_id 7)) (AInt 5))) (create 3) = 8) | {
"file_name": "examples/rel/WhileReify.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 98,
"end_line": 152,
"start_col": 0,
"start_line": 152
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.DM4F.IntStoreFixedReader.fst.checked",
"FStar.DM4F.IntStoreExcFixed.fst.checked",
"FStar.DM4F.Heap.IntStoreFixed.fsti.checked"
],
"interface_file": false,
"source_file": "WhileReify.fst"
} | [
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": "X"
},
{
"abbrev": true,
"full_module": "FStar.DM4F.IntStoreFixedReader",
"short_module": "ISFR"
},
{
"abbrev": false,
"full_module": "FStar.DM4F.IntStoreExcFixed",
"short_module": null
},
... | {
"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 | Prims.unit | Prims.Tot | [
"total"
] | [] | [
"Prims._assert",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"WhileReify.interpret_exp_st",
"WhileReify.AOp",
"WhileReify.Plus",
"WhileReify.AVar",
"FStar.DM4F.Heap.IntStoreFixed.to_id",
"WhileReify.AInt",
"FStar.DM4F.Heap.IntStoreFixed.create"
] | [] | false | false | false | true | false | let bidule =
| assert (reify (interpret_exp_st (AOp Plus (AVar (to_id 7)) (AInt 5))) (create 3) = 8) | false | |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_sub_eq_len_u64 | val bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen | val bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen | let bn_sub_eq_len_u64 (aLen:size_t) : bn_sub_eq_len_st U64 aLen = bn_sub_eq_len aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 84,
"end_line": 105,
"start_col": 0,
"start_line": 105
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st Lib.IntTypes.U64 aLen | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_sub_eq_len",
"Lib.IntTypes.U64",
"Hacl.Bignum.Addition.bn_sub_eq_len_st"
] | [] | false | false | false | false | false | let bn_sub_eq_len_u64 (aLen: size_t) : bn_sub_eq_len_st U64 aLen =
| bn_sub_eq_len aLen | false |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_sub_eq_len_u32 | val bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen | val bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen | let bn_sub_eq_len_u32 (aLen:size_t) : bn_sub_eq_len_st U32 aLen = bn_sub_eq_len aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 84,
"end_line": 104,
"start_col": 0,
"start_line": 104
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st Lib.IntTypes.U32 aLen | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_sub_eq_len",
"Lib.IntTypes.U32",
"Hacl.Bignum.Addition.bn_sub_eq_len_st"
] | [] | false | false | false | false | false | let bn_sub_eq_len_u32 (aLen: size_t) : bn_sub_eq_len_st U32 aLen =
| bn_sub_eq_len aLen | false |
Steel.Reference.fst | Steel.Reference.intro_ghost_vptr_lemma | val intro_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_pts_to_sl r p v) m)
(ensures interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v) | val intro_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_pts_to_sl r p v) m)
(ensures interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v) | let intro_ghost_vptr_lemma (#a:Type) (r:ghost_ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (ghost_pts_to_sl r p v) m)
(ensures interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v)
= Mem.intro_h_exists (reveal v) (ghost_pts_to_sl r p) m;
ghost_pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 27,
"end_line": 482,
"start_col": 0,
"start_line": 478
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ghost_ref a ->
p: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires Steel.Memory.interp (Steel.Reference.ghost_pts_to_sl r p (FStar.Ghost.reveal v)) m)
(ensures
Steel.Memory.interp (Steel.Refere... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Memory.mem",
"Steel.Reference.ghost_pts_to_witinv",
"Prims.unit",
"Steel.Memory.intro_h_exists",
"FStar.Ghost.reveal",
"Steel.Reference.ghost_pts_to_sl",
"Steel.Memory.interp",
"Prims.squash",
"Prims.l... | [] | true | false | true | false | false | let intro_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_pts_to_sl r p v) m)
(ensures interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v) =
| Mem.intro_h_exists (reveal v) (ghost_pts_to_sl r p) m;
ghost_pts_to_witinv r p | false |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_add_eq_len_u32 | val bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen | val bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen | let bn_add_eq_len_u32 (aLen:size_t) : bn_add_eq_len_st U32 aLen = bn_add_eq_len aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 84,
"end_line": 261,
"start_col": 0,
"start_line": 261
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st Lib.IntTypes.U32 aLen | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_add_eq_len",
"Lib.IntTypes.U32",
"Hacl.Bignum.Addition.bn_add_eq_len_st"
] | [] | false | false | false | false | false | let bn_add_eq_len_u32 (aLen: size_t) : bn_add_eq_len_st U32 aLen =
| bn_add_eq_len aLen | false |
Steel.Reference.fst | Steel.Reference.ghost_ptrp_sel_interp | val ghost_ptrp_sel_interp (#a:Type0) (r:ghost_ref a) (p: perm) (m:mem) : Lemma
(requires interp (ghost_ptrp r p) m)
(ensures interp (ghost_pts_to_sl r p (ghost_ptrp_sel r p m)) m) | val ghost_ptrp_sel_interp (#a:Type0) (r:ghost_ref a) (p: perm) (m:mem) : Lemma
(requires interp (ghost_ptrp r p) m)
(ensures interp (ghost_pts_to_sl r p (ghost_ptrp_sel r p m)) m) | let ghost_ptrp_sel_interp #a r p m = ghost_pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 60,
"end_line": 475,
"start_col": 0,
"start_line": 475
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> m: Steel.Memory.mem
-> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.ghost_ptrp r p) m)
(ensures
Steel.Memory.interp (Steel.Reference.ghost_pts_to_sl r
p
(Steel.Reference.ghost_ptr... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.mem",
"Steel.Reference.ghost_pts_to_witinv",
"Prims.unit"
] | [] | true | false | true | false | false | let ghost_ptrp_sel_interp #a r p m =
| ghost_pts_to_witinv r p | false |
Steel.Reference.fst | Steel.Reference.vptrp_not_null | val vptrp_not_null (#opened: _)
(#a: Type)
(r: ref a)
(p: perm)
: SteelGhost unit opened
(vptrp r p)
(fun _ -> vptrp r p)
(fun _ -> True)
(fun h0 _ h1 ->
h0 (vptrp r p) == h1 (vptrp r p) /\
is_null r == false
) | val vptrp_not_null (#opened: _)
(#a: Type)
(r: ref a)
(p: perm)
: SteelGhost unit opened
(vptrp r p)
(fun _ -> vptrp r p)
(fun _ -> True)
(fun h0 _ h1 ->
h0 (vptrp r p) == h1 (vptrp r p) /\
is_null r == false
) | let vptrp_not_null
#opened #a r
p
= change_slprop_rel
(vptrp r p)
(vptrp r p)
(fun x y -> x == y /\ is_null r == false)
(fun m -> pts_to_not_null r p (ptrp_sel r p m) m) | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 53,
"end_line": 366,
"start_col": 0,
"start_line": 359
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm
-> Steel.Effect.Atomic.SteelGhost Prims.unit | Steel.Effect.Atomic.SteelGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.Reference.ref",
"Steel.FractionalPermission.perm",
"Steel.Effect.Atomic.change_slprop_rel",
"Steel.Reference.vptrp",
"Steel.Effect.Common.normal",
"Steel.Effect.Common.t_of",
"Prims.l_and",
"Prims.eq2",
"Prims.bool",
"Steel.Reference.is_null",
"Prims.prop",
"Ste... | [] | false | true | false | false | false | let vptrp_not_null #opened #a r p =
| change_slprop_rel (vptrp r p)
(vptrp r p)
(fun x y -> x == y /\ is_null r == false)
(fun m -> pts_to_not_null r p (ptrp_sel r p m) m) | false |
Steel.Reference.fst | Steel.Reference.ghost_ptrp_sel | val ghost_ptrp_sel (#a:Type0) (r:ghost_ref a) (p: perm) : selector a (ghost_ptrp r p) | val ghost_ptrp_sel (#a:Type0) (r:ghost_ref a) (p: perm) : selector a (ghost_ptrp r p) | let ghost_ptrp_sel r p =
Classical.forall_intro_2 (ghost_ptr_sel_depends_only_on r p);
Classical.forall_intro (ghost_ptr_sel_depends_only_on_core r p);
ghost_ptr_sel' r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 20,
"end_line": 473,
"start_col": 0,
"start_line": 470
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm
-> Steel.Effect.Common.selector a (Steel.Reference.ghost_ptrp r p) | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Reference.ghost_ptr_sel'",
"Prims.unit",
"FStar.Classical.forall_intro",
"Steel.Memory.hmem",
"Steel.Reference.ghost_ptrp",
"Prims.eq2",
"Steel.Memory.core_mem",
"Steel.Reference.ghost_ptr_sel_depends_only_on_core",
"FStar.Cl... | [] | false | false | false | false | false | let ghost_ptrp_sel r p =
| Classical.forall_intro_2 (ghost_ptr_sel_depends_only_on r p);
Classical.forall_intro (ghost_ptr_sel_depends_only_on_core r p);
ghost_ptr_sel' r p | false |
Steel.Reference.fst | Steel.Reference.ghost_ptr_sel' | val ghost_ptr_sel' (#a:Type0) (r: ghost_ref a) (p: perm) : selector' a (ghost_ptrp r p) | val ghost_ptr_sel' (#a:Type0) (r: ghost_ref a) (p: perm) : selector' a (ghost_ptrp r p) | let ghost_ptr_sel' #a r p = fun h -> id_elim_exists #a (ghost_pts_to_sl r p) h | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 78,
"end_line": 451,
"start_col": 0,
"start_line": 451
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 | r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm
-> Steel.Effect.Common.selector' a (Steel.Reference.ghost_ptrp r p) | Prims.Tot | [
"total"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ghost_ptrp",
"FStar.Ghost.reveal",
"Steel.Memory.id_elim_exists",
"Steel.Reference.ghost_pts_to_sl"
] | [] | false | false | false | false | false | let ghost_ptr_sel' #a r p =
| fun h -> id_elim_exists #a (ghost_pts_to_sl r p) h | false |
Spec.Agile.HKDF.fst | Spec.Agile.HKDF.a_spec | val a_spec : a: Spec.Hash.Definitions.fixed_len_alg -> i: FStar.Integers.nat -> Type0 | let a_spec (a:fixed_len_alg) (i:nat) =
Seq.lseq uint8 (if i = 0 then 0 else hash_length a) | {
"file_name": "specs/Spec.Agile.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 53,
"end_line": 38,
"start_col": 0,
"start_line": 37
} | module Spec.Agile.HKDF
open FStar.Integers
open Spec.Hash.Definitions
/// FUNCTIONAL SPECIFICATION:
///
/// * extraction is just HMAC using the salt as key and the input
/// keying materials as text.
///
/// * expansion does its own formatting of input key materials.
open FStar.Seq
#set-options "--max_fuel 0 --ma... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"... | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "Seq"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.H... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Spec.Hash.Definitions.fixed_len_alg -> i: FStar.Integers.nat -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Spec.Hash.Definitions.fixed_len_alg",
"FStar.Integers.nat",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint8",
"Prims.op_Equality",
"Prims.int",
"Prims.bool",
"Spec.Hash.Definitions.hash_length",
"Lib.IntTypes.size_nat"
] | [] | false | false | false | true | true | let a_spec (a: fixed_len_alg) (i: nat) =
| Seq.lseq uint8 (if i = 0 then 0 else hash_length a) | false | |
Spec.Agile.HKDF.fst | Spec.Agile.HKDF.extract | val extract:
a: fixed_len_alg ->
key: bytes ->
data: bytes ->
Pure (lbytes (hash_length a))
(requires
Spec.Agile.HMAC.keysized a (Seq.length key) /\
extract_ikm_length_pred a (Seq.length data))
(ensures fun _ -> True) | val extract:
a: fixed_len_alg ->
key: bytes ->
data: bytes ->
Pure (lbytes (hash_length a))
(requires
Spec.Agile.HMAC.keysized a (Seq.length key) /\
extract_ikm_length_pred a (Seq.length data))
(ensures fun _ -> True) | let extract = Spec.Agile.HMAC.hmac | {
"file_name": "specs/Spec.Agile.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 34,
"end_line": 17,
"start_col": 0,
"start_line": 17
} | module Spec.Agile.HKDF
open FStar.Integers
open Spec.Hash.Definitions
/// FUNCTIONAL SPECIFICATION:
///
/// * extraction is just HMAC using the salt as key and the input
/// keying materials as text.
///
/// * expansion does its own formatting of input key materials.
open FStar.Seq
#set-options "--max_fuel 0 --ma... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"... | [
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Integers",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Spec.Hash.Definitions.fixed_len_alg ->
key: Spec.Hash.Definitions.bytes ->
data: Spec.Hash.Definitions.bytes
-> Prims.Pure (Spec.Agile.HKDF.lbytes (Spec.Hash.Definitions.hash_length a)) | Prims.Pure | [] | [] | [
"Spec.Agile.HMAC.hmac"
] | [] | false | false | false | false | false | let extract =
| Spec.Agile.HMAC.hmac | false |
Steel.Reference.fst | Steel.Reference.ghost_ptr_sel_depends_only_on | val ghost_ptr_sel_depends_only_on
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (Mem.join m0 m1)) | val ghost_ptr_sel_depends_only_on
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (Mem.join m0 m1)) | let ghost_ptr_sel_depends_only_on (#a:Type0) (r:ghost_ref a)
(p: perm)
(m0:Mem.hmem (ghost_ptrp r p)) (m1:mem{disjoint m0 m1})
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (Mem.join m0 m1))
= let x = reveal (id_elim_exists #a (ghost_pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (ghost_pts_... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 54,
"end_line": 460,
"start_col": 0,
"start_line": 453
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ghost_ref a ->
p: Steel.FractionalPermission.perm ->
m0: Steel.Memory.hmem (Steel.Reference.ghost_ptrp r p) ->
m1: Steel.Memory.mem{Steel.Memory.disjoint m0 m1}
-> FStar.Pervasives.Lemma
(ensures
Steel.Reference.ghost_ptr_sel' r p m0 ==
Steel.Reference.ghost_ptr_sel... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ghost_ptrp",
"Steel.Memory.mem",
"Steel.Memory.disjoint",
"Steel.Memory.elim_wi",
"Steel.Reference.ghost_pts_to_sl",
"Steel.Memory.join",
"Prims.unit",
"Steel.Reference.ghost_pts_to_witinv",
"... | [] | true | false | true | false | false | let ghost_ptr_sel_depends_only_on
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
(m1: mem{disjoint m0 m1})
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (Mem.join m0 m1)) =
| let x = reveal (id_elim_exists #a (ghost_pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (ghost_pts_to_sl r p) (Mem.join m0 m1)) in
ghost_pts_to_witinv r p;
elim_wi (ghost_pts_to_sl r p) x y (Mem.join m0 m1) | false |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_add_eq_len_u64 | val bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen | val bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen | let bn_add_eq_len_u64 (aLen:size_t) : bn_add_eq_len_st U64 aLen = bn_add_eq_len aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 84,
"end_line": 262,
"start_col": 0,
"start_line": 262
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st Lib.IntTypes.U64 aLen | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_add_eq_len",
"Lib.IntTypes.U64",
"Hacl.Bignum.Addition.bn_add_eq_len_st"
] | [] | false | false | false | false | false | let bn_add_eq_len_u64 (aLen: size_t) : bn_add_eq_len_st U64 aLen =
| bn_add_eq_len aLen | false |
Steel.Reference.fst | Steel.Reference.elim_ghost_vptr_lemma | val elim_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v)
(ensures interp (ghost_pts_to_sl r p v) m) | val elim_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v)
(ensures interp (ghost_pts_to_sl r p v) m) | let elim_ghost_vptr_lemma (#a:Type) (r:ghost_ref a) (p: perm) (v:erased a) (m:mem) : Lemma
(requires interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v)
(ensures interp (ghost_pts_to_sl r p v) m)
= Mem.elim_h_exists (ghost_pts_to_sl r p) m;
ghost_pts_to_witinv r p | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 27,
"end_line": 488,
"start_col": 0,
"start_line": 484
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ghost_ref a ->
p: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
m: Steel.Memory.mem
-> FStar.Pervasives.Lemma
(requires
Steel.Memory.interp (Steel.Reference.ghost_ptrp r p) m /\
Steel.Reference.ghost_ptrp_sel r p m == FStar.Ghost.reveal v)
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Memory.mem",
"Steel.Reference.ghost_pts_to_witinv",
"Prims.unit",
"Steel.Memory.elim_h_exists",
"Steel.Reference.ghost_pts_to_sl",
"Prims.l_and",
"Steel.Memory.interp",
"Steel.Reference.ghost_ptrp",
"P... | [] | true | false | true | false | false | let elim_ghost_vptr_lemma (#a: Type) (r: ghost_ref a) (p: perm) (v: erased a) (m: mem)
: Lemma (requires interp (ghost_ptrp r p) m /\ ghost_ptrp_sel r p m == reveal v)
(ensures interp (ghost_pts_to_sl r p v) m) =
| Mem.elim_h_exists (ghost_pts_to_sl r p) m;
ghost_pts_to_witinv r p | false |
Steel.Reference.fst | Steel.Reference.ghost_free_pt | val ghost_free_pt (#a:Type0) (#u:_) (#v:erased a) (r:ghost_ref a)
: SteelGhostT unit u (ghost_pts_to r full_perm v) (fun _ -> emp) | val ghost_free_pt (#a:Type0) (#u:_) (#v:erased a) (r:ghost_ref a)
: SteelGhostT unit u (ghost_pts_to r full_perm v) (fun _ -> emp) | let ghost_free_pt r = H.ghost_free r | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 36,
"end_line": 400,
"start_col": 0,
"start_line": 400
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> Steel.Effect.Atomic.SteelGhostT Prims.unit | Steel.Effect.Atomic.SteelGhostT | [] | [] | [
"Steel.Memory.inames",
"FStar.Ghost.erased",
"Steel.Reference.ghost_ref",
"Steel.HigherReference.ghost_free",
"FStar.Universe.raise_t",
"FStar.Ghost.hide",
"FStar.Universe.raise_val",
"FStar.Ghost.reveal",
"Prims.unit"
] | [] | false | true | false | false | false | let ghost_free_pt r =
| H.ghost_free r | false |
Steel.Reference.fst | Steel.Reference.ghost_ptr_sel_depends_only_on_core | val ghost_ptr_sel_depends_only_on_core
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (core_mem m0)) | val ghost_ptr_sel_depends_only_on_core
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (core_mem m0)) | let ghost_ptr_sel_depends_only_on_core (#a:Type0) (r:ghost_ref a)
(p: perm) (m0:Mem.hmem (ghost_ptrp r p))
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (core_mem m0))
= let x = reveal (id_elim_exists #a (ghost_pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (ghost_pts_to_sl r p) (core_mem m0))... | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 51,
"end_line": 468,
"start_col": 0,
"start_line": 462
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"abbrev": false,
"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 |
r: Steel.Reference.ghost_ref a ->
p: Steel.FractionalPermission.perm ->
m0: Steel.Memory.hmem (Steel.Reference.ghost_ptrp r p)
-> FStar.Pervasives.Lemma
(ensures
Steel.Reference.ghost_ptr_sel' r p m0 ==
Steel.Reference.ghost_ptr_sel' r p (Steel.Memory.core_mem m0)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Steel.Reference.ghost_ref",
"Steel.FractionalPermission.perm",
"Steel.Memory.hmem",
"Steel.Reference.ghost_ptrp",
"Steel.Memory.elim_wi",
"Steel.Reference.ghost_pts_to_sl",
"Steel.Memory.core_mem",
"Prims.unit",
"Steel.Reference.ghost_pts_to_witinv",
"FStar.Ghost.reveal",
"Steel.Memory.id_elim_... | [] | true | false | true | false | false | let ghost_ptr_sel_depends_only_on_core
(#a: Type0)
(r: ghost_ref a)
(p: perm)
(m0: Mem.hmem (ghost_ptrp r p))
: Lemma (ghost_ptr_sel' r p m0 == ghost_ptr_sel' r p (core_mem m0)) =
| let x = reveal (id_elim_exists #a (ghost_pts_to_sl r p) m0) in
let y = reveal (id_elim_exists #a (ghost_pts_to_sl r p) (core_mem m0)) in
ghost_pts_to_witinv r p;
elim_wi (ghost_pts_to_sl r p) x y (core_mem m0) | false |
Spec.Agile.HKDF.fst | Spec.Agile.HKDF.expand_loop | val expand_loop:
a:fixed_len_alg
-> prk:bytes
-> info:bytes
-> n:nat
-> i:nat{i < n}
-> a_spec a i
-> Pure (a_spec a (i + 1) & Seq.lseq uint8 (hash_length a))
(requires
hash_length a <= Seq.length prk /\
HMAC.keysized a (Seq.length prk) /\
(hash_length a + Seq.length info + 1 + blo... | val expand_loop:
a:fixed_len_alg
-> prk:bytes
-> info:bytes
-> n:nat
-> i:nat{i < n}
-> a_spec a i
-> Pure (a_spec a (i + 1) & Seq.lseq uint8 (hash_length a))
(requires
hash_length a <= Seq.length prk /\
HMAC.keysized a (Seq.length prk) /\
(hash_length a + Seq.length info + 1 + blo... | let expand_loop a prk info n i tag =
let t = Spec.Agile.HMAC.hmac a prk (tag @| info @| Seq.create 1 (u8 (i + 1))) in
t, t | {
"file_name": "specs/Spec.Agile.HKDF.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 6,
"end_line": 57,
"start_col": 0,
"start_line": 55
} | module Spec.Agile.HKDF
open FStar.Integers
open Spec.Hash.Definitions
/// FUNCTIONAL SPECIFICATION:
///
/// * extraction is just HMAC using the salt as key and the input
/// keying materials as text.
///
/// * expansion does its own formatting of input key materials.
open FStar.Seq
#set-options "--max_fuel 0 --ma... | {
"checked_file": "/",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"... | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "Seq"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.H... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a: Spec.Hash.Definitions.fixed_len_alg ->
prk: Spec.Hash.Definitions.bytes ->
info: Spec.Hash.Definitions.bytes ->
n: FStar.Integers.nat ->
i: FStar.Integers.nat{i < n} ->
tag: Spec.Agile.HKDF.a_spec a i
-> Prims.Pure
(Spec.Agile.HKDF.a_spec a (i + 1) *
Lib.Sequence.lseq Lib.IntType... | Prims.Pure | [] | [] | [
"Spec.Hash.Definitions.fixed_len_alg",
"Spec.Hash.Definitions.bytes",
"FStar.Integers.nat",
"Prims.b2t",
"FStar.Integers.op_Less",
"FStar.Integers.Signed",
"FStar.Integers.Winfinite",
"Spec.Agile.HKDF.a_spec",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Integers.op_Plus",
"Lib.Sequence.lseq",
"... | [] | false | false | false | false | false | let expand_loop a prk info n i tag =
| let t = Spec.Agile.HMAC.hmac a prk (tag @| info @| Seq.create 1 (u8 (i + 1))) in
t, t | false |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_sub_eq_len_u | val bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen | val bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen | let bn_sub_eq_len_u (#t:limb_t) (aLen:size_t) : bn_sub_eq_len_st t aLen =
match t with
| U32 -> bn_sub_eq_len_u32 aLen
| U64 -> bn_sub_eq_len_u64 aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 111,
"start_col": 0,
"start_line": 108
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_sub_eq_len_st t aLen | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_sub_eq_len_u32",
"Hacl.Bignum.Addition.bn_sub_eq_len_u64",
"Hacl.Bignum.Addition.bn_sub_eq_len_st"
] | [] | false | false | false | false | false | let bn_sub_eq_len_u (#t: limb_t) (aLen: size_t) : bn_sub_eq_len_st t aLen =
| match t with
| U32 -> bn_sub_eq_len_u32 aLen
| U64 -> bn_sub_eq_len_u64 aLen | false |
Steel.Reference.fst | Steel.Reference.ghost_pts_to_perm | val ghost_pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ghost_ref a)
: SteelGhost unit u
(ghost_pts_to r p v)
(fun _ -> ghost_pts_to r p v)
(fun _ -> True)
(fun _ _ _ -> p `lesser_equal_perm` full_perm) | val ghost_pts_to_perm (#a: _) (#u: _) (#p: _) (#v: _) (r: ghost_ref a)
: SteelGhost unit u
(ghost_pts_to r p v)
(fun _ -> ghost_pts_to r p v)
(fun _ -> True)
(fun _ _ _ -> p `lesser_equal_perm` full_perm) | let ghost_pts_to_perm r = H.ghost_pts_to_perm r | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 47,
"end_line": 432,
"start_col": 0,
"start_line": 432
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> Steel.Effect.Atomic.SteelGhost Prims.unit | Steel.Effect.Atomic.SteelGhost | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"Steel.Reference.ghost_ref",
"Steel.HigherReference.ghost_pts_to_perm",
"FStar.Universe.raise_t",
"FStar.Universe.raise_val",
"Prims.unit"
] | [] | false | true | false | false | false | let ghost_pts_to_perm r =
| H.ghost_pts_to_perm r | false |
Steel.Reference.fst | Steel.Reference.ghost_share_pt | val ghost_share_pt (#a:Type) (#u:_)
(#p:perm)
(#x:erased a)
(r:ghost_ref a)
: SteelGhostT unit u
(ghost_pts_to r p x)
(fun _ -> ghost_pts_to r (half_perm p) x `star`
ghost_pts_to r (half_perm p) x) | val ghost_share_pt (#a:Type) (#u:_)
(#p:perm)
(#x:erased a)
(r:ghost_ref a)
: SteelGhostT unit u
(ghost_pts_to r p x)
(fun _ -> ghost_pts_to r (half_perm p) x `star`
ghost_pts_to r (half_perm p) x) | let ghost_share_pt (#a:Type) (#u:_)
(#p:perm)
(#x:erased a)
(r:ghost_ref a)
= H.ghost_share #_ #_ #_ #(raise_erased x) r | {
"file_name": "lib/steel/Steel.Reference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 47,
"end_line": 410,
"start_col": 0,
"start_line": 406
} | (*
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.Memory.fsti.checked",
"Steel.HigherReference.fsti.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Universe.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Universe",
"short_module": "U"
},
{
"abbrev": true,
"full_module": "Steel.HigherReference",
"short_module": "H"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "Mem"
},
{
"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 | r: Steel.Reference.ghost_ref a -> Steel.Effect.Atomic.SteelGhostT Prims.unit | Steel.Effect.Atomic.SteelGhostT | [] | [] | [
"Steel.Memory.inames",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Reference.ghost_ref",
"Steel.HigherReference.ghost_share",
"FStar.Universe.raise_t",
"Steel.Reference.raise_erased",
"Prims.unit"
] | [] | false | true | false | false | false | let ghost_share_pt (#a: Type) (#u: _) (#p: perm) (#x: erased a) (r: ghost_ref a) =
| H.ghost_share #_ #_ #_ #(raise_erased x) r | false |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_add_eq_len_st | val bn_add_eq_len_st : t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0 | let bn_add_eq_len_st (t:limb_t) (aLen:size_t) =
a:lbignum t aLen
-> b:lbignum t aLen
-> res:lbignum t aLen ->
Stack (carry t)
(requires fun h ->
live h a /\ live h b /\ live h res /\
eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res)
(ensures fun h0 c_out h1 -> modifies (loc res)... | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 38,
"end_line": 228,
"start_col": 0,
"start_line": 218
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | t: Hacl.Bignum.Definitions.limb_t -> aLen: Lib.IntTypes.size_t -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Spec.Bignum.Base.carry",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Hacl.Bignum.Definitions.limb",
"Lib.Buffer.eq_or_disjoint",
"Lib.Buffer.modifies",
"... | [] | false | false | false | true | true | let bn_add_eq_len_st (t: limb_t) (aLen: size_t) =
| a: lbignum t aLen -> b: lbignum t aLen -> res: lbignum t aLen
-> Stack (carry t)
(requires
fun h ->
live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\
eq_or_disjoint b res)
(ensures
fun h0 c_out h1 ->
modifies (loc res) h0 h1 /... | false | |
Hacl.Bignum.Addition.fst | Hacl.Bignum.Addition.bn_add_eq_len_u | val bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen | val bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen | let bn_add_eq_len_u (#t:limb_t) (aLen:size_t) : bn_add_eq_len_st t aLen =
match t with
| U32 -> bn_add_eq_len_u32 aLen
| U64 -> bn_add_eq_len_u64 aLen | {
"file_name": "code/bignum/Hacl.Bignum.Addition.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 268,
"start_col": 0,
"start_line": 265
} | module Hacl.Bignum.Addition
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Hacl.Bignum.Definitions
open Hacl.Bignum.Base
open Hacl.Impl.Lib
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module B = LowStar.Buffer
module S = Hacl.Spec.Bignum.Addition
module LSeq = Lib.Sequence
... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Lib.fst.checked",
"Hacl.Spec.Bignum.Addition.fst.checked",
"Hacl.Impl.Lib.fst.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Addition",
"short_module": "S"
},
{
"abbrev": true,
"full_mo... | {
"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 | aLen: Lib.IntTypes.size_t -> Hacl.Bignum.Addition.bn_add_eq_len_st t aLen | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Addition.bn_add_eq_len_u32",
"Hacl.Bignum.Addition.bn_add_eq_len_u64",
"Hacl.Bignum.Addition.bn_add_eq_len_st"
] | [] | false | false | false | false | false | let bn_add_eq_len_u (#t: limb_t) (aLen: size_t) : bn_add_eq_len_st t aLen =
| match t with
| U32 -> bn_add_eq_len_u32 aLen
| U64 -> bn_add_eq_len_u64 aLen | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.