effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val comp_inames (c: comp{C_STAtomic? c \/ C_STGhost? c}) : term | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_modul... | false | let comp_inames (c:comp { C_STAtomic? c \/ C_STGhost? c }) : term =
match c with
| C_STAtomic inames _
| C_STGhost inames _ -> inames | val comp_inames (c: comp{C_STAtomic? c \/ C_STGhost? c}) : term
let comp_inames (c: comp{C_STAtomic? c \/ C_STGhost? c}) : term = | false | null | false | match c with | C_STAtomic inames _ | C_STGhost inames _ -> inames | {
"checked_file": "Pulse.Syntax.Base.fsti.checked",
"dependencies": [
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Bui... | [
"total"
] | [
"Pulse.Syntax.Base.comp",
"Prims.l_or",
"Prims.b2t",
"Pulse.Syntax.Base.uu___is_C_STAtomic",
"Pulse.Syntax.Base.uu___is_C_STGhost",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.st_comp"
] | [] | module Pulse.Syntax.Base
module RTB = FStar.Reflection.Typing.Builtins
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module RU = Pulse.RuntimeUtils
open FStar.List.Tot
module T = FStar.Tactics.V2
type constant = R.vconst
let var = nat
let index = nat
type universe = R.universe
(* locally name... | false | false | Pulse.Syntax.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val comp_inames (c: comp{C_STAtomic? c \/ C_STGhost? c}) : term | [] | Pulse.Syntax.Base.comp_inames | {
"file_name": "lib/steel/pulse/Pulse.Syntax.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp{C_STAtomic? c \/ C_STGhost? c} -> Pulse.Syntax.Base.term | {
"end_col": 32,
"end_line": 366,
"start_col": 2,
"start_line": 364
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_modul... | false | let comp_u (c:comp { stateful_comp c }) =
match c with
| C_ST s
| C_STAtomic _ s
| C_STGhost _ s -> s.u | let comp_u (c: comp{stateful_comp c}) = | false | null | false | match c with | C_ST s | C_STAtomic _ s | C_STGhost _ s -> s.u | {
"checked_file": "Pulse.Syntax.Base.fsti.checked",
"dependencies": [
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Bui... | [
"total"
] | [
"Pulse.Syntax.Base.comp",
"Prims.b2t",
"Pulse.Syntax.Base.stateful_comp",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__u",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.universe"
] | [] | module Pulse.Syntax.Base
module RTB = FStar.Reflection.Typing.Builtins
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module RU = Pulse.RuntimeUtils
open FStar.List.Tot
module T = FStar.Tactics.V2
type constant = R.vconst
let var = nat
let index = nat
type universe = R.universe
(* locally name... | false | false | Pulse.Syntax.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val comp_u : c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.universe | [] | Pulse.Syntax.Base.comp_u | {
"file_name": "lib/steel/pulse/Pulse.Syntax.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.universe | {
"end_col": 24,
"end_line": 349,
"start_col": 2,
"start_line": 346
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_modul... | false | let comp_post (c:comp { stateful_comp c }) =
match c with
| C_ST s
| C_STAtomic _ s
| C_STGhost _ s -> s.post | let comp_post (c: comp{stateful_comp c}) = | false | null | false | match c with | C_ST s | C_STAtomic _ s | C_STGhost _ s -> s.post | {
"checked_file": "Pulse.Syntax.Base.fsti.checked",
"dependencies": [
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Bui... | [
"total"
] | [
"Pulse.Syntax.Base.comp",
"Prims.b2t",
"Pulse.Syntax.Base.stateful_comp",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__post",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.vprop"
] | [] | module Pulse.Syntax.Base
module RTB = FStar.Reflection.Typing.Builtins
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module RU = Pulse.RuntimeUtils
open FStar.List.Tot
module T = FStar.Tactics.V2
type constant = R.vconst
let var = nat
let index = nat
type universe = R.universe
(* locally name... | false | false | Pulse.Syntax.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val comp_post : c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.vprop | [] | Pulse.Syntax.Base.comp_post | {
"file_name": "lib/steel/pulse/Pulse.Syntax.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.vprop | {
"end_col": 27,
"end_line": 361,
"start_col": 2,
"start_line": 358
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_modul... | false | let comp_pre (c:comp { stateful_comp c }) =
match c with
| C_ST s
| C_STAtomic _ s
| C_STGhost _ s -> s.pre | let comp_pre (c: comp{stateful_comp c}) = | false | null | false | match c with | C_ST s | C_STAtomic _ s | C_STGhost _ s -> s.pre | {
"checked_file": "Pulse.Syntax.Base.fsti.checked",
"dependencies": [
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Sealed.Inhabited.fst.checked",
"FStar.Sealed.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Bui... | [
"total"
] | [
"Pulse.Syntax.Base.comp",
"Prims.b2t",
"Pulse.Syntax.Base.stateful_comp",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__pre",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.vprop"
] | [] | module Pulse.Syntax.Base
module RTB = FStar.Reflection.Typing.Builtins
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module RU = Pulse.RuntimeUtils
open FStar.List.Tot
module T = FStar.Tactics.V2
type constant = R.vconst
let var = nat
let index = nat
type universe = R.universe
(* locally name... | false | false | Pulse.Syntax.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val comp_pre : c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.vprop | [] | Pulse.Syntax.Base.comp_pre | {
"file_name": "lib/steel/pulse/Pulse.Syntax.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp{Pulse.Syntax.Base.stateful_comp c} -> Pulse.Syntax.Base.vprop | {
"end_col": 26,
"end_line": 355,
"start_col": 2,
"start_line": 352
} | |
Prims.Tot | val test1_plaintext:b: lbuffer uint8 3ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test1_plaintext: b:lbuffer uint8 3ul{ recallable b } =
let open Lib.RawIntTypes in
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x61; 0x62; 0x63]) in
assert_norm (List.Tot.length l == 3);
createL_mglobal l | val test1_plaintext:b: lbuffer uint8 3ul {recallable b}
let test1_plaintext:b: lbuffer uint8 3ul {recallable b} = | false | null | false | let open Lib.RawIntTypes in
[@@ inline_let ]let l:list uint8 = normalize_term (List.Tot.map u8 [0x61; 0x62; 0x63]) in
assert_norm (List.Tot.length l == 3);
createL_mglobal l | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_plaintext:b: lbuffer uint8 3ul {recallable b} | [] | Hacl.Test.SHA2.test1_plaintext | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 3 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 61,
"start_col": 2,
"start_line": 56
} |
Prims.Tot | val u8: n:nat{n < 0x100} -> uint8 | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let u8 n = u8 n | val u8: n:nat{n < 0x100} -> uint8
let u8 n = | false | null | false | u8 n | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.u8",
"Lib.IntTypes.uint8"
] | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u8: n:nat{n < 0x100} -> uint8 | [] | Hacl.Test.SHA2.u8 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | n: Prims.nat{n < 0x100} -> Lib.IntTypes.uint8 | {
"end_col": 15,
"end_line": 49,
"start_col": 11,
"start_line": 49
} |
Prims.Tot | val test2_plaintext:b: lbuffer uint8 0ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test2_plaintext: b:lbuffer uint8 0ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8 [])
in
assert_norm (List.Tot.length l == 0);
createL_mglobal l | val test2_plaintext:b: lbuffer uint8 0ul {recallable b}
let test2_plaintext:b: lbuffer uint8 0ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 = normalize_term (List.Tot.map u8 []) in
assert_norm (List.Tot.length l == 0);
createL_mglobal l | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_plaintext:b: lbuffer uint8 0ul {recallable b} | [] | Hacl.Test.SHA2.test2_plaintext | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 0 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 115,
"start_col": 2,
"start_line": 110
} |
Prims.Tot | val test1_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test1_expected_sha2_256: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xba; 0x78; 0x16; 0xbf; 0x8f; 0x01; 0xcf; 0xea; 0x41; 0x41; 0x40; 0xde; 0x5d; 0xae; 0x22; 0x23;
0xb0; 0x03; 0x61; 0xa3; 0x96; 0x17; 0x7a; 0x9c; 0xb4; 0x10; 0xff; 0x61; ... | val test1_expected_sha2_256:b: lbuffer uint8 32ul {recallable b}
let test1_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xba; 0x78; 0x16; 0xbf; 0x8f; 0x01; 0xcf; 0xea; 0x41; 0x41; 0x40; 0xde; 0x5d; 0xae; 0x22;
0x23; 0xb0; 0x03; 0x61; 0xa3; 0x96; 0x17; 0x7a; 0x9c; 0xb4; 0x10; 0xff; 0x61; 0xf2; 0x00;
0x15; 0xad
])
in
assert... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [] | Hacl.Test.SHA2.test1_expected_sha2_256 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 32 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 81,
"start_col": 2,
"start_line": 74
} |
Prims.Tot | val test3_plaintext:b: lbuffer uint8 56ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test3_plaintext: b:lbuffer uint8 56ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x61; 0x62; 0x63; 0x64; 0x62; 0x63; 0x64; 0x65; 0x63; 0x64; 0x65; 0x66; 0x64; 0x65; 0x66; 0x67;
0x65; 0x66; 0x67; 0x68; 0x66; 0x67; 0x68; 0x69; 0x67; 0x68; 0x69; 0x6a; 0x68; 0x... | val test3_plaintext:b: lbuffer uint8 56ul {recallable b}
let test3_plaintext:b: lbuffer uint8 56ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x61; 0x62; 0x63; 0x64; 0x62; 0x63; 0x64; 0x65; 0x63; 0x64; 0x65; 0x66; 0x64; 0x65; 0x66;
0x67; 0x65; 0x66; 0x67; 0x68; 0x66; 0x67; 0x68; 0x69; 0x67; 0x68; 0x69; 0x6a; 0x68; 0x69;
0x6a; 0x6b; 0x69; 0x6a; 0x6b; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_plaintext:b: lbuffer uint8 56ul {recallable b} | [] | Hacl.Test.SHA2.test3_plaintext | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 56 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 173,
"start_col": 2,
"start_line": 164
} |
Prims.Tot | val test1_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test1_expected_sha2_224: b:lbuffer uint8 28ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x23; 0x09; 0x7d; 0x22; 0x34; 0x05; 0xd8; 0x22; 0x86; 0x42; 0xa4; 0x77; 0xbd; 0xa2; 0x55; 0xb3;
0x2a; 0xad; 0xbc; 0xe4; 0xbd; 0xa0; 0xb3; 0xf7; 0xe3; 0x6c; 0x9d; 0xa7])... | val test1_expected_sha2_224:b: lbuffer uint8 28ul {recallable b}
let test1_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x23; 0x09; 0x7d; 0x22; 0x34; 0x05; 0xd8; 0x22; 0x86; 0x42; 0xa4; 0x77; 0xbd; 0xa2; 0x55;
0xb3; 0x2a; 0xad; 0xbc; 0xe4; 0xbd; 0xa0; 0xb3; 0xf7; 0xe3; 0x6c; 0x9d; 0xa7
])
in
assert_norm (List.Tot.length l == 28);
c... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [] | Hacl.Test.SHA2.test1_expected_sha2_224 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 28 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 71,
"start_col": 2,
"start_line": 64
} |
Prims.Tot | val test2_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test2_expected_sha2_224: b:lbuffer uint8 28ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xd1; 0x4a; 0x02; 0x8c; 0x2a; 0x3a; 0x2b; 0xc9; 0x47; 0x61; 0x02; 0xbb; 0x28; 0x82; 0x34; 0xc4;
0x15; 0xa2; 0xb0; 0x1f; 0x82; 0x8e; 0xa6; 0x2a; 0xc5; 0xb3; 0xe4; 0x2f])... | val test2_expected_sha2_224:b: lbuffer uint8 28ul {recallable b}
let test2_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xd1; 0x4a; 0x02; 0x8c; 0x2a; 0x3a; 0x2b; 0xc9; 0x47; 0x61; 0x02; 0xbb; 0x28; 0x82; 0x34;
0xc4; 0x15; 0xa2; 0xb0; 0x1f; 0x82; 0x8e; 0xa6; 0x2a; 0xc5; 0xb3; 0xe4; 0x2f
])
in
assert_norm (List.Tot.length l == 28);
c... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [] | Hacl.Test.SHA2.test2_expected_sha2_224 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 28 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 125,
"start_col": 2,
"start_line": 118
} |
Prims.Tot | val test2_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test2_expected_sha2_256: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xe3; 0xb0; 0xc4; 0x42; 0x98; 0xfc; 0x1c; 0x14; 0x9a; 0xfb; 0xf4; 0xc8; 0x99; 0x6f; 0xb9; 0x24;
0x27; 0xae; 0x41; 0xe4; 0x64; 0x9b; 0x93; 0x4c; 0xa4; 0x95; 0x99; 0x1b; ... | val test2_expected_sha2_256:b: lbuffer uint8 32ul {recallable b}
let test2_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xe3; 0xb0; 0xc4; 0x42; 0x98; 0xfc; 0x1c; 0x14; 0x9a; 0xfb; 0xf4; 0xc8; 0x99; 0x6f; 0xb9;
0x24; 0x27; 0xae; 0x41; 0xe4; 0x64; 0x9b; 0x93; 0x4c; 0xa4; 0x95; 0x99; 0x1b; 0x78; 0x52;
0xb8; 0x55
])
in
assert... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [] | Hacl.Test.SHA2.test2_expected_sha2_256 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 32 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 135,
"start_col": 2,
"start_line": 128
} |
Prims.Tot | val test1_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test1_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xcb; 0x00; 0x75; 0x3f; 0x45; 0xa3; 0x5e; 0x8b; 0xb5; 0xa0; 0x3d; 0x69; 0x9a; 0xc6; 0x50; 0x07;
0x27; 0x2c; 0x32; 0xab; 0x0e; 0xde; 0xd1; 0x63; 0x1a; 0x8b; 0x60; 0x5a; ... | val test1_expected_sha2_384:b: lbuffer uint8 48ul {recallable b}
let test1_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xcb; 0x00; 0x75; 0x3f; 0x45; 0xa3; 0x5e; 0x8b; 0xb5; 0xa0; 0x3d; 0x69; 0x9a; 0xc6; 0x50;
0x07; 0x27; 0x2c; 0x32; 0xab; 0x0e; 0xde; 0xd1; 0x63; 0x1a; 0x8b; 0x60; 0x5a; 0x43; 0xff;
0x5b; 0xed; 0x80; 0x86; 0x07; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [] | Hacl.Test.SHA2.test1_expected_sha2_384 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 48 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 92,
"start_col": 2,
"start_line": 84
} |
Prims.Tot | val test2_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test2_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xcf; 0x83; 0xe1; 0x35; 0x7e; 0xef; 0xb8; 0xbd; 0xf1; 0x54; 0x28; 0x50; 0xd6; 0x6d; 0x80; 0x07;
0xd6; 0x20; 0xe4; 0x05; 0x0b; 0x57; 0x15; 0xdc; 0x83; 0xf4; 0xa9; 0x21; ... | val test2_expected_sha2_512:b: lbuffer uint8 64ul {recallable b}
let test2_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xcf; 0x83; 0xe1; 0x35; 0x7e; 0xef; 0xb8; 0xbd; 0xf1; 0x54; 0x28; 0x50; 0xd6; 0x6d; 0x80;
0x07; 0xd6; 0x20; 0xe4; 0x05; 0x0b; 0x57; 0x15; 0xdc; 0x83; 0xf4; 0xa9; 0x21; 0xd3; 0x6c;
0xe9; 0xce; 0x47; 0xd0; 0xd1; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [] | Hacl.Test.SHA2.test2_expected_sha2_512 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 64 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 158,
"start_col": 2,
"start_line": 149
} |
Prims.Tot | val test3_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test3_expected_sha2_224: b:lbuffer uint8 28ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x75; 0x38; 0x8b; 0x16; 0x51; 0x27; 0x76; 0xcc; 0x5d; 0xba; 0x5d; 0xa1; 0xfd; 0x89; 0x01; 0x50;
0xb0; 0xc6; 0x45; 0x5c; 0xb4; 0xf5; 0x8b; 0x19; 0x52; 0x52; 0x25; 0x25])... | val test3_expected_sha2_224:b: lbuffer uint8 28ul {recallable b}
let test3_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x75; 0x38; 0x8b; 0x16; 0x51; 0x27; 0x76; 0xcc; 0x5d; 0xba; 0x5d; 0xa1; 0xfd; 0x89; 0x01;
0x50; 0xb0; 0xc6; 0x45; 0x5c; 0xb4; 0xf5; 0x8b; 0x19; 0x52; 0x52; 0x25; 0x25
])
in
assert_norm (List.Tot.length l == 28);
c... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [] | Hacl.Test.SHA2.test3_expected_sha2_224 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 28 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 183,
"start_col": 2,
"start_line": 176
} |
Prims.Tot | val test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test3_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x33; 0x91; 0xfd; 0xdd; 0xfc; 0x8d; 0xc7; 0x39; 0x37; 0x07; 0xa6; 0x5b; 0x1b; 0x47; 0x09; 0x39;
0x7c; 0xf8; 0xb1; 0xd1; 0x62; 0xaf; 0x05; 0xab; 0xfe; 0x8f; 0x45; 0x0d; ... | val test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b}
let test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x33; 0x91; 0xfd; 0xdd; 0xfc; 0x8d; 0xc7; 0x39; 0x37; 0x07; 0xa6; 0x5b; 0x1b; 0x47; 0x09;
0x39; 0x7c; 0xf8; 0xb1; 0xd1; 0x62; 0xaf; 0x05; 0xab; 0xfe; 0x8f; 0x45; 0x0d; 0xe5; 0xf3;
0x6b; 0xc6; 0xb0; 0x45; 0x5a; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [] | Hacl.Test.SHA2.test3_expected_sha2_384 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 48 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 204,
"start_col": 2,
"start_line": 196
} |
Prims.Tot | val test4_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test4_expected_sha2_224: b:lbuffer uint8 28ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xc9; 0x7c; 0xa9; 0xa5; 0x59; 0x85; 0x0c; 0xe9; 0x7a; 0x04; 0xa9; 0x6d; 0xef; 0x6d; 0x99; 0xa9;
0xe0; 0xe0; 0xe2; 0xab; 0x14; 0xe6; 0xb8; 0xdf; 0x26; 0x5f; 0xc0; 0xb3])... | val test4_expected_sha2_224:b: lbuffer uint8 28ul {recallable b}
let test4_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xc9; 0x7c; 0xa9; 0xa5; 0x59; 0x85; 0x0c; 0xe9; 0x7a; 0x04; 0xa9; 0x6d; 0xef; 0x6d; 0x99;
0xa9; 0xe0; 0xe0; 0xe2; 0xab; 0x14; 0xe6; 0xb8; 0xdf; 0x26; 0x5f; 0xc0; 0xb3
])
in
assert_norm (List.Tot.length l == 28);
c... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected_sha2_224:b: lbuffer uint8 28ul {recallable b} | [] | Hacl.Test.SHA2.test4_expected_sha2_224 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 28 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 244,
"start_col": 2,
"start_line": 237
} |
Prims.Tot | val test3_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test3_expected_sha2_256: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x24; 0x8d; 0x6a; 0x61; 0xd2; 0x06; 0x38; 0xb8; 0xe5; 0xc0; 0x26; 0x93; 0x0c; 0x3e; 0x60; 0x39;
0xa3; 0x3c; 0xe4; 0x59; 0x64; 0xff; 0x21; 0x67; 0xf6; 0xec; 0xed; 0xd4; ... | val test3_expected_sha2_256:b: lbuffer uint8 32ul {recallable b}
let test3_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x24; 0x8d; 0x6a; 0x61; 0xd2; 0x06; 0x38; 0xb8; 0xe5; 0xc0; 0x26; 0x93; 0x0c; 0x3e; 0x60;
0x39; 0xa3; 0x3c; 0xe4; 0x59; 0x64; 0xff; 0x21; 0x67; 0xf6; 0xec; 0xed; 0xd4; 0x19; 0xdb;
0x06; 0xc1
])
in
assert... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [] | Hacl.Test.SHA2.test3_expected_sha2_256 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 32 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 193,
"start_col": 2,
"start_line": 186
} |
Prims.Tot | val test2_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test2_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x38; 0xb0; 0x60; 0xa7; 0x51; 0xac; 0x96; 0x38; 0x4c; 0xd9; 0x32; 0x7e; 0xb1; 0xb1; 0xe3; 0x6a;
0x21; 0xfd; 0xb7; 0x11; 0x14; 0xbe; 0x07; 0x43; 0x4c; 0x0c; 0xc7; 0xbf; ... | val test2_expected_sha2_384:b: lbuffer uint8 48ul {recallable b}
let test2_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x38; 0xb0; 0x60; 0xa7; 0x51; 0xac; 0x96; 0x38; 0x4c; 0xd9; 0x32; 0x7e; 0xb1; 0xb1; 0xe3;
0x6a; 0x21; 0xfd; 0xb7; 0x11; 0x14; 0xbe; 0x07; 0x43; 0x4c; 0x0c; 0xc7; 0xbf; 0x63; 0xf6;
0xe1; 0xda; 0x27; 0x4e; 0xde; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test2_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [] | Hacl.Test.SHA2.test2_expected_sha2_384 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 48 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 146,
"start_col": 2,
"start_line": 138
} |
Prims.Tot | val test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test4_expected_sha2_384: b:lbuffer uint8 48ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x09; 0x33; 0x0c; 0x33; 0xf7; 0x11; 0x47; 0xe8; 0x3d; 0x19; 0x2f; 0xc7; 0x82; 0xcd; 0x1b; 0x47;
0x53; 0x11; 0x1b; 0x17; 0x3b; 0x3b; 0x05; 0xd2; 0x2f; 0xa0; 0x80; 0x86; ... | val test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b}
let test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x09; 0x33; 0x0c; 0x33; 0xf7; 0x11; 0x47; 0xe8; 0x3d; 0x19; 0x2f; 0xc7; 0x82; 0xcd; 0x1b;
0x47; 0x53; 0x11; 0x1b; 0x17; 0x3b; 0x3b; 0x05; 0xd2; 0x2f; 0xa0; 0x80; 0x86; 0xe3; 0xb0;
0xf7; 0x12; 0xfc; 0xc7; 0xc7; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected_sha2_384:b: lbuffer uint8 48ul {recallable b} | [] | Hacl.Test.SHA2.test4_expected_sha2_384 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 48 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 265,
"start_col": 2,
"start_line": 257
} |
Prims.Tot | val test1_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test1_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xdd; 0xaf; 0x35; 0xa1; 0x93; 0x61; 0x7a; 0xba; 0xcc; 0x41; 0x73; 0x49; 0xae; 0x20; 0x41; 0x31;
0x12; 0xe6; 0xfa; 0x4e; 0x89; 0xa9; 0x7e; 0xa2; 0x0a; 0x9e; 0xee; 0xe6; ... | val test1_expected_sha2_512:b: lbuffer uint8 64ul {recallable b}
let test1_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xdd; 0xaf; 0x35; 0xa1; 0x93; 0x61; 0x7a; 0xba; 0xcc; 0x41; 0x73; 0x49; 0xae; 0x20; 0x41;
0x31; 0x12; 0xe6; 0xfa; 0x4e; 0x89; 0xa9; 0x7e; 0xa2; 0x0a; 0x9e; 0xee; 0xe6; 0x4b; 0x55;
0xd3; 0x9a; 0x21; 0x92; 0x99; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test1_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [] | Hacl.Test.SHA2.test1_expected_sha2_512 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 64 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 104,
"start_col": 2,
"start_line": 95
} |
Prims.Tot | val test4_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test4_expected_sha2_256: b:lbuffer uint8 32ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0xcf; 0x5b; 0x16; 0xa7; 0x78; 0xaf; 0x83; 0x80; 0x03; 0x6c; 0xe5; 0x9e; 0x7b; 0x04; 0x92; 0x37;
0x0b; 0x24; 0x9b; 0x11; 0xe8; 0xf0; 0x7a; 0x51; 0xaf; 0xac; 0x45; 0x03; ... | val test4_expected_sha2_256:b: lbuffer uint8 32ul {recallable b}
let test4_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0xcf; 0x5b; 0x16; 0xa7; 0x78; 0xaf; 0x83; 0x80; 0x03; 0x6c; 0xe5; 0x9e; 0x7b; 0x04; 0x92;
0x37; 0x0b; 0x24; 0x9b; 0x11; 0xe8; 0xf0; 0x7a; 0x51; 0xaf; 0xac; 0x45; 0x03; 0x7a; 0xfe;
0xe9; 0xd1
])
in
assert... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected_sha2_256:b: lbuffer uint8 32ul {recallable b} | [] | Hacl.Test.SHA2.test4_expected_sha2_256 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 32 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 254,
"start_col": 2,
"start_line": 247
} |
Prims.Tot | val test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test3_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x20; 0x4a; 0x8f; 0xc6; 0xdd; 0xa8; 0x2f; 0x0a; 0x0c; 0xed; 0x7b; 0xeb; 0x8e; 0x08; 0xa4; 0x16;
0x57; 0xc1; 0x6e; 0xf4; 0x68; 0xb2; 0x28; 0xa8; 0x27; 0x9b; 0xe3; 0x31; ... | val test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b}
let test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x20; 0x4a; 0x8f; 0xc6; 0xdd; 0xa8; 0x2f; 0x0a; 0x0c; 0xed; 0x7b; 0xeb; 0x8e; 0x08; 0xa4;
0x16; 0x57; 0xc1; 0x6e; 0xf4; 0x68; 0xb2; 0x28; 0xa8; 0x27; 0x9b; 0xe3; 0x31; 0xa7; 0x03;
0xc3; 0x35; 0x96; 0xfd; 0x15; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test3_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [] | Hacl.Test.SHA2.test3_expected_sha2_512 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 64 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 216,
"start_col": 2,
"start_line": 207
} |
Prims.Tot | val test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test4_expected_sha2_512: b:lbuffer uint8 64ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x8e; 0x95; 0x9b; 0x75; 0xda; 0xe3; 0x13; 0xda; 0x8c; 0xf4; 0xf7; 0x28; 0x14; 0xfc; 0x14; 0x3f;
0x8f; 0x77; 0x79; 0xc6; 0xeb; 0x9f; 0x7f; 0xa1; 0x72; 0x99; 0xae; 0xad; ... | val test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b}
let test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x8e; 0x95; 0x9b; 0x75; 0xda; 0xe3; 0x13; 0xda; 0x8c; 0xf4; 0xf7; 0x28; 0x14; 0xfc; 0x14;
0x3f; 0x8f; 0x77; 0x79; 0xc6; 0xeb; 0x9f; 0x7f; 0xa1; 0x72; 0x99; 0xae; 0xad; 0xb6; 0x88;
0x90; 0x18; 0x50; 0x1d; 0x28; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_expected_sha2_512:b: lbuffer uint8 64ul {recallable b} | [] | Hacl.Test.SHA2.test4_expected_sha2_512 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 64 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 277,
"start_col": 2,
"start_line": 268
} |
Prims.Tot | val test4_plaintext:b: lbuffer uint8 112ul {recallable b} | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test4_plaintext: b:lbuffer uint8 112ul{ recallable b } =
[@ inline_let]
let l:list uint8 =
normalize_term (List.Tot.map u8
[0x61; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69;
0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69; 0x6a; 0x64; 0x65; 0x66; 0x67; 0x68; 0... | val test4_plaintext:b: lbuffer uint8 112ul {recallable b}
let test4_plaintext:b: lbuffer uint8 112ul {recallable b} = | false | null | false | [@@ inline_let ]let l:list uint8 =
normalize_term (List.Tot.map u8
[
0x61; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x62; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68;
0x69; 0x63; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69; 0x6a; 0x64; 0x65; 0x66; 0x67; 0x68; 0x69;
0x6a; 0x6b; 0x65; 0x66; 0x67; 0... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [
"total"
] | [
"Lib.Buffer.createL_mglobal",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U8",
"Lib.IntTypes.SEC",
"Lib.Buffer.buffer",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.eq2",
"Prims.int",
"FStar.List.Tot.Base.length",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"FStar.UInt32.uint_to_t",
"FStar.U... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test4_plaintext:b: lbuffer uint8 112ul {recallable b} | [] | Hacl.Test.SHA2.test4_plaintext | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | b:
Lib.Buffer.lbuffer_t Lib.Buffer.MUT
(Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.SEC)
(FStar.UInt32.uint_to_t 112 <: FStar.UInt32.t) {Lib.Buffer.recallable b} | {
"end_col": 19,
"end_line": 234,
"start_col": 2,
"start_line": 222
} |
FStar.HyperStack.ST.St | val main: unit -> St C.exit_code | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let main () =
C.String.print (C.String.of_literal "\nTEST 1. SHA2\n");
recall test1_expected_sha2_224;
recall test1_expected_sha2_256;
recall test1_expected_sha2_384;
recall test1_expected_sha2_512;
recall test1_plaintext;
test_sha2 3ul
test1_plaintext
test1_expected_sha2_224
test1_expected_sh... | val main: unit -> St C.exit_code
let main () = | true | null | false | C.String.print (C.String.of_literal "\nTEST 1. SHA2\n");
recall test1_expected_sha2_224;
recall test1_expected_sha2_256;
recall test1_expected_sha2_384;
recall test1_expected_sha2_512;
recall test1_plaintext;
test_sha2 3ul
test1_plaintext
test1_expected_sha2_224
test1_expected_sha2_256
test1_expected_sha2_384
... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [] | [
"Prims.unit",
"C.EXIT_SUCCESS",
"C.exit_code",
"Hacl.Test.SHA2.test_sha2",
"FStar.UInt32.__uint_to_t",
"Hacl.Test.SHA2.test4_plaintext",
"Hacl.Test.SHA2.test4_expected_sha2_224",
"Hacl.Test.SHA2.test4_expected_sha2_256",
"Hacl.Test.SHA2.test4_expected_sha2_384",
"Hacl.Test.SHA2.test4_expected_sha2... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val main: unit -> St C.exit_code | [] | Hacl.Test.SHA2.main | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.St C.exit_code | {
"end_col": 16,
"end_line": 333,
"start_col": 2,
"start_line": 281
} |
FStar.HyperStack.ST.Stack | val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
-> expected256:lbuffer uint8 32ul
-> expected384:lbuffer uint8 48ul
-> expected512:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msg /\ live h expected224 /\ live h expected256 /\
li... | [
{
"abbrev": false,
"full_module": "Hacl.Hash.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.SHA2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.PrintBuffer",
"short_module": null
},
{
"abbrev": false,
"full_m... | false | let test_sha2 msg_len msg expected224 expected256 expected384 expected512 =
Math.Lemmas.pow2_lt_compat 61 32;
Math.Lemmas.pow2_lt_compat 125 32;
push_frame();
let test224 = create 28ul (u8 0) in
let test256 = create 32ul (u8 0) in
let test384 = create 48ul (u8 0) in
let test512 = create 64ul (u8 0) in
h... | val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
-> expected256:lbuffer uint8 32ul
-> expected384:lbuffer uint8 48ul
-> expected512:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msg /\ live h expected224 /\ live h expected256 /\
li... | true | null | false | Math.Lemmas.pow2_lt_compat 61 32;
Math.Lemmas.pow2_lt_compat 125 32;
push_frame ();
let test224 = create 28ul (u8 0) in
let test256 = create 32ul (u8 0) in
let test384 = create 48ul (u8 0) in
let test512 = create 64ul (u8 0) in
hash_224 msg msg_len (test224 <: lbuffer uint8 28ul);
hash_256 msg msg_len (test256 <: lbuff... | {
"checked_file": "Hacl.Test.SHA2.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.RawIntTypes.fsti.checked",
"Lib.PrintBuffer.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Hash.SHA2.fsti.checked",
"FStar.UInt... | [] | [
"Lib.IntTypes.size_t",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"C.exit",
"FStar.Int32.__int_to_t",
"Prims.bool",
"Prims.op_Negation",
"Lib.PrintBuffer.result_compare_display",
"Lib.Buffer.to_const",
"Lib.Buffer.MU... | [] | module Hacl.Test.SHA2
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Lib.PrintBuffer
open Hacl.Streaming.SHA2
open Hacl.Hash.SHA2
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
... | false | false | Hacl.Test.SHA2.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val test_sha2:
msg_len:size_t
-> msg:lbuffer uint8 msg_len
-> expected224:lbuffer uint8 28ul
-> expected256:lbuffer uint8 32ul
-> expected384:lbuffer uint8 48ul
-> expected512:lbuffer uint8 64ul
-> Stack unit
(requires fun h ->
live h msg /\ live h expected224 /\ live h expected256 /\
li... | [] | Hacl.Test.SHA2.test_sha2 | {
"file_name": "code/tests/Hacl.Test.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
msg_len: Lib.IntTypes.size_t ->
msg: Lib.Buffer.lbuffer Lib.IntTypes.uint8 msg_len ->
expected224: Lib.Buffer.lbuffer Lib.IntTypes.uint8 28ul ->
expected256: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul ->
expected384: Lib.Buffer.lbuffer Lib.IntTypes.uint8 48ul ->
expected512: Lib.Buffer.lbuffer ... | {
"end_col": 13,
"end_line": 44,
"start_col": 2,
"start_line": 28
} |
Prims.Tot | val hkdf_expand512:HK.expand_st Hash.SHA2_512 | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | false | let hkdf_expand512 : HK.expand_st Hash.SHA2_512 = Hacl.HKDF.expand_sha2_512 | val hkdf_expand512:HK.expand_st Hash.SHA2_512
let hkdf_expand512:HK.expand_st Hash.SHA2_512 = | false | null | false | Hacl.HKDF.expand_sha2_512 | {
"checked_file": "Hacl.HPKE.Interface.HKDF.fst.checked",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_f... | [
"total"
] | [
"Hacl.HKDF.expand_sha2_512"
] | [] | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | false | true | Hacl.HPKE.Interface.HKDF.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hkdf_expand512:HK.expand_st Hash.SHA2_512 | [] | Hacl.HPKE.Interface.HKDF.hkdf_expand512 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HKDF.expand_st Spec.Hash.Definitions.SHA2_512 | {
"end_col": 75,
"end_line": 33,
"start_col": 50,
"start_line": 33
} |
Prims.Tot | val hkdf_extract512:HK.extract_st Hash.SHA2_512 | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | false | let hkdf_extract512 : HK.extract_st Hash.SHA2_512 = Hacl.HKDF.extract_sha2_512 | val hkdf_extract512:HK.extract_st Hash.SHA2_512
let hkdf_extract512:HK.extract_st Hash.SHA2_512 = | false | null | false | Hacl.HKDF.extract_sha2_512 | {
"checked_file": "Hacl.HPKE.Interface.HKDF.fst.checked",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_f... | [
"total"
] | [
"Hacl.HKDF.extract_sha2_512"
] | [] | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | false | true | Hacl.HPKE.Interface.HKDF.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hkdf_extract512:HK.extract_st Hash.SHA2_512 | [] | Hacl.HPKE.Interface.HKDF.hkdf_extract512 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HKDF.extract_st Spec.Hash.Definitions.SHA2_512 | {
"end_col": 78,
"end_line": 31,
"start_col": 52,
"start_line": 31
} |
Prims.Tot | val hkdf_extract256:HK.extract_st Hash.SHA2_256 | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | false | let hkdf_extract256 : HK.extract_st Hash.SHA2_256 = Hacl.HKDF.extract_sha2_256 | val hkdf_extract256:HK.extract_st Hash.SHA2_256
let hkdf_extract256:HK.extract_st Hash.SHA2_256 = | false | null | false | Hacl.HKDF.extract_sha2_256 | {
"checked_file": "Hacl.HPKE.Interface.HKDF.fst.checked",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_f... | [
"total"
] | [
"Hacl.HKDF.extract_sha2_256"
] | [] | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | false | true | Hacl.HPKE.Interface.HKDF.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hkdf_extract256:HK.extract_st Hash.SHA2_256 | [] | Hacl.HPKE.Interface.HKDF.hkdf_extract256 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HKDF.extract_st Spec.Hash.Definitions.SHA2_256 | {
"end_col": 78,
"end_line": 26,
"start_col": 52,
"start_line": 26
} |
Prims.Tot | val hkdf_expand256:HK.expand_st Hash.SHA2_256 | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Hacl.HKDF",
"short_module": "HK"
},
{
"abbrev": true,
"full_module": "Spec.Agile.HPKE",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Ha... | false | let hkdf_expand256 : HK.expand_st Hash.SHA2_256 = Hacl.HKDF.expand_sha2_256 | val hkdf_expand256:HK.expand_st Hash.SHA2_256
let hkdf_expand256:HK.expand_st Hash.SHA2_256 = | false | null | false | Hacl.HKDF.expand_sha2_256 | {
"checked_file": "Hacl.HPKE.Interface.HKDF.fst.checked",
"dependencies": [
"Spec.Agile.HPKE.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"prims.fst.checked",
"Meta.Attribute.fst.checked",
"Hacl.HKDF.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_f... | [
"total"
] | [
"Hacl.HKDF.expand_sha2_256"
] | [] | module Hacl.HPKE.Interface.HKDF
module S = Spec.Agile.HPKE
module HK = Hacl.HKDF
module Hash = Spec.Agile.Hash
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_extract: #cs:S.ciphersuite -> HK.extract_st (S.hash_of_cs cs)
[@ Meta.Attribute.specialize ]
noextract
assume val hkdf_expand: #cs:S.ciphersuite -> H... | false | true | Hacl.HPKE.Interface.HKDF.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hkdf_expand256:HK.expand_st Hash.SHA2_256 | [] | Hacl.HPKE.Interface.HKDF.hkdf_expand256 | {
"file_name": "code/hpke/Hacl.HPKE.Interface.HKDF.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HKDF.expand_st Spec.Hash.Definitions.SHA2_256 | {
"end_col": 75,
"end_line": 28,
"start_col": 50,
"start_line": 28
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let symmetry #a (equals: a -> a -> prop) =
forall x y. {:pattern (x `equals` y)}
x `equals` y ==> y `equals` x | let symmetry #a (equals: (a -> a -> prop)) = | false | null | false | forall x y. {:pattern (x `equals` y)} x `equals` y ==> y `equals` x | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val symmetry : equals: (_: a -> _: a -> Prims.prop) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.symmetry | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: a -> _: a -> Prims.prop) -> Prims.logical | {
"end_col": 33,
"end_line": 62,
"start_col": 2,
"start_line": 61
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let depends_only_on_0
(#heap:Type)
(#hprop:Type)
(interp:hprop -> heap -> prop)
(disjoint: heap -> heap -> prop)
(join: (h0:heap -> h1:heap{disjoint h0 h1} -> heap))
(q:heap -> prop) (fp: hprop)
=
forall (h0:fp_heap_0 interp fp) (h1:heap{disjoint h0 h1}). q h0 <==> q (join h0 h... | let depends_only_on_0
(#heap #hprop: Type)
(interp: (hprop -> heap -> prop))
(disjoint: (heap -> heap -> prop))
(join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap))
(q: (heap -> prop))
(fp: hprop)
= | false | null | false | forall (h0: fp_heap_0 interp fp) (h1: heap{disjoint h0 h1}). q h0 <==> q (join h0 h1) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Prims.l_iff",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on_0 : interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
q: (_: heap -> Prims.prop) ->
fp: hprop
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.depends_only_on_0 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
q: (_: heap -> Prims.prop) ->
fp: hprop
-> Prims.logical | {
"end_col": 85,
"end_line": 99,
"start_col": 2,
"start_line": 99
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let transitive #a (equals:a -> a -> prop) =
forall x y z. x `equals` y /\ y `equals` z ==> x `equals` z | let transitive #a (equals: (a -> a -> prop)) = | false | null | false | forall x y z. x `equals` y /\ y `equals` z ==> x `equals` z | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.l_and",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val transitive : equals: (_: a -> _: a -> Prims.prop) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.transitive | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: a -> _: a -> Prims.prop) -> Prims.logical | {
"end_col": 61,
"end_line": 65,
"start_col": 2,
"start_line": 65
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let is_unit #a (x:a) (equals: a -> a -> prop) (f:a -> a -> a) =
forall y. {:pattern f x y \/ f y x}
f x y `equals` y /\
f y x `equals` y | let is_unit #a (x: a) (equals: (a -> a -> prop)) (f: (a -> a -> a)) = | false | null | false | forall y. {:pattern f x y\/f y x} (f x y) `equals` y /\ (f y x) `equals` y | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_and",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val is_unit : x: a -> equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.is_unit | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: a -> equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | {
"end_col": 20,
"end_line": 78,
"start_col": 2,
"start_line": 76
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let associative #a (equals: a -> a -> prop) (f: a -> a -> a)=
forall x y z.
f x (f y z) `equals` f (f x y) z | let associative #a (equals: (a -> a -> prop)) (f: (a -> a -> a)) = | false | null | false | forall x y z. (f x (f y z)) `equals` (f (f x y) z) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val associative : equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.associative | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | {
"end_col": 36,
"end_line": 69,
"start_col": 2,
"start_line": 68
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let fp_heap_0
(#heap:Type)
(#hprop:Type)
(interp:hprop -> heap -> prop)
(pre:hprop)
=
h:heap{interp pre h} | let fp_heap_0 (#heap #hprop: Type) (interp: (hprop -> heap -> prop)) (pre: hprop) = | false | null | false | h: heap{interp pre h} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fp_heap_0 : interp: (_: hprop -> _: heap -> Prims.prop) -> pre: hprop -> Type | [] | Steel.Semantics.Hoare.MST.fp_heap_0 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | interp: (_: hprop -> _: heap -> Prims.prop) -> pre: hprop -> Type | {
"end_col": 22,
"end_line": 89,
"start_col": 2,
"start_line": 89
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let fp_prop (#st:st0) (fp:st.hprop) =
fp_prop_0 st.interp st.disjoint st.join fp | let fp_prop (#st: st0) (fp: st.hprop) = | false | null | false | fp_prop_0 st.interp st.disjoint st.join fp | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.fp_prop_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Steel... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fp_prop : fp: Mkst0?.hprop st -> Type | [] | Steel.Semantics.Hoare.MST.fp_prop | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | fp: Mkst0?.hprop st -> Type | {
"end_col": 44,
"end_line": 173,
"start_col": 2,
"start_line": 173
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let fp_prop_0
(#heap:Type)
(#hprop:Type)
(interp:hprop -> heap -> prop)
(disjoint: heap -> heap -> prop)
(join: (h0:heap -> h1:heap{disjoint h0 h1} -> heap))
(fp:hprop)
=
p:(heap -> prop){p `(depends_only_on_0 interp disjoint join)` fp} | let fp_prop_0
(#heap #hprop: Type)
(interp: (hprop -> heap -> prop))
(disjoint: (heap -> heap -> prop))
(join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap))
(fp: hprop)
= | false | null | false | p: (heap -> prop){p `(depends_only_on_0 interp disjoint join)` fp} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Steel.Semantics.Hoare.MST.depends_only_on_0"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fp_prop_0 : interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp: hprop
-> Type | [] | Steel.Semantics.Hoare.MST.fp_prop_0 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp: hprop
-> Type | {
"end_col": 67,
"end_line": 109,
"start_col": 2,
"start_line": 109
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let fp_prop2 (#st:st0) (#a:Type) (fp_pre:st.hprop) (fp_post:a -> st.hprop) =
q:(st.mem -> a -> st.mem -> prop){depends_only_on2 q fp_pre fp_post} | let fp_prop2 (#st: st0) (#a: Type) (fp_pre: st.hprop) (fp_post: (a -> st.hprop)) = | false | null | false | q: (st.mem -> a -> st.mem -> prop){depends_only_on2 q fp_pre fp_post} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.depends_only_on2"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fp_prop2 : fp_pre: Mkst0?.hprop st -> fp_post: (_: a -> Mkst0?.hprop st) -> Type | [] | Steel.Semantics.Hoare.MST.fp_prop2 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | fp_pre: Mkst0?.hprop st -> fp_post: (_: a -> Mkst0?.hprop st) -> Type | {
"end_col": 70,
"end_line": 273,
"start_col": 2,
"start_line": 273
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let fp_prop_0_2
(#a:Type)
(#heap #hprop:Type)
(interp:hprop -> heap -> prop)
(disjoint:heap -> heap -> prop)
(join:(h0:heap -> h1:heap{disjoint h0 h1} -> heap))
(fp_pre:hprop)
(fp_post:a -> hprop)
=
q:(heap -> a -> heap -> prop){depends_only_on_0_2 interp disjoint join q ... | let fp_prop_0_2
(#a #heap #hprop: Type)
(interp: (hprop -> heap -> prop))
(disjoint: (heap -> heap -> prop))
(join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap))
(fp_pre: hprop)
(fp_post: (a -> hprop))
= | false | null | false | q: (heap -> a -> heap -> prop){depends_only_on_0_2 interp disjoint join q fp_pre fp_post} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Steel.Semantics.Hoare.MST.depends_only_on_0_2"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fp_prop_0_2 : interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Type | [] | Steel.Semantics.Hoare.MST.fp_prop_0_2 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Type | {
"end_col": 90,
"end_line": 261,
"start_col": 2,
"start_line": 261
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let l_pre (#st:st) (pre:st.hprop) = fp_prop pre | let l_pre (#st: st) (pre: st.hprop) = | false | null | false | fp_prop pre | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.fp_prop"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val l_pre : pre: Mkst0?.hprop st -> Type | [] | Steel.Semantics.Hoare.MST.l_pre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | pre: Mkst0?.hprop st -> Type | {
"end_col": 47,
"end_line": 221,
"start_col": 36,
"start_line": 221
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let affine (st:st0) =
forall r0 r1 s. {:pattern (st.interp (r0 `st.star` r1) s) }
st.interp (r0 `st.star` r1) s ==> st.interp r0 s | let affine (st: st0) = | false | null | false | forall r0 r1 s. {:pattern (st.interp (r0 `st.star` r1) s)}
st.interp (r0 `st.star` r1) s ==> st.interp r0 s | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.logical... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val affine : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | [] | Steel.Semantics.Hoare.MST.affine | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | {
"end_col": 52,
"end_line": 165,
"start_col": 2,
"start_line": 164
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let full_mem (st:st) = m:st.mem{st.full_mem_pred m} | let full_mem (st: st) = | false | null | false | m: st.mem{st.full_mem_pred m} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__full_mem_pred"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val full_mem : st: Steel.Semantics.Hoare.MST.st -> Type | [] | Steel.Semantics.Hoare.MST.full_mem | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st -> Type | {
"end_col": 51,
"end_line": 284,
"start_col": 23,
"start_line": 284
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let depends_only_on (#st:st0) (q:st.mem -> prop) (fp: st.hprop) =
depends_only_on_0 st.interp st.disjoint st.join q fp | let depends_only_on (#st: st0) (q: (st.mem -> prop)) (fp: st.hprop) = | false | null | false | depends_only_on_0 st.interp st.disjoint st.join q fp | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.depends_only_on_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__i... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on : q: (_: Mkst0?.mem st -> Prims.prop) -> fp: Mkst0?.hprop st -> Prims.logical | [] | Steel.Semantics.Hoare.MST.depends_only_on | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: (_: Mkst0?.mem st -> Prims.prop) -> fp: Mkst0?.hprop st -> Prims.logical | {
"end_col": 54,
"end_line": 170,
"start_col": 2,
"start_line": 170
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let stronger_post (#st:st) (#a:Type u#a) (post next_post:post_t st a) =
forall (x:a) (h:st.mem) (frame:st.hprop).
st.interp (next_post x `st.star` frame) h ==>
st.interp (post x `st.star` frame) h | let stronger_post (#st: st) (#a: Type u#a) (post next_post: post_t st a) = | false | null | false | forall (x: a) (h: st.mem) (frame: st.hprop).
st.interp ((next_post x) `st.star` frame) h ==> st.interp ((post x) `st.star` frame) h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj_... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val stronger_post : post: Steel.Semantics.Hoare.MST.post_t st a -> next_post: Steel.Semantics.Hoare.MST.post_t st a
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.stronger_post | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | post: Steel.Semantics.Hoare.MST.post_t st a -> next_post: Steel.Semantics.Hoare.MST.post_t st a
-> Prims.logical | {
"end_col": 40,
"end_line": 438,
"start_col": 2,
"start_line": 436
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let action_t
(#st:st)
(#a:Type)
(pre:st.hprop)
(post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
= frame:st.hprop ->
Mst a
(requires fun m0 ->
st.interp (pre `st.star` frame `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0))
(ensures fun m0 x m1 ->
... | let action_t
(#st: st)
(#a: Type)
(pre: st.hprop)
(post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
= | false | null | false | frame: st.hprop
-> Mst a
(requires
fun m0 ->
st.interp ((pre `st.star` frame) `st.star` (st.locks_invariant m0)) m0 /\
lpre (st.core m0))
(ensures
fun m0 x m1 ->
post_preserves_frame (post x) frame m0 m1 /\ lpost (st.core m0) x (st.core m1)) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mks... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val action_t : pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | [] | Steel.Semantics.Hoare.MST.action_t | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | {
"end_col": 42,
"end_line": 322,
"start_col": 4,
"start_line": 315
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let weakening_ok
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
(#wpre:st.hprop)
(#wpost:post_t st a)
(wlpre:l_pre wpre)
(wlpost:l_post wpre wpost)
=
weaker_pre wpre pre /\
stronger_post wpost post /... | let weakening_ok
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#wpre: st.hprop)
(#wpost: post_t st a)
(wlpre: l_pre wpre)
(wlpost: l_post wpre wpost)
= | false | null | false | weaker_pre wpre pre /\ stronger_post wpost post /\ (forall h. wlpre h ==> lpre h) /\
(forall h0 x h1. lpost h0 x h1 ==> wlpost h0 x h1) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.weaker_pre",
"Steel.Semantics.Hoare.MST.stronger_post",
"Prims.... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val weakening_ok : lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
wlpre: Steel.Semantics.Hoare.MST.l_pre wpre ->
wlpost: Steel.Semantics.Hoare.MST.l_post wpre wpost
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.weakening_ok | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
wlpre: Steel.Semantics.Hoare.MST.l_pre wpre ->
wlpost: Steel.Semantics.Hoare.MST.l_post wpre wpost
-> Prims.logical | {
"end_col": 52,
"end_line": 455,
"start_col": 2,
"start_line": 452
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let stronger_lpost
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(#next_pre:st.hprop)
#next_post
(next_lpost:l_post next_pre next_post)
(m0 m1:st.mem)
=
forall (x:a) (h_final:st.mem).
next_lpost (st.core m1) x h_final =... | let stronger_lpost
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(#next_pre: st.hprop)
#next_post
(next_lpost: l_post next_pre next_post)
(m0: st.mem)
(m1: st.mem)
= | false | null | false | forall (x: a) (h_final: st.mem). next_lpost (st.core m1) x h_final ==> lpost (st.core m0) x h_final | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_Forall",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val stronger_lpost : lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
next_lpost: Steel.Semantics.Hoare.MST.l_post next_pre next_post ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.stronger_lpost | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
next_lpost: Steel.Semantics.Hoare.MST.l_post next_pre next_post ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | {
"end_col": 32,
"end_line": 618,
"start_col": 2,
"start_line": 616
} | |
Prims.Tot | val step_ens:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem ->
step_result st a ->
st.mem
-> Type0 | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let step_ens
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost)
: st.mem -> step_result st a -> st.mem -> Type0
= fun m0 r m1 ->
let Step next_pre next_post next_lpre next_lpost _ = r in
po... | val step_ens:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem ->
step_result st a ->
st.mem
-> Type0
let step_ens
(#st: st)
(#a: Type u#a... | false | null | false | fun m0 r m1 ->
let Step next_pre next_post next_lpre next_lpost _ = r in
post_preserves_frame next_pre frame m0 m1 /\ stronger_post post next_post /\
next_lpre (st.core m1) /\ weaker_lpre lpre next_lpre m0 m1 /\
stronger_lpost lpost next_lpost m0 m1 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_ens:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem ->
step_result st a ->
st.mem
-> Type0 | [] | Steel.Semantics.Hoare.MST.step_ens | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost ->
_: Mkst0?.mem st ->
_: Steel.Semantics.Hoare.MST.step_result st a ->
_: Mkst0?.mem st
-> Type0 | {
"end_col": 41,
"end_line": 639,
"start_col": 4,
"start_line": 631
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let commutative #a (equals: a -> a -> prop) (f: a -> a -> a) =
forall x y.{:pattern f x y}
f x y `equals` f y x | let commutative #a (equals: (a -> a -> prop)) (f: (a -> a -> a)) = | false | null | false | forall x y. {:pattern f x y} (f x y) `equals` (f y x) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val commutative : equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.commutative | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | {
"end_col": 24,
"end_line": 73,
"start_col": 2,
"start_line": 72
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let equals_ext #a (equals:a -> a -> prop) (f:a -> a -> a) =
forall x1 x2 y. x1 `equals` x2 ==> f x1 y `equals` f x2 y | let equals_ext #a (equals: (a -> a -> prop)) (f: (a -> a -> a)) = | false | null | false | forall x1 x2 y. x1 `equals` x2 ==> (f x1 y) `equals` (f x2 y) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val equals_ext : equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.equals_ext | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: a -> _: a -> Prims.prop) -> f: (_: a -> _: a -> a) -> Prims.logical | {
"end_col": 59,
"end_line": 81,
"start_col": 2,
"start_line": 81
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let disjoint_sym (st:st0) =
forall h0 h1. st.disjoint h0 h1 <==> st.disjoint h1 h0 | let disjoint_sym (st: st0) = | false | null | false | forall h0 h1. st.disjoint h0 h1 <==> st.disjoint h1 h0 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_iff",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val disjoint_sym : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | [] | Steel.Semantics.Hoare.MST.disjoint_sym | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | {
"end_col": 56,
"end_line": 136,
"start_col": 2,
"start_line": 136
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let interp_extensionality #r #s (equals:r -> r -> prop) (f:r -> s -> prop) =
forall x y h. {:pattern equals x y; f x h} equals x y /\ f x h ==> f y h | let interp_extensionality #r #s (equals: (r -> r -> prop)) (f: (r -> s -> prop)) = | false | null | false | forall x y h. {:pattern equals x y; f x h} equals x y /\ f x h ==> f y h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.l_and",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val interp_extensionality : equals: (_: r -> _: r -> Prims.prop) -> f: (_: r -> _: s -> Prims.prop) -> Prims.logical | [] | Steel.Semantics.Hoare.MST.interp_extensionality | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | equals: (_: r -> _: r -> Prims.prop) -> f: (_: r -> _: s -> Prims.prop) -> Prims.logical | {
"end_col": 74,
"end_line": 161,
"start_col": 2,
"start_line": 161
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let depends_only_on_0_2
(#a:Type)
(#heap:Type)
(#hprop:Type)
(interp:hprop -> heap -> prop)
(disjoint:heap -> heap -> prop)
(join:(h0:heap -> h1:heap{disjoint h0 h1} -> heap))
(q:heap -> a -> heap -> prop) (fp_pre:hprop) (fp_post:a -> hprop)
= //can join any disjoint heap ... | let depends_only_on_0_2
(#a #heap #hprop: Type)
(interp: (hprop -> heap -> prop))
(disjoint: (heap -> heap -> prop))
(join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap))
(q: (heap -> a -> heap -> prop))
(fp_pre: hprop)
(fp_post: (a -> hprop))
= | false | null | false | (forall x (h_pre: fp_heap_0 interp fp_pre) h_post (h: heap{disjoint h_pre h}).
q h_pre x h_post <==> q (join h_pre h) x h_post) /\
(forall x h_pre (h_post: fp_heap_0 interp (fp_post x)) (h: heap{disjoint h_post h}).
q h_pre x h_post <==> q h_pre x (join h_post h)) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Prims.prop",
"Prims.l_and",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Prims.l_iff",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on_0_2 : interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
q: (_: heap -> _: a -> _: heap -> Prims.prop) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.depends_only_on_0_2 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
interp: (_: hprop -> _: heap -> Prims.prop) ->
disjoint: (_: heap -> _: heap -> Prims.prop) ->
join: (h0: heap -> h1: heap{disjoint h0 h1} -> heap) ->
q: (_: heap -> _: a -> _: heap -> Prims.prop) ->
fp_pre: hprop ->
fp_post: (_: a -> hprop)
-> Prims.logical | {
"end_col": 53,
"end_line": 248,
"start_col": 2,
"start_line": 244
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let st = s:st0 { st_laws s } | let st = | false | null | false | s: st0{st_laws s} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.st_laws"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val st : Type | [] | Steel.Semantics.Hoare.MST.st | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | Type | {
"end_col": 28,
"end_line": 201,
"start_col": 9,
"start_line": 201
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let l_post (#st:st) (#a:Type) (pre:st.hprop) (post:post_t st a) = fp_prop2 pre post | let l_post (#st: st) (#a: Type) (pre: st.hprop) (post: post_t st a) = | false | null | false | fp_prop2 pre post | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.fp_prop2"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val l_post : pre: Mkst0?.hprop st -> post: Steel.Semantics.Hoare.MST.post_t st a -> Type | [] | Steel.Semantics.Hoare.MST.l_post | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | pre: Mkst0?.hprop st -> post: Steel.Semantics.Hoare.MST.post_t st a -> Type | {
"end_col": 83,
"end_line": 277,
"start_col": 66,
"start_line": 277
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let depends_only_on2
(#st:st0)
(#a:Type)
(q:st.mem -> a -> st.mem -> prop)
(fp_pre:st.hprop)
(fp_post:a -> st.hprop)
=
depends_only_on_0_2 st.interp st.disjoint st.join q fp_pre fp_post | let depends_only_on2
(#st: st0)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp_pre: st.hprop)
(fp_post: (a -> st.hprop))
= | false | null | false | depends_only_on_0_2 st.interp st.disjoint st.join q fp_pre fp_post | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.depends_only_on_0_2",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0_... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on2 : q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp_pre: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.depends_only_on2 | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp_pre: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> Prims.logical | {
"end_col": 68,
"end_line": 270,
"start_col": 2,
"start_line": 270
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let post_preserves_frame (#st:st) (post frame:st.hprop) (m0 m1:st.mem) =
st.interp (post `st.star` frame `st.star` (st.locks_invariant m1)) m1 /\
(forall (f_frame:fp_prop frame). f_frame (st.core m0) == f_frame (st.core m1)) | let post_preserves_frame (#st: st) (post frame: st.hprop) (m0 m1: st.mem) = | false | null | false | st.interp ((post `st.star` frame) `st.star` (st.locks_invariant m1)) m1 /\
(forall (f_frame: fp_prop frame). f_frame (st.core m0) == f_frame (st.core m1)) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Steel.Semantics.Hoare.MST.__proj__... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val post_preserves_frame : post: Mkst0?.hprop st -> frame: Mkst0?.hprop st -> m0: Mkst0?.mem st -> m1: Mkst0?.mem st
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.post_preserves_frame | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | post: Mkst0?.hprop st -> frame: Mkst0?.hprop st -> m0: Mkst0?.mem st -> m1: Mkst0?.mem st
-> Prims.logical | {
"end_col": 80,
"end_line": 306,
"start_col": 2,
"start_line": 305
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let action_t_tot
(#st:st)
(#a:Type)
(pre:st.hprop)
(post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
= frame:st.hprop ->
MstTot a
(requires fun m0 ->
st.interp (pre `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0))
(ensures fun m0 x m1 ->
post_pres... | let action_t_tot
(#st: st)
(#a: Type)
(pre: st.hprop)
(post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
= | false | null | false | frame: st.hprop
-> MstTot a
(requires fun m0 -> st.interp (pre `st.star` (st.locks_invariant m0)) m0 /\ lpre (st.core m0))
(ensures
fun m0 x m1 ->
post_preserves_frame (post x) frame m0 m1 /\ lpost (st.core m0) x (st.core m1)) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mks... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val action_t_tot : pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | [] | Steel.Semantics.Hoare.MST.action_t_tot | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
pre: Mkst0?.hprop st ->
post: Steel.Semantics.Hoare.MST.post_t st a ->
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post
-> Type | {
"end_col": 42,
"end_line": 338,
"start_col": 4,
"start_line": 331
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let weaker_pre (#st:st) (pre:st.hprop) (next_pre:st.hprop) =
forall (h:st.mem) (frame:st.hprop).
st.interp (pre `st.star` frame) h ==>
st.interp (next_pre `st.star` frame) h | let weaker_pre (#st: st) (pre next_pre: st.hprop) = | false | null | false | forall (h: st.mem) (frame: st.hprop).
st.interp (pre `st.star` frame) h ==> st.interp (next_pre `st.star` frame) h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.logical"... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val weaker_pre : pre: Mkst0?.hprop st -> next_pre: Mkst0?.hprop st -> Prims.logical | [] | Steel.Semantics.Hoare.MST.weaker_pre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | pre: Mkst0?.hprop st -> next_pre: Mkst0?.hprop st -> Prims.logical | {
"end_col": 42,
"end_line": 433,
"start_col": 2,
"start_line": 431
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let weaker_lpre
(#st:st)
(#pre:st.hprop)
(lpre:l_pre pre)
(#next_pre:st.hprop)
(next_lpre:l_pre next_pre)
(m0 m1:st.mem)
=
lpre (st.core m0) ==> next_lpre (st.core m1) | let weaker_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#next_pre: st.hprop)
(next_lpre: l_pre next_pre)
(m0 m1: st.mem)
= | false | null | false | lpre (st.core m0) ==> next_lpre (st.core m1) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val weaker_lpre : lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
next_lpre: Steel.Semantics.Hoare.MST.l_pre next_pre ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | [] | Steel.Semantics.Hoare.MST.weaker_lpre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
next_lpre: Steel.Semantics.Hoare.MST.l_pre next_pre ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st
-> Prims.logical | {
"end_col": 46,
"end_line": 603,
"start_col": 2,
"start_line": 603
} | |
Prims.Tot | val step_req:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem
-> Type0 | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let step_req
(#st:st)
(#a:Type u#a)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost)
: st.mem -> Type0
= fun m0 ->
st.interp (pre `st.star` frame `st.star` st.locks_invariant m0) m0 /\
lpre (st.core m0) | val step_req:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem
-> Type0
let step_req
(#st: st)
(#a: Type u#a)
(#pre: st.hprop)
(#post:... | false | null | false | fun m0 ->
st.interp ((pre `st.star` frame) `st.star` (st.locks_invariant m0)) m0 /\ lpre (st.core m0) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Stee... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_req:
#st: st ->
#a: Type u#a ->
#pre: st.hprop ->
#post: post_t st a ->
#lpre: l_pre pre ->
#lpost: l_post pre post ->
frame: st.hprop ->
f: m st a pre post lpre lpost ->
st.mem
-> Type0 | [] | Steel.Semantics.Hoare.MST.step_req | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost ->
_: Mkst0?.mem st
-> Type0 | {
"end_col": 21,
"end_line": 593,
"start_col": 4,
"start_line": 591
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let st_laws (st:st0) =
(* standard laws about the equality relation *)
symmetry st.equals /\
transitive st.equals /\
interp_extensionality st.equals st.interp /\
(* standard laws for star forming a CM *)
associative st.equals st.star /\
commutative st.equals st.star /\
is_unit st.emp st.equals st.star /... | let st_laws (st: st0) = | false | null | false | symmetry st.equals /\ transitive st.equals /\ interp_extensionality st.equals st.interp /\
associative st.equals st.star /\ commutative st.equals st.star /\ is_unit st.emp st.equals st.star /\
equals_ext st.equals st.star /\ affine st /\ disjoint_sym st /\ disjoint_join st /\
join_commutative st /\ join_associative st | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.symmetry",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.transitive",
"Steel.Semantics.Hoare.MST.interp_extensionality",
"Steel.Seman... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val st_laws : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | [] | Steel.Semantics.Hoare.MST.st_laws | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | {
"end_col": 21,
"end_line": 199,
"start_col": 2,
"start_line": 185
} | |
Steel.Semantics.Hoare.MST.MstTot | val get: #st: st -> Prims.unit
-> MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let get (#st:st) ()
: MstTot (full_mem st)
(fun _ -> True)
(fun s0 s s1 -> s0 == s /\ s == s1)
= get () | val get: #st: st -> Prims.unit
-> MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1)
let get (#st: st) () : MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) = | true | null | false | get () | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Prims.unit",
"FStar.NMSTTotal.get",
"Steel.Semantics.Hoare.MST.full_mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__locks_preorder",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_True",
"Prims.l_and",
"Prims.eq2"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val get: #st: st -> Prims.unit
-> MstTot (full_mem st) (fun _ -> True) (fun s0 s s1 -> s0 == s /\ s == s1) | [] | Steel.Semantics.Hoare.MST.get | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | _: Prims.unit -> Steel.Semantics.Hoare.MST.MstTot (Steel.Semantics.Hoare.MST.full_mem st) | {
"end_col": 10,
"end_line": 296,
"start_col": 4,
"start_line": 296
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let join_commutative (st:st0 { disjoint_sym st }) =
forall m0 m1.
st.disjoint m0 m1 ==>
st.join m0 m1 == st.join m1 m0 | let join_commutative (st: st0{disjoint_sym st}) = | false | null | false | forall m0 m1. st.disjoint m0 m1 ==> st.join m0 m1 == st.join m1 m0 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.disjoint_sym",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_imp",
"Prims.eq2",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.logi... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val join_commutative : st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_sym st} -> Prims.logical | [] | Steel.Semantics.Hoare.MST.join_commutative | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_sym st} -> Prims.logical | {
"end_col": 34,
"end_line": 150,
"start_col": 2,
"start_line": 148
} | |
Prims.Tot | val frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let frame_lpre (#st:st) (#pre:st.hprop) (lpre:l_pre pre) (#frame:st.hprop) (f_frame:fp_prop frame)
: l_pre (pre `st.star` frame)
=
fun h -> lpre h /\ f_frame h | val frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame)
let frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `... | false | null | false | fun h -> lpre h /\ f_frame h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.fp_prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val frame_lpre
(#st: st)
(#pre: st.hprop)
(lpre: l_pre pre)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_pre (pre `st.star` frame) | [] | Steel.Semantics.Hoare.MST.frame_lpre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | lpre: Steel.Semantics.Hoare.MST.l_pre pre -> f_frame: Steel.Semantics.Hoare.MST.fp_prop frame
-> Steel.Semantics.Hoare.MST.l_pre (Mkst0?.star st pre frame) | {
"end_col": 30,
"end_line": 359,
"start_col": 2,
"start_line": 359
} |
Prims.Tot | val frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let frame_lpost
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpre:l_pre pre)
(lpost:l_post pre post)
(#frame:st.hprop)
(f_frame:fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> post x `st.star` frame)
=
fun h0 x h1 -> lpre h0 /\ lpost h0 x h1 /... | val frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame)
let frame_lpost
(#st: st)
(... | false | null | false | fun h0 x h1 -> lpre h0 /\ lpost h0 x h1 /\ f_frame h1 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.fp_prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val frame_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpre: l_pre pre)
(lpost: l_post pre post)
(#frame: st.hprop)
(f_frame: fp_prop frame)
: l_post (pre `st.star` frame) (fun x -> (post x) `st.star` frame) | [] | Steel.Semantics.Hoare.MST.frame_lpost | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpre: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost: Steel.Semantics.Hoare.MST.l_post pre post ->
f_frame: Steel.Semantics.Hoare.MST.fp_prop frame
-> Steel.Semantics.Hoare.MST.l_post (Mkst0?.star st pre frame)
(fun x -> Mkst0?.star st (post x) frame) | {
"end_col": 55,
"end_line": 372,
"start_col": 2,
"start_line": 372
} |
Prims.Tot | val par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let par_lpre
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#preR:st.hprop)
(lpreR:l_pre preR)
: l_pre (preL `st.star` preR)
=
fun h -> lpreL h /\ lpreR h | val par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR)
let par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) = | false | null | false | fun h -> lpreL h /\ lpreR h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val par_lpre (#st: st) (#preL: st.hprop) (lpreL: l_pre preL) (#preR: st.hprop) (lpreR: l_pre preR)
: l_pre (preL `st.star` preR) | [] | Steel.Semantics.Hoare.MST.par_lpre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | lpreL: Steel.Semantics.Hoare.MST.l_pre preL -> lpreR: Steel.Semantics.Hoare.MST.l_pre preR
-> Steel.Semantics.Hoare.MST.l_pre (Mkst0?.star st preL preR) | {
"end_col": 29,
"end_line": 412,
"start_col": 2,
"start_line": 412
} |
Prims.Tot | val bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let bind_lpost
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post_a:post_t st a)
(lpre_a:l_pre pre)
(lpost_a:l_post pre post_a)
(#b:Type)
(#post_b:post_t st b)
(lpost_b:(x:a -> l_post (post_a x) post_b))
: l_post pre post_b
=
fun h0 y h2 -> lpre_a h0 /\ (exists x h... | val bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b
let bind_lpost
(#st: st)
... | false | null | false | fun h0 y h2 -> lpre_a h0 /\ (exists x h1. lpost_a h0 x h1 /\ (lpost_b x) h1 y h2) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.l_Exists",
"Prims.prop"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bind_lpost
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(#b: Type)
(#post_b: post_t st b)
(lpost_b: (x: a -> l_post (post_a x) post_b))
: l_post pre post_b | [] | Steel.Semantics.Hoare.MST.bind_lpost | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpre_a: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost_a: Steel.Semantics.Hoare.MST.l_post pre post_a ->
lpost_b: (x: a -> Steel.Semantics.Hoare.MST.l_post (post_a x) post_b)
-> Steel.Semantics.Hoare.MST.l_post pre post_b | {
"end_col": 83,
"end_line": 400,
"start_col": 2,
"start_line": 400
} |
FStar.Pervasives.Lemma | val commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let commute_star_right (#st:st) (p q r:st.hprop)
: Lemma
((p `st.star` (q `st.star` r)) `st.equals`
(p `st.star` (r `st.star` q)))
=
calc (st.equals) {
p `st.star` (q `st.star` r);
(st.equals) { equals_ext_right p (q `st.star` r) (r `st.star` q) }
p `st.star` (r `st.star` q);
} | val commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q)))
let commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) = | false | null | true | calc (st.equals) {
p `st.star` (q `st.star` r);
(st.equals) { equals_ext_right p (q `st.star` r) (r `st.star` q) }
p `st.star` (r `st.star` q);
} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val commute_star_right (#st: st) (p q r: st.hprop)
: Lemma ((p `st.star` (q `st.star` r)) `st.equals` (p `st.star` (r `st.star` q))) | [] | Steel.Semantics.Hoare.MST.commute_star_right | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st q r))
(Mkst0?.star st p (Mkst0?.star st r q))) | {
"end_col": 3,
"end_line": 696,
"start_col": 2,
"start_line": 692
} |
FStar.Pervasives.Lemma | val assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s)))) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let assoc_star_right (#st:st) (p q r s:st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s)) `st.equals`
(p `st.star` (q `st.star` (r `st.star` s))))
=
calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s)... | val assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s))))
let assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p ... | false | null | true | calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s) (q `st.star` (r `st.star` s)) }
p `st.star` (q `st.star` (r `st.star` s));
} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (q `st.star` (r `st.star` s)))) | [] | Steel.Semantics.Hoare.MST.assoc_star_right | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st -> s: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st (Mkst0?.star st q r) s))
(Mkst0?.star st p (Mkst0?.star st q (Mkst0?.star st r s)))) | {
"end_col": 3,
"end_line": 708,
"start_col": 2,
"start_line": 703
} |
FStar.Pervasives.Lemma | val commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s)))) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let commute_assoc_star_right (#st:st) (p q r s:st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s)) `st.equals`
(p `st.star` (r `st.star` (q `st.star` s))))
=
calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p
... | val commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s))))
let commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.e... | false | null | true | calc (st.equals) {
p `st.star` ((q `st.star` r) `st.star` s);
(st.equals) { equals_ext_right p ((q `st.star` r) `st.star` s) ((r `st.star` q) `st.star` s) }
p `st.star` ((r `st.star` q) `st.star` s);
(st.equals) { assoc_star_right p r q s }
p `st.star` (r `st.star` (q `st.star` s));
} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val commute_assoc_star_right (#st: st) (p q r s: st.hprop)
: Lemma
((p `st.star` ((q `st.star` r) `st.star` s))
`st.equals`
(p `st.star` (r `st.star` (q `st.star` s)))) | [] | Steel.Semantics.Hoare.MST.commute_assoc_star_right | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st -> s: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.equals st
(Mkst0?.star st p (Mkst0?.star st (Mkst0?.star st q r) s))
(Mkst0?.star st p (Mkst0?.star st r (Mkst0?.star st q s)))) | {
"end_col": 3,
"end_line": 723,
"start_col": 2,
"start_line": 715
} |
FStar.Pervasives.Lemma | val depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let depends_only_on_commutes_with_weaker
(#st:st)
(q:st.mem -> prop)
(fp:st.hprop)
(fp_next:st.hprop)
: Lemma
(requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next)
=
assert (forall (h0:fp_heap_0 st.interp fp_next). st.interp (fp_next `... | val depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next)
let depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requ... | false | null | true | assert (forall (h0: fp_heap_0 st.interp fp_next). st.interp (fp_next `st.star` st.emp) h0) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims._assert",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semant... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on_commutes_with_weaker (#st: st) (q: (st.mem -> prop)) (fp fp_next: st.hprop)
: Lemma (requires depends_only_on q fp /\ weaker_pre fp_next fp)
(ensures depends_only_on q fp_next) | [] | Steel.Semantics.Hoare.MST.depends_only_on_commutes_with_weaker | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: (_: Mkst0?.mem st -> Prims.prop) -> fp: Mkst0?.hprop st -> fp_next: Mkst0?.hprop st
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.depends_only_on q fp /\
Steel.Semantics.Hoare.MST.weaker_pre fp_next fp)
(ensures Steel.Semantics.Hoare.MST.depends_only_on q fp_next) | {
"end_col": 91,
"end_line": 774,
"start_col": 2,
"start_line": 774
} |
FStar.Pervasives.Lemma | val depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let depends_only_on2_commutes_with_weaker
(#st:st)
(#a:Type)
(q:st.mem -> a -> st.mem -> prop)
(fp:st.hprop)
(fp_next:st.hprop)
(fp_post:a -> st.hprop)
: Lemma
(requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_pos... | val depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post)
let depends... | false | null | true | assert (forall (h0: fp_heap_0 st.interp fp_next). st.interp (fp_next `st.star` st.emp) h0) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Prims._assert",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.fp_heap_0",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semant... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val depends_only_on2_commutes_with_weaker
(#st: st)
(#a: Type)
(q: (st.mem -> a -> st.mem -> prop))
(fp fp_next: st.hprop)
(fp_post: (a -> st.hprop))
: Lemma (requires depends_only_on2 q fp fp_post /\ weaker_pre fp_next fp)
(ensures depends_only_on2 q fp_next fp_post) | [] | Steel.Semantics.Hoare.MST.depends_only_on2_commutes_with_weaker | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
q: (_: Mkst0?.mem st -> _: a -> _: Mkst0?.mem st -> Prims.prop) ->
fp: Mkst0?.hprop st ->
fp_next: Mkst0?.hprop st ->
fp_post: (_: a -> Mkst0?.hprop st)
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.depends_only_on2 q fp fp_post /\
Steel.Semantics.Hoare.MST.weake... | {
"end_col": 91,
"end_line": 787,
"start_col": 2,
"start_line": 787
} |
FStar.Pervasives.Lemma | val commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let commute_star_par_l (#st:st) (p q r s:st.hprop) (m0:st.mem)
: Lemma
(st.interp (p `st.star` q `st.star` r `st.star` s) m0 <==>
st.interp (p `st.star` (q `st.star` r) `st.star` s) m0)
= assert ((p `st.star` q `st.star` r `st.star` s) `st.equals`
(p `st.star` (q `st.star` r) `st.star` s)) | val commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0)
let commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) ... | false | null | true | assert ((((p `st.star` q) `st.star` r) `st.star` s)
`st.equals`
((p `st.star` (q `st.star` r)) `st.star` s)) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims._assert",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.unit",
"Prims.l_True",
... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val commute_star_par_l (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((p `st.star` (q `st.star` r)) `st.star` s) m0) | [] | Steel.Semantics.Hoare.MST.commute_star_par_l | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
p: Mkst0?.hprop st ->
q: Mkst0?.hprop st ->
r: Mkst0?.hprop st ->
s: Mkst0?.hprop st ->
m0: Mkst0?.mem st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st (Mkst0?.star st p q) r) s) m0 <==>
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st p (Mkst... | {
"end_col": 54,
"end_line": 730,
"start_col": 4,
"start_line": 729
} |
FStar.Pervasives.Lemma | val equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let equals_ext_right (#st:st) (p q r:st.hprop)
: Lemma
(requires q `st.equals` r)
(ensures (p `st.star` q) `st.equals` (p `st.star` r))
=
calc (st.equals) {
p `st.star` q;
(st.equals) { }
q `st.star` p;
(st.equals) { }
r `st.star` p;
(st.equals) { }
p `st.star`... | val equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r))
let equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) = | false | null | true | calc (st.equals) {
p `st.star` q;
(st.equals) { () }
q `st.star` p;
(st.equals) { () }
r `st.star` p;
(st.equals) { () }
p `st.star` r;
} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FSt... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val equals_ext_right (#st: st) (p q r: st.hprop)
: Lemma (requires q `st.equals` r) (ensures (p `st.star` q) `st.equals` (p `st.star` r)) | [] | Steel.Semantics.Hoare.MST.equals_ext_right | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Mkst0?.hprop st -> q: Mkst0?.hprop st -> r: Mkst0?.hprop st
-> FStar.Pervasives.Lemma (requires Mkst0?.equals st q r)
(ensures Mkst0?.equals st (Mkst0?.star st p q) (Mkst0?.star st p r)) | {
"end_col": 3,
"end_line": 685,
"start_col": 2,
"start_line": 677
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let disjoint_join (st:st0) =
forall m0 m1 m2.
st.disjoint m1 m2 /\
st.disjoint m0 (st.join m1 m2) ==>
st.disjoint m0 m1 /\
st.disjoint m0 m2 /\
st.disjoint (st.join m0 m1) m2 /\
st.disjoint (st.join m0 m2) m1 | let disjoint_join (st: st0) = | false | null | false | forall m0 m1 m2.
st.disjoint m1 m2 /\ st.disjoint m0 (st.join m1 m2) ==>
st.disjoint m0 m1 /\ st.disjoint m0 m2 /\ st.disjoint (st.join m0 m1) m2 /\
st.disjoint (st.join m0 m2) m1 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_and",
"Prims.l_imp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.logical"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val disjoint_join : st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | [] | Steel.Semantics.Hoare.MST.disjoint_join | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0 -> Prims.logical | {
"end_col": 34,
"end_line": 145,
"start_col": 2,
"start_line": 139
} | |
Prims.Tot | val inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let inst_heap_prop_for_par
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(state:st.mem)
: fp_prop pre
=
fun h ->
forall x final_state.
lpost h x final_state <==>
lpost (st.core state) x final_state | val inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre
let inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post... | false | null | false | fun h -> forall x final_state. lpost h x final_state <==> lpost (st.core state) x final_state | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_Forall",
"Prims.l_iff",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inst_heap_prop_for_par
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(state: st.mem)
: fp_prop pre | [] | Steel.Semantics.Hoare.MST.inst_heap_prop_for_par | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | lpost: Steel.Semantics.Hoare.MST.l_post pre post -> state: Mkst0?.mem st
-> Steel.Semantics.Hoare.MST.fp_prop pre | {
"end_col": 41,
"end_line": 819,
"start_col": 2,
"start_line": 816
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Preorder",
"short_module": "P"
},
{
"abbrev": false,
"full_module": "Stee... | false | let join_associative (st:st0{disjoint_join st})=
forall m0 m1 m2.
st.disjoint m1 m2 /\
st.disjoint m0 (st.join m1 m2) ==>
st.join m0 (st.join m1 m2) == st.join (st.join m0 m1) m2 | let join_associative (st: st0{disjoint_join st}) = | false | null | false | forall m0 m1 m2.
st.disjoint m1 m2 /\ st.disjoint m0 (st.join m1 m2) ==>
st.join m0 (st.join m1 m2) == st.join (st.join m0 m1) m2 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st0",
"Steel.Semantics.Hoare.MST.disjoint_join",
"Prims.l_Forall",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__disjoint",
"Prims.l_and",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__join",
"Prims.l_imp",
"Prims.e... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val join_associative : st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_join st} -> Prims.logical | [] | Steel.Semantics.Hoare.MST.join_associative | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | st: Steel.Semantics.Hoare.MST.st0{Steel.Semantics.Hoare.MST.disjoint_join st} -> Prims.logical | {
"end_col": 60,
"end_line": 156,
"start_col": 2,
"start_line": 153
} | |
FStar.Pervasives.Lemma | val frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let frame_post_for_par
(#st:st)
(pre_s post_s:st.hprop)
(m0 m1:st.mem)
(#a:Type)
(#pre_f:st.hprop)
(#post_f:post_t st a)
(lpre_f:l_pre pre_f)
(lpost_f:l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.interp ((p... | val frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | false | null | true | frame_post_for_par_tautology lpost_f m0;
frame_post_for_par_aux pre_s post_s m0 m1 lpost_f | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.frame_post_for_par_aux",
"... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val frame_post_for_par
(#st: st)
(pre_s post_s: st.hprop)
(m0 m1: st.mem)
(#a: Type)
(#pre_f: st.hprop)
(#post_f: post_t st a)
(lpre_f: l_pre pre_f)
(lpost_f: l_post pre_f post_f)
: Lemma
(requires
post_preserves_frame post_s pre_f m0 m1 /\
st.in... | [] | Steel.Semantics.Hoare.MST.frame_post_for_par | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
pre_s: Mkst0?.hprop st ->
post_s: Mkst0?.hprop st ->
m0: Mkst0?.mem st ->
m1: Mkst0?.mem st ->
lpre_f: Steel.Semantics.Hoare.MST.l_pre pre_f ->
lpost_f: Steel.Semantics.Hoare.MST.l_post pre_f post_f
-> FStar.Pervasives.Lemma
(requires
Steel.Semantics.Hoare.MST.post_preserves_fra... | {
"end_col": 51,
"end_line": 866,
"start_col": 2,
"start_line": 865
} |
FStar.Pervasives.Lemma | val commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let commute_star_par_r (#st:st) (p q r s:st.hprop) (m0:st.mem)
: Lemma
(st.interp (p `st.star` q `st.star` r `st.star` s) m0 <==>
st.interp (q `st.star` (p `st.star` r) `st.star` s) m0)
= calc (st.equals) {
p `st.star` q `st.star` r `st.star` s;
(st.equals) { }
q `st.star` p `st.st... | val commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0)
let commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) ... | false | null | true | calc (st.equals) {
((p `st.star` q) `st.star` r) `st.star` s;
(st.equals) { () }
((q `st.star` p) `st.star` r) `st.star` s;
(st.equals) { () }
(q `st.star` (p `st.star` r)) `st.star` s;
} | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Calc.calc_finish",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__equals",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
"Prims.Cons",
"FStar.P... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val commute_star_par_r (#st: st) (p q r s: st.hprop) (m0: st.mem)
: Lemma
(st.interp (((p `st.star` q) `st.star` r) `st.star` s) m0 <==>
st.interp ((q `st.star` (p `st.star` r)) `st.star` s) m0) | [] | Steel.Semantics.Hoare.MST.commute_star_par_r | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
p: Mkst0?.hprop st ->
q: Mkst0?.hprop st ->
r: Mkst0?.hprop st ->
s: Mkst0?.hprop st ->
m0: Mkst0?.mem st
-> FStar.Pervasives.Lemma
(ensures
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st (Mkst0?.star st p q) r) s) m0 <==>
Mkst0?.interp st (Mkst0?.star st (Mkst0?.star st q (Mkst... | {
"end_col": 5,
"end_line": 742,
"start_col": 4,
"start_line": 736
} |
Steel.Semantics.Hoare.MST.Mst | val step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_bind_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
=
NMST... | val step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
let... | true | null | false | NMSTATE?.reflect (fun (_, n) -> step_bind_ret_aux frame f, n) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Bind",
"S... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_bind_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | [] | Steel.Semantics.Hoare.MST.step_bind_ret | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 63,
"end_line": 1086,
"start_col": 2,
"start_line": 1086
} |
Prims.Tot | val return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let return_lpre (#st:st) (#a:Type) (#post:post_t st a) (x:a) (lpost:l_post (post x) post)
: l_pre (post x)
=
fun h -> lpost h x h | val return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x)
let return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) = | false | null | false | fun h -> lpost h x h | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.prop",
"Steel.Semantics.Hoare.MST.l_pre"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val return_lpre (#st: st) (#a: Type) (#post: post_t st a) (x: a) (lpost: l_post (post x) post)
: l_pre (post x) | [] | Steel.Semantics.Hoare.MST.return_lpre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: a -> lpost: Steel.Semantics.Hoare.MST.l_post (post x) post
-> Steel.Semantics.Hoare.MST.l_pre (post x) | {
"end_col": 22,
"end_line": 354,
"start_col": 2,
"start_line": 354
} |
FStar.MST.MSTATE | val step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_bind_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_preorder (step_req... | val step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | true | null | false | M.MSTATE?.reflect (fun m0 ->
match f with
| Bind #_ #_ #_ #_ #_ #_ #_ #post_b #lpre_b #lpost_b (Ret p x _) g ->
Step (p x) post_b (lpre_b x) (lpost_b x) (g x), m0) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Bind",
"S... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_bind_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.loc... | [] | Steel.Semantics.Hoare.MST.step_bind_ret_aux | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre post lpre lpost {Bind? f /\ Ret? (Bind?.f f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 57,
"end_line": 1073,
"start_col": 2,
"start_line": 1070
} |
Prims.Tot | val bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let bind_lpre
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post_a:post_t st a)
(lpre_a:l_pre pre)
(lpost_a:l_post pre post_a)
(lpre_b:(x:a -> l_pre (post_a x)))
: l_pre pre
=
fun h -> lpre_a h /\ (forall (x:a) h1. lpost_a h x h1 ==> lpre_b x h1) | val bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre
let bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
... | false | null | false | fun h -> lpre_a h /\ (forall (x: a) h1. lpost_a h x h1 ==> lpre_b x h1) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.l_and",
"Prims.l_Forall",
"Prims.l_imp",
"... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bind_lpre
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post_a: post_t st a)
(lpre_a: l_pre pre)
(lpost_a: l_post pre post_a)
(lpre_b: (x: a -> l_pre (post_a x)))
: l_pre pre | [] | Steel.Semantics.Hoare.MST.bind_lpre | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpre_a: Steel.Semantics.Hoare.MST.l_pre pre ->
lpost_a: Steel.Semantics.Hoare.MST.l_post pre post_a ->
lpre_b: (x: a -> Steel.Semantics.Hoare.MST.l_pre (post_a x))
-> Steel.Semantics.Hoare.MST.l_pre pre | {
"end_col": 72,
"end_line": 386,
"start_col": 2,
"start_line": 386
} |
Prims.Tot | val par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let par_lpost
(#st:st)
(#aL:Type)
(#preL:st.hprop)
(#postL:post_t st aL)
(lpreL:l_pre preL)
(lpostL:l_post preL postL)
(#aR:Type)
(#preR:st.hprop)
(#postR:post_t st aR)
(lpreR:l_pre preR)
(lpostR:l_post preR postR)
: l_post (preL `st.star` preR) (fun... | val par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | false | null | false | fun h0 (xL, xR) h1 -> lpreL h0 /\ lpreR h0 /\ lpostL h0 xL h1 /\ lpostR h0 xR h1 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Pervasives.Native.tuple2",
"Prims.l_and",
"P... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val par_lpost
(#st: st)
(#aL: Type)
(#preL: st.hprop)
(#postL: post_t st aL)
(lpreL: l_pre preL)
(lpostL: l_post preL postL)
(#aR: Type)
(#preR: st.hprop)
(#postR: post_t st aR)
(lpreR: l_pre preR)
(lpostR: l_post preR postR)
: l_post (preL `st.star`... | [] | Steel.Semantics.Hoare.MST.par_lpost | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Semantics.Hoare.MST.l_post preR postR
-> Steel.Semantics.Hoare.MST.l_post (Mkst0?.star st preL preR)
(fun _ ->
(let FStar.... | {
"end_col": 82,
"end_line": 428,
"start_col": 2,
"start_line": 428
} |
Steel.Semantics.Hoare.MST.Mst | val step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_par_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (step_ens fra... | val step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | true | null | false | NMSTATE?.reflect (fun (_, n) -> step_par_ret_aux frame f, n) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Par",
"St... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_par_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: Mst (step_result st a) (step_req frame f) (ste... | [] | Steel.Semantics.Hoare.MST.step_par_ret | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f:
Steel.Semantics.Hoare.MST.m st a pre post lpre lpost
{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 62,
"end_line": 1239,
"start_col": 2,
"start_line": 1239
} |
FStar.MST.MSTATE | val step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_frame_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#p:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre p)
(frame:st.hprop)
(f:m st a pre p lpre lpost{Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_preorder (step_req frame... | val step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | true | null | false | M.MSTATE?.reflect (fun m0 ->
match f with
| Frame (Ret p x lp) frame' _ ->
Step ((p x) `st.star` frame')
(fun x -> (p x) `st.star` frame')
(fun h -> lpost h x h)
lpost
(Ret (fun x -> (p x) `st.star` frame') x lpost),
m0) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Frame",
"... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_frame_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: M.MSTATE (step_result st a)
(full_mem st)
st.locks_pre... | [] | Steel.Semantics.Hoare.MST.step_frame_ret_aux | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 58,
"end_line": 1151,
"start_col": 2,
"start_line": 1145
} |
FStar.MST.MSTATE | val step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_par_ret_aux
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre post)
(frame:st.hprop)
(f:m st a pre post lpre lpost{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a) (full_mem st) st.locks_... | val step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | true | null | false | M.MSTATE?.reflect (fun m0 ->
match f with
| Par #_ #aL #_ #_ #_ #_ (Ret pL xL lpL) #aR #_ #_ #_ #_ (Ret pR xR lpR) ->
let lpost:l_post #st
#(aL & aR)
((pL xL) `st.star` (pR xR))
(fun (xL, xR) -> (pL xL) `st.star` (pR xR)) =
fun h0 (xL, xR) h1 -> lpL h0 xL h1 /... | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Par",
"St... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_par_ret_aux
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre post)
(frame: st.hprop)
(f: m st a pre post lpre lpost {Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)})
: M.MSTATE (step_result st a)
(full_me... | [] | Steel.Semantics.Hoare.MST.step_par_ret_aux | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f:
Steel.Semantics.Hoare.MST.m st a pre post lpre lpost
{Par? f /\ Ret? (Par?.mL f) /\ Ret? (Par?.mR f)}
-> FStar.MST.MSTATE (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 73,
"end_line": 1226,
"start_col": 2,
"start_line": 1213
} |
Prims.Tot | val lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let lpost_ret_act
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#post:post_t st a)
(lpost:l_post pre post)
(x:a)
(state:st.mem)
: l_post (post x) post
=
fun _ x h1 -> lpost (st.core state) x h1 | val lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post
let lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre ... | false | null | false | fun _ x h1 -> lpost (st.core state) x h1 | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"total"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__core",
"Prims.prop"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lpost_ret_act
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#post: post_t st a)
(lpost: l_post pre post)
(x: a)
(state: st.mem)
: l_post (post x) post | [] | Steel.Semantics.Hoare.MST.lpost_ret_act | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | lpost: Steel.Semantics.Hoare.MST.l_post pre post -> x: a -> state: Mkst0?.mem st
-> Steel.Semantics.Hoare.MST.l_post (post x) post | {
"end_col": 42,
"end_line": 1034,
"start_col": 2,
"start_line": 1034
} |
FStar.Pervasives.Lemma | val stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let stronger_post_par_r
(#st:st)
(#aL #aR:Type u#a)
(postL:post_t st aL)
(postR:post_t st aR)
(next_postR:post_t st aR)
: Lemma
(requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp ((postL xL `st.star` next_postR xR) `st.star`... | val stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | false | null | true | let aux xL xR frame h
: Lemma (requires st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h)
(ensures st.interp (((postL xL) `st.star` (postR xR)) `st.star` frame) h)
[SMTPat ()] =
calc (st.equals) {
((postL xL) `st.star` (next_postR xR)) `st.star` frame;
(st.equals) { () }
... | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Prims.unit",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__interp",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__star",
... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val stronger_post_par_r
(#st: st)
(#aL #aR: Type u#a)
(postL: post_t st aL)
(postR next_postR: post_t st aR)
: Lemma (requires stronger_post postR next_postR)
(ensures
forall xL xR frame h.
st.interp (((postL xL) `st.star` (next_postR xR)) `st.star` frame) h ==>
... | [] | Steel.Semantics.Hoare.MST.stronger_post_par_r | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
postL: Steel.Semantics.Hoare.MST.post_t st aL ->
postR: Steel.Semantics.Hoare.MST.post_t st aR ->
next_postR: Steel.Semantics.Hoare.MST.post_t st aR
-> FStar.Pervasives.Lemma (requires Steel.Semantics.Hoare.MST.stronger_post postR next_postR)
(ensures
forall (xL: aL) (xR: aR) (frame: Mkst0?... | {
"end_col": 4,
"end_line": 1003,
"start_col": 5,
"start_line": 979
} |
Steel.Semantics.Hoare.MST.Mst | val step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | [
{
"abbrev": true,
"full_module": "FStar.MST",
"short_module": "M"
},
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.T... | false | let step_frame_ret
(#st:st)
(#a:Type)
(#pre:st.hprop)
(#p:post_t st a)
(#lpre:l_pre pre)
(#lpost:l_post pre p)
(frame:st.hprop)
(f:m st a pre p lpre lpost{Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
=
NMSTATE?.r... | val step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f)
let step_... | true | null | false | NMSTATE?.reflect (fun (_, n) -> step_frame_ret_aux frame f, n) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.m",
"Prims.l_and",
"Prims.b2t",
"Steel.Semantics.Hoare.MST.uu___is_Frame",
"... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val step_frame_ret
(#st: st)
(#a: Type)
(#pre: st.hprop)
(#p: post_t st a)
(#lpre: l_pre pre)
(#lpost: l_post pre p)
(frame: st.hprop)
(f: m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)})
: Mst (step_result st a) (step_req frame f) (step_ens frame f) | [] | Steel.Semantics.Hoare.MST.step_frame_ret | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
frame: Mkst0?.hprop st ->
f: Steel.Semantics.Hoare.MST.m st a pre p lpre lpost {Frame? f /\ Ret? (Frame?.f f)}
-> Steel.Semantics.Hoare.MST.Mst (Steel.Semantics.Hoare.MST.step_result st a) | {
"end_col": 64,
"end_line": 1164,
"start_col": 2,
"start_line": 1164
} |
FStar.Pervasives.Lemma | val par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let par_weaker_lpre_and_stronger_lpost_l
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#aL:Type)
(#postL:post_t st aL)
(lpostL:l_post preL postL)
(#next_preL:st.hprop)
(#next_postL:post_t st aL)
(next_lpreL:l_pre next_preL)
(next_lpostL:l_post next_preL next_p... | val par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | false | null | true | frame_post_for_par preL next_preL state next_state lpreR lpostR;
FStar.Tactics.Effect.assert_by_tactic (weaker_lpre (par_lpre lpreL lpreR)
(par_lpre next_lpreL lpreR)
state
next_state)
(fun _ ->
();
(norm [delta_only [`%weaker_lpre; `%par_lpre]])) | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"FStar.Tactics.Effect.assert_by_tactic",
"Steel.Seman... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val par_weaker_lpre_and_stronger_lpost_l
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#next_preL: st.hprop)
(#next_postL: post_t st aL)
(next_lpreL: l_pre next_preL)
(next_lpostL: l_post next_p... | [] | Steel.Semantics.Hoare.MST.par_weaker_lpre_and_stronger_lpost_l | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
next_lpreL: Steel.Semantics.Hoare.MST.l_pre next_preL ->
next_lpostL: Steel.Semantics.Hoare.MST.l_post next_preL next_postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Seman... | {
"end_col": 52,
"end_line": 908,
"start_col": 2,
"start_line": 906
} |
FStar.Pervasives.Lemma | val par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | [
{
"abbrev": false,
"full_module": "FStar.NMSTTotal",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.NMST",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let par_weaker_lpre_and_stronger_lpost_r
(#st:st)
(#preL:st.hprop)
(lpreL:l_pre preL)
(#aL:Type)
(#postL:post_t st aL)
(lpostL:l_post preL postL)
(#preR:st.hprop)
(lpreR:l_pre preR)
(#aR:Type)
(#postR:post_t st aR)
(lpostR:l_post preR postR)
(#next... | val par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | false | null | true | calc (st.equals) {
((preL `st.star` preR) `st.star` frame) `st.star` (st.locks_invariant state);
(st.equals) { () }
((preR `st.star` preL) `st.star` frame) `st.star` (st.locks_invariant state);
(st.equals) { () }
(preR `st.star` preL) `st.star` (frame `st.star` (st.locks_invariant state));
(st.equals) { equ... | {
"checked_file": "Steel.Semantics.Hoare.MST.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Tactics.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.NMSTTotal.fst.c... | [
"lemma"
] | [
"Steel.Semantics.Hoare.MST.st",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop",
"Steel.Semantics.Hoare.MST.l_pre",
"Steel.Semantics.Hoare.MST.post_t",
"Steel.Semantics.Hoare.MST.l_post",
"Steel.Semantics.Hoare.MST.__proj__Mkst0__item__mem",
"Steel.Semantics.Hoare.MST.commute_star_par_r",
"Stee... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Semantics.Hoare.MST.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val par_weaker_lpre_and_stronger_lpost_r
(#st: st)
(#preL: st.hprop)
(lpreL: l_pre preL)
(#aL: Type)
(#postL: post_t st aL)
(lpostL: l_post preL postL)
(#preR: st.hprop)
(lpreR: l_pre preR)
(#aR: Type)
(#postR: post_t st aR)
(lpostR: l_post preR postR)
... | [] | Steel.Semantics.Hoare.MST.par_weaker_lpre_and_stronger_lpost_r | {
"file_name": "lib/steel/Steel.Semantics.Hoare.MST.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
lpreL: Steel.Semantics.Hoare.MST.l_pre preL ->
lpostL: Steel.Semantics.Hoare.MST.l_post preL postL ->
lpreR: Steel.Semantics.Hoare.MST.l_pre preR ->
lpostR: Steel.Semantics.Hoare.MST.l_post preR postR ->
next_lpreR: Steel.Semantics.Hoare.MST.l_pre next_preR ->
next_lpostR: Steel.Semantics.Hoare... | {
"end_col": 84,
"end_line": 964,
"start_col": 2,
"start_line": 947
} |
FStar.Pervasives.Lemma | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | false | let expand_key_128_reveal = opaque_revealer (`%expand_key_128) expand_key_128 expand_key_128_def | let expand_key_128_reveal = | false | null | true | opaque_revealer (`%expand_key_128) expand_key_128 expand_key_128_def | {
"checked_file": "Vale.AES.AES_helpers.fsti.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
... | [
"lemma"
] | [
"Vale.Def.Opaque_s.opaque_revealer",
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.nat32",
"Prims.nat",
"Vale.Def.Types_s.quad32",
"Vale.AES.AES_s.is_aes_key_LE",
"Vale.AES.AES_common_s.AES_128",
"Prims.l_True",
"Vale.AES.AES_helpers.expand_key_128",
"Vale.AES.AES_helpers.expand_key_128_def"
] | [] | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | false | false | Vale.AES.AES_helpers.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val expand_key_128_reveal : _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.AES_helpers.expand_key_128 == Vale.AES.AES_helpers.expand_key_128_def) | [] | Vale.AES.AES_helpers.expand_key_128_reveal | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.AES_helpers.expand_key_128 == Vale.AES.AES_helpers.expand_key_128_def) | {
"end_col": 108,
"end_line": 43,
"start_col": 40,
"start_line": 43
} | |
Prims.Pure | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | false | let expand_key_128 = opaque_make expand_key_128_def | let expand_key_128 = | false | null | false | opaque_make expand_key_128_def | {
"checked_file": "Vale.AES.AES_helpers.fsti.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
... | [] | [
"Vale.Def.Opaque_s.opaque_make",
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.nat32",
"Prims.nat",
"Vale.Def.Types_s.quad32",
"Vale.AES.AES_s.is_aes_key_LE",
"Vale.AES.AES_common_s.AES_128",
"Prims.l_True",
"Vale.AES.AES_helpers.expand_key_128_def"
] | [] | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | false | false | Vale.AES.AES_helpers.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val expand_key_128 : key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> round: Prims.nat
-> Prims.Pure Vale.Def.Types_s.quad32 | [] | Vale.AES.AES_helpers.expand_key_128 | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | key: FStar.Seq.Base.seq Vale.Def.Types_s.nat32 -> round: Prims.nat
-> Prims.Pure Vale.Def.Types_s.quad32 | {
"end_col": 70,
"end_line": 42,
"start_col": 40,
"start_line": 42
} | |
Prims.Tot | val round_key_128 (prev: quad32) (round: nat) : quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | false | let round_key_128 (prev:quad32) (round:nat) : quad32 =
round_key_128_rcon prev (aes_rcon (round - 1)) | val round_key_128 (prev: quad32) (round: nat) : quad32
let round_key_128 (prev: quad32) (round: nat) : quad32 = | false | null | false | round_key_128_rcon prev (aes_rcon (round - 1)) | {
"checked_file": "Vale.AES.AES_helpers.fsti.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
... | [
"total"
] | [
"Vale.Def.Types_s.quad32",
"Prims.nat",
"Vale.AES.AES_helpers.round_key_128_rcon",
"Vale.AES.AES_common_s.aes_rcon",
"Prims.op_Subtraction"
] | [] | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | false | true | Vale.AES.AES_helpers.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val round_key_128 (prev: quad32) (round: nat) : quad32 | [] | Vale.AES.AES_helpers.round_key_128 | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | prev: Vale.Def.Types_s.quad32 -> round: Prims.nat -> Vale.Def.Types_s.quad32 | {
"end_col": 48,
"end_line": 34,
"start_col": 2,
"start_line": 34
} |
Prims.Tot | val simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | false | let simd_round_key_128 (prev:quad32) (rcon:nat32) : quad32 =
let r = rot_word_LE (sub_word prev.hi3) *^ rcon in
let q = prev in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
q *^^ Mkfour r r r r | val simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32
let simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 = | false | null | false | let r = rot_word_LE (sub_word prev.hi3) *^ rcon in
let q = prev in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
let q = q *^^ quad32_shl32 q in
q *^^ Mkfour r r r r | {
"checked_file": "Vale.AES.AES_helpers.fsti.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
... | [
"total"
] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat_Hat",
"Vale.Def.Words_s.Mkfour",
"Vale.AES.AES_helpers.quad32_shl32",
"Vale.Def.Words_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat",
"Vale.AES.AES_s.rot_word_LE",
"Vale.AES.AES_common_s.sub_word",
"Vale.Def.Words... | [] | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | false | true | Vale.AES.AES_helpers.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val simd_round_key_128 (prev: quad32) (rcon: nat32) : quad32 | [] | Vale.AES.AES_helpers.simd_round_key_128 | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | prev: Vale.Def.Types_s.quad32 -> rcon: Vale.Def.Types_s.nat32 -> Vale.Def.Types_s.quad32 | {
"end_col": 22,
"end_line": 83,
"start_col": 60,
"start_line": 77
} |
Prims.Tot | val round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.AES_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.De... | false | let round_key_128_rcon (prev:quad32) (rcon:nat32) : quad32 =
let Mkfour v0 v1 v2 v3 = prev in
let w0 = v0 *^ (sub_word (rot_word_LE v3) *^ rcon) in
let w1 = v1 *^ w0 in
let w2 = v2 *^ w1 in
let w3 = v3 *^ w2 in
Mkfour w0 w1 w2 w3 | val round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32
let round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 = | false | null | false | let Mkfour v0 v1 v2 v3 = prev in
let w0 = v0 *^ (sub_word (rot_word_LE v3) *^ rcon) in
let w1 = v1 *^ w0 in
let w2 = v2 *^ w1 in
let w3 = v3 *^ w2 in
Mkfour w0 w1 w2 w3 | {
"checked_file": "Vale.AES.AES_helpers.fsti.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.Arch.Types.fsti.checked",
"Vale.AES.GCTR_s.fst.checked",
"Vale.AES.AES_s.fst.checked",
"prims.fst.checked",
... | [
"total"
] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.Mkfour",
"Vale.Def.Words_s.nat32",
"Vale.AES.AES_helpers.op_Star_Hat",
"Vale.AES.AES_common_s.sub_word",
"Vale.AES.AES_s.rot_word_LE"
] | [] | module Vale.AES.AES_helpers
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open FStar.Mul
// syntax for seq accesses, s.[index] and s.[index] <- value
unfold let (.[]) (#a:Type) (s:seq a) (i:nat{ i < length s}) : Tot a = index s i
unfold let (.[]<-) = Seq.upd
un... | false | true | Vale.AES.AES_helpers.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val round_key_128_rcon (prev: quad32) (rcon: nat32) : quad32 | [] | Vale.AES.AES_helpers.round_key_128_rcon | {
"file_name": "vale/code/crypto/aes/Vale.AES.AES_helpers.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | prev: Vale.Def.Types_s.quad32 -> rcon: Vale.Def.Types_s.nat32 -> Vale.Def.Types_s.quad32 | {
"end_col": 20,
"end_line": 31,
"start_col": 60,
"start_line": 25
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.