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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FStar.HyperStack.ST.Stack | val check_avx512: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_avx512 () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_avx512 () in //This is a call to the interop wrapper
x | val check_avx512: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_cpuid_enabled) /\
B.modifies B.loc_none h0 h1)
let check_avx512 () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_avx512 () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_avx512"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_avx512: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_avx512 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 39,
"start_col": 21,
"start_line": 37
} |
FStar.HyperStack.ST.Stack | val check_rdrand: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> rdrand_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_rdrand () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_rdrand () in //This is a call to the interop wrapper
x | val check_rdrand: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> rdrand_enabled) /\
B.modifies B.loc_none h0 h1)
let check_rdrand () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_rdrand () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_rdrand"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_rdrand: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> rdrand_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_rdrand | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 35,
"start_col": 21,
"start_line": 33
} |
FStar.HyperStack.ST.Stack | val check_avx: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_avx () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_avx () in //This is a call to the interop wrapper
x | val check_avx: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_cpuid_enabled) /\
B.modifies B.loc_none h0 h1)
let check_avx () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_avx () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_avx"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_avx: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_avx | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 19,
"start_col": 18,
"start_line": 17
} |
FStar.HyperStack.ST.Stack | val check_movbe: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> movbe_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_movbe () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_movbe () in //This is a call to the interop wrapper
x | val check_movbe: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> movbe_enabled) /\
B.modifies B.loc_none h0 h1)
let check_movbe () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_movbe () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_movbe"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_movbe: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> movbe_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_movbe | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 27,
"start_col": 20,
"start_line": 25
} |
FStar.HyperStack.ST.Stack | val check_avx2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx2_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_avx2 () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_avx2 () in //This is a call to the interop wrapper
x | val check_avx2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx2_cpuid_enabled) /\
B.modifies B.loc_none h0 h1)
let check_avx2 () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_avx2 () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_avx2"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_avx2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx2_cpuid_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_avx2 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 23,
"start_col": 19,
"start_line": 21
} |
FStar.HyperStack.ST.Stack | val check_osxsave: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> osxsave_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_osxsave () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_osxsave () in //This is a call to the interop wrapper
x | val check_osxsave: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> osxsave_enabled) /\
B.modifies B.loc_none h0 h1)
let check_osxsave () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_osxsave () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_osxsave"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_osxsave: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> osxsave_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_osxsave | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 43,
"start_col": 22,
"start_line": 41
} |
FStar.HyperStack.ST.Stack | val check_sha: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sha_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x | val check_sha: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sha_enabled) /\
B.modifies B.loc_none h0 h1)
let check_sha () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_sha () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_sha"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_sha: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sha_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_sha | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 11,
"start_col": 18,
"start_line": 9
} |
FStar.HyperStack.ST.Stack | val check_adx_bmi2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> adx_enabled /\ bmi2_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_adx_bmi2 () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_adx_bmi2 () in //This is a call to the interop wrapper
x | val check_adx_bmi2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> adx_enabled /\ bmi2_enabled) /\
B.modifies B.loc_none h0 h1)
let check_adx_bmi2 () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_adx_bmi2 () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_adx_bmi2"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_adx_bmi2: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> adx_enabled /\ bmi2_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_adx_bmi2 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 15,
"start_col": 23,
"start_line": 13
} |
FStar.HyperStack.ST.Stack | val check_sse: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sse_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_sse () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sse () in //This is a call to the interop wrapper
x | val check_sse: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sse_enabled) /\
B.modifies B.loc_none h0 h1)
let check_sse () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_sse () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_sse"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_sse: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> sse_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_sse | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 31,
"start_col": 18,
"start_line": 29
} |
FStar.HyperStack.ST.Stack | val check_aesni: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> aesni_enabled /\ pclmulqdq_enabled) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x | val check_aesni: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> aesni_enabled /\ pclmulqdq_enabled) /\
B.modifies B.loc_none h0 h1)
let check_aesni () = | true | null | false | let open Vale.X64.Decls in
let x, _ = Vale.Stdcalls.X64.Cpuid.check_aesni () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_aesni"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_aesni: unit -> Stack UInt64.t
(requires fun h0 -> True)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> aesni_enabled /\ pclmulqdq_enabled) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_aesni | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 7,
"start_col": 0,
"start_line": 5
} |
FStar.HyperStack.ST.Stack | val check_avx_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_xcr0) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_avx_xcr0 () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_avx_xcr0 () in //This is a call to the interop wrapper
x | val check_avx_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_xcr0) /\
B.modifies B.loc_none h0 h1)
let check_avx_xcr0 () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_avx_xcr0 () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_avx_xcr0"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_avx_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx_xcr0) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_avx_xcr0 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 47,
"start_col": 23,
"start_line": 45
} |
FStar.HyperStack.ST.Stack | val check_avx512_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled /\ avx_xcr0)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_xcr0) /\
B.modifies B.loc_none h0 h1) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let check_avx512_xcr0 () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_avx512_xcr0 () in //This is a call to the interop wrapper
x | val check_avx512_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled /\ avx_xcr0)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_xcr0) /\
B.modifies B.loc_none h0 h1)
let check_avx512_xcr0 () = | true | null | false | let x, _ = Vale.Stdcalls.X64.Cpuid.check_avx512_xcr0 () in
x | {
"checked_file": "Vale.Wrapper.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.Decls.fsti.checked",
"Vale.Stdcalls.X64.Cpuid.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Wrapper.X64.Cpuid.f... | [] | [
"Prims.unit",
"FStar.UInt64.t",
"FStar.Ghost.erased",
"Vale.Interop.X64.as_lowstar_sig_ret",
"Vale.Interop.X64.als_ret",
"Vale.Stdcalls.X64.Cpuid.check_avx512_xcr0"
] | [] | module Vale.Wrapper.X64.Cpuid
open FStar.Mul
let check_aesni () =
let open Vale.X64.Decls in
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_aesni () in //This is a call to the interop wrapper
x
let check_sha () =
let (x, _) = Vale.Stdcalls.X64.Cpuid.check_sha () in //This is a call to the interop wrapper
x
let c... | false | false | Vale.Wrapper.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val check_avx512_xcr0: unit -> Stack UInt64.t
(requires fun h0 -> osxsave_enabled /\ avx_xcr0)
(ensures fun h0 ret_val h1 ->
((UInt64.v ret_val) =!= 0 ==> avx512_xcr0) /\
B.modifies B.loc_none h0 h1) | [] | Vale.Wrapper.X64.Cpuid.check_avx512_xcr0 | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 3,
"end_line": 51,
"start_col": 26,
"start_line": 49
} |
FStar.Pervasives.Lemma | val fmul14_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c * d /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 17)
(ensures b * 38 < pow2 63) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let fmul14_bound a b c d =
lemma_mul_lt c d (pow2 256) (pow2 17);
//Math.Lemmas.pow2_plus 256 17;
//assert (c * d < pow2 273);
assert (b < pow2 17);
assert_norm (38 < pow2 7);
Math.Lemmas.pow2_plus 17 7;
Math.Lemmas.pow2_lt_compat 63 24 | val fmul14_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c * d /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 17)
(ensures b * 38 < pow2 63)
let fmul14_bound a b c d = | false | null | true | lemma_mul_lt c d (pow2 256) (pow2 17);
assert (b < pow2 17);
assert_norm (38 < pow2 7);
Math.Lemmas.pow2_plus 17 7;
Math.Lemmas.pow2_lt_compat 63 24 | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.nat",
"FStar.Math.Lemmas.pow2_lt_compat",
"Prims.unit",
"FStar.Math.Lemmas.pow2_plus",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.pow2",
"Prims._assert",
"Hacl.Spec.Curve25519.Field64.Lemmas.lemma_mul_lt"
] | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 fmul14_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c * d /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 17)
(ensures b * 38 < pow2 63) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.fmul14_bound | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Prims.nat -> b: Prims.nat -> c: Prims.nat -> d: Prims.nat
-> FStar.Pervasives.Lemma
(requires
a + b * Prims.pow2 256 == c * d /\ a < Prims.pow2 256 /\ c < Prims.pow2 256 /\
d < Prims.pow2 17) (ensures b * 38 < Prims.pow2 63) | {
"end_col": 34,
"end_line": 127,
"start_col": 2,
"start_line": 121
} |
FStar.Pervasives.Lemma | val carry_wide_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c + d * 38 /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 256)
(ensures b * 38 < pow2 63) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let carry_wide_bound a b c d =
assert_norm (38 < pow2 7);
lemma_mul_lt d 38 (pow2 256) (pow2 7);
Math.Lemmas.pow2_plus 256 7;
assert (c + d * 38 < pow2 263);
Math.Lemmas.pow2_plus 7 7;
Math.Lemmas.pow2_lt_compat 63 14 | val carry_wide_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c + d * 38 /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 256)
(ensures b * 38 < pow2 63)
let carry_wide_bound a b c d = | false | null | true | assert_norm (38 < pow2 7);
lemma_mul_lt d 38 (pow2 256) (pow2 7);
Math.Lemmas.pow2_plus 256 7;
assert (c + d * 38 < pow2 263);
Math.Lemmas.pow2_plus 7 7;
Math.Lemmas.pow2_lt_compat 63 14 | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.nat",
"FStar.Math.Lemmas.pow2_lt_compat",
"Prims.unit",
"FStar.Math.Lemmas.pow2_plus",
"Prims._assert",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",
"Hacl.Spec.Curve25519.Field64.Lemmas.lemma_mul_lt",
"FStar.Pervasives.assert_norm"
] | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 carry_wide_bound: a:nat -> b:nat -> c:nat -> d:nat -> Lemma
(requires
a + b * pow2 256 == c + d * 38 /\
a < pow2 256 /\ c < pow2 256 /\ d < pow2 256)
(ensures b * 38 < pow2 63) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.carry_wide_bound | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Prims.nat -> b: Prims.nat -> c: Prims.nat -> d: Prims.nat
-> FStar.Pervasives.Lemma
(requires
a + b * Prims.pow2 256 == c + d * 38 /\ a < Prims.pow2 256 /\ c < Prims.pow2 256 /\
d < Prims.pow2 256) (ensures b * 38 < Prims.pow2 63) | {
"end_col": 34,
"end_line": 111,
"start_col": 2,
"start_line": 106
} |
FStar.Pervasives.Lemma | val lemma_prime19: unit -> Lemma (pow2 255 % prime == 19) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_prime19 () =
assert_norm (pow2 255 % prime = 19 % prime);
FStar.Math.Lemmas.small_mod 19 prime | val lemma_prime19: unit -> Lemma (pow2 255 % prime == 19)
let lemma_prime19 () = | false | null | true | assert_norm (pow2 255 % prime = 19 % prime);
FStar.Math.Lemmas.small_mod 19 prime | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.unit",
"FStar.Math.Lemmas.small_mod",
"Spec.Curve25519.prime",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Prims.pow2"
] | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_prime19: unit -> Lemma (pow2 255 % prime == 19) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_prime19 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.Pervasives.Lemma (ensures Prims.pow2 255 % Spec.Curve25519.prime == 19) | {
"end_col": 38,
"end_line": 37,
"start_col": 2,
"start_line": 36
} |
FStar.Pervasives.Lemma | val lemma_subtract_p: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(((v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_subtract_p f f' =
let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
if ((v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) &&
(v f0' = v f0 && v f1' = v f1 && v f2' = v f2 && v f3' = v f3))
then lemma_subtract_p4_0 f ... | val lemma_subtract_p: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(((v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &... | false | null | true | let f0, f1, f2, f3 = f in
let f0', f1', f2', f3' = f' in
if
((v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff ||
v f0 < 0xffffffffffffffed) &&
(v f0' = v f0 && v f1' = v f1 && v f2' = v f2 && v f3' = v f3))
then lemma_subtract_p4_0 f f'
else lemma_subtract_p4_1 f f' | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Hacl.Spec.Curve25519.Field64.Definition.felem4",
"Lib.IntTypes.uint64",
"Prims.op_AmpAmp",
"Prims.op_BarBar",
"Prims.op_disEquality",
"Prims.int",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.op_LessThan",
"Prims.op_Equality",
"Lib.IntTypes.range_t",
"Hacl.Spec.Curve2551... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_subtract_p: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(((v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &... | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_subtract_p | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
f: Hacl.Spec.Curve25519.Field64.Definition.felem4 ->
f': Hacl.Spec.Curve25519.Field64.Definition.felem4
-> FStar.Pervasives.Lemma
(requires
(let _ = f in
(let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ f0 f1 f2 f3 = _ in
let _ = f' in
(let FStar.Pervasives.Na... | {
"end_col": 31,
"end_line": 212,
"start_col": 27,
"start_line": 206
} |
FStar.Pervasives.Lemma | val lemma_subtract_p4_1: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
(v f3 = 0x7fffffffffffffff && v f2 = 0xffffffffffffffff && v f1 = 0xffffffffffffffff && v f0 >= 0xffffffffffffffed) /\
(v f0' = v f0 - 0xffffffffffffffed && v f1' = v f1 - 0xf... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_subtract_p4_1 f f' =
let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
assert_norm (0x7fffffffffffffff = pow2 63 - 1);
assert_norm (0xffffffffffffffff = pow2 64 - 1);
assert_norm (0xffffffffffffffed = pow2 64 - 19);
assert (as_nat4 f' % prime ==
(v f0' + v f1' * pow2 64 + v f2' * po... | val lemma_subtract_p4_1: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
(v f3 = 0x7fffffffffffffff && v f2 = 0xffffffffffffffff && v f1 = 0xffffffffffffffff && v f0 >= 0xffffffffffffffed) /\
(v f0' = v f0 - 0xffffffffffffffed && v f1' = v f1 - 0xf... | false | null | true | let f0, f1, f2, f3 = f in
let f0', f1', f2', f3' = f' in
assert_norm (0x7fffffffffffffff = pow2 63 - 1);
assert_norm (0xffffffffffffffff = pow2 64 - 1);
assert_norm (0xffffffffffffffed = pow2 64 - 19);
assert (as_nat4 f' % prime ==
(v f0' + v f1' * pow2 64 + (v f2' * pow2 64) * pow2 64 + ((v f3' * pow2 64) * pow2 6... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Hacl.Spec.Curve25519.Field64.Definition.felem4",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.lemma_mod_sub",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"FStar.Mul.op_Star",
"Prims.pow2",
"Spec.Curve25519.prime",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_subtract_p4_1: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
(v f3 = 0x7fffffffffffffff && v f2 = 0xffffffffffffffff && v f1 = 0xffffffffffffffff && v f0 >= 0xffffffffffffffed) /\
(v f0' = v f0 - 0xffffffffffffffed && v f1' = v f1 - 0xf... | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_subtract_p4_1 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
f: Hacl.Spec.Curve25519.Field64.Definition.felem4 ->
f': Hacl.Spec.Curve25519.Field64.Definition.felem4
-> FStar.Pervasives.Lemma
(requires
(let _ = f in
(let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ f0 f1 f2 f3 = _ in
let _ = f' in
(let FStar.Pervasives.Na... | {
"end_col": 99,
"end_line": 191,
"start_col": 30,
"start_line": 175
} |
FStar.Pervasives.Lemma | val lemma_subtract_p4_0: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &&... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_subtract_p4_0 f f' =
let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
assert_norm (0x7fffffffffffffff = pow2 63 - 1);
assert_norm (0xffffffffffffffff = pow2 64 - 1);
assert_norm (0xffffffffffffffed = pow2 64 - 19);
assert (as_nat4 f == v f0 + v f1 * pow2 64 + v f2 * pow2 64 * pow2 64 +... | val lemma_subtract_p4_0: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &&... | false | null | true | let f0, f1, f2, f3 = f in
let f0', f1', f2', f3' = f' in
assert_norm (0x7fffffffffffffff = pow2 63 - 1);
assert_norm (0xffffffffffffffff = pow2 64 - 1);
assert_norm (0xffffffffffffffed = pow2 64 - 19);
assert (as_nat4 f ==
v f0 + v f1 * pow2 64 + (v f2 * pow2 64) * pow2 64 + ((v f3 * pow2 64) * pow2 64) * pow2 64);... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Hacl.Spec.Curve25519.Field64.Definition.felem4",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.modulo_lemma",
"Hacl.Spec.Curve25519.Field64.Definition.as_nat4",
"Spec.Curve25519.prime",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.op_Subtractio... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_subtract_p4_0: f:felem4 -> f':felem4 -> Lemma
(requires
(let (f0, f1, f2, f3) = f in
let (f0', f1', f2', f3') = f' in
v f3 < pow2 63 /\
(v f3 <> 0x7fffffffffffffff || v f2 <> 0xffffffffffffffff || v f1 <> 0xffffffffffffffff || v f0 < 0xffffffffffffffed) /\
(v f0' = v f0 && v f1' = v f1 &&... | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_subtract_p4_0 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
f: Hacl.Spec.Curve25519.Field64.Definition.felem4 ->
f': Hacl.Spec.Curve25519.Field64.Definition.felem4
-> FStar.Pervasives.Lemma
(requires
(let _ = f in
(let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ f0 f1 f2 f3 = _ in
let _ = f' in
(let FStar.Pervasives.Na... | {
"end_col": 51,
"end_line": 163,
"start_col": 30,
"start_line": 151
} |
FStar.Pervasives.Lemma | val lemma_carry_pass_store_f3: f:lseq uint64 4 ->
Lemma (let top_bit = f.[3] >>. 63ul in
let f3' = f.[3] &. u64 0x7fffffffffffffff in
v top_bit == SD.bn_v f / pow2 255 /\ v top_bit <= 1 /\
v f3' = v f.[3] % pow2 63 /\
v f.[3] == v top_bit * pow2 63 + v f3') | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_carry_pass_store_f3 f =
let top_bit = f.[3] >>. 63ul in
assert (SL.bn_get_ith_bit f 255 == ((f.[3] >>. 63ul) &. u64 1));
mod_mask_lemma top_bit 1ul;
assert (v (mod_mask #U64 #SEC 1ul) == v (u64 1));
SL.bn_get_ith_bit_lemma f 255;
assert (v top_bit == SD.bn_v f / pow2 255 % 2);
SD.bn_eval_bound f... | val lemma_carry_pass_store_f3: f:lseq uint64 4 ->
Lemma (let top_bit = f.[3] >>. 63ul in
let f3' = f.[3] &. u64 0x7fffffffffffffff in
v top_bit == SD.bn_v f / pow2 255 /\ v top_bit <= 1 /\
v f3' = v f.[3] % pow2 63 /\
v f.[3] == v top_bit * pow2 63 + v f3')
let lemma_carry_pass_store_f3 f = | false | null | true | let top_bit = f.[ 3 ] >>. 63ul in
assert (SL.bn_get_ith_bit f 255 == ((f.[ 3 ] >>. 63ul) &. u64 1));
mod_mask_lemma top_bit 1ul;
assert (v (mod_mask #U64 #SEC 1ul) == v (u64 1));
SL.bn_get_ith_bit_lemma f 255;
assert (v top_bit == SD.bn_v f / pow2 255 % 2);
SD.bn_eval_bound f 4;
Math.Lemmas.lemma_div_lt_nat (SD.bn_v f)... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Lib.Sequence.lseq",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.unit",
"Prims.eq2",
"Prims.int",
"Lib.Sequence.op_String_Access",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_carry_pass_store_f3: f:lseq uint64 4 ->
Lemma (let top_bit = f.[3] >>. 63ul in
let f3' = f.[3] &. u64 0x7fffffffffffffff in
v top_bit == SD.bn_v f / pow2 255 /\ v top_bit <= 1 /\
v f3' = v f.[3] % pow2 63 /\
v f.[3] == v top_bit * pow2 63 + v f3') | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_carry_pass_store_f3 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Lib.Sequence.lseq Lib.IntTypes.uint64 4
-> FStar.Pervasives.Lemma
(ensures
(let top_bit = f.[ 3 ] >>. 63ul in
let f3' = f.[ 3 ] &. Lib.IntTypes.u64 0x7fffffffffffffff in
Lib.IntTypes.v top_bit == Hacl.Spec.Bignum.Definitions.bn_v f / Prims.pow2 255 /\
Lib.IntTypes.v top_bit <= 1 /... | {
"end_col": 25,
"end_line": 242,
"start_col": 33,
"start_line": 222
} |
FStar.Pervasives.Lemma | val lemma_prime: unit -> Lemma (pow2 256 % prime == 38) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_prime () =
calc (==) {
pow2 256 % prime;
(==) { Math.Lemmas.pow2_plus 255 1 }
2 * pow2 255 % prime;
(==) { Math.Lemmas.lemma_mod_mul_distr_r 2 (pow2 255) prime }
2 * (pow2 255 % prime) % prime;
(==) { Math.Lemmas.sub_div_mod_1 (pow2 255) prime }
2 * (19 % prime) % prime;
(==)... | val lemma_prime: unit -> Lemma (pow2 256 % prime == 38)
let lemma_prime () = | false | null | true | calc ( == ) {
pow2 256 % prime;
( == ) { Math.Lemmas.pow2_plus 255 1 }
2 * pow2 255 % prime;
( == ) { Math.Lemmas.lemma_mod_mul_distr_r 2 (pow2 255) prime }
2 * (pow2 255 % prime) % prime;
( == ) { Math.Lemmas.sub_div_mod_1 (pow2 255) prime }
2 * (19 % prime) % prime;
( == ) { Math.Lemmas.lemma_mod_mul_... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.unit",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Modulus",
"Prims.pow2",
"Spec.Curve25519.prime",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"FStar.Calc.calc_step",
"FStar.Mul.op_Star",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pack",
"FStar.Math.Lemm... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_prime: unit -> Lemma (pow2 256 % prime == 38) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_prime | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.Pervasives.Lemma (ensures Prims.pow2 256 % Spec.Curve25519.prime == 38) | {
"end_col": 5,
"end_line": 31,
"start_col": 2,
"start_line": 19
} |
FStar.Pervasives.Lemma | val lemma_felem64_mod255: a:lseq uint64 4 ->
Lemma (let r = a.[3] <- (a.[3] &. u64 0x7fffffffffffffff) in
BSeq.nat_from_intseq_le r == BSeq.nat_from_intseq_le a % pow2 255) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_felem64_mod255 a =
lemma_carry_pass_store_f3 a;
let a3' = a.[3] &. u64 0x7fffffffffffffff in
assert (v a3' = v a.[3] % pow2 63);
let r = a.[3] <- a3' in
SD.bn_upd_eval a a3' 3;
assert (SD.bn_v r == SD.bn_v a - v a.[3] * pow2 192 + v a3' * pow2 192);
calc (==) { //SD.bn_v a == SD.bn_v r + v a.[... | val lemma_felem64_mod255: a:lseq uint64 4 ->
Lemma (let r = a.[3] <- (a.[3] &. u64 0x7fffffffffffffff) in
BSeq.nat_from_intseq_le r == BSeq.nat_from_intseq_le a % pow2 255)
let lemma_felem64_mod255 a = | false | null | true | lemma_carry_pass_store_f3 a;
let a3' = a.[ 3 ] &. u64 0x7fffffffffffffff in
assert (v a3' = v a.[ 3 ] % pow2 63);
let r = a.[ 3 ] <- a3' in
SD.bn_upd_eval a a3' 3;
assert (SD.bn_v r == SD.bn_v a - v a.[ 3 ] * pow2 192 + v a3' * pow2 192);
calc ( == ) {
SD.bn_v r + v a.[ 3 ] * pow2 192 - v a3' * pow2 192;
( == ) { (... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Lib.Sequence.lseq",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Lib.ByteSequence.nat_from_intseq_le",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.op_Modulus",
"Prims.pow2",
"Prims.unit",
"Hacl.Spec.Bignum.Convert.bn_v_is_nat_from_intseq_le_lemma",
"FStar.Math.Lemma... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_felem64_mod255: a:lseq uint64 4 ->
Lemma (let r = a.[3] <- (a.[3] &. u64 0x7fffffffffffffff) in
BSeq.nat_from_intseq_le r == BSeq.nat_from_intseq_le a % pow2 255) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_felem64_mod255 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Lib.Sequence.lseq Lib.IntTypes.uint64 4
-> FStar.Pervasives.Lemma
(ensures
(let r = a.[ 3 ] <- a.[ 3 ] &. Lib.IntTypes.u64 0x7fffffffffffffff in
Lib.ByteSequence.nat_from_intseq_le r ==
Lib.ByteSequence.nat_from_intseq_le a % Prims.pow2 255)) | {
"end_col": 76,
"end_line": 276,
"start_col": 2,
"start_line": 250
} |
FStar.Pervasives.Lemma | val lemma_mul_pow255_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 255) % prime == (fn + c * 19) % prime) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_mul_pow255_add fn c =
calc (==) {
(fn + c * pow2 255) % prime;
(==) { Math.Lemmas.lemma_mod_plus_distr_r fn (c * pow2 255) prime }
(fn + c * pow2 255 % prime) % prime;
(==) { Math.Lemmas.lemma_mod_mul_distr_r c (pow2 255) prime }
(fn + c * (pow2 255 % prime) % prime) % prime;
(==) { ... | val lemma_mul_pow255_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 255) % prime == (fn + c * 19) % prime)
let lemma_mul_pow255_add fn c = | false | null | true | calc ( == ) {
(fn + c * pow2 255) % prime;
( == ) { Math.Lemmas.lemma_mod_plus_distr_r fn (c * pow2 255) prime }
(fn + c * pow2 255 % prime) % prime;
( == ) { Math.Lemmas.lemma_mod_mul_distr_r c (pow2 255) prime }
(fn + c * (pow2 255 % prime) % prime) % prime;
( == ) { lemma_prime19 () }
(fn + c * 19 % pr... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.int",
"FStar.Calc.calc_finish",
"Prims.eq2",
"Prims.op_Modulus",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",
"Spec.Curve25519.prime",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pa... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_mul_pow255_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 255) % prime == (fn + c * 19) % prime) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_mul_pow255_add | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | fn: Prims.int -> c: Prims.int
-> FStar.Pervasives.Lemma
(ensures
(fn + c * Prims.pow2 255) % Spec.Curve25519.prime == (fn + c * 19) % Spec.Curve25519.prime) | {
"end_col": 5,
"end_line": 69,
"start_col": 2,
"start_line": 59
} |
FStar.Pervasives.Lemma | val lemma_mul_pow256_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 256) % prime == (fn + c * 38) % prime) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_mul_pow256_add fn c =
calc (==) {
(fn + c * pow2 256) % prime;
(==) { Math.Lemmas.lemma_mod_plus_distr_r fn (c * pow2 256) prime }
(fn + c * pow2 256 % prime) % prime;
(==) { Math.Lemmas.lemma_mod_mul_distr_r c (pow2 256) prime }
(fn + c * (pow2 256 % prime) % prime) % prime;
(==) { ... | val lemma_mul_pow256_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 256) % prime == (fn + c * 38) % prime)
let lemma_mul_pow256_add fn c = | false | null | true | calc ( == ) {
(fn + c * pow2 256) % prime;
( == ) { Math.Lemmas.lemma_mod_plus_distr_r fn (c * pow2 256) prime }
(fn + c * pow2 256 % prime) % prime;
( == ) { Math.Lemmas.lemma_mod_mul_distr_r c (pow2 256) prime }
(fn + c * (pow2 256 % prime) % prime) % prime;
( == ) { lemma_prime () }
(fn + c * 38 % prim... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.int",
"FStar.Calc.calc_finish",
"Prims.eq2",
"Prims.op_Modulus",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",
"Spec.Curve25519.prime",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pa... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_mul_pow256_add: fn:int -> c:int ->
Lemma ((fn + c * pow2 256) % prime == (fn + c * 38) % prime) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_mul_pow256_add | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | fn: Prims.int -> c: Prims.int
-> FStar.Pervasives.Lemma
(ensures
(fn + c * Prims.pow2 256) % Spec.Curve25519.prime == (fn + c * 38) % Spec.Curve25519.prime) | {
"end_col": 5,
"end_line": 53,
"start_col": 2,
"start_line": 43
} |
FStar.Pervasives.Lemma | val lemma_fsub4: fn1:nat -> fn2:nat -> c0:nat -> c1:nat ->
Lemma ((fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime ==
(fn1 % prime - fn2 % prime) % prime) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Lib",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "SD"
},
{
"abbrev": true,
"full_module": "Lib.ByteSequence",
"short_module": "BSeq"
},
{
"abbrev": fal... | false | let lemma_fsub4 fn1 fn2 c0 c1 =
calc (==) {
(fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime;
(==) { lemma_mul_pow256_add (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256) (- c1) }
(fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * pow2 256) % prime;
(==) { }
(f... | val lemma_fsub4: fn1:nat -> fn2:nat -> c0:nat -> c1:nat ->
Lemma ((fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime ==
(fn1 % prime - fn2 % prime) % prime)
let lemma_fsub4 fn1 fn2 c0 c1 = | false | null | true | calc ( == ) {
(fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime;
( == ) { lemma_mul_pow256_add (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256) (- c1) }
(fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * pow2 256) % prime;
( == ) { () }
(fn1 - fn2 + c0 * pow2 256 - c0 * 38)... | {
"checked_file": "Hacl.Spec.Curve25519.Field64.Lemmas.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Curve25519.Field64.Definition.fst.checked",
"Ha... | [
"lemma"
] | [
"Prims.nat",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Modulus",
"Prims.op_Subtraction",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",
"Spec.Curve25519.prime",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FSt... | [] | module Hacl.Spec.Curve25519.Field64.Lemmas
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
open Spec.Curve25519
open Hacl.Spec.Curve25519.Field64.Definition
module BSeq = Lib.ByteSequence
module SD = Hacl.Spec.Bignum.Definitions
module SL = Hacl.Spec.Bignum.Lib
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
v... | false | false | Hacl.Spec.Curve25519.Field64.Lemmas.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 lemma_fsub4: fn1:nat -> fn2:nat -> c0:nat -> c1:nat ->
Lemma ((fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime ==
(fn1 % prime - fn2 % prime) % prime) | [] | Hacl.Spec.Curve25519.Field64.Lemmas.lemma_fsub4 | {
"file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | fn1: Prims.nat -> fn2: Prims.nat -> c0: Prims.nat -> c1: Prims.nat
-> FStar.Pervasives.Lemma
(ensures
(fn1 - fn2 + c0 * Prims.pow2 256 - c0 * 38 + c1 * Prims.pow2 256 - c1 * 38) %
Spec.Curve25519.prime ==
(fn1 % Spec.Curve25519.prime - fn2 % Spec.Curve25519.prime) % Spec.Curve25519.prime) | {
"end_col": 5,
"end_line": 90,
"start_col": 2,
"start_line": 76
} |
Prims.Tot | val sigver_vectors_sha2_384:list vec_SigVer | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let sigver_vectors_sha2_384 : list vec_SigVer = [
{ msg = "fe9838f007bdc6afcd626974fcc6833f06b6fd970427b962d75c2aeadbef386bec8d018106197fe2547d2af02e7a7949965d5fbc4c5db909a95b9858426a33c080b0b25dae8b56c5cbc6c4eec3dbd81635c79457eaef4fab39e662a1d05b2481eda8c1074ae2d1704c8a3f769686a1f965ef3c87602efc288c7f9ff8cd5e22a4";
... | val sigver_vectors_sha2_384:list vec_SigVer
let sigver_vectors_sha2_384:list vec_SigVer = | false | null | false | [
{
msg
=
"fe9838f007bdc6afcd626974fcc6833f06b6fd970427b962d75c2aeadbef386bec8d018106197fe2547d2af02e7a7949965d5fbc4c5db909a95b9858426a33c080b0b25dae8b56c5cbc6c4eec3dbd81635c79457eaef4fab39e662a1d05b2481eda8c1074ae2d1704c8a3f769686a1f965ef3c87602efc288c7f9ff8cd5e22a4";
qx = "40ded13dbbe72c629c38f07f7f... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigVer",
"Spec.ECDSA.Test.Vectors.Mkvec_SigVer",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 sigver_vectors_sha2_384:list vec_SigVer | [] | Spec.ECDSA.Test.Vectors.sigver_vectors_sha2_384 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigVer | {
"end_col": 1,
"end_line": 247,
"start_col": 49,
"start_line": 141
} |
Prims.Tot | val sigver_vectors_sha2_256:list vec_SigVer | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let sigver_vectors_sha2_256 : list vec_SigVer = [
{ msg = "e4796db5f785f207aa30d311693b3702821dff1168fd2e04c0836825aefd850d9aa60326d88cde1a23c7745351392ca2288d632c264f197d05cd424a30336c19fd09bb229654f0222fcb881a4b35c290a093ac159ce13409111ff0358411133c24f5b8e2090d6db6558afc36f06ca1f6ef779785adba68db27a409859fc4c4a0";
... | val sigver_vectors_sha2_256:list vec_SigVer
let sigver_vectors_sha2_256:list vec_SigVer = | false | null | false | [
{
msg
=
"e4796db5f785f207aa30d311693b3702821dff1168fd2e04c0836825aefd850d9aa60326d88cde1a23c7745351392ca2288d632c264f197d05cd424a30336c19fd09bb229654f0222fcb881a4b35c290a093ac159ce13409111ff0358411133c24f5b8e2090d6db6558afc36f06ca1f6ef779785adba68db27a409859fc4c4a0";
qx = "87f8f2b218f49845f6f10eec38... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigVer",
"Spec.ECDSA.Test.Vectors.Mkvec_SigVer",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 sigver_vectors_sha2_256:list vec_SigVer | [] | Spec.ECDSA.Test.Vectors.sigver_vectors_sha2_256 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigVer | {
"end_col": 1,
"end_line": 138,
"start_col": 49,
"start_line": 32
} |
Prims.Tot | val sigver_vectors_sha2_512:list vec_SigVer | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let sigver_vectors_sha2_512 : list vec_SigVer = [
{ msg = "273b063224ab48a1bf6c7efc93429d1f89de48fc4a4fa3ffe7a49ebba1a58ff5d208a9e4bff27b418252526243ba042d1605b6df3c2ec916ceef027853a41137f7bfb6fc63844de95f58e82b9ad2565f1367d2c69bd29100f6db21a8ab7ab58affd1661add0322bd915721378df9fa233ef0b7e0a0a85be31689e21891ec8977";
... | val sigver_vectors_sha2_512:list vec_SigVer
let sigver_vectors_sha2_512:list vec_SigVer = | false | null | false | [
{
msg
=
"273b063224ab48a1bf6c7efc93429d1f89de48fc4a4fa3ffe7a49ebba1a58ff5d208a9e4bff27b418252526243ba042d1605b6df3c2ec916ceef027853a41137f7bfb6fc63844de95f58e82b9ad2565f1367d2c69bd29100f6db21a8ab7ab58affd1661add0322bd915721378df9fa233ef0b7e0a0a85be31689e21891ec8977";
qx = "484e31e69ef70bb8527853c22c... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigVer",
"Spec.ECDSA.Test.Vectors.Mkvec_SigVer",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 sigver_vectors_sha2_512:list vec_SigVer | [] | Spec.ECDSA.Test.Vectors.sigver_vectors_sha2_512 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigVer | {
"end_col": 1,
"end_line": 356,
"start_col": 49,
"start_line": 250
} |
Prims.Tot | val siggen_vectors_sha2_256:list vec_SigGen | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let siggen_vectors_sha2_256 : list vec_SigGen = [
{ msg' = "5905238877c77421f73e43ee3da6f2d9e2ccad5fc942dcec0cbd25482935faaf416983fe165b1a045ee2bcd2e6dca3bdf46c4310a7461f9a37960ca672d3feb5473e253605fb1ddfd28065b53cb5858a8ad28175bf9bd386a5e471ea7a65c17cc934a9d791e91491eb3754d03799790fe2d308d16146d5c9b0d0debd97d79ce8";... | val siggen_vectors_sha2_256:list vec_SigGen
let siggen_vectors_sha2_256:list vec_SigGen = | false | null | false | [
{
msg'
=
"5905238877c77421f73e43ee3da6f2d9e2ccad5fc942dcec0cbd25482935faaf416983fe165b1a045ee2bcd2e6dca3bdf46c4310a7461f9a37960ca672d3feb5473e253605fb1ddfd28065b53cb5858a8ad28175bf9bd386a5e471ea7a65c17cc934a9d791e91491eb3754d03799790fe2d308d16146d5c9b0d0debd97d79ce8";
d = "519b423d715f8b581f4fa8ee59... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigGen",
"Spec.ECDSA.Test.Vectors.Mkvec_SigGen",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 siggen_vectors_sha2_256:list vec_SigGen | [] | Spec.ECDSA.Test.Vectors.siggen_vectors_sha2_256 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigGen | {
"end_col": 1,
"end_line": 480,
"start_col": 49,
"start_line": 359
} |
Prims.Tot | val siggen_vectors_sha2_384:list vec_SigGen | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let siggen_vectors_sha2_384 : list vec_SigGen = [
{ msg' = "e0b8596b375f3306bbc6e77a0b42f7469d7e83635990e74aa6d713594a3a24498feff5006790742d9c2e9b47d714bee932435db747c6e733e3d8de41f2f91311f2e9fd8e025651631ffd84f66732d3473fbd1627e63dc7194048ebec93c95c159b5039ab5e79e42c80b484a943f125de3da1e04e5bf9c16671ad55a1117d3306";... | val siggen_vectors_sha2_384:list vec_SigGen
let siggen_vectors_sha2_384:list vec_SigGen = | false | null | false | [
{
msg'
=
"e0b8596b375f3306bbc6e77a0b42f7469d7e83635990e74aa6d713594a3a24498feff5006790742d9c2e9b47d714bee932435db747c6e733e3d8de41f2f91311f2e9fd8e025651631ffd84f66732d3473fbd1627e63dc7194048ebec93c95c159b5039ab5e79e42c80b484a943f125de3da1e04e5bf9c16671ad55a1117d3306";
d = "b6faf2c8922235c589c27368a3... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigGen",
"Spec.ECDSA.Test.Vectors.Mkvec_SigGen",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 siggen_vectors_sha2_384:list vec_SigGen | [] | Spec.ECDSA.Test.Vectors.siggen_vectors_sha2_384 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigGen | {
"end_col": 1,
"end_line": 604,
"start_col": 49,
"start_line": 483
} |
Prims.Tot | val siggen_vectors_sha2_512:list vec_SigGen | [
{
"abbrev": false,
"full_module": "Lib.Meta",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.ECDSA.Test",
"short_module": null
},
{
"abbrev": false,
"full_module": "F... | false | let siggen_vectors_sha2_512 : list vec_SigGen = [
{ msg' = "6c8572b6a3a4a9e8e03dbeed99334d41661b8a8417074f335ab1845f6cc852adb8c01d9820fcf8e10699cc827a8fbdca2cbd46cc66e4e6b7ba41ec3efa733587e4a30ec552cd8ddab8163e148e50f4d090782897f3ddac84a41e1fcfe8c56b6152c0097b0d634b41011471ffd004f43eb4aafc038197ec6bae2b4470e869bded";... | val siggen_vectors_sha2_512:list vec_SigGen
let siggen_vectors_sha2_512:list vec_SigGen = | false | null | false | [
{
msg'
=
"6c8572b6a3a4a9e8e03dbeed99334d41661b8a8417074f335ab1845f6cc852adb8c01d9820fcf8e10699cc827a8fbdca2cbd46cc66e4e6b7ba41ec3efa733587e4a30ec552cd8ddab8163e148e50f4d090782897f3ddac84a41e1fcfe8c56b6152c0097b0d634b41011471ffd004f43eb4aafc038197ec6bae2b4470e869bded";
d = "9dd0d3a3d514c2a8adb162b81e... | {
"checked_file": "Spec.ECDSA.Test.Vectors.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Meta.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Spec.ECDSA.Test.Vectors.fst"
} | [
"total"
] | [
"Prims.Cons",
"Spec.ECDSA.Test.Vectors.vec_SigGen",
"Spec.ECDSA.Test.Vectors.Mkvec_SigGen",
"Prims.Nil"
] | [] | module Spec.ECDSA.Test.Vectors
open Lib.Meta
#set-options "--fuel 0 --ifuel 0"
///
/// ECDSA test vectors from NIST CAVP
/// https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Digital-Signatures#ecdsa2vs
///
type vec_SigVer = {
msg: hex_string;
qx: hex_string;
qy: hex_string;
r: hex_s... | false | true | Spec.ECDSA.Test.Vectors.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 siggen_vectors_sha2_512:list vec_SigGen | [] | Spec.ECDSA.Test.Vectors.siggen_vectors_sha2_512 | {
"file_name": "specs/tests/p256/Spec.ECDSA.Test.Vectors.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.list Spec.ECDSA.Test.Vectors.vec_SigGen | {
"end_col": 1,
"end_line": 728,
"start_col": 49,
"start_line": 607
} |
FStar.Tactics.Effect.Tac | val sum_accessor_ext (ty: term) : Tac unit | [
{
"abbrev": false,
"full_module": "LowParse.TacLib",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowParse.Low.Sum",
"short_module": null
},
{
"abbrev": false,
"full_module": "LowParse.Low.Tac",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let sum_accessor_ext (ty: term) : Tac unit =
let thm = mk_app (`clens_eq_intro') [(ty, Q_Implicit)] in
apply thm;
iseq [
(fun _ ->
norm [delta; zeta; iota; primops];
let x = intro () in
destruct (binder_to_term x);
to_all_goals (fun _ ->
let ... | val sum_accessor_ext (ty: term) : Tac unit
let sum_accessor_ext (ty: term) : Tac unit = | true | null | false | let thm = mk_app (`clens_eq_intro') [(ty, Q_Implicit)] in
apply thm;
iseq [
(fun _ ->
norm [delta; zeta; iota; primops];
let x = intro () in
destruct (binder_to_term x);
to_all_goals (fun _ ->
let eqn = intros_until_eq_hyp () in
rewrite eqn;
... | {
"checked_file": "LowParse.Low.Tac.Sum.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.TacLib.fst.checked",
"LowParse.Low.Sum.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "LowParse.Low.Tac.Su... | [] | [
"FStar.Reflection.Types.term",
"FStar.Tactics.V1.Derived.iseq",
"Prims.Cons",
"Prims.unit",
"LowParse.TacLib.to_all_goals",
"FStar.Tactics.V1.Derived.trivial",
"FStar.Tactics.V1.Builtins.norm",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta",
"FStar.Pervasives.zeta",
"FStar.Pervasives.iot... | [] | module LowParse.Low.Tac.Sum
include LowParse.Low.Sum
open LowParse.TacLib
(* Tactic for accessor extensionality *) | false | false | LowParse.Low.Tac.Sum.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 sum_accessor_ext (ty: term) : Tac unit | [] | LowParse.Low.Tac.Sum.sum_accessor_ext | {
"file_name": "src/lowparse/LowParse.Low.Tac.Sum.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ty: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit | {
"end_col": 7,
"end_line": 36,
"start_col": 44,
"start_line": 9
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let hist (#a: Type u#a) (q:preorder a) = l:list a{qhistory q l} | let hist (#a: Type u#a) (q: preorder a) = | false | null | false | l: list a {qhistory q l} | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Prims.list",
"Steel.Preorder.qhistory"
] | [] | (*
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.Preorder.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 hist : q: FStar.Preorder.preorder a -> Type | [] | Steel.Preorder.hist | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> Type | {
"end_col": 63,
"end_line": 92,
"start_col": 41,
"start_line": 92
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let property (a:Type)
= a -> prop | let property (a: Type) = | false | null | false | a -> prop | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"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 | true | Steel.Preorder.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 property : a: Type -> Type | [] | Steel.Preorder.property | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | a: Type -> Type | {
"end_col": 13,
"end_line": 265,
"start_col": 4,
"start_line": 265
} | |
Prims.Tot | val hval (#a #p: _) (h: history a p {Current? h}) : Ghost.erased a | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let hval #a #p (h:history a p{Current? h}) : Ghost.erased a =
hval_tot h | val hval (#a #p: _) (h: history a p {Current? h}) : Ghost.erased a
let hval #a #p (h: history a p {Current? h}) : Ghost.erased a = | false | null | false | hval_tot h | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"FStar.Ghost.hide",
"Steel.Preorder.hval_tot",
"FStar.Ghost.erased"
] | [] | (*
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.Preorder.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 hval (#a #p: _) (h: history a p {Current? h}) : Ghost.erased a | [] | Steel.Preorder.hval | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h: Steel.Preorder.history a p {Current? h} -> FStar.Ghost.erased a | {
"end_col": 12,
"end_line": 290,
"start_col": 2,
"start_line": 290
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let vhist (#a: Type u#a) (q:preorder a) = h:hist q{Cons? h} | let vhist (#a: Type u#a) (q: preorder a) = | false | null | false | h: hist q {Cons? h} | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.b2t",
"Prims.uu___is_Cons"
] | [] | (*
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.Preorder.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 vhist : q: FStar.Preorder.preorder a -> Type | [] | Steel.Preorder.vhist | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> Type | {
"end_col": 59,
"end_line": 215,
"start_col": 42,
"start_line": 215
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let fact_valid_compat (#a:Type) (#pcm:pcm a)
(fact:stable_property pcm)
(v:a)
= forall z. compatible pcm v z ==> fact z | let fact_valid_compat (#a: Type) (#pcm: pcm a) (fact: stable_property pcm) (v: a) = | false | null | false | forall z. compatible pcm v z ==> fact z | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.PCM.pcm",
"Steel.Preorder.stable_property",
"Prims.l_Forall",
"Prims.l_imp",
"FStar.PCM.compatible",
"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.Preorder.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 fact_valid_compat : fact: Steel.Preorder.stable_property pcm -> v: a -> Prims.logical | [] | Steel.Preorder.fact_valid_compat | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | fact: Steel.Preorder.stable_property pcm -> v: a -> Prims.logical | {
"end_col": 43,
"end_line": 275,
"start_col": 4,
"start_line": 275
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let stable_property (#a:Type) (pcm:pcm a)
= fact:property a {
FStar.Preorder.stable fact (preorder_of_pcm pcm)
} | let stable_property (#a: Type) (pcm: pcm a) = | false | null | false | fact: property a {FStar.Preorder.stable fact (preorder_of_pcm pcm)} | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.PCM.pcm",
"Steel.Preorder.property",
"FStar.Preorder.stable",
"Steel.Preorder.preorder_of_pcm"
] | [] | (*
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.Preorder.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 stable_property : pcm: FStar.PCM.pcm a -> Type | [] | Steel.Preorder.stable_property | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | pcm: FStar.PCM.pcm a -> Type | {
"end_col": 5,
"end_line": 270,
"start_col": 4,
"start_line": 268
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let induces_preorder (#a:Type u#a) (p:pcm a) (q:preorder a) =
forall (x y:a) (f:frame_preserving_upd p x y) (v:a).
p.refine v ==> compatible p x v ==> q v (f v) | let induces_preorder (#a: Type u#a) (p: pcm a) (q: preorder a) = | false | null | false | forall (x: a) (y: a) (f: frame_preserving_upd p x y) (v: a).
p.refine v ==> compatible p x v ==> q v (f v) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.PCM.pcm",
"FStar.Preorder.preorder",
"Prims.l_Forall",
"FStar.PCM.frame_preserving_upd",
"Prims.l_imp",
"FStar.PCM.__proj__Mkpcm__item__refine",
"FStar.PCM.compatible",
"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.Preorder.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 induces_preorder : p: FStar.PCM.pcm a -> q: FStar.Preorder.preorder a -> Prims.logical | [] | Steel.Preorder.induces_preorder | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: FStar.PCM.pcm a -> q: FStar.Preorder.preorder a -> Prims.logical | {
"end_col": 49,
"end_line": 35,
"start_col": 2,
"start_line": 34
} | |
Prims.Tot | val p_composable (#a: Type u#a) (q: preorder a) : symrel (hist q) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let p_composable (#a: Type u#a) (q:preorder a) : symrel (hist q) =
fun x y -> extends x y \/ extends y x | val p_composable (#a: Type u#a) (q: preorder a) : symrel (hist q)
let p_composable (#a: Type u#a) (q: preorder a) : symrel (hist q) = | false | null | false | fun x y -> extends x y \/ extends y x | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.l_or",
"Steel.Preorder.extends",
"Prims.prop",
"FStar.PCM.symrel"
] | [] | (*
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.Preorder.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 p_composable (#a: Type u#a) (q: preorder a) : symrel (hist q) | [] | Steel.Preorder.p_composable | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> FStar.PCM.symrel (Steel.Preorder.hist q) | {
"end_col": 41,
"end_line": 125,
"start_col": 4,
"start_line": 125
} |
Prims.Tot | val extends (#a: Type u#a) (#q: preorder a) : preorder (hist q) | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let extends (#a: Type u#a) (#q:preorder a) : preorder (hist q) = extends' | val extends (#a: Type u#a) (#q: preorder a) : preorder (hist q)
let extends (#a: Type u#a) (#q: preorder a) : preorder (hist q) = | false | null | false | extends' | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.extends'",
"Steel.Preorder.hist"
] | [] | (*
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.Preorder.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 extends (#a: Type u#a) (#q: preorder a) : preorder (hist q) | [] | Steel.Preorder.extends | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.Preorder.preorder (Steel.Preorder.hist q) | {
"end_col": 73,
"end_line": 108,
"start_col": 65,
"start_line": 108
} |
Prims.Tot | val preorder_of_pcm (#a: Type u#a) (p: pcm a) : preorder a | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let preorder_of_pcm (#a:Type u#a) (p:pcm a) : preorder a =
fun x y -> forall (q:preorder a). induces_preorder p q ==> q x y | val preorder_of_pcm (#a: Type u#a) (p: pcm a) : preorder a
let preorder_of_pcm (#a: Type u#a) (p: pcm a) : preorder a = | false | null | false | fun x y -> forall (q: preorder a). induces_preorder p q ==> q x y | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.PCM.pcm",
"Prims.l_Forall",
"FStar.Preorder.preorder",
"Prims.l_imp",
"Steel.Preorder.induces_preorder",
"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.Preorder.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 preorder_of_pcm (#a: Type u#a) (p: pcm a) : preorder a | [] | Steel.Preorder.preorder_of_pcm | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: FStar.PCM.pcm a -> FStar.Preorder.preorder a | {
"end_col": 66,
"end_line": 43,
"start_col": 2,
"start_line": 43
} |
Prims.Tot | val extend_history (#a: Type u#a) (#q: preorder a) (h0: vhist q) (v: a{q (curval h0) v})
: h1: vhist q {h1 `extends` h0} | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let extend_history (#a:Type u#a) (#q:preorder a) (h0:vhist q) (v:a{q (curval h0) v})
: h1:vhist q{h1 `extends` h0}
= v :: h0 | val extend_history (#a: Type u#a) (#q: preorder a) (h0: vhist q) (v: a{q (curval h0) v})
: h1: vhist q {h1 `extends` h0}
let extend_history (#a: Type u#a) (#q: preorder a) (h0: vhist q) (v: a{q (curval h0) v})
: h1: vhist q {h1 `extends` h0} = | false | null | false | v :: h0 | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.vhist",
"Steel.Preorder.curval",
"Prims.Cons",
"Steel.Preorder.extends"
] | [] | (*
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.Preorder.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 extend_history (#a: Type u#a) (#q: preorder a) (h0: vhist q) (v: a{q (curval h0) v})
: h1: vhist q {h1 `extends` h0} | [] | Steel.Preorder.extend_history | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h0: Steel.Preorder.vhist q -> v: a{q (Steel.Preorder.curval h0) v}
-> h1: Steel.Preorder.vhist q {Steel.Preorder.extends h1 h0} | {
"end_col": 11,
"end_line": 262,
"start_col": 4,
"start_line": 262
} |
FStar.Pervasives.Lemma | val extends_length_eq (#a: Type u#a) (#q: preorder a) (h0 h1: hist q)
: Lemma (ensures (extends h0 h1 ==> h0 == h1 \/ L.length h0 > L.length h1))
[SMTPat (extends h0 h1)] | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let rec extends_length_eq (#a: Type u#a) (#q:preorder a) (h0 h1:hist q)
: Lemma (ensures (extends h0 h1 ==> h0 == h1 \/ L.length h0 > L.length h1))
[SMTPat (extends h0 h1)]
= match h0 with
| [] -> ()
| hd::tl -> extends_length_eq tl h1 | val extends_length_eq (#a: Type u#a) (#q: preorder a) (h0 h1: hist q)
: Lemma (ensures (extends h0 h1 ==> h0 == h1 \/ L.length h0 > L.length h1))
[SMTPat (extends h0 h1)]
let rec extends_length_eq (#a: Type u#a) (#q: preorder a) (h0 h1: hist q)
: Lemma (ensures (extends h0 h1 ==> h0 == h1 \/ L.length h0 >... | false | null | true | match h0 with
| [] -> ()
| hd :: tl -> extends_length_eq tl h1 | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.list",
"Steel.Preorder.extends_length_eq",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_imp",
"Steel.Preorder.extends",
"Prims.l_or",
"Prims.eq2",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.List.Tot.Base.length",
"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.Preorder.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 extends_length_eq (#a: Type u#a) (#q: preorder a) (h0 h1: hist q)
: Lemma (ensures (extends h0 h1 ==> h0 == h1 \/ L.length h0 > L.length h1))
[SMTPat (extends h0 h1)] | [
"recursion"
] | Steel.Preorder.extends_length_eq | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h0: Steel.Preorder.hist q -> h1: Steel.Preorder.hist q
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.extends h0 h1 ==>
h0 == h1 \/ FStar.List.Tot.Base.length h0 > FStar.List.Tot.Base.length h1)
[SMTPat (Steel.Preorder.extends h0 h1)] | {
"end_col": 39,
"end_line": 118,
"start_col": 4,
"start_line": 116
} |
Prims.Tot | val p_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y}) : hist q | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let p_op (#a: Type u#a) (q:preorder a) (x:hist q) (y:hist q{p_composable q x y}) : hist q =
if L.length x >= L.length y
then x
else if L.length x = L.length y
then (assert (x == y); x)
else y | val p_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y}) : hist q
let p_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y}) : hist q = | false | null | false | if L.length x >= L.length y
then x
else
if L.length x = L.length y
then
(assert (x == y);
x)
else y | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Steel.Preorder.p_composable",
"Prims.op_GreaterThanOrEqual",
"FStar.List.Tot.Base.length",
"Prims.bool",
"Prims.op_Equality",
"Prims.nat",
"Prims.unit",
"Prims._assert",
"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.Preorder.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 p_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y}) : hist q | [] | Steel.Preorder.p_op | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
q: FStar.Preorder.preorder a ->
x: Steel.Preorder.hist q ->
y: Steel.Preorder.hist q {Steel.Preorder.p_composable q x y}
-> Steel.Preorder.hist q | {
"end_col": 8,
"end_line": 133,
"start_col": 2,
"start_line": 129
} |
Prims.Tot | val p (#a: Type u#a) (q: preorder a) : pcm' (hist q) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let p (#a: Type u#a) (q:preorder a) : pcm' (hist q) = {
composable = p_composable q;
op = p_op q;
one = []
} | val p (#a: Type u#a) (q: preorder a) : pcm' (hist q)
let p (#a: Type u#a) (q: preorder a) : pcm' (hist q) = | false | null | false | { composable = p_composable q; op = p_op q; one = [] } | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"FStar.PCM.Mkpcm'",
"Steel.Preorder.hist",
"Steel.Preorder.p_composable",
"Steel.Preorder.p_op",
"Prims.Nil",
"FStar.PCM.pcm'"
] | [] | (*
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.Preorder.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 p (#a: Type u#a) (q: preorder a) : pcm' (hist q) | [] | Steel.Preorder.p | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> FStar.PCM.pcm' (Steel.Preorder.hist q) | {
"end_col": 10,
"end_line": 156,
"start_col": 2,
"start_line": 154
} |
Prims.Tot | val unit_history (#a #p: _) : history a p | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let unit_history #a #p : history a p = Witnessed [] | val unit_history (#a #p: _) : history a p
let unit_history #a #p : history a p = | false | null | false | Witnessed [] | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.Witnessed",
"Prims.Nil",
"Steel.Preorder.history"
] | [] | (*
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.Preorder.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 unit_history (#a #p: _) : history a p | [] | Steel.Preorder.unit_history | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | Steel.Preorder.history a p | {
"end_col": 51,
"end_line": 320,
"start_col": 39,
"start_line": 320
} |
Prims.Tot | val flip (#a: Type u#a) (p: preorder a) : preorder a | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let flip (#a: Type u#a) (p:preorder a) : preorder a = fun x y -> p y x | val flip (#a: Type u#a) (p: preorder a) : preorder a
let flip (#a: Type u#a) (p: preorder a) : preorder a = | false | null | false | fun x y -> p y x | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder"
] | [] | (*
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.Preorder.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 flip (#a: Type u#a) (p: preorder a) : preorder a | [] | Steel.Preorder.flip | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: FStar.Preorder.preorder a -> FStar.Preorder.preorder a | {
"end_col": 70,
"end_line": 237,
"start_col": 54,
"start_line": 237
} |
FStar.Pervasives.Lemma | val stable_compatiblity (#a: Type u#a) (fact: (a -> prop)) (p: pcm a) (v v0 v1: a)
: Lemma
(requires
stable fact (preorder_of_pcm p) /\ p.refine v0 /\ fact v0 /\ p.refine v1 /\
frame_preserving p v v1 /\ compatible p v v0) (ensures fact v1) | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let stable_compatiblity (#a:Type u#a) (fact: a -> prop) (p:pcm a) (v v0 v1:a)
: Lemma
(requires
stable fact (preorder_of_pcm p) /\
p.refine v0 /\
fact v0 /\
p.refine v1 /\
frame_preserving p v v1 /\
compatible p v v0)
(ensures
fact v1)
= let f : frame_preserving_upd... | val stable_compatiblity (#a: Type u#a) (fact: (a -> prop)) (p: pcm a) (v v0 v1: a)
: Lemma
(requires
stable fact (preorder_of_pcm p) /\ p.refine v0 /\ fact v0 /\ p.refine v1 /\
frame_preserving p v v1 /\ compatible p v v0) (ensures fact v1)
let stable_compatiblity (#a: Type u#a) (fact: (a -> p... | false | null | true | let f:frame_preserving_upd p v v1 = frame_preserving_val_to_fp_upd p v v1 in
frame_preserving_upd_is_preorder_preserving p v v1 f v0 | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"Prims.prop",
"FStar.PCM.pcm",
"Steel.Preorder.frame_preserving_upd_is_preorder_preserving",
"FStar.PCM.frame_preserving_upd",
"FStar.PCM.frame_preserving_val_to_fp_upd",
"FStar.Ghost.hide",
"Prims.unit",
"Prims.l_and",
"FStar.Preorder.stable",
"Steel.Preorder.preorder_of_pcm",
"FStar.PCM.__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.Preorder.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 stable_compatiblity (#a: Type u#a) (fact: (a -> prop)) (p: pcm a) (v v0 v1: a)
: Lemma
(requires
stable fact (preorder_of_pcm p) /\ p.refine v0 /\ fact v0 /\ p.refine v1 /\
frame_preserving p v v1 /\ compatible p v v0) (ensures fact v1) | [] | Steel.Preorder.stable_compatiblity | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | fact: (_: a -> Prims.prop) -> p: FStar.PCM.pcm a -> v: a -> v0: a -> v1: a
-> FStar.Pervasives.Lemma
(requires
FStar.Preorder.stable fact (Steel.Preorder.preorder_of_pcm p) /\ Mkpcm?.refine p v0 /\
fact v0 /\ Mkpcm?.refine p v1 /\ FStar.PCM.frame_preserving p v v1 /\
FStar.PCM.compatible... | {
"end_col": 59,
"end_line": 74,
"start_col": 3,
"start_line": 73
} |
Prims.Tot | val history_val (#a #p: _) (h: history a p) (v: Ghost.erased a) (f: perm) : prop | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let history_val #a #p (h:history a p) (v:Ghost.erased a) (f:perm)
: prop
= Current? h /\ hval h == v /\ hperm h == f /\ f.v <=. one | val history_val (#a #p: _) (h: history a p) (v: Ghost.erased a) (f: perm) : prop
let history_val #a #p (h: history a p) (v: Ghost.erased a) (f: perm) : prop = | false | null | false | Current? h /\ hval h == v /\ hperm h == f /\ f.v <=. one | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"FStar.Ghost.erased",
"Steel.FractionalPermission.perm",
"Prims.l_and",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"Prims.eq2",
"Steel.Preorder.hval",
"Steel.Preorder.hperm",
"FStar.Real.op_Less_Equals_Dot",
"Steel.FractionalPermission._... | [] | (*
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.Preorder.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 history_val (#a #p: _) (h: history a p) (v: Ghost.erased a) (f: perm) : prop | [] | Steel.Preorder.history_val | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h: Steel.Preorder.history a p -> v: FStar.Ghost.erased a -> f: Steel.FractionalPermission.perm
-> Prims.prop | {
"end_col": 60,
"end_line": 426,
"start_col": 4,
"start_line": 426
} |
FStar.Pervasives.Lemma | val extends_trans (#a: _) (#q: preorder a) (x y z: hist q)
: Lemma (x `extends'` y /\ y `extends'` z ==> x `extends'` z)
[SMTPat (x `extends'` y); SMTPat (y `extends'` z)] | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let rec extends_trans #a (#q:preorder a) (x y z:hist q)
: Lemma (x `extends'` y /\ y `extends'` z ==> x `extends'` z)
[SMTPat (x `extends'` y);
SMTPat (y `extends'` z)]
= match x with
| [] -> ()
| _::tl -> extends_trans tl y z | val extends_trans (#a: _) (#q: preorder a) (x y z: hist q)
: Lemma (x `extends'` y /\ y `extends'` z ==> x `extends'` z)
[SMTPat (x `extends'` y); SMTPat (y `extends'` z)]
let rec extends_trans #a (#q: preorder a) (x: hist q) (y: hist q) (z: hist q)
: Lemma (x `extends'` y /\ y `extends'` z ==> x `extends... | false | null | true | match x with
| [] -> ()
| _ :: tl -> extends_trans tl y z | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.list",
"Steel.Preorder.extends_trans",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_imp",
"Prims.l_and",
"Steel.Preorder.extends'",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasives.smt_pat",
"Prims.logical",
"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.Preorder.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 extends_trans (#a: _) (#q: preorder a) (x y z: hist q)
: Lemma (x `extends'` y /\ y `extends'` z ==> x `extends'` z)
[SMTPat (x `extends'` y); SMTPat (y `extends'` z)] | [
"recursion"
] | Steel.Preorder.extends_trans | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: Steel.Preorder.hist q -> y: Steel.Preorder.hist q -> z: Steel.Preorder.hist q
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.extends' x y /\ Steel.Preorder.extends' y z ==> Steel.Preorder.extends' x z)
[SMTPat (Steel.Preorder.extends' x y); SMTPat (Steel.Preorder.extends' y z)] | {
"end_col": 35,
"end_line": 105,
"start_col": 4,
"start_line": 103
} |
FStar.Pervasives.Lemma | val comm_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma (p_op q x y == p_op q y x) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let comm_op (#a: Type u#a) (q:preorder a) (x:hist q) (y:hist q{p_composable q x y})
: Lemma (p_op q x y == p_op q y x)
= extends_length_eq x y;
extends_length_eq y x | val comm_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma (p_op q x y == p_op q y x)
let comm_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma (p_op q x y == p_op q y x) = | false | null | true | extends_length_eq x y;
extends_length_eq y x | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Steel.Preorder.p_composable",
"Steel.Preorder.extends_length_eq",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"Steel.Preorder.p_op",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
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.Preorder.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 comm_op (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma (p_op q x y == p_op q y x) | [] | Steel.Preorder.comm_op | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
q: FStar.Preorder.preorder a ->
x: Steel.Preorder.hist q ->
y: Steel.Preorder.hist q {Steel.Preorder.p_composable q x y}
-> FStar.Pervasives.Lemma (ensures Steel.Preorder.p_op q x y == Steel.Preorder.p_op q y x) | {
"end_col": 25,
"end_line": 169,
"start_col": 4,
"start_line": 168
} |
Prims.Tot | val hval_tot (#a #p: _) (h: history a p {Current? h}) : a | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let hval_tot #a #p (h:history a p{Current? h}) : a =
match h with
| Current h _ -> curval h | val hval_tot (#a #p: _) (h: history a p {Current? h}) : a
let hval_tot #a #p (h: history a p {Current? h}) : a = | false | null | false | match h with | Current h _ -> curval h | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm",
"Steel.Preorder.curval"
] | [] | (*
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.Preorder.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 hval_tot (#a #p: _) (h: history a p {Current? h}) : a | [] | Steel.Preorder.hval_tot | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h: Steel.Preorder.history a p {Current? h} -> a | {
"end_col": 27,
"end_line": 287,
"start_col": 2,
"start_line": 286
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let curval (#a: Type u#a) (#q:preorder a) (v:vhist q) = Cons?.hd v | let curval (#a: Type u#a) (#q: preorder a) (v: vhist q) = | false | null | false | Cons?.hd v | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.vhist",
"Prims.__proj__Cons__item__hd"
] | [] | (*
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.Preorder.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 curval : v: Steel.Preorder.vhist q -> a | [] | Steel.Preorder.curval | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | v: Steel.Preorder.vhist q -> a | {
"end_col": 66,
"end_line": 218,
"start_col": 56,
"start_line": 218
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let rec qhistory #a (q:preorder a) (l:list a) =
match l with
| []
| [_] -> True
| x::y::tl -> y `q` x /\ qhistory q (y::tl) | let rec qhistory #a (q: preorder a) (l: list a) = | false | null | false | match l with
| [] | [_] -> True
| x :: y :: tl -> y `q` x /\ qhistory q (y :: tl) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Prims.list",
"Prims.l_True",
"Prims.l_and",
"Steel.Preorder.qhistory",
"Prims.Cons",
"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.Preorder.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 qhistory : q: FStar.Preorder.preorder a -> l: Prims.list a -> Prims.logical | [
"recursion"
] | Steel.Preorder.qhistory | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> l: Prims.list a -> Prims.logical | {
"end_col": 45,
"end_line": 89,
"start_col": 2,
"start_line": 86
} | |
FStar.Pervasives.Lemma | val extends_disjunction (#a: Type u#a) (#q: preorder a) (x y z: hist q)
: Lemma (z `extends` x /\ z `extends` y ==> x `extends` y \/ y `extends` x)
[SMTPat (z `extends` x); SMTPat (z `extends` y)] | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let rec extends_disjunction (#a: Type u#a) (#q:preorder a) (x y z:hist q)
: Lemma (z `extends` x /\ z `extends` y ==> x `extends` y \/ y `extends` x)
[SMTPat (z `extends` x);
SMTPat (z `extends` y)]
= match z with
| [] -> ()
| _::tl -> extends_disjunction x y tl | val extends_disjunction (#a: Type u#a) (#q: preorder a) (x y z: hist q)
: Lemma (z `extends` x /\ z `extends` y ==> x `extends` y \/ y `extends` x)
[SMTPat (z `extends` x); SMTPat (z `extends` y)]
let rec extends_disjunction (#a: Type u#a) (#q: preorder a) (x y z: hist q)
: Lemma (z `extends` x /\ z `exte... | false | null | true | match z with
| [] -> ()
| _ :: tl -> extends_disjunction x y tl | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.list",
"Steel.Preorder.extends_disjunction",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_imp",
"Prims.l_and",
"Steel.Preorder.extends",
"Prims.l_or",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasives.smt_pat",
... | [] | (*
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.Preorder.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 extends_disjunction (#a: Type u#a) (#q: preorder a) (x y z: hist q)
: Lemma (z `extends` x /\ z `extends` y ==> x `extends` y \/ y `extends` x)
[SMTPat (z `extends` x); SMTPat (z `extends` y)] | [
"recursion"
] | Steel.Preorder.extends_disjunction | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: Steel.Preorder.hist q -> y: Steel.Preorder.hist q -> z: Steel.Preorder.hist q
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.extends z x /\ Steel.Preorder.extends z y ==>
Steel.Preorder.extends x y \/ Steel.Preorder.extends y x)
[SMTPat (Steel.Preorder.extends z x); SMTPat (Steel.Pre... | {
"end_col": 41,
"end_line": 178,
"start_col": 4,
"start_line": 176
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel",
... | false | let rec extends' (#a: Type u#a) (#q:preorder a) (h0 h1:hist q) =
h0 == h1 \/ (Cons? h0 /\ extends' (Cons?.tl h0) h1) | let rec extends' (#a: Type u#a) (#q: preorder a) (h0 h1: hist q) = | false | null | false | h0 == h1 \/ (Cons? h0 /\ extends' (Cons?.tl h0) h1) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.l_or",
"Prims.eq2",
"Prims.l_and",
"Prims.b2t",
"Prims.uu___is_Cons",
"Steel.Preorder.extends'",
"Prims.__proj__Cons__item__tl",
"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.Preorder.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 extends' : h0: Steel.Preorder.hist q -> h1: Steel.Preorder.hist q -> Prims.logical | [
"recursion"
] | Steel.Preorder.extends' | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h0: Steel.Preorder.hist q -> h1: Steel.Preorder.hist q -> Prims.logical | {
"end_col": 53,
"end_line": 96,
"start_col": 2,
"start_line": 96
} | |
FStar.Pervasives.Lemma | val extends_related_head (#a: Type u#a) (#q: preorder a) (x y: hist q)
: Lemma (ensures x `extends` y /\ Cons? x /\ Cons? y ==> (Cons?.hd y) `q` (Cons?.hd x))
[SMTPat (x `extends` y)] | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let rec extends_related_head (#a: Type u#a) (#q:preorder a) (x y:hist q)
: Lemma
(ensures
x `extends` y /\
Cons? x /\
Cons? y ==> Cons?.hd y `q` Cons?.hd x)
[SMTPat (x `extends` y)]
= match x with
| [] -> ()
| _::tl -> extends_related_head tl y | val extends_related_head (#a: Type u#a) (#q: preorder a) (x y: hist q)
: Lemma (ensures x `extends` y /\ Cons? x /\ Cons? y ==> (Cons?.hd y) `q` (Cons?.hd x))
[SMTPat (x `extends` y)]
let rec extends_related_head (#a: Type u#a) (#q: preorder a) (x y: hist q)
: Lemma (ensures x `extends` y /\ Cons? x /\ Co... | false | null | true | match x with
| [] -> ()
| _ :: tl -> extends_related_head tl y | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.list",
"Steel.Preorder.extends_related_head",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_imp",
"Prims.l_and",
"Steel.Preorder.extends",
"Prims.b2t",
"Prims.uu___is_Cons",
"Prims.__proj__Cons__item__hd",
"Prims.Cons",
"F... | [] | (*
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.Preorder.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 extends_related_head (#a: Type u#a) (#q: preorder a) (x y: hist q)
: Lemma (ensures x `extends` y /\ Cons? x /\ Cons? y ==> (Cons?.hd y) `q` (Cons?.hd x))
[SMTPat (x `extends` y)] | [
"recursion"
] | Steel.Preorder.extends_related_head | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: Steel.Preorder.hist q -> y: Steel.Preorder.hist q
-> FStar.Pervasives.Lemma
(ensures Steel.Preorder.extends x y /\ Cons? x /\ Cons? y ==> q (Cons?.hd y) (Cons?.hd x))
[SMTPat (Steel.Preorder.extends x y)] | {
"end_col": 40,
"end_line": 190,
"start_col": 4,
"start_line": 188
} |
Prims.Tot | val history_compose (#a #p: _) (h0: history a p) (h1: history a p {history_composable h0 h1})
: history a p | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let history_compose #a #p (h0:history a p) (h1:history a p{history_composable h0 h1})
: history a p
= match h0, h1 with
| Witnessed h0, Witnessed h1 ->
Witnessed (p_op p h0 h1)
| Current h0 f, Witnessed h1
| Witnessed h1, Current h0 f ->
Current (p_op p h1 h0) f
| Current h0 f0, Current ... | val history_compose (#a #p: _) (h0: history a p) (h1: history a p {history_composable h0 h1})
: history a p
let history_compose #a #p (h0: history a p) (h1: history a p {history_composable h0 h1})
: history a p = | false | null | false | match h0, h1 with
| Witnessed h0, Witnessed h1 -> Witnessed (p_op p h0 h1)
| Current h0 f, Witnessed h1 | Witnessed h1, Current h0 f -> Current (p_op p h1 h0) f
| Current h0 f0, Current _ f1 -> Current h0 (sum_perm f0 f1) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Steel.Preorder.history_composable",
"FStar.Pervasives.Native.Mktuple2",
"Steel.Preorder.hist",
"Steel.Preorder.Witnessed",
"Steel.Preorder.p_op",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm",
"Steel.Preorder.Current",
"Steel.Frac... | [] | (*
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.Preorder.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 history_compose (#a #p: _) (h0: history a p) (h1: history a p {history_composable h0 h1})
: history a p | [] | Steel.Preorder.history_compose | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
h0: Steel.Preorder.history a p ->
h1: Steel.Preorder.history a p {Steel.Preorder.history_composable h0 h1}
-> Steel.Preorder.history a p | {
"end_col": 33,
"end_line": 318,
"start_col": 4,
"start_line": 311
} |
Prims.Tot | val extend_history' (#a #p: _) (h0: history a p {Current? h0}) (v: a{p (hval h0) v}) : history a p | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let extend_history' #a #p (h0:history a p{Current? h0})
(v:a{p (hval h0) v})
: history a p
= let Current h f = h0 in
Current (v :: h) f | val extend_history' (#a #p: _) (h0: history a p {Current? h0}) (v: a{p (hval h0) v}) : history a p
let extend_history' #a #p (h0: history a p {Current? h0}) (v: a{p (hval h0) v}) : history a p = | false | null | false | let Current h f = h0 in
Current (v :: h) f | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"FStar.Ghost.reveal",
"Steel.Preorder.hval",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm",
"Steel.Preorder.Current",
"Prims.Cons"
] | [] | (*
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.Preorder.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 extend_history' (#a #p: _) (h0: history a p {Current? h0}) (v: a{p (hval h0) v}) : history a p | [] | Steel.Preorder.extend_history' | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
h0: Steel.Preorder.history a p {Current? h0} ->
v: a{p (FStar.Ghost.reveal (Steel.Preorder.hval h0)) v}
-> Steel.Preorder.history a p | {
"end_col": 21,
"end_line": 416,
"start_col": 2,
"start_line": 415
} |
Prims.Tot | val history_composable (#a #p: _) : symrel (history a p) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let history_composable #a #p
: symrel (history a p)
= fun h0 h1 ->
match h0, h1 with
| Witnessed h0, Witnessed h1 ->
p_composable p h0 h1
| Witnessed h0, Current h1 f
| Current h1 f, Witnessed h0 ->
extends #a #p h1 h0
| Current h0 f0, Current h1 f1 ->
h0 == h1 /\
(sum_pe... | val history_composable (#a #p: _) : symrel (history a p)
let history_composable #a #p : symrel (history a p) = | false | null | false | fun h0 h1 ->
match h0, h1 with
| Witnessed h0, Witnessed h1 -> p_composable p h0 h1
| Witnessed h0, Current h1 f | Current h1 f, Witnessed h0 -> extends #a #p h1 h0
| Current h0 f0, Current h1 f1 -> h0 == h1 /\ (sum_perm f0 f1).v <=. one | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"FStar.Pervasives.Native.Mktuple2",
"Steel.Preorder.hist",
"Steel.Preorder.p_composable",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm",
"Steel.Preorder.extends",
"Prims.l_and",
"Prims.eq2",
"Prims.b2t",
"FStar.Real.op_Less_Equal... | [] | (*
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.Preorder.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 history_composable (#a #p: _) : symrel (history a p) | [] | Steel.Preorder.history_composable | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.PCM.symrel (Steel.Preorder.history a p) | {
"end_col": 32,
"end_line": 307,
"start_col": 4,
"start_line": 298
} |
FStar.Pervasives.Lemma | val p_op_extends (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma
(ensures
((p_op q x y) `extends` x /\ (p_op q x y) `extends` y /\
(p_op q x y == x \/ p_op q x y == y))) [SMTPat (p_op q x y)] | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let p_op_extends (#a: Type u#a) (q:preorder a) (x:hist q) (y:hist q{p_composable q x y})
: Lemma (ensures (p_op q x y `extends` x /\
p_op q x y `extends` y /\
(p_op q x y == x \/ p_op q x y == y)))
[SMTPat (p_op q x y)]
= extends_length_eq x y;
extends_length_eq... | val p_op_extends (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma
(ensures
((p_op q x y) `extends` x /\ (p_op q x y) `extends` y /\
(p_op q x y == x \/ p_op q x y == y))) [SMTPat (p_op q x y)]
let p_op_extends (#a: Type u#a) (q: preorder a) (x: hist q) (y: ... | false | null | true | extends_length_eq x y;
extends_length_eq y x | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Steel.Preorder.p_composable",
"Steel.Preorder.extends_length_eq",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_and",
"Steel.Preorder.extends",
"Steel.Preorder.p_op",
"Prims.l_or",
"Prims.eq2",
"Prims.Cons",
"FStar.Pervasives.patt... | [] | (*
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.Preorder.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 p_op_extends (#a: Type u#a) (q: preorder a) (x: hist q) (y: hist q {p_composable q x y})
: Lemma
(ensures
((p_op q x y) `extends` x /\ (p_op q x y) `extends` y /\
(p_op q x y == x \/ p_op q x y == y))) [SMTPat (p_op q x y)] | [] | Steel.Preorder.p_op_extends | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
q: FStar.Preorder.preorder a ->
x: Steel.Preorder.hist q ->
y: Steel.Preorder.hist q {Steel.Preorder.p_composable q x y}
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.extends (Steel.Preorder.p_op q x y) x /\
Steel.Preorder.extends (Steel.Preorder.p_op q x y) y /\
(Steel.... | {
"end_col": 25,
"end_line": 142,
"start_col": 4,
"start_line": 141
} |
Prims.Tot | val hperm (#a #p: _) (h: history a p {Current? h}) : perm | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let hperm #a #p (h:history a p{Current? h}) : perm =
match h with
| Current _ f -> f | val hperm (#a #p: _) (h: history a p {Current? h}) : perm
let hperm #a #p (h: history a p {Current? h}) : perm = | false | null | false | match h with | Current _ f -> f | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm"
] | [] | (*
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.Preorder.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 hperm (#a #p: _) (h: history a p {Current? h}) : perm | [] | Steel.Preorder.hperm | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h: Steel.Preorder.history a p {Current? h} -> Steel.FractionalPermission.perm | {
"end_col": 20,
"end_line": 294,
"start_col": 2,
"start_line": 293
} |
FStar.Pervasives.Lemma | val p_op_nil (#a: Type u#a) (q: preorder a) (x: hist q)
: Lemma (ensures (p_composable q x [] /\ p_op q x [] == x)) [SMTPat (p_composable q x [])] | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let rec p_op_nil (#a: Type u#a) (q:preorder a) (x:hist q)
: Lemma (ensures (p_composable q x [] /\ p_op q x [] == x))
[SMTPat (p_composable q x [])]
= match x with
| [] -> ()
| _::tl -> p_op_nil q tl | val p_op_nil (#a: Type u#a) (q: preorder a) (x: hist q)
: Lemma (ensures (p_composable q x [] /\ p_op q x [] == x)) [SMTPat (p_composable q x [])]
let rec p_op_nil (#a: Type u#a) (q: preorder a) (x: hist q)
: Lemma (ensures (p_composable q x [] /\ p_op q x [] == x)) [SMTPat (p_composable q x [])] = | false | null | true | match x with
| [] -> ()
| _ :: tl -> p_op_nil q tl | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"Prims.list",
"Steel.Preorder.p_op_nil",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_and",
"Steel.Preorder.p_composable",
"Prims.Nil",
"Prims.eq2",
"Steel.Preorder.p_op",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasi... | [] | (*
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.Preorder.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 p_op_nil (#a: Type u#a) (q: preorder a) (x: hist q)
: Lemma (ensures (p_composable q x [] /\ p_op q x [] == x)) [SMTPat (p_composable q x [])] | [
"recursion"
] | Steel.Preorder.p_op_nil | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a -> x: Steel.Preorder.hist q
-> FStar.Pervasives.Lemma
(ensures Steel.Preorder.p_composable q x [] /\ Steel.Preorder.p_op q x [] == x)
[SMTPat (Steel.Preorder.p_composable q x [])] | {
"end_col": 28,
"end_line": 150,
"start_col": 4,
"start_line": 148
} |
FStar.Pervasives.Lemma | val lem_is_unit (#a #p: _) (x: history a p)
: Lemma (history_composable x unit_history /\ history_compose x unit_history == x) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let lem_is_unit #a #p (x:history a p)
: Lemma (history_composable x unit_history /\
history_compose x unit_history == x)
= match x with
| Witnessed h -> ()
| Current h _ ->
assert (forall (h:hist p). p_composable p h []);
assert (forall (h:hist p). p_op p h [] == h);
assert (for... | val lem_is_unit (#a #p: _) (x: history a p)
: Lemma (history_composable x unit_history /\ history_compose x unit_history == x)
let lem_is_unit #a #p (x: history a p)
: Lemma (history_composable x unit_history /\ history_compose x unit_history == x) = | false | null | true | match x with
| Witnessed h -> ()
| Current h _ ->
assert (forall (h: hist p). p_composable p h []);
assert (forall (h: hist p). p_op p h [] == h);
assert (forall (h: vhist p). extends #a #p h []);
assert (h =!= []);
assert (extends #a #p h []) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Steel.Preorder.hist",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm",
"Prims._assert",
"Steel.Preorder.extends",
"Prims.Nil",
"Prims.unit",
"Prims.l_not",
"Prims.eq2",
"Prims.list",
"Prims.l_Forall",
"Steel.Preorder.p_op",
... | [] | (*
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.Preorder.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 lem_is_unit (#a #p: _) (x: history a p)
: Lemma (history_composable x unit_history /\ history_compose x unit_history == x) | [] | Steel.Preorder.lem_is_unit | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | x: Steel.Preorder.history a p
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.history_composable x Steel.Preorder.unit_history /\
Steel.Preorder.history_compose x Steel.Preorder.unit_history == x) | {
"end_col": 33,
"end_line": 332,
"start_col": 4,
"start_line": 325
} |
FStar.Pervasives.Lemma | val lift_fact_is_stable (#a #p: _) (f: property a {FStar.Preorder.stable f p})
: Lemma (FStar.Preorder.stable #(history a p) (lift_fact f) (preorder_of_pcm pcm_history)) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let lift_fact_is_stable #a #p (f:property a{FStar.Preorder.stable f p})
: Lemma (FStar.Preorder.stable #(history a p)
(lift_fact f)
(preorder_of_pcm pcm_history))
= assert (FStar.Preorder.stable #(history a p) (lift_fact f) pcm_history_preorder);
... | val lift_fact_is_stable (#a #p: _) (f: property a {FStar.Preorder.stable f p})
: Lemma (FStar.Preorder.stable #(history a p) (lift_fact f) (preorder_of_pcm pcm_history))
let lift_fact_is_stable #a #p (f: property a {FStar.Preorder.stable f p})
: Lemma (FStar.Preorder.stable #(history a p) (lift_fact f) (preorde... | false | null | true | assert (FStar.Preorder.stable #(history a p) (lift_fact f) pcm_history_preorder);
pcm_history_induces_preorder #a #p;
stability #(history a p) (lift_fact f) pcm_history_preorder pcm_history | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.relation",
"FStar.Preorder.preorder_rel",
"Steel.Preorder.property",
"FStar.Preorder.stable",
"Steel.Preorder.stability",
"Steel.Preorder.history",
"Steel.Preorder.lift_fact",
"Steel.Preorder.pcm_history_preorder",
"Steel.Preorder.pcm_history",
"Prims.unit",
"Steel.Preorder.pcm_h... | [] | (*
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.Preorder.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 lift_fact_is_stable (#a #p: _) (f: property a {FStar.Preorder.stable f p})
: Lemma (FStar.Preorder.stable #(history a p) (lift_fact f) (preorder_of_pcm pcm_history)) | [] | Steel.Preorder.lift_fact_is_stable | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | f: Steel.Preorder.property a {FStar.Preorder.stable f p}
-> FStar.Pervasives.Lemma
(ensures
FStar.Preorder.stable (Steel.Preorder.lift_fact f)
(Steel.Preorder.preorder_of_pcm Steel.Preorder.pcm_history)) | {
"end_col": 75,
"end_line": 453,
"start_col": 4,
"start_line": 451
} |
Prims.Tot | val pcm_history_preorder (#a #p: _) : preorder (history a p) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let pcm_history_preorder #a #p : preorder (history a p) =
fun h0 h1 ->
match h0, h1 with
| Witnessed vh0, Witnessed vh1
| Current vh0 _, Witnessed vh1
| Witnessed vh0, Current vh1 _
| Current vh0 _, Current vh1 _ ->
vh1 `extends` vh0 | val pcm_history_preorder (#a #p: _) : preorder (history a p)
let pcm_history_preorder #a #p : preorder (history a p) = | false | null | false | fun h0 h1 ->
match h0, h1 with
| Witnessed vh0, Witnessed vh1
| Current vh0 _, Witnessed vh1
| Witnessed vh0, Current vh1 _
| Current vh0 _, Current vh1 _ -> vh1 `extends` vh0 | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"FStar.Pervasives.Native.Mktuple2",
"Steel.Preorder.hist",
"Steel.Preorder.extends",
"Steel.Preorder.vhist",
"Steel.FractionalPermission.perm"
] | [] | (*
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.Preorder.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 pcm_history_preorder (#a #p: _) : preorder (history a p) | [] | Steel.Preorder.pcm_history_preorder | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.Preorder.preorder (Steel.Preorder.history a p) | {
"end_col": 23,
"end_line": 374,
"start_col": 2,
"start_line": 368
} |
FStar.Pervasives.Lemma | val pcm_of_preorder_induces_extends (#a: Type u#a) (q: preorder a)
: Lemma (induces_preorder (pcm_of_preorder q) (flip extends)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.PCM",
"short_module": null
},
{
"abbrev": false,
"full_module": "Stee... | false | let pcm_of_preorder_induces_extends (#a: Type u#a) (q:preorder a)
: Lemma (induces_preorder (pcm_of_preorder q) (flip extends))
= let fp_full (x y:hist q) (f:frame_preserving_upd (pcm_of_preorder q) x y) (v:hist q)
: Lemma (requires compatible (pcm_of_preorder q) x v)
(ensures extends (f v) v)
... | val pcm_of_preorder_induces_extends (#a: Type u#a) (q: preorder a)
: Lemma (induces_preorder (pcm_of_preorder q) (flip extends))
let pcm_of_preorder_induces_extends (#a: Type u#a) (q: preorder a)
: Lemma (induces_preorder (pcm_of_preorder q) (flip extends)) = | false | null | true | let fp_full (x y: hist q) (f: frame_preserving_upd (pcm_of_preorder q) x y) (v: hist q)
: Lemma (requires compatible (pcm_of_preorder q) x v) (ensures extends (f v) v) [SMTPat ()] =
assert (composable (pcm_of_preorder q) x v)
in
() | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.hist",
"FStar.PCM.frame_preserving_upd",
"Steel.Preorder.pcm_of_preorder",
"Prims.unit",
"FStar.PCM.compatible",
"Prims.squash",
"Steel.Preorder.extends",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasives.smt_pat",
"Prims.Nil",
"Prims._ass... | [] | (*
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.Preorder.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 pcm_of_preorder_induces_extends (#a: Type u#a) (q: preorder a)
: Lemma (induces_preorder (pcm_of_preorder q) (flip extends)) | [] | Steel.Preorder.pcm_of_preorder_induces_extends | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | q: FStar.Preorder.preorder a
-> FStar.Pervasives.Lemma
(ensures
Steel.Preorder.induces_preorder (Steel.Preorder.pcm_of_preorder q)
(Steel.Preorder.flip Steel.Preorder.extends)) | {
"end_col": 6,
"end_line": 257,
"start_col": 3,
"start_line": 252
} |
Prims.Tot | val split_current (#a #p: _) (h: history a p {Current? h /\ (Current?.f h).v <=. one})
: half:
history a p
{ Current? h /\ composable pcm_history half half /\ op pcm_history half half == h /\
Current?.h half == Current?.h h /\ history_val half (hval h) (Current?.f half) } | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let split_current #a #p (h:history a p { Current? h /\ (Current?.f h).v <=. one })
: half:history a p {
Current? h /\
composable pcm_history half half /\
op pcm_history half half == h /\
Current?.h half == Current?.h h /\
history_val half (hval h) (Current?.f half)
}
= let Current v p = h in... | val split_current (#a #p: _) (h: history a p {Current? h /\ (Current?.f h).v <=. one})
: half:
history a p
{ Current? h /\ composable pcm_history half half /\ op pcm_history half half == h /\
Current?.h half == Current?.h h /\ history_val half (hval h) (Current?.f half) }
let split_current #a #p (... | false | null | false | let Current v p = h in
assert_spinoff (sum_perm (half_perm p) (half_perm p) == p);
Current v (half_perm p) | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"Prims.l_and",
"Prims.b2t",
"Steel.Preorder.uu___is_Current",
"FStar.Real.op_Less_Equals_Dot",
"Steel.FractionalPermission.__proj__MkPerm__item__v",
"Steel.Preorder.__proj__Current__item__f",
"FStar.Real.one",
"Steel.Preorder.vhist",
"Steel.Fr... | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | Steel.Preorder.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 split_current (#a #p: _) (h: history a p {Current? h /\ (Current?.f h).v <=. one})
: half:
history a p
{ Current? h /\ composable pcm_history half half /\ op pcm_history half half == h /\
Current?.h half == Current?.h h /\ history_val half (hval h) (Current?.f half) } | [] | Steel.Preorder.split_current | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | h: Steel.Preorder.history a p {Current? h /\ MkPerm?.v (Current?.f h) <=. FStar.Real.one}
-> half:
Steel.Preorder.history a p
{ Current? h /\ FStar.PCM.composable Steel.Preorder.pcm_history half half /\
FStar.PCM.op Steel.Preorder.pcm_history half half == h /\ Current?.h half == Current?.h h /\
... | {
"end_col": 27,
"end_line": 438,
"start_col": 3,
"start_line": 436
} |
Prims.Tot | val pcm_history (#a #p: _) : pcm (history a p) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let pcm_history #a #p : pcm (history a p) = {
p = {
composable = history_composable;
op = history_compose;
one = unit_history
};
comm = (fun _ _ -> ());
assoc = assoc_l;
assoc_r = assoc_r;
is_unit = lem_is_unit;
refine = (fun _ -> True);
} | val pcm_history (#a #p: _) : pcm (history a p)
let pcm_history #a #p : pcm (history a p) = | false | null | false | {
p = { composable = history_composable; op = history_compose; one = unit_history };
comm = (fun _ _ -> ());
assoc = assoc_l;
assoc_r = assoc_r;
is_unit = lem_is_unit;
refine = (fun _ -> True)
} | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"total"
] | [
"FStar.Preorder.preorder",
"FStar.PCM.Mkpcm",
"Steel.Preorder.history",
"FStar.PCM.Mkpcm'",
"Steel.Preorder.history_composable",
"Steel.Preorder.history_compose",
"Steel.Preorder.unit_history",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"Prims.unit",
"Steel.Preorder.assoc_l",
"Steel.Preorder.... | [] | (*
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.Preorder.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 pcm_history (#a #p: _) : pcm (history a p) | [] | Steel.Preorder.pcm_history | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.PCM.pcm (Steel.Preorder.history a p) | {
"end_col": 27,
"end_line": 364,
"start_col": 2,
"start_line": 355
} |
FStar.Pervasives.Lemma | val pcm_history_induces_preorder (#a #p: _)
: Lemma (induces_preorder (pcm_history #a #p) (pcm_history_preorder #a #p)) | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_m... | false | let pcm_history_induces_preorder #a #p
: Lemma (induces_preorder (pcm_history #a #p)
(pcm_history_preorder #a #p))
= let aux (x y:history a p)
(f:frame_preserving_upd (pcm_history #a #p) x y)
(v:history a p)
: Lemma
(requires compatible (pcm_hist... | val pcm_history_induces_preorder (#a #p: _)
: Lemma (induces_preorder (pcm_history #a #p) (pcm_history_preorder #a #p))
let pcm_history_induces_preorder #a #p
: Lemma (induces_preorder (pcm_history #a #p) (pcm_history_preorder #a #p)) = | false | null | true | let aux (x y: history a p) (f: frame_preserving_upd (pcm_history #a #p) x y) (v: history a p)
: Lemma (requires compatible (pcm_history #a #p) x v)
(ensures (pcm_history_preorder #a #p) v (f v))
[SMTPat ()] =
let pcm = pcm_history #a #p in
let v1 = f v in
match x, v, v1 with
| Witnessed _, Witne... | {
"checked_file": "Steel.Preorder.fst.checked",
"dependencies": [
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Real.fsti.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked",
"... | [
"lemma"
] | [
"FStar.Preorder.preorder",
"Steel.Preorder.history",
"FStar.PCM.frame_preserving_upd",
"Steel.Preorder.pcm_history",
"Prims.unit",
"FStar.PCM.compatible",
"Prims.squash",
"Steel.Preorder.pcm_history_preorder",
"Prims.Cons",
"FStar.Pervasives.pattern",
"FStar.Pervasives.smt_pat",
"Prims.Nil",
... | [] | (*
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.Preorder.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pcm_history_induces_preorder (#a #p: _)
: Lemma (induces_preorder (pcm_history #a #p) (pcm_history_preorder #a #p)) | [] | Steel.Preorder.pcm_history_induces_preorder | {
"file_name": "lib/steel/Steel.Preorder.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.Pervasives.Lemma
(ensures
Steel.Preorder.induces_preorder Steel.Preorder.pcm_history Steel.Preorder.pcm_history_preorder) | {
"end_col": 6,
"end_line": 409,
"start_col": 3,
"start_line": 380
} |
Prims.Pure | val zip3 (#a1 #a2 #a3:Type) (l1:list a1) (l2:list a2) (l3:list a3)
: Pure (list (a1 * a2 * a3))
(requires (let n = length l1 in n == length l2 /\ n == length l3))
(ensures (fun _ -> True)) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_... | false | let zip3 #a1 #a2 #a3 l1 l2 l3 = map3 (fun x y z -> x,y,z) l1 l2 l3 | val zip3 (#a1 #a2 #a3:Type) (l1:list a1) (l2:list a2) (l3:list a3)
: Pure (list (a1 * a2 * a3))
(requires (let n = length l1 in n == length l2 /\ n == length l3))
(ensures (fun _ -> True))
let zip3 #a1 #a2 #a3 l1 l2 l3 = | false | null | false | map3 (fun x y z -> x, y, z) l1 l2 l3 | {
"checked_file": "FStar.List.Pure.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Base.fst.checked"
],
"interface_file": false,
"source_file": "FStar.List.Pure.Base.fst"
} | [] | [
"Prims.list",
"FStar.List.Pure.Base.map3",
"FStar.Pervasives.Native.tuple3",
"FStar.Pervasives.Native.Mktuple3"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.List.Pure.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val zip3 (#a1 #a2 #a3:Type) (l1:list a1) (l2:list a2) (l3:list a3)
: Pure (list (a1 * a2 * a3))
(requires (let n = length l1 in n == length l2 /\ n == length l3))
(ensures (fun _ -> True)) | [] | FStar.List.Pure.Base.zip3 | {
"file_name": "ulib/FStar.List.Pure.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l1: Prims.list a1 -> l2: Prims.list a2 -> l3: Prims.list a3
-> Prims.Pure (Prims.list ((a1 * a2) * a3)) | {
"end_col": 66,
"end_line": 70,
"start_col": 32,
"start_line": 70
} |
Prims.Pure | val zip (#a1 #a2:Type) (l1:list a1) (l2:list a2)
: Pure (list (a1 * a2))
(requires (let n = length l1 in n == length l2))
(ensures (fun _ -> True)) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_... | false | let zip #a1 #a2 l1 l2 = map2 (fun x y -> x, y) l1 l2 | val zip (#a1 #a2:Type) (l1:list a1) (l2:list a2)
: Pure (list (a1 * a2))
(requires (let n = length l1 in n == length l2))
(ensures (fun _ -> True))
let zip #a1 #a2 l1 l2 = | false | null | false | map2 (fun x y -> x, y) l1 l2 | {
"checked_file": "FStar.List.Pure.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Base.fst.checked"
],
"interface_file": false,
"source_file": "FStar.List.Pure.Base.fst"
} | [] | [
"Prims.list",
"FStar.List.Pure.Base.map2",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.Mktuple2"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.List.Pure.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val zip (#a1 #a2:Type) (l1:list a1) (l2:list a2)
: Pure (list (a1 * a2))
(requires (let n = length l1 in n == length l2))
(ensures (fun _ -> True)) | [] | FStar.List.Pure.Base.zip | {
"file_name": "ulib/FStar.List.Pure.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l1: Prims.list a1 -> l2: Prims.list a2 -> Prims.Pure (Prims.list (a1 * a2)) | {
"end_col": 52,
"end_line": 62,
"start_col": 24,
"start_line": 62
} |
Prims.Pure | val map2 (#a1 #a2 #b: Type)
(f: a1 -> a2 -> b)
(l1:list a1)
(l2:list a2)
: Pure (list b)
(requires (length l1 == length l2))
(ensures (fun _ -> True))
(decreases l1) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_... | false | let rec map2 #a1 #a2 #b f l1 l2 =
match l1, l2 with
| [], [] -> []
| x1::xs1, x2::xs2 -> f x1 x2 :: map2 f xs1 xs2 | val map2 (#a1 #a2 #b: Type)
(f: a1 -> a2 -> b)
(l1:list a1)
(l2:list a2)
: Pure (list b)
(requires (length l1 == length l2))
(ensures (fun _ -> True))
(decreases l1)
let rec map2 #a1 #a2 #b f l1 l2 = | false | null | false | match l1, l2 with
| [], [] -> []
| x1 :: xs1, x2 :: xs2 -> f x1 x2 :: map2 f xs1 xs2 | {
"checked_file": "FStar.List.Pure.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Base.fst.checked"
],
"interface_file": false,
"source_file": "FStar.List.Pure.Base.fst"
} | [
""
] | [
"Prims.list",
"FStar.Pervasives.Native.Mktuple2",
"Prims.Nil",
"Prims.Cons",
"FStar.List.Pure.Base.map2"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.List.Pure.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val map2 (#a1 #a2 #b: Type)
(f: a1 -> a2 -> b)
(l1:list a1)
(l2:list a2)
: Pure (list b)
(requires (length l1 == length l2))
(ensures (fun _ -> True))
(decreases l1) | [
"recursion"
] | FStar.List.Pure.Base.map2 | {
"file_name": "ulib/FStar.List.Pure.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: a1 -> _: a2 -> b) -> l1: Prims.list a1 -> l2: Prims.list a2 -> Prims.Pure (Prims.list b) | {
"end_col": 49,
"end_line": 35,
"start_col": 2,
"start_line": 33
} |
Prims.Pure | val map3 (#a1 #a2 #a3 #b: Type)
(f: a1 -> a2 -> a3 -> b)
(l1:list a1)
(l2:list a2)
(l3:list a3)
: Pure (list b)
(requires (let n = length l1 in
(n == length l2 /\
n == length l3)))
(ensures (fun _ -> True))
(decreases l1) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Pure",
"short_module": null
},
{
"abbrev": false,
"full_... | false | let rec map3 #a1 #a2 #a3 #b f l1 l2 l3 =
match l1, l2, l3 with
| [], [], [] -> []
| x1::xs1, x2::xs2, x3::xs3 -> f x1 x2 x3 :: map3 f xs1 xs2 xs3 | val map3 (#a1 #a2 #a3 #b: Type)
(f: a1 -> a2 -> a3 -> b)
(l1:list a1)
(l2:list a2)
(l3:list a3)
: Pure (list b)
(requires (let n = length l1 in
(n == length l2 /\
n == length l3)))
(ensures (fun _ -> True))
(decreases l1)
let rec map3 #a1 #a2 #a3 #b f l1 l2 l3 = | false | null | false | match l1, l2, l3 with
| [], [], [] -> []
| x1 :: xs1, x2 :: xs2, x3 :: xs3 -> f x1 x2 x3 :: map3 f xs1 xs2 xs3 | {
"checked_file": "FStar.List.Pure.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Base.fst.checked"
],
"interface_file": false,
"source_file": "FStar.List.Pure.Base.fst"
} | [
""
] | [
"Prims.list",
"FStar.Pervasives.Native.Mktuple3",
"Prims.Nil",
"Prims.Cons",
"FStar.List.Pure.Base.map3"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.List.Pure.Base.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val map3 (#a1 #a2 #a3 #b: Type)
(f: a1 -> a2 -> a3 -> b)
(l1:list a1)
(l2:list a2)
(l3:list a3)
: Pure (list b)
(requires (let n = length l1 in
(n == length l2 /\
n == length l3)))
(ensures (fun _ -> True))
(decreases l1) | [
"recursion"
] | FStar.List.Pure.Base.map3 | {
"file_name": "ulib/FStar.List.Pure.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: a1 -> _: a2 -> _: a3 -> b) -> l1: Prims.list a1 -> l2: Prims.list a2 -> l3: Prims.list a3
-> Prims.Pure (Prims.list b) | {
"end_col": 65,
"end_line": 54,
"start_col": 2,
"start_line": 52
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let pow2_32 = Vale.Def.Words_s.pow2_32 | let pow2_32 = | false | null | false | Vale.Def.Words_s.pow2_32 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.pow2_32"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = () | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pow2_32 : Prims.int | [] | Vale.PPC64LE.Machine_s.pow2_32 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.int | {
"end_col": 45,
"end_line": 7,
"start_col": 21,
"start_line": 7
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let nat16 = Vale.Def.Words_s.nat16 | let nat16 = | false | null | false | Vale.Def.Words_s.nat16 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.nat16"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64 | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat16 : Type0 | [] | Vale.PPC64LE.Machine_s.nat16 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 41,
"end_line": 11,
"start_col": 19,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let pow2_64 = Vale.Def.Words_s.pow2_64 | let pow2_64 = | false | null | false | Vale.Def.Words_s.pow2_64 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.pow2_64"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8 | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pow2_64 : Prims.int | [] | Vale.PPC64LE.Machine_s.pow2_64 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.int | {
"end_col": 45,
"end_line": 8,
"start_col": 21,
"start_line": 8
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let pow2_8 = Vale.Def.Words_s.pow2_8 | let pow2_8 = | false | null | false | Vale.Def.Words_s.pow2_8 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.pow2_8"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pow2_8 : Prims.int | [] | Vale.PPC64LE.Machine_s.pow2_8 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.int | {
"end_col": 43,
"end_line": 6,
"start_col": 20,
"start_line": 6
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let nat8 = Vale.Def.Words_s.nat8 | let nat8 = | false | null | false | Vale.Def.Words_s.nat8 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.nat8"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64 | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat8 : Type0 | [] | Vale.PPC64LE.Machine_s.nat8 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 39,
"end_line": 10,
"start_col": 18,
"start_line": 10
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let vecs_t = FStar.FunctionalExtensionality.restricted_t vec (fun _ -> quad32) | let vecs_t = | false | null | false | FStar.FunctionalExtensionality.restricted_t vec (fun _ -> quad32) | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"FStar.FunctionalExtensionality.restricted_t",
"Vale.PPC64LE.Machine_s.vec",
"Vale.PPC64LE.Machine_s.quad32"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vecs_t : Type0 | [] | Vale.PPC64LE.Machine_s.vecs_t | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 78,
"end_line": 41,
"start_col": 13,
"start_line": 41
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let get_cr0 (r:nat64) =
{ lt = r >= 0x8000000000000000; gt = r < 0x8000000000000000; eq = r = 0 } | let get_cr0 (r: nat64) = | false | null | false | { lt = r >= 0x8000000000000000; gt = r < 0x8000000000000000; eq = r = 0 } | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Machine_s.nat64",
"Vale.PPC64LE.Machine_s.Mkcr0_t",
"Prims.op_GreaterThanOrEqual",
"Prims.op_LessThan",
"Prims.op_Equality",
"Prims.int",
"Vale.PPC64LE.Machine_s.cr0_t"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val get_cr0 : r: Vale.PPC64LE.Machine_s.nat64 -> Vale.PPC64LE.Machine_s.cr0_t | [] | Vale.PPC64LE.Machine_s.get_cr0 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | r: Vale.PPC64LE.Machine_s.nat64 -> Vale.PPC64LE.Machine_s.cr0_t | {
"end_col": 73,
"end_line": 82,
"start_col": 4,
"start_line": 82
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let nat64 = Vale.Def.Words_s.nat64 | let nat64 = | false | null | false | Vale.Def.Words_s.nat64 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.nat64"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat64 : Type0 | [] | Vale.PPC64LE.Machine_s.nat64 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 41,
"end_line": 17,
"start_col": 19,
"start_line": 17
} | |
Prims.Tot | val valid_first_cmp_opr (o: cmp_opr) : bool | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let valid_first_cmp_opr (o:cmp_opr) : bool =
CReg? o | val valid_first_cmp_opr (o: cmp_opr) : bool
let valid_first_cmp_opr (o: cmp_opr) : bool = | false | null | false | CReg? o | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Machine_s.cmp_opr",
"Vale.PPC64LE.Machine_s.uu___is_CReg",
"Prims.bool"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_first_cmp_opr (o: cmp_opr) : bool | [] | Vale.PPC64LE.Machine_s.valid_first_cmp_opr | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | o: Vale.PPC64LE.Machine_s.cmp_opr -> Prims.bool | {
"end_col": 9,
"end_line": 108,
"start_col": 2,
"start_line": 108
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let quad32 = Vale.Def.Types_s.quad32 | let quad32 = | false | null | false | Vale.Def.Types_s.quad32 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Types_s.quad32"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val quad32 : Prims.eqtype | [] | Vale.PPC64LE.Machine_s.quad32 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Prims.eqtype | {
"end_col": 43,
"end_line": 20,
"start_col": 20,
"start_line": 20
} | |
Prims.Tot | val valid_maddr_offset64 (n: int) : bool | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let valid_maddr_offset64 (n:int) : bool =
n >= -32768 && n <= 32764 && n % 4 = 0 | val valid_maddr_offset64 (n: int) : bool
let valid_maddr_offset64 (n: int) : bool = | false | null | false | n >= - 32768 && n <= 32764 && n % 4 = 0 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Prims.op_AmpAmp",
"Prims.op_GreaterThanOrEqual",
"Prims.op_Minus",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.op_Modulus",
"Prims.bool"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_maddr_offset64 (n: int) : bool | [] | Vale.PPC64LE.Machine_s.valid_maddr_offset64 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | n: Prims.int -> Prims.bool | {
"end_col": 40,
"end_line": 97,
"start_col": 2,
"start_line": 97
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let nat32 = Vale.Def.Words_s.nat32 | let nat32 = | false | null | false | Vale.Def.Words_s.nat32 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.Def.Words_s.nat32"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8 | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nat32 : Type0 | [] | Vale.PPC64LE.Machine_s.nat32 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 41,
"end_line": 12,
"start_col": 19,
"start_line": 12
} | |
Prims.Tot | val vecs_make (f: (vec -> quad32)) : vecs_t | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let vecs_make (f:vec -> quad32) : vecs_t = FStar.FunctionalExtensionality.on_dom vec f | val vecs_make (f: (vec -> quad32)) : vecs_t
let vecs_make (f: (vec -> quad32)) : vecs_t = | false | null | false | FStar.FunctionalExtensionality.on_dom vec f | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Machine_s.vec",
"Vale.PPC64LE.Machine_s.quad32",
"FStar.FunctionalExtensionality.on_dom",
"Vale.PPC64LE.Machine_s.vecs_t"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vecs_make (f: (vec -> quad32)) : vecs_t | [] | Vale.PPC64LE.Machine_s.vecs_make | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: (_: Vale.PPC64LE.Machine_s.vec -> Vale.PPC64LE.Machine_s.quad32) -> Vale.PPC64LE.Machine_s.vecs_t | {
"end_col": 105,
"end_line": 43,
"start_col": 62,
"start_line": 43
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let regs_t = FStar.FunctionalExtensionality.restricted_t reg (fun _ -> nat64) | let regs_t = | false | null | false | FStar.FunctionalExtensionality.restricted_t reg (fun _ -> nat64) | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"FStar.FunctionalExtensionality.restricted_t",
"Vale.PPC64LE.Machine_s.reg",
"Vale.PPC64LE.Machine_s.nat64"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val regs_t : Type0 | [] | Vale.PPC64LE.Machine_s.regs_t | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 77,
"end_line": 40,
"start_col": 13,
"start_line": 40
} | |
Prims.Tot | val valid_maddr_offset (n: int) : bool | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let valid_maddr_offset (n:int) : bool =
n >= -32768 && n <= 32767 | val valid_maddr_offset (n: int) : bool
let valid_maddr_offset (n: int) : bool = | false | null | false | n >= - 32768 && n <= 32767 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Prims.op_AmpAmp",
"Prims.op_GreaterThanOrEqual",
"Prims.op_Minus",
"Prims.op_LessThanOrEqual",
"Prims.bool"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_maddr_offset (n: int) : bool | [] | Vale.PPC64LE.Machine_s.valid_maddr_offset | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | n: Prims.int -> Prims.bool | {
"end_col": 27,
"end_line": 93,
"start_col": 2,
"start_line": 93
} |
Prims.Tot | val regs_make (f: (reg -> nat64)) : regs_t | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let regs_make (f:reg -> nat64) : regs_t = FStar.FunctionalExtensionality.on_dom reg f | val regs_make (f: (reg -> nat64)) : regs_t
let regs_make (f: (reg -> nat64)) : regs_t = | false | null | false | FStar.FunctionalExtensionality.on_dom reg f | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Machine_s.reg",
"Vale.PPC64LE.Machine_s.nat64",
"FStar.FunctionalExtensionality.on_dom",
"Vale.PPC64LE.Machine_s.regs_t"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val regs_make (f: (reg -> nat64)) : regs_t | [] | Vale.PPC64LE.Machine_s.regs_make | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: (_: Vale.PPC64LE.Machine_s.reg -> Vale.PPC64LE.Machine_s.nat64) -> Vale.PPC64LE.Machine_s.regs_t | {
"end_col": 104,
"end_line": 42,
"start_col": 61,
"start_line": 42
} |
Prims.Tot | val valid_maddr_offset128 (n: int) : bool | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let valid_maddr_offset128 (n:int) : bool =
n >= -32768 && n <= 32752 && n % 16 = 0 | val valid_maddr_offset128 (n: int) : bool
let valid_maddr_offset128 (n: int) : bool = | false | null | false | n >= - 32768 && n <= 32752 && n % 16 = 0 | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Prims.op_AmpAmp",
"Prims.op_GreaterThanOrEqual",
"Prims.op_Minus",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.op_Modulus",
"Prims.bool"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | true | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_maddr_offset128 (n: int) : bool | [] | Vale.PPC64LE.Machine_s.valid_maddr_offset128 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | n: Prims.int -> Prims.bool | {
"end_col": 41,
"end_line": 101,
"start_col": 2,
"start_line": 101
} |
Prims.Tot | val int_to_nat32 (i: int) : n: nat32{0 <= i && i < pow2_32 ==> i == n} | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let int_to_nat32 (i:int) : n:nat32{0 <= i && i < pow2_32 ==> i == n} =
Vale.Def.Words_s.int_to_natN pow2_32 i | val int_to_nat32 (i: int) : n: nat32{0 <= i && i < pow2_32 ==> i == n}
let int_to_nat32 (i: int) : n: nat32{0 <= i && i < pow2_32 ==> i == n} = | false | null | false | Vale.Def.Words_s.int_to_natN pow2_32 i | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Vale.Def.Words_s.int_to_natN",
"Vale.PPC64LE.Machine_s.pow2_32",
"Vale.PPC64LE.Machine_s.nat32",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.eq2"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | false | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_to_nat32 (i: int) : n: nat32{0 <= i && i < pow2_32 ==> i == n} | [] | Vale.PPC64LE.Machine_s.int_to_nat32 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Prims.int
-> n: Vale.PPC64LE.Machine_s.nat32{0 <= i && i < Vale.PPC64LE.Machine_s.pow2_32 ==> i == n} | {
"end_col": 40,
"end_line": 16,
"start_col": 2,
"start_line": 16
} |
Prims.Tot | val int_to_nat8 (i: int) : n: nat8{0 <= i && i < pow2_8 ==> i == n} | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let int_to_nat8 (i:int) : n:nat8{0 <= i && i < pow2_8 ==> i == n} =
Vale.Def.Words_s.int_to_natN pow2_8 i | val int_to_nat8 (i: int) : n: nat8{0 <= i && i < pow2_8 ==> i == n}
let int_to_nat8 (i: int) : n: nat8{0 <= i && i < pow2_8 ==> i == n} = | false | null | false | Vale.Def.Words_s.int_to_natN pow2_8 i | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Vale.Def.Words_s.int_to_natN",
"Vale.PPC64LE.Machine_s.pow2_8",
"Vale.PPC64LE.Machine_s.nat8",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.eq2"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | false | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_to_nat8 (i: int) : n: nat8{0 <= i && i < pow2_8 ==> i == n} | [] | Vale.PPC64LE.Machine_s.int_to_nat8 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Prims.int
-> n: Vale.PPC64LE.Machine_s.nat8{0 <= i && i < Vale.PPC64LE.Machine_s.pow2_8 ==> i == n} | {
"end_col": 39,
"end_line": 14,
"start_col": 2,
"start_line": 14
} |
Prims.Tot | val int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n} | [
{
"abbrev": false,
"full_module": "Vale.Arch.HeapTypes_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Arch.Heap",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let int_to_nat64 (i:int) : n:nat64{0 <= i && i < pow2_64 ==> i == n} =
Vale.Def.Words_s.int_to_natN pow2_64 i | val int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n}
let int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n} = | false | null | false | Vale.Def.Words_s.int_to_natN pow2_64 i | {
"checked_file": "Vale.PPC64LE.Machine_s.fst.checked",
"dependencies": [
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Arch.HeapTypes_s.fst.checked",
"Vale.Arch.Heap.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
... | [
"total"
] | [
"Prims.int",
"Vale.Def.Words_s.int_to_natN",
"Vale.PPC64LE.Machine_s.pow2_64",
"Vale.PPC64LE.Machine_s.nat64",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.eq2"
] | [] | module Vale.PPC64LE.Machine_s
open Vale.Arch.Heap
include Vale.Arch.HeapTypes_s
irreducible let va_qattr = ()
unfold let pow2_8 = Vale.Def.Words_s.pow2_8
unfold let pow2_32 = Vale.Def.Words_s.pow2_32
unfold let pow2_64 = Vale.Def.Words_s.pow2_64
unfold let nat8 = Vale.Def.Words_s.nat8
unfold let nat16 = Vale.Def.Word... | false | false | Vale.PPC64LE.Machine_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val int_to_nat64 (i: int) : n: nat64{0 <= i && i < pow2_64 ==> i == n} | [] | Vale.PPC64LE.Machine_s.int_to_nat64 | {
"file_name": "vale/specs/hardware/Vale.PPC64LE.Machine_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Prims.int
-> n: Vale.PPC64LE.Machine_s.nat64{0 <= i && i < Vale.PPC64LE.Machine_s.pow2_64 ==> i == n} | {
"end_col": 40,
"end_line": 19,
"start_col": 2,
"start_line": 19
} |
Prims.Tot | val op384_512:ops | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let op384_512: ops = {
c0 = 28ul; c1 = 34ul; c2 = 39ul;
c3 = 14ul; c4 = 18ul; c5 = 41ul;
e0 = 1ul ; e1 = 8ul; e2 = 7ul;
e3 = 19ul; e4 = 61ul; e5 = 6ul
} | val op384_512:ops
let op384_512:ops = | false | null | false | {
c0 = 28ul;
c1 = 34ul;
c2 = 39ul;
c3 = 14ul;
c4 = 18ul;
c5 = 41ul;
e0 = 1ul;
e1 = 8ul;
e2 = 7ul;
e3 = 19ul;
e4 = 61ul;
e5 = 6ul
} | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Hacl.Spec.SHA2.Mkops",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0"
let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a}
let mk_len_t (a:sha2_alg) (len:len_lt... | false | true | Hacl.Spec.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 op384_512:ops | [] | Hacl.Spec.SHA2.op384_512 | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.SHA2.ops | {
"end_col": 33,
"end_line": 73,
"start_col": 2,
"start_line": 70
} |
Prims.Tot | val op224_256:ops | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let op224_256: ops = {
c0 = 2ul; c1 = 13ul; c2 = 22ul;
c3 = 6ul; c4 = 11ul; c5 = 25ul;
e0 = 7ul; e1 = 18ul; e2 = 3ul;
e3 = 17ul; e4 = 19ul; e5 = 10ul
} | val op224_256:ops
let op224_256:ops = | false | null | false | {
c0 = 2ul;
c1 = 13ul;
c2 = 22ul;
c3 = 6ul;
c4 = 11ul;
c5 = 25ul;
e0 = 7ul;
e1 = 18ul;
e2 = 3ul;
e3 = 17ul;
e4 = 19ul;
e5 = 10ul
} | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Hacl.Spec.SHA2.Mkops",
"FStar.UInt32.__uint_to_t"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0"
let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a}
let mk_len_t (a:sha2_alg) (len:len_lt... | false | true | Hacl.Spec.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 op224_256:ops | [] | Hacl.Spec.SHA2.op224_256 | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Spec.SHA2.ops | {
"end_col": 33,
"end_line": 65,
"start_col": 2,
"start_line": 62
} |
Prims.Tot | val _Ch: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a) | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let _Ch a x y z = (x &. y) ^. (~.x &. z) | val _Ch: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a)
let _Ch a x y z = | false | null | false | (x &. y) ^. (~.x &. z) | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Spec.Hash.Definitions.sha2_alg",
"Spec.Hash.Definitions.word",
"Hacl.Spec.SHA2.op_Hat_Dot",
"Hacl.Spec.SHA2.op_Amp_Dot",
"Hacl.Spec.SHA2.op_Tilde_Dot"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0"
let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a}
let mk_len_t (a:sha2_alg) (len:len_lt... | false | false | Hacl.Spec.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 _Ch: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a) | [] | Hacl.Spec.SHA2._Ch | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.sha2_alg ->
x: Spec.Hash.Definitions.word a ->
y: Spec.Hash.Definitions.word a ->
z: Spec.Hash.Definitions.word a
-> Spec.Hash.Definitions.word a | {
"end_col": 41,
"end_line": 123,
"start_col": 19,
"start_line": 123
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a} | let len_lt_max_a_t (a: sha2_alg) = | false | null | false | len: nat{len `less_than_max_input_length` a} | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Spec.Hash.Definitions.sha2_alg",
"Prims.nat",
"Prims.b2t",
"Spec.Hash.Definitions.less_than_max_input_length"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0" | false | true | Hacl.Spec.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 len_lt_max_a_t : a: Spec.Hash.Definitions.sha2_alg -> Type0 | [] | Hacl.Spec.SHA2.len_lt_max_a_t | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Spec.Hash.Definitions.sha2_alg -> Type0 | {
"end_col": 77,
"end_line": 13,
"start_col": 34,
"start_line": 13
} | |
Prims.Tot | val init (a: sha2_alg) : words_state a | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let init (a:sha2_alg) : words_state a = h0 a | val init (a: sha2_alg) : words_state a
let init (a: sha2_alg) : words_state a = | false | null | false | h0 a | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Spec.Hash.Definitions.sha2_alg",
"Hacl.Spec.SHA2.h0",
"Spec.Hash.Definitions.words_state"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0"
let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a}
let mk_len_t (a:sha2_alg) (len:len_lt... | false | false | Hacl.Spec.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 init (a: sha2_alg) : words_state a | [] | Hacl.Spec.SHA2.init | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Spec.Hash.Definitions.sha2_alg -> Spec.Hash.Definitions.words_state a | {
"end_col": 44,
"end_line": 228,
"start_col": 40,
"start_line": 228
} |
Prims.Tot | val _Maj: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a) | [
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "S"
},
{
"abbrev": true,
"full_module": "Spec.SHA2.Constants",
"short_module": "C"
},
{
"abbrev": false,
"full_modu... | false | let _Maj a x y z = (x &. y) ^. ((x &. z) ^. (y &. z)) | val _Maj: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a)
let _Maj a x y z = | false | null | false | (x &. y) ^. ((x &. z) ^. (y &. z)) | {
"checked_file": "Hacl.Spec.SHA2.fst.checked",
"dependencies": [
"Spec.SHA2.Constants.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
... | [
"total"
] | [
"Spec.Hash.Definitions.sha2_alg",
"Spec.Hash.Definitions.word",
"Hacl.Spec.SHA2.op_Hat_Dot",
"Hacl.Spec.SHA2.op_Amp_Dot"
] | [] | module Hacl.Spec.SHA2
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module C = Spec.SHA2.Constants
module S = FStar.Seq
open Spec.Hash.Definitions
#set-options "--z3rlimit 20 --fuel 0 --ifuel 0"
let len_lt_max_a_t (a:sha2_alg) = len:nat{len `less_than_max_input_length` a}
let mk_len_t (a:sha2_alg) (len:len_lt... | false | false | Hacl.Spec.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 _Maj: a:sha2_alg -> x:(word a) -> y:(word a) -> z:(word a) -> Tot (word a) | [] | Hacl.Spec.SHA2._Maj | {
"file_name": "code/sha2-mb/Hacl.Spec.SHA2.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.sha2_alg ->
x: Spec.Hash.Definitions.word a ->
y: Spec.Hash.Definitions.word a ->
z: Spec.Hash.Definitions.word a
-> Spec.Hash.Definitions.word a | {
"end_col": 53,
"end_line": 127,
"start_col": 19,
"start_line": 127
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.