effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val choose: ('a -> Tot (option 'b)) -> list 'a -> Tot (list 'b) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let rec choose f l = match l with
| [] -> []
| hd::tl ->
match f hd with
| Some x -> x::(choose f tl)
| None -> choose f tl | val choose: ('a -> Tot (option 'b)) -> list 'a -> Tot (list 'b)
let rec choose f l = | false | null | false | match l with
| [] -> []
| hd :: tl ->
match f hd with
| Some x -> x :: (choose f tl)
| None -> choose f tl | {
"checked_file": "FStar.List.Tot.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.List.Tot.Base.fst"
} | [
"total"
] | [
"FStar.Pervasives.Native.option",
"Prims.list",
"Prims.Nil",
"Prims.Cons",
"FStar.List.Tot.Base.choose"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | false | false | FStar.List.Tot.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 choose: ('a -> Tot (option 'b)) -> list 'a -> Tot (list 'b) | [
"recursion"
] | FStar.List.Tot.Base.choose | {
"file_name": "ulib/FStar.List.Tot.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: 'a -> FStar.Pervasives.Native.option 'b) -> l: Prims.list 'a -> Prims.list 'b | {
"end_col": 30,
"end_line": 359,
"start_col": 21,
"start_line": 354
} |
Prims.Pure | val strict_suffix_of (#a: Type) (l1 l2: list a)
: Pure Type0 (requires True) (ensures (fun _ -> True)) (decreases l2) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let rec strict_suffix_of (#a: Type) (l1 l2: list a)
: Pure Type0
(requires True)
(ensures (fun _ -> True))
(decreases l2)
= match l2 with
| [] -> False
| _ :: q -> l1 == q \/ l1 `strict_suffix_of` q | val strict_suffix_of (#a: Type) (l1 l2: list a)
: Pure Type0 (requires True) (ensures (fun _ -> True)) (decreases l2)
let rec strict_suffix_of (#a: Type) (l1 l2: list a)
: Pure Type0 (requires True) (ensures (fun _ -> True)) (decreases l2) = | false | null | false | match l2 with
| [] -> False
| _ :: q -> l1 == q \/ l1 `strict_suffix_of` q | {
"checked_file": "FStar.List.Tot.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.List.Tot.Base.fst"
} | [
""
] | [
"Prims.list",
"Prims.l_False",
"Prims.l_or",
"Prims.eq2",
"FStar.List.Tot.Base.strict_suffix_of",
"Prims.l_True"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | false | false | FStar.List.Tot.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 strict_suffix_of (#a: Type) (l1 l2: list a)
: Pure Type0 (requires True) (ensures (fun _ -> True)) (decreases l2) | [
"recursion"
] | FStar.List.Tot.Base.strict_suffix_of | {
"file_name": "ulib/FStar.List.Tot.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l1: Prims.list a -> l2: Prims.list a -> Prims.Pure Type0 | {
"end_col": 48,
"end_line": 538,
"start_col": 2,
"start_line": 536
} |
FStar.Pervasives.Lemma | val partition_length: f:('a -> Tot bool)
-> l:list 'a
-> Lemma (requires True)
(ensures (length (fst (partition f l))
+ length (snd (partition f l)) = length l)) | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let rec partition_length f l = match l with
| [] -> ()
| hd::tl -> partition_length f tl | val partition_length: f:('a -> Tot bool)
-> l:list 'a
-> Lemma (requires True)
(ensures (length (fst (partition f l))
+ length (snd (partition f l)) = length l))
let rec partition_length f l = | false | null | true | match l with
| [] -> ()
| hd :: tl -> partition_length f tl | {
"checked_file": "FStar.List.Tot.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.List.Tot.Base.fst"
} | [
"lemma"
] | [
"Prims.bool",
"Prims.list",
"FStar.List.Tot.Base.partition_length",
"Prims.unit"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | false | false | FStar.List.Tot.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 partition_length: f:('a -> Tot bool)
-> l:list 'a
-> Lemma (requires True)
(ensures (length (fst (partition f l))
+ length (snd (partition f l)) = length l)) | [
"recursion"
] | FStar.List.Tot.Base.partition_length | {
"file_name": "ulib/FStar.List.Tot.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: 'a -> Prims.bool) -> l: Prims.list 'a
-> FStar.Pervasives.Lemma
(ensures
FStar.List.Tot.Base.length (FStar.Pervasives.Native.fst (FStar.List.Tot.Base.partition f l)) +
FStar.List.Tot.Base.length (FStar.Pervasives.Native.snd (FStar.List.Tot.Base.partition f l)) =
FStar.List.Tot.Base.length... | {
"end_col": 35,
"end_line": 488,
"start_col": 31,
"start_line": 486
} |
Prims.Tot | val subset: #a:eqtype -> list a -> list a -> Tot bool | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let rec subset #a la lb =
match la with
| [] -> true
| h :: tl -> mem h lb && subset tl lb | val subset: #a:eqtype -> list a -> list a -> Tot bool
let rec subset #a la lb = | false | null | false | match la with
| [] -> true
| h :: tl -> mem h lb && subset tl lb | {
"checked_file": "FStar.List.Tot.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.List.Tot.Base.fst"
} | [
"total"
] | [
"Prims.eqtype",
"Prims.list",
"Prims.op_AmpAmp",
"FStar.List.Tot.Base.mem",
"FStar.List.Tot.Base.subset",
"Prims.bool"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | false | false | FStar.List.Tot.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 subset: #a:eqtype -> list a -> list a -> Tot bool | [
"recursion"
] | FStar.List.Tot.Base.subset | {
"file_name": "ulib/FStar.List.Tot.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | la: Prims.list a -> lb: Prims.list a -> Prims.bool | {
"end_col": 40,
"end_line": 382,
"start_col": 2,
"start_line": 380
} |
Prims.Tot | val no_repeats_p : #a:Type -> list a -> Tot prop | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_modul... | false | let rec no_repeats_p #a la =
match la with
| [] -> True
| h :: tl -> ~(memP h tl) /\ no_repeats_p tl | val no_repeats_p : #a:Type -> list a -> Tot prop
let rec no_repeats_p #a la = | false | null | false | match la with
| [] -> True
| h :: tl -> ~(memP h tl) /\ no_repeats_p tl | {
"checked_file": "FStar.List.Tot.Base.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.List.Tot.Base.fst"
} | [
"total"
] | [
"Prims.list",
"Prims.l_True",
"Prims.l_and",
"Prims.l_not",
"FStar.List.Tot.Base.memP",
"FStar.List.Tot.Base.no_repeats_p",
"Prims.prop"
] | [] | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | false | false | FStar.List.Tot.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 no_repeats_p : #a:Type -> list a -> Tot prop | [
"recursion"
] | FStar.List.Tot.Base.no_repeats_p | {
"file_name": "ulib/FStar.List.Tot.Base.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | la: Prims.list a -> Prims.prop | {
"end_col": 46,
"end_line": 400,
"start_col": 2,
"start_line": 398
} |
Prims.Tot | val va_ens_Fmul
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fmul (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fmul va_b0 va_s0 tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (let (tmp_in:nat64) = va_get_reg64 rRdi... | val va_ens_Fmul
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fmul
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
:... | false | null | false | (va_req_Fmul va_b0 va_s0 tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
l... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fmul",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Vale... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fmul
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fmul | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 33,
"end_line": 63,
"start_col": 2,
"start_line": 39
} |
Prims.Tot | val va_req_Fmul (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fmul (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul ()) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:nat64) =
va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64) ... | val va_req_Fmul (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop
let va_req_Fmul (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop = | false | null | false | (va_require_total va_b0 (va_code_Fmul ()) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Mem... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fmul",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fmul (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fmul | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 46,
"end_line": 36,
"start_col": 2,
"start_line": 24
} |
Prims.Tot | val va_wp_Fmul
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fmul (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_s0:va_state)
(va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) =
va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_reg64 rR15 va_s0 in le... | val va_wp_Fmul
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fmul
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
"Vale.X64.Memory.is_initial_heap",
"Vale.X64.Decls.va_get_mem_layout",
"Vale.X64.Decls.va_ge... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fmul
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fmul | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 64,
"end_line": 147,
"start_col": 2,
"start_line": 109
} |
Prims.Tot | val va_req_Fmul2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fmul2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64)
(dst_b:buffer64) (inB_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul2 ()) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:nat64) =
va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64... | val va_req_Fmul2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop
let va_req_Fmul2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop = | false | null | false | (va_require_total va_b0 (va_code_Fmul2 ()) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Me... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fmul2",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fmul2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b inB_b: buffer64) : prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fmul2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 47,
"end_line": 396,
"start_col": 2,
"start_line": 384
} |
Prims.Tot | val va_ens_Fmul2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fmul2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64)
(dst_b:buffer64) (inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fmul2 va_b0 va_s0 tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (let (tmp_in:nat64) = va_get_reg64 rR... | val va_ens_Fmul2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fmul2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
... | false | null | false | (va_req_Fmul2 va_b0 va_s0 tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fmul2",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Val... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fmul2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fmul2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 68,
"end_line": 436,
"start_col": 2,
"start_line": 399
} |
Prims.Tot | val va_wp_Fmul2
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fmul2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64)
(va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) =
va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_reg64 rR15 va_s0 in l... | val va_wp_Fmul2
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fmul2
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR15 va_s0 in
let inB_in:nat64 = va_get_reg64 rRcx va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
"Vale.X64.Memory.is_initial_heap",
"Vale.X64.Decls.va_get_mem_layout",
"Vale.X64.Decls.va_ge... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fmul2
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fmul2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 16,
"end_line": 547,
"start_col": 2,
"start_line": 495
} |
Prims.Tot | val va_req_Fsqr (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fsqr (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
: prop =
(va_require_total va_b0 (va_code_Fsqr ()) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:nat64) =
va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64) =
va_get_reg6... | val va_req_Fsqr (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop
let va_req_Fsqr (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop = | false | null | false | (va_require_total va_b0 (va_code_Fsqr ()) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fsqr (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fsqr | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 12,
"end_line": 832,
"start_col": 2,
"start_line": 823
} |
Prims.Tot | val va_ens_Fsqr
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fsqr (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fsqr va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:n... | val va_ens_Fsqr
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fsqr
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop = | false | null | false | (va_req_Fsqr va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
let a0 = Vale.X64.Decls.buffer64_read inA_b 0 (va_get_mem... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fsqr",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Vale... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fsqr
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fsqr | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 69,
"end_line": 855,
"start_col": 2,
"start_line": 835
} |
Prims.Tot | val va_wp_Fsqr (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fsqr (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_s0:va_state) (va_k:(va_state
-> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) =
va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_reg64 rR12 va_s0 in adx_enabled /\
... | val va_wp_Fsqr (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fsqr (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\
(Vale.X64.Decls.buffers_disj... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
"Vale.X64.Memory.is_initial_heap",
"Vale.X64.Decls.va_get_mem_layout",
"Vale.X64.Decls.va_ge... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fsqr (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fsqr | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 52,
"end_line": 925,
"start_col": 2,
"start_line": 894
} |
Prims.Tot | val va_ens_Fsqr2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fsqr2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64)
(dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fsqr2 va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in... | val va_ens_Fsqr2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fsqr2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop = | false | null | false | (va_req_Fsqr2 va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
let a0 = Vale.X64.Decls.buffer64_read inA_b 0 (va_get_me... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fsqr2",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Val... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fsqr2
(va_b0: va_code)
(va_s0: va_state)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fsqr2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 69,
"end_line": 1182,
"start_col": 2,
"start_line": 1152
} |
Prims.Tot | val va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fsqr2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64)
(dst_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr2 ()) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:nat64) =
va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64) =
va_get_re... | val va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop
let va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop = | false | null | false | (va_require_total va_b0 (va_code_Fsqr2 ()) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr2",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fsqr2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 12,
"end_line": 1149,
"start_col": 2,
"start_line": 1140
} |
Prims.Tot | val va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fsqr2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_s0:va_state) (va_k:(va_state
-> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) =
va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_reg64 rR12 va_s0 in adx_enabled /\
... | val va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in
let inA_in:nat64 = va_get_reg64 rRsi va_s0 in
let dst_in:nat64 = va_get_reg64 rR12 va_s0 in
adx_enabled /\ bmi2_enabled /\
Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\
(Vale.X64.Decls.buffers_disj... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.adx_enabled",
"Vale.X64.CPU_Features_s.bmi2_enabled",
"Vale.X64.Memory.is_initial_heap",
"Vale.X64.Decls.va_get_mem_layout",
"Vale.X64.Decls.va_ge... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fsqr2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 70,
"end_line": 1272,
"start_col": 2,
"start_line": 1231
} |
Prims.Tot | val va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ())) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fmul (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) :
(va_quickCode unit (va_code_Fmul ())) =
(va_QProc (va_code_Fmul ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64
rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mo... | val va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ()))
let va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ())) = | false | null | false | (va_QProc (va_code_Fmul ())
([
va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13;
va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi;
va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx;... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fmul",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_layout",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ())) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fmul | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul ()) | {
"end_col": 29,
"end_line": 165,
"start_col": 2,
"start_line": 161
} |
Prims.Tot | val va_req_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fmul_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let
(tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_... | val va_req_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop
let va_req_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop = | false | null | false | (va_require_total va_b0 (va_code_Fmul_stdcall win) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRdx va_s0 else va_g... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fmul_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 46,
"end_line": 190,
"start_col": 2,
"start_line": 174
} |
Prims.Tot | val va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul_stdcall win)) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fmul_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) : (va_quickCode unit (va_code_Fmul_stdcall win)) =
(va_QProc (va_code_Fmul_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout;
va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg... | val va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul_stdcall win))
let va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul_stdcall win)) = | false | null | false | (va_QProc (va_code_Fmul_stdcall win)
([
va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11;
va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsp; va_Mod_reg64 r... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_stackTaint",
"Vale.X64.QuickCode.va_Mod_stack",
"Vale.X64.QuickCode.va_Mod_mem_layout",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul_stdcall win)) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fmul_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall win) | {
"end_col": 65,
"end_line": 375,
"start_col": 2,
"start_line": 370
} |
Prims.Tot | val va_ens_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fmul_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fmul_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM
va_fM /\ va_get_ok va_sM /\ (let (tm... | val va_ens_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
... | false | null | false | (va_req_Fmul_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\
va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fmul_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Pr... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fmul_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fmul_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.v... | {
"end_col": 38,
"end_line": 231,
"start_col": 2,
"start_line": 193
} |
Prims.Tot | val va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ())) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fmul2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) :
(va_quickCode unit (va_code_Fmul2 ())) =
(va_QProc (va_code_Fmul2 ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9;
... | val va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ()))
let va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ())) = | false | null | false | (va_QProc (va_code_Fmul2 ())
([
va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13;
va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi;
va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fmul2",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_layout",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ())) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fmul2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul2 ()) | {
"end_col": 47,
"end_line": 565,
"start_col": 2,
"start_line": 561
} |
Prims.Tot | val va_req_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fmul2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let
(tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx v... | val va_req_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop
let va_req_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop = | false | null | false | (va_require_total va_b0 (va_code_Fmul2_stdcall win) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRdx va_s0 else va_... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
: prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fmul2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 47,
"end_line": 590,
"start_col": 2,
"start_line": 574
} |
Prims.Tot | val va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul2_stdcall win)) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fmul2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) : (va_quickCode unit (va_code_Fmul2_stdcall win)) =
(va_QProc (va_code_Fmul2_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout;
va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_... | val va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul2_stdcall win))
let va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul2_stdcall win)) = | false | null | false | (va_QProc (va_code_Fmul2_stdcall win)
([
va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11;
va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsp; va_Mod_reg64 ... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_stackTaint",
"Vale.X64.QuickCode.va_Mod_stack",
"Vale.X64.QuickCode.va_Mod_mem_layout",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64)
: (va_quickCode unit (va_code_Fmul2_stdcall win)) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fmul2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall win) | {
"end_col": 66,
"end_line": 814,
"start_col": 2,
"start_line": 809
} |
Prims.Tot | val va_ens_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fmul2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fmul2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0
va_sM va_fM /\ va_get_ok va_sM /\ (let (... | val va_ens_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64... | false | null | false | (va_req_Fmul2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\
va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fmul2_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"P... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fmul2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fmul2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.v... | {
"end_col": 73,
"end_line": 644,
"start_col": 2,
"start_line": 593
} |
Prims.Tot | val va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ())) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fsqr (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit
(va_code_Fsqr ())) =
(va_QProc (va_code_Fsqr ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64
rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64
rR9;... | val va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ()))
let va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ())) = | false | null | false | (va_QProc (va_code_Fsqr ())
([
va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14;
va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8;
va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_layout",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ())) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fsqr | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr ()) | {
"end_col": 40,
"end_line": 943,
"start_col": 2,
"start_line": 939
} |
Prims.Tot | val va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fsqr_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let
(tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_s0 else
va_ge... | val va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64)
: prop
let va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64)
: prop = | false | null | false | (va_require_total va_b0 (va_code_Fsqr_stdcall win) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRdx va_s0 else va_g... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64)
: prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fsqr_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 12,
"end_line": 965,
"start_col": 2,
"start_line": 952
} |
Prims.Tot | val va_wp_Fmul_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fmul_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ ->
va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi v... | val va_wp_Fmul_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fmul_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type... | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0)
in
l... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRsp",
"Vale.X64.Stack_i.init_rsp",
"Vale.X64.Decls.va_get_stac... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fmul_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fmul_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 21,
"end_line": 355,
"start_col": 2,
"start_line": 295
} |
Prims.Tot | val va_ens_Fsqr_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fsqr_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fsqr_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM
/\ va_get_ok va_sM /\ (let (tmp_in:(va_int_range 0 18... | val va_ens_Fsqr_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fsqr_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM... | false | null | false | (va_req_Fsqr_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(if... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fsqr_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"Pr... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fsqr_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fsqr_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 74,
"end_line": 1002,
"start_col": 2,
"start_line": 968
} |
Prims.Tot | val va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr_stdcall win)) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fsqr_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) :
(va_quickCode unit (va_code_Fsqr_stdcall win)) =
(va_QProc (va_code_Fsqr_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout;
va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_r... | val va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr_stdcall win))
let va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr_stdcall win)) = | false | null | false | (va_QProc (va_code_Fsqr_stdcall win)
([
va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR12;
va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 r... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_stackTaint",
"Vale.X64.QuickCode.va_Mod_stack",
"Vale.X64.QuickCode.va_Mod_mem_layout",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr_stdcall win)) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fsqr_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall win) | {
"end_col": 71,
"end_line": 1131,
"start_col": 2,
"start_line": 1126
} |
Prims.Tot | val va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ())) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fsqr2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit
(va_code_Fsqr2 ())) =
(va_QProc (va_code_Fsqr2 ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10;
va_Mod_reg64 r... | val va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ()))
let va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ())) = | false | null | false | (va_QProc (va_code_Fsqr2 ())
([
va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14;
va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8;
va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr2",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_layout",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ())) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fsqr2 | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr2 ()) | {
"end_col": 48,
"end_line": 1290,
"start_col": 2,
"start_line": 1286
} |
Prims.Tot | val va_req_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_req_Fsqr2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let
(tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_s0 else
va_... | val va_req_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
: prop
let va_req_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
: prop = | false | null | false | (va_require_total va_b0 (va_code_Fsqr2_stdcall win) va_s0 /\ va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRdx va_s0 else va_... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_req_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
: prop | [] | Vale.Curve25519.X64.FastWide.va_req_Fsqr2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Prims.prop | {
"end_col": 12,
"end_line": 1312,
"start_col": 2,
"start_line": 1299
} |
Prims.Tot | val va_ens_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_ens_Fsqr2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64)
(inA_b:buffer64) (dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop =
(va_req_Fsqr2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM
va_fM /\ va_get_ok va_sM /\ (let (tmp_in:(va_int_range 0 ... | val va_ens_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop
let va_ens_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_... | false | null | false | (va_req_Fsqr2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
(if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
(i... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Curve25519.X64.FastWide.va_req_Fsqr2_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.int",
"P... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_ens_Fsqr2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | [] | Vale.Curve25519.X64.FastWide.va_ens_Fsqr2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | {
"end_col": 74,
"end_line": 1359,
"start_col": 2,
"start_line": 1315
} |
Prims.Tot | val va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr2_stdcall win)) | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_quick_Fsqr2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) :
(va_quickCode unit (va_code_Fsqr2_stdcall win)) =
(va_QProc (va_code_Fsqr2_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout;
va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mo... | val va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr2_stdcall win))
let va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr2_stdcall win)) = | false | null | false | (va_QProc (va_code_Fsqr2_stdcall win)
([
va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags;
va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR12;
va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 ... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_stackTaint",
"Vale.X64.QuickCode.va_Mod_stack",
"Vale.X64.QuickCode.va_Mod_mem_layout",
... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | false | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64)
: (va_quickCode unit (va_code_Fsqr2_stdcall win)) | [] | Vale.Curve25519.X64.FastWide.va_quick_Fsqr2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall win) | {
"end_col": 72,
"end_line": 1508,
"start_col": 2,
"start_line": 1503
} |
Prims.Tot | val va_wp_Fmul2_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fmul2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(inB_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ ->
va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi ... | val va_wp_Fmul2_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fmul2_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Ty... | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0)
in
l... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRsp",
"Vale.X64.Stack_i.init_rsp",
"Vale.X64.Decls.va_get_stac... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fmul2_stdcall
(win: bool)
(tmp_b inA_b dst_b inB_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fmul2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
inB_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 77,
"end_line": 794,
"start_col": 2,
"start_line": 721
} |
Prims.Tot | val va_wp_Fsqr_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fsqr_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ ->
va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let (inA... | val va_wp_Fsqr_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fsqr_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0)
in
l... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRsp",
"Vale.X64.Stack_i.init_rsp",
"Vale.X64.Decls.va_get_stac... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fsqr_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fsqr_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 21,
"end_line": 1111,
"start_col": 2,
"start_line": 1059
} |
Prims.Tot | val va_wp_Fsqr2_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastHybrid",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastSqr",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.X64.FastMul",
"short_module": null
},
... | false | let va_wp_Fsqr2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64)
(va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ ->
va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let (in... | val va_wp_Fsqr2_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_Fsqr2_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let tmp_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0)
in
let inA_in:(va_int_range 0 18446744073709551615) =
va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0)
in
l... | {
"checked_file": "Vale.Curve25519.X64.FastWide.fsti.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X... | [
"total"
] | [
"Prims.bool",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.Def.Words_s.nat64",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRsp",
"Vale.X64.Stack_i.init_rsp",
"Vale.X64.Decls.va_get_stac... | [] | module Vale.Curve25519.X64.FastWide
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Vale.X64.Quick... | false | true | Vale.Curve25519.X64.FastWide.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_Fsqr2_stdcall
(win: bool)
(tmp_b inA_b dst_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.Curve25519.X64.FastWide.va_wp_Fsqr2_stdcall | {
"file_name": "obj/Vale.Curve25519.X64.FastWide.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
win: Prims.bool ->
tmp_b: Vale.X64.Memory.buffer64 ->
inA_b: Vale.X64.Memory.buffer64 ->
dst_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 21,
"end_line": 1488,
"start_col": 2,
"start_line": 1426
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let pairwise_disjoint (g g' g'':env) =
disjoint g g' /\ disjoint g' g'' /\ disjoint g g'' | let pairwise_disjoint (g g' g'': env) = | false | null | false | disjoint g g' /\ disjoint g' g'' /\ disjoint g g'' | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Prims.l_and",
"Pulse.Typing.Env.disjoint",
"Prims.logical"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pairwise_disjoint : g: Pulse.Typing.Env.env -> g': Pulse.Typing.Env.env -> g'': Pulse.Typing.Env.env -> Prims.logical | [] | Pulse.Typing.Env.pairwise_disjoint | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> g': Pulse.Typing.Env.env -> g'': Pulse.Typing.Env.env -> Prims.logical | {
"end_col": 52,
"end_line": 88,
"start_col": 2,
"start_line": 88
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let env_extends (g1 g2:env) =
exists g3. extends_with g1 g2 g3 | let env_extends (g1 g2: env) = | false | null | false | exists g3. extends_with g1 g2 g3 | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Prims.l_Exists",
"Pulse.Typing.Env.extends_with",
"Prims.logical"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val env_extends : g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | [] | Pulse.Typing.Env.env_extends | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | {
"end_col": 34,
"end_line": 142,
"start_col": 2,
"start_line": 142
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let equal (g1 g2:env) =
fstar_env g1 == fstar_env g2 /\
bindings g1 == bindings g2 | let equal (g1 g2: env) = | false | null | false | fstar_env g1 == fstar_env g2 /\ bindings g1 == bindings g2 | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Prims.l_and",
"Prims.eq2",
"FStar.Reflection.Typing.fstar_top_env",
"Pulse.Typing.Env.fstar_env",
"Pulse.Typing.Env.env_bindings",
"Pulse.Typing.Env.bindings",
"Prims.logical"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val equal : g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | [] | Pulse.Typing.Env.equal | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | {
"end_col": 28,
"end_line": 42,
"start_col": 2,
"start_line": 41
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let extends_with (g1 g2 g3:env) =
disjoint g2 g3 /\
g1 == push_env g2 g3 | let extends_with (g1 g2 g3: env) = | false | null | false | disjoint g2 g3 /\ g1 == push_env g2 g3 | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Prims.l_and",
"Pulse.Typing.Env.disjoint",
"Prims.eq2",
"Pulse.Typing.Env.push_env",
"Prims.logical"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val extends_with : g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> g3: Pulse.Typing.Env.env -> Prims.logical | [] | Pulse.Typing.Env.extends_with | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> g3: Pulse.Typing.Env.env -> Prims.logical | {
"end_col": 22,
"end_line": 139,
"start_col": 2,
"start_line": 138
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let push_binding_def (g:env) (x:var { ~ (Set.mem x (dom g)) }) (t:typ)
= push_binding g x ppname_default t | let push_binding_def (g: env) (x: var{~(Set.mem x (dom g))}) (t: typ) = | false | null | false | push_binding g x ppname_default t | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.var",
"Prims.l_not",
"Prims.b2t",
"FStar.Set.mem",
"Pulse.Typing.Env.dom",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Env.push_binding",
"Pulse.Syntax.Base.ppname_default",
"Prims.eq2",
"FStar.Reflection.Typing.fstar_top_env",
"Pulse.Typing.Env.fstar_env"... | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | false | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val push_binding_def : g: Pulse.Typing.Env.env ->
x: Pulse.Syntax.Base.var{~(FStar.Set.mem x (Pulse.Typing.Env.dom g))} ->
t: Pulse.Syntax.Base.typ
-> g': Pulse.Typing.Env.env{Pulse.Typing.Env.fstar_env g' == Pulse.Typing.Env.fstar_env g} | [] | Pulse.Typing.Env.push_binding_def | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
g: Pulse.Typing.Env.env ->
x: Pulse.Syntax.Base.var{~(FStar.Set.mem x (Pulse.Typing.Env.dom g))} ->
t: Pulse.Syntax.Base.typ
-> g': Pulse.Typing.Env.env{Pulse.Typing.Env.fstar_env g' == Pulse.Typing.Env.fstar_env g} | {
"end_col": 37,
"end_line": 65,
"start_col": 4,
"start_line": 65
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let disjoint (g1 g2:env) =
fstar_env g1 == fstar_env g2 /\
Set.disjoint (dom g1) (dom g2) | let disjoint (g1 g2: env) = | false | null | false | fstar_env g1 == fstar_env g2 /\ Set.disjoint (dom g1) (dom g2) | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Prims.l_and",
"Prims.eq2",
"FStar.Reflection.Typing.fstar_top_env",
"Pulse.Typing.Env.fstar_env",
"FStar.Set.disjoint",
"Pulse.Syntax.Base.var",
"Pulse.Typing.Env.dom",
"Prims.logical"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val disjoint : g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | [] | Pulse.Typing.Env.disjoint | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g1: Pulse.Typing.Env.env -> g2: Pulse.Typing.Env.env -> Prims.logical | {
"end_col": 32,
"end_line": 85,
"start_col": 2,
"start_line": 84
} | |
Prims.Tot | val lookup (g: env) (x: var) : option typ | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let lookup (g:env) (x:var) : option typ =
let m = as_map g in
if Map.contains m x then Some (Map.sel m x) else None | val lookup (g: env) (x: var) : option typ
let lookup (g: env) (x: var) : option typ = | false | null | false | let m = as_map g in
if Map.contains m x then Some (Map.sel m x) else None | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.var",
"FStar.Map.contains",
"Pulse.Syntax.Base.typ",
"FStar.Pervasives.Native.Some",
"FStar.Map.sel",
"Prims.bool",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option",
"FStar.Map.t",
"Pulse.Typing.Env.as_map"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lookup (g: env) (x: var) : option typ | [] | Pulse.Typing.Env.lookup | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> x: Pulse.Syntax.Base.var
-> FStar.Pervasives.Native.option Pulse.Syntax.Base.typ | {
"end_col": 55,
"end_line": 77,
"start_col": 41,
"start_line": 75
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let singleton_env (f:_) (x:var) (t:typ) = push_binding (mk_env f) x ppname_default t | let singleton_env (f: _) (x: var) (t: typ) = | false | null | false | push_binding (mk_env f) x ppname_default t | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"FStar.Reflection.Typing.fstar_top_env",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Env.push_binding",
"Pulse.Typing.Env.mk_env",
"Pulse.Syntax.Base.ppname_default",
"Pulse.Typing.Env.env",
"Prims.eq2",
"Pulse.Typing.Env.fstar_env"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | false | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val singleton_env : f: FStar.Reflection.Typing.fstar_top_env -> x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.typ
-> g':
Pulse.Typing.Env.env
{Pulse.Typing.Env.fstar_env g' == Pulse.Typing.Env.fstar_env (Pulse.Typing.Env.mk_env f)} | [] | Pulse.Typing.Env.singleton_env | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | f: FStar.Reflection.Typing.fstar_top_env -> x: Pulse.Syntax.Base.var -> t: Pulse.Syntax.Base.typ
-> g':
Pulse.Typing.Env.env
{Pulse.Typing.Env.fstar_env g' == Pulse.Typing.Env.fstar_env (Pulse.Typing.Env.mk_env f)} | {
"end_col": 84,
"end_line": 62,
"start_col": 42,
"start_line": 62
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let contains (g:env) (x:var) = Map.contains (as_map g) x | let contains (g: env) (x: var) = | false | null | false | Map.contains (as_map g) x | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.var",
"FStar.Map.contains",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Env.as_map",
"Prims.bool"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val contains : g: Pulse.Typing.Env.env -> x: Pulse.Syntax.Base.var -> Prims.bool | [] | Pulse.Typing.Env.contains | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> x: Pulse.Syntax.Base.var -> Prims.bool | {
"end_col": 56,
"end_line": 81,
"start_col": 31,
"start_line": 81
} | |
Prims.Tot | val dom (g: env) : Set.set var | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let dom (g:env) : Set.set var = Map.domain (as_map g) | val dom (g: env) : Set.set var
let dom (g: env) : Set.set var = | false | null | false | Map.domain (as_map g) | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Pulse.Typing.Env.env",
"FStar.Map.domain",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Env.as_map",
"FStar.Set.set"
] | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val dom (g: env) : Set.set var | [] | Pulse.Typing.Env.dom | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | g: Pulse.Typing.Env.env -> FStar.Set.set Pulse.Syntax.Base.var | {
"end_col": 53,
"end_line": 38,
"start_col": 32,
"start_line": 38
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.List.Tot",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing",
"short_module": "RT"
},
{
"abbrev": true,
"fu... | false | let is_related_to (bs:list (var & typ)) (m:Map.t var typ) =
(forall (b:var & typ).{:pattern L.memP b bs}
L.memP b bs ==> (Map.contains m (fst b) /\
Map.sel m (fst b) == snd b)) /\
(forall (x:var).{:pattern Map.contains m x} Map.contains m x ==> (L.memP (x, Map.sel m x) bs)) | let is_related_to (bs: list (var & typ)) (m: Map.t var typ) = | false | null | false | (forall (b: var & typ). {:pattern L.memP b bs}
L.memP b bs ==> (Map.contains m (fst b) /\ Map.sel m (fst b) == snd b)) /\
(forall (x: var). {:pattern Map.contains m x} Map.contains m x ==> (L.memP (x, Map.sel m x) bs)) | {
"checked_file": "Pulse.Typing.Env.fsti.checked",
"dependencies": [
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Result.fsti.checked",
"FStar.Stubs.Pprint.fsti.checked",
"FStar.Set.fsti.checked",
"... | [
"total"
] | [
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.typ",
"FStar.Map.t",
"Prims.l_and",
"Prims.l_Forall",
"Prims.l_imp",
"FStar.List.Tot.Base.memP",
"Prims.b2t",
"FStar.Map.contains",
"FStar.Pervasives.Native.fst",
"Prims.eq2",
"FStar.Map.sel",
"FS... | [] | module Pulse.Typing.Env
open FStar.List.Tot
open Pulse.Syntax
module L = FStar.List.Tot
module RT = FStar.Reflection.Typing
module T = FStar.Tactics.V2
module Pprint = FStar.Stubs.Pprint
type binding = var & typ
type env_bindings = list binding
val env : Type0
val fstar_env (g:env) : RT.fstar_top_env
//
// most... | false | true | Pulse.Typing.Env.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val is_related_to : bs: Prims.list (Pulse.Syntax.Base.var * Pulse.Syntax.Base.typ) ->
m: FStar.Map.t Pulse.Syntax.Base.var Pulse.Syntax.Base.typ
-> Prims.logical | [] | Pulse.Typing.Env.is_related_to | {
"file_name": "lib/steel/pulse/Pulse.Typing.Env.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
bs: Prims.list (Pulse.Syntax.Base.var * Pulse.Syntax.Base.typ) ->
m: FStar.Map.t Pulse.Syntax.Base.var Pulse.Syntax.Base.typ
-> Prims.logical | {
"end_col": 96,
"end_line": 32,
"start_col": 2,
"start_line": 28
} | |
FStar.Pervasives.Lemma | val add5_lemma_last1: ma:scale64_last -> mb:scale64_last -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ felem_fits_last1 b mb /\ ma + mb <= 65536)
(ensures v (a +. b) == v a + v b /\ felem_fits_last1 (a +. b) (ma + mb)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let add5_lemma_last1 ma mb a b =
assert (v a + v b <= (ma + mb) * max48);
Math.Lemmas.lemma_mult_le_right max48 (ma + mb) 65536;
assert (v a + v b <= 65536 * max48);
assert_norm (65536 * max48 < pow2 64);
Math.Lemmas.small_mod (v a + v b) (pow2 64) | val add5_lemma_last1: ma:scale64_last -> mb:scale64_last -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ felem_fits_last1 b mb /\ ma + mb <= 65536)
(ensures v (a +. b) == v a + v b /\ felem_fits_last1 (a +. b) (ma + mb))
let add5_lemma_last1 ma mb a b = | false | null | true | assert (v a + v b <= (ma + mb) * max48);
Math.Lemmas.lemma_mult_le_right max48 (ma + mb) 65536;
assert (v a + v b <= 65536 * max48);
assert_norm (65536 * max48 < pow2 64);
Math.Lemmas.small_mod (v a + v b) (pow2 64) | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_last",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.small_mod",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.pow2",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Mul.op_... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 add5_lemma_last1: ma:scale64_last -> mb:scale64_last -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ felem_fits_last1 b mb /\ ma + mb <= 65536)
(ensures v (a +. b) == v a + v b /\ felem_fits_last1 (a +. b) (ma + mb)) | [] | Hacl.Spec.K256.Field52.Lemmas1.add5_lemma_last1 | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ma: Hacl.Spec.K256.Field52.Definitions.scale64_last ->
mb: Hacl.Spec.K256.Field52.Definitions.scale64_last ->
a: Lib.IntTypes.uint64 ->
b: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits_last1 a ma /\
Hacl.Spec.K256.Field52.D... | {
"end_col": 45,
"end_line": 236,
"start_col": 2,
"start_line": 232
} |
FStar.Pervasives.Lemma | val add5_lemma1: ma:scale64 -> mb:scale64 -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ felem_fits1 b mb /\ ma + mb <= 4096)
(ensures v (a +. b) == v a + v b /\ felem_fits1 (a +. b) (ma + mb)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let add5_lemma1 ma mb a b =
assert (v a + v b <= (ma + mb) * max52);
Math.Lemmas.lemma_mult_le_right max52 (ma + mb) 4096;
assert (v a + v b <= 4096 * max52);
assert_norm (4096 * max52 < pow2 64);
Math.Lemmas.small_mod (v a + v b) (pow2 64) | val add5_lemma1: ma:scale64 -> mb:scale64 -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ felem_fits1 b mb /\ ma + mb <= 4096)
(ensures v (a +. b) == v a + v b /\ felem_fits1 (a +. b) (ma + mb))
let add5_lemma1 ma mb a b = | false | null | true | assert (v a + v b <= (ma + mb) * max52);
Math.Lemmas.lemma_mult_le_right max52 (ma + mb) 4096;
assert (v a + v b <= 4096 * max52);
assert_norm (4096 * max52 < pow2 64);
Math.Lemmas.small_mod (v a + v b) (pow2 64) | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.small_mod",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.pow2",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Mul.op_Star"... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 add5_lemma1: ma:scale64 -> mb:scale64 -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ felem_fits1 b mb /\ ma + mb <= 4096)
(ensures v (a +. b) == v a + v b /\ felem_fits1 (a +. b) (ma + mb)) | [] | Hacl.Spec.K256.Field52.Lemmas1.add5_lemma1 | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ma: Hacl.Spec.K256.Field52.Definitions.scale64 ->
mb: Hacl.Spec.K256.Field52.Definitions.scale64 ->
a: Lib.IntTypes.uint64 ->
b: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits1 a ma /\
Hacl.Spec.K256.Field52.Definitions.fele... | {
"end_col": 45,
"end_line": 224,
"start_col": 2,
"start_line": 220
} |
FStar.Pervasives.Lemma | val mul15_fits_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures felem_fits5 (mul15 f c) (m1 ** mk_nat5 m2)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let mul15_fits_lemma m1 m2 f c =
let (f0,f1,f2,f3,f4) = f in
let (mf0,mf1,mf2,mf3,mf4) = m1 in
let (r0,r1,r2,r3,r4) = mul15 f c in
mul15_lemma1 mf0 m2 f0 c;
assert (felem_fits1 r0 (mf0 * m2));
mul15_lemma1 mf1 m2 f1 c;
assert (felem_fits1 r1 (mf1 * m2));
mul15_lemma1 mf2 m2 f2 c;
assert (felem_fits1 ... | val mul15_fits_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures felem_fits5 (mul15 f c) (m1 ** mk_nat5 m2))
let mul15_fits_lemma m1 m2 f c = | false | null | true | let f0, f1, f2, f3, f4 = f in
let mf0, mf1, mf2, mf3, mf4 = m1 in
let r0, r1, r2, r3, r4 = mul15 f c in
mul15_lemma1 mf0 m2 f0 c;
assert (felem_fits1 r0 (mf0 * m2));
mul15_lemma1 mf1 m2 f1 c;
assert (felem_fits1 r1 (mf1 * m2));
mul15_lemma1 mf2 m2 f2 c;
assert (felem_fits1 r2 (mf2 * m2));
mul15_lemma1 mf3 m2 f3 c;
asse... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_5",
"Prims.nat",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.b2t",
"Hacl.Spec.K256.Field52.Definitions.felem_fits_last1",
"FStar.Mul.op_Star",
"Prims.unit",
"Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma_last1... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 mul15_fits_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures felem_fits5 (mul15 f c) (m1 ** mk_nat5 m2)) | [] | Hacl.Spec.K256.Field52.Lemmas1.mul15_fits_lemma | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 ->
m2: Prims.nat ->
f: Hacl.Spec.K256.Field52.Definitions.felem5 ->
c: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits5 f m1 /\ Lib.IntTypes.v c <= m2 /\
m1 ** Hacl.Spec.K256.F... | {
"end_col": 41,
"end_line": 298,
"start_col": 32,
"start_line": 284
} |
FStar.Pervasives.Lemma | val store_felem5_lemma: f:felem5 -> Lemma
(requires felem_fits5 f (1,1,1,1,1))
(ensures as_nat4 (store_felem5 f) == as_nat5 f) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let store_felem5_lemma f =
let (f0,f1,f2,f3,f4) = f in
let o0 = f0 |. (f1 <<. 52ul) in
//assert (v (f1 <<. 52ul) == v f1 * pow2 52 % pow2 64);
Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 52;
//assert (v (f1 <<. 52ul) == v f1 % pow2 12 * pow2 52);
Math.Lemmas.cancel_mul_mod (v f1 % pow2 12) (pow... | val store_felem5_lemma: f:felem5 -> Lemma
(requires felem_fits5 f (1,1,1,1,1))
(ensures as_nat4 (store_felem5 f) == as_nat5 f)
let store_felem5_lemma f = | false | null | true | let f0, f1, f2, f3, f4 = f in
let o0 = f0 |. (f1 <<. 52ul) in
Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 52;
Math.Lemmas.cancel_mul_mod (v f1 % pow2 12) (pow2 52);
logor_disjoint f0 (f1 <<. 52ul) 52;
assert (v o0 == v f0 + (v f1 % pow2 12) * pow2 52);
let o1 = (f1 >>. 12ul) |. (f2 <<. 40ul) in
Math.Lemmas... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma_as_nat",
"FStar.Pervasives.Native.Mktuple4",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.op_Addit... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 store_felem5_lemma: f:felem5 -> Lemma
(requires felem_fits5 f (1,1,1,1,1))
(ensures as_nat4 (store_felem5 f) == as_nat5 f) | [] | Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Spec.K256.Field52.Definitions.felem5
-> FStar.Pervasives.Lemma
(requires Hacl.Spec.K256.Field52.Definitions.felem_fits5 f (1, 1, 1, 1, 1))
(ensures
Hacl.Spec.K256.Field52.Definitions.as_nat4 (Hacl.Spec.K256.Field52.store_felem5 f) ==
Hacl.Spec.K256.Field52.Definitions.as_nat5 f) | {
"end_col": 43,
"end_line": 210,
"start_col": 26,
"start_line": 175
} |
FStar.Pervasives.Lemma | val load_felem5_lemma_fits: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 = v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 = v s2 / pow2 28 + v s3 % pow2 16 * p... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let load_felem5_lemma_fits s f =
let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
assert (v f0 < pow2 52);
Math.Lemmas.lemma_div_lt (v s0) 64 52;
ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s0) 52 (v s1) 40 12;
assert (v f1 < pow2 52);
Math.Lemmas.lemma_div_lt (v s1) 64 40;
ML.lemma_a_div_b_plus_c_mod_... | val load_felem5_lemma_fits: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 = v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 = v s2 / pow2 28 + v s3 % pow2 16 * p... | false | null | true | let s0, s1, s2, s3 = s in
let f0, f1, f2, f3, f4 = f in
assert (v f0 < pow2 52);
Math.Lemmas.lemma_div_lt (v s0) 64 52;
ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s0) 52 (v s1) 40 12;
assert (v f1 < pow2 52);
Math.Lemmas.lemma_div_lt (v s1) 64 40;
ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s1) 40 (v s2) 28 24;
assert (v f2 < p... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.felem4",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.pow2",
"Prims.unit",
"FStar.Math.Lemmas.lemma_div_lt",
"Prims.o... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 load_felem5_lemma_fits: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 = v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 = v s2 / pow2 28 + v s3 % pow2 16 * p... | [] | Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_fits | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Hacl.Spec.K256.Field52.Definitions.felem4 -> f: Hacl.Spec.K256.Field52.Definitions.felem5
-> FStar.Pervasives.Lemma
(requires
(let _ = s in
(let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ s0 s1 s2 s3 = _ in
let _ = f in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #... | {
"end_col": 25,
"end_line": 74,
"start_col": 32,
"start_line": 55
} |
FStar.Pervasives.Lemma | val mul15_lemma_last1: ma:scale64_last -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ v b <= mb /\ ma * mb <= 65536)
(ensures v (a *. b) == v a * v b /\ felem_fits_last1 (a *. b) (ma * mb)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let mul15_lemma_last1 ma mb a b =
assert (v a * v b <= (ma * mb) * max48);
Math.Lemmas.lemma_mult_le_right max48 (ma * mb) 65536;
assert (v a * v b <= 65536 * max48);
assert_norm (65536 * max48 < pow2 64);
Math.Lemmas.small_mod (v a * v b) (pow2 64) | val mul15_lemma_last1: ma:scale64_last -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ v b <= mb /\ ma * mb <= 65536)
(ensures v (a *. b) == v a * v b /\ felem_fits_last1 (a *. b) (ma * mb))
let mul15_lemma_last1 ma mb a b = | false | null | true | assert (v a * v b <= (ma * mb) * max48);
Math.Lemmas.lemma_mult_le_right max48 (ma * mb) 65536;
assert (v a * v b <= 65536 * max48);
assert_norm (65536 * max48 < pow2 64);
Math.Lemmas.small_mod (v a * v b) (pow2 64) | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_last",
"Prims.nat",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.small_mod",
"FStar.Mul.op_Star",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.pow2",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 mul15_lemma_last1: ma:scale64_last -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits_last1 a ma /\ v b <= mb /\ ma * mb <= 65536)
(ensures v (a *. b) == v a * v b /\ felem_fits_last1 (a *. b) (ma * mb)) | [] | Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma_last1 | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ma: Hacl.Spec.K256.Field52.Definitions.scale64_last ->
mb: Prims.nat ->
a: Lib.IntTypes.uint64 ->
b: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits_last1 a ma /\ Lib.IntTypes.v b <= mb /\
ma * mb <= 65536)
(ensures
... | {
"end_col": 45,
"end_line": 277,
"start_col": 2,
"start_line": 273
} |
FStar.Pervasives.Lemma | val mul15_lemma1: ma:scale64 -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ v b <= mb /\ ma * mb <= 4096)
(ensures v (a *. b) == v a * v b /\ felem_fits1 (a *. b) (ma * mb)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let mul15_lemma1 ma mb a b =
assert (v a * v b <= (ma * mb) * max52);
Math.Lemmas.lemma_mult_le_right max52 (ma * mb) 4096;
assert (v a * v b <= 4096 * max52);
assert_norm (4096 * max52 < pow2 64);
Math.Lemmas.small_mod (v a * v b) (pow2 64) | val mul15_lemma1: ma:scale64 -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ v b <= mb /\ ma * mb <= 4096)
(ensures v (a *. b) == v a * v b /\ felem_fits1 (a *. b) (ma * mb))
let mul15_lemma1 ma mb a b = | false | null | true | assert (v a * v b <= (ma * mb) * max52);
Math.Lemmas.lemma_mult_le_right max52 (ma * mb) 4096;
assert (v a * v b <= 4096 * max52);
assert_norm (4096 * max52 < pow2 64);
Math.Lemmas.small_mod (v a * v b) (pow2 64) | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64",
"Prims.nat",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.small_mod",
"FStar.Mul.op_Star",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.pow2",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_LessThan",
"Hac... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 mul15_lemma1: ma:scale64 -> mb:nat -> a:uint64 -> b:uint64 -> Lemma
(requires felem_fits1 a ma /\ v b <= mb /\ ma * mb <= 4096)
(ensures v (a *. b) == v a * v b /\ felem_fits1 (a *. b) (ma * mb)) | [] | Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma1 | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
ma: Hacl.Spec.K256.Field52.Definitions.scale64 ->
mb: Prims.nat ->
a: Lib.IntTypes.uint64 ->
b: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits1 a ma /\ Lib.IntTypes.v b <= mb /\
ma * mb <= 4096)
(ensures
Lib.In... | {
"end_col": 45,
"end_line": 265,
"start_col": 2,
"start_line": 261
} |
FStar.Pervasives.Lemma | val load_felem5_lemma: s:felem4 ->
Lemma (let f = load_felem5 s in
felem_fits5 f (1,1,1,1,1) /\ as_nat5 f == as_nat4 s) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let load_felem5_lemma s =
assert_norm (v mask52 = pow2 52 - 1);
assert_norm (0xffffffffff = pow2 40 - 1);
assert_norm (0xfffffff = pow2 28 - 1);
assert_norm (0xffff = pow2 16 - 1);
let (s0,s1,s2,s3) = s in
let f0 = s0 &. mask52 in // s0 % pow2 52
mod_mask_lemma s0 52ul;
assert (v (mod_mask #U64 #SEC 52... | val load_felem5_lemma: s:felem4 ->
Lemma (let f = load_felem5 s in
felem_fits5 f (1,1,1,1,1) /\ as_nat5 f == as_nat4 s)
let load_felem5_lemma s = | false | null | true | assert_norm (v mask52 = pow2 52 - 1);
assert_norm (0xffffffffff = pow2 40 - 1);
assert_norm (0xfffffff = pow2 28 - 1);
assert_norm (0xffff = pow2 16 - 1);
let s0, s1, s2, s3 = s in
let f0 = s0 &. mask52 in
mod_mask_lemma s0 52ul;
assert (v (mod_mask #U64 #SEC 52ul) == v mask52);
assert (v f0 = v s0 % pow2 52);
let f11 ... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.felem4",
"Lib.IntTypes.uint64",
"Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_fits",
"Prims.unit",
"Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_as_nat",
"FStar.Pervasives.Native.tuple5",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"FSt... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 load_felem5_lemma: s:felem4 ->
Lemma (let f = load_felem5 s in
felem_fits5 f (1,1,1,1,1) /\ as_nat5 f == as_nat4 s) | [] | Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Hacl.Spec.K256.Field52.Definitions.felem4
-> FStar.Pervasives.Lemma
(ensures
(let f = Hacl.Spec.K256.Field52.load_felem5 s in
Hacl.Spec.K256.Field52.Definitions.felem_fits5 f (1, 1, 1, 1, 1) /\
Hacl.Spec.K256.Field52.Definitions.as_nat5 f == Hacl.Spec.K256.Field52.Definitions.as_nat4 s
... | {
"end_col": 28,
"end_line": 137,
"start_col": 2,
"start_line": 82
} |
FStar.Pervasives.Lemma | val load_felem5_lemma_as_nat: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 == v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 == v s2 / pow2 28 + v s3 % pow2 16... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let load_felem5_lemma_as_nat s f =
let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
Math.Lemmas.euclidean_division_definition (v s0) (pow2 52);
assert_norm (pow2 12 * pow2 52 = pow2 64);
assert_norm (pow2 52 * pow2 52 = pow2 40 * pow2 64);
Math.Lemmas.euclidean_division_definition (v s1) (pow2 40);
as... | val load_felem5_lemma_as_nat: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 == v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 == v s2 / pow2 28 + v s3 % pow2 16... | false | null | true | let s0, s1, s2, s3 = s in
let f0, f1, f2, f3, f4 = f in
Math.Lemmas.euclidean_division_definition (v s0) (pow2 52);
assert_norm (pow2 12 * pow2 52 = pow2 64);
assert_norm (pow2 52 * pow2 52 = pow2 40 * pow2 64);
Math.Lemmas.euclidean_division_definition (v s1) (pow2 40);
assert_norm ((pow2 24 * pow2 52) * pow2 52 = pow... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.felem4",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Hacl.Spec.K256.Field52.Definitions.as_nat5",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"FStar.Mul.op... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 load_felem5_lemma_as_nat: s:felem4 -> f:felem5 -> Lemma
(requires
(let (s0,s1,s2,s3) = s in
let (f0,f1,f2,f3,f4) = f in
v f0 == v s0 % pow2 52 /\
v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\
v f2 == v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\
v f3 == v s2 / pow2 28 + v s3 % pow2 16... | [] | Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_as_nat | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Hacl.Spec.K256.Field52.Definitions.felem4 -> f: Hacl.Spec.K256.Field52.Definitions.felem5
-> FStar.Pervasives.Lemma
(requires
(let _ = s in
(let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ s0 s1 s2 s3 = _ in
let _ = f in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #... | {
"end_col": 81,
"end_line": 41,
"start_col": 34,
"start_line": 28
} |
FStar.Pervasives.Lemma | val add5_lemma: m1:scale64_5 -> m2:scale64_5 -> f1:felem5 -> f2:felem5 -> Lemma
(requires felem_fits5 f1 m1 /\ felem_fits5 f2 m2 /\ m1 +* m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = add5 f1 f2 in
as_nat5 r == as_nat5 f1 + as_nat5 f2 /\ felem_fits5 r (m1 +* m2))) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let add5_lemma m1 m2 f1 f2 =
let (a0,a1,a2,a3,a4) = f1 in
let (b0,b1,b2,b3,b4) = f2 in
let (ma0,ma1,ma2,ma3,ma4) = m1 in
let (mb0,mb1,mb2,mb3,mb4) = m2 in
add5_lemma1 ma0 mb0 a0 b0;
add5_lemma1 ma1 mb1 a1 b1;
add5_lemma1 ma2 mb2 a2 b2;
add5_lemma1 ma3 mb3 a3 b3;
add5_lemma_last1 ma4 mb4 a4 b4 | val add5_lemma: m1:scale64_5 -> m2:scale64_5 -> f1:felem5 -> f2:felem5 -> Lemma
(requires felem_fits5 f1 m1 /\ felem_fits5 f2 m2 /\ m1 +* m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = add5 f1 f2 in
as_nat5 r == as_nat5 f1 + as_nat5 f2 /\ felem_fits5 r (m1 +* m2)))
let add5_lemma m1 m2 f1 f2 = | false | null | true | let a0, a1, a2, a3, a4 = f1 in
let b0, b1, b2, b3, b4 = f2 in
let ma0, ma1, ma2, ma3, ma4 = m1 in
let mb0, mb1, mb2, mb3, mb4 = m2 in
add5_lemma1 ma0 mb0 a0 b0;
add5_lemma1 ma1 mb1 a1 b1;
add5_lemma1 ma2 mb2 a2 b2;
add5_lemma1 ma3 mb3 a3 b3;
add5_lemma_last1 ma4 mb4 a4 b4 | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_5",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims.nat",
"Hacl.Spec.K256.Field52.Lemmas1.add5_lemma_last1",
"Prims.unit",
"Hacl.Spec.K256.Field52.Lemmas1.add5_lemma1"
] | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 add5_lemma: m1:scale64_5 -> m2:scale64_5 -> f1:felem5 -> f2:felem5 -> Lemma
(requires felem_fits5 f1 m1 /\ felem_fits5 f2 m2 /\ m1 +* m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = add5 f1 f2 in
as_nat5 r == as_nat5 f1 + as_nat5 f2 /\ felem_fits5 r (m1 +* m2))) | [] | Hacl.Spec.K256.Field52.Lemmas1.add5_lemma | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 ->
m2: Hacl.Spec.K256.Field52.Definitions.scale64_5 ->
f1: Hacl.Spec.K256.Field52.Definitions.felem5 ->
f2: Hacl.Spec.K256.Field52.Definitions.felem5
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits5 f1 m1... | {
"end_col": 32,
"end_line": 253,
"start_col": 28,
"start_line": 244
} |
FStar.Pervasives.Lemma | val store_felem5_lemma_as_nat: f:felem5 -> s:felem4 -> Lemma
(requires
(let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
felem_fits5 f (1,1,1,1,1) /\
v s0 == v f0 + v f1 % pow2 12 * pow2 52 /\
v s1 == v f1 / pow2 12 + v f2 % pow2 24 * pow2 40 /\
v s2 == v f2 / pow2 24 + v f3 % pow2 36 * pow... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let store_felem5_lemma_as_nat f s =
let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
assert (as_nat4 s == v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192);
calc (==) {
v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192;
(==) { }
v f0 + v f1 % pow2 12 * pow2 52 + (v f1 / pow2 12... | val store_felem5_lemma_as_nat: f:felem5 -> s:felem4 -> Lemma
(requires
(let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
felem_fits5 f (1,1,1,1,1) /\
v s0 == v f0 + v f1 % pow2 12 * pow2 52 /\
v s1 == v f1 / pow2 12 + v f2 % pow2 24 * pow2 40 /\
v s2 == v f2 / pow2 24 + v f3 % pow2 36 * pow... | false | null | true | let f0, f1, f2, f3, f4 = f in
let s0, s1, s2, s3 = s in
assert (as_nat4 s == v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192);
calc ( == ) {
v s0 + v s1 * pow2 64 + v s2 * pow2 128 + v s3 * pow2 192;
( == ) { () }
v f0 + (v f1 % pow2 12) * pow2 52 + (v f1 / pow2 12 + (v f2 % pow2 24) * pow2 40) * pow2 6... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Hacl.Spec.K256.Field52.Definitions.felem4",
"Lib.IntTypes.uint64",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.eq2",
"Prims.op_Addition",
"Lib.IntTypes.v",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"FStar.Mul.op_Star",
"Prims.pow2",
"Prims.Cons",... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 store_felem5_lemma_as_nat: f:felem5 -> s:felem4 -> Lemma
(requires
(let (f0,f1,f2,f3,f4) = f in
let (s0,s1,s2,s3) = s in
felem_fits5 f (1,1,1,1,1) /\
v s0 == v f0 + v f1 % pow2 12 * pow2 52 /\
v s1 == v f1 / pow2 12 + v f2 % pow2 24 * pow2 40 /\
v s2 == v f2 / pow2 24 + v f3 % pow2 36 * pow... | [] | Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma_as_nat | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Spec.K256.Field52.Definitions.felem5 -> s: Hacl.Spec.K256.Field52.Definitions.felem4
-> FStar.Pervasives.Lemma
(requires
(let _ = f in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in
let _ = s in
(let FStar.Pervasives.Native.Mktuple4 #... | {
"end_col": 5,
"end_line": 168,
"start_col": 35,
"start_line": 151
} |
FStar.Pervasives.Lemma | val mul15_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = mul15 f c in
as_nat5 r == v c * as_nat5 f /\ felem_fits5 r (m1 ** mk_nat5 m2))) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.K256.MathLemmas",
"short_module": "ML"
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.K256.Field52.Definitions",
"short_module": null
},
{
... | false | let mul15_lemma m1 m2 f c =
let (f0,f1,f2,f3,f4) = f in
let (mf0,mf1,mf2,mf3,mf4) = m1 in
let (r0,r1,r2,r3,r4) = mul15 f c in
mul15_fits_lemma m1 m2 f c;
assert (felem_fits5 (r0,r1,r2,r3,r4) (m1 ** mk_nat5 m2));
calc (==) { //as_nat5 (r0,r1,r2,r3,r4);
v r0 + v r1 * pow52 + v r2 * pow104 + v r3 * pow156... | val mul15_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = mul15 f c in
as_nat5 r == v c * as_nat5 f /\ felem_fits5 r (m1 ** mk_nat5 m2)))
let mul15_lemma m1 m2 f c = | false | null | true | let f0, f1, f2, f3, f4 = f in
let mf0, mf1, mf2, mf3, mf4 = m1 in
let r0, r1, r2, r3, r4 = mul15 f c in
mul15_fits_lemma m1 m2 f c;
assert (felem_fits5 (r0, r1, r2, r3, r4) (m1 ** mk_nat5 m2));
calc ( == ) {
v r0 + v r1 * pow52 + v r2 * pow104 + v r3 * pow156 + v r4 * pow208;
( == ) { mul15_lemma1 mf0 m2 f0 c }
v... | {
"checked_file": "Hacl.Spec.K256.Field52.Lemmas1.fst.checked",
"dependencies": [
"Spec.K256.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.K256.MathLemmas.fst.checked",
"Hacl.Spec.K256.Field52.Definitions.fst.checked",
"Hacl.Spec.K256.Field52.fst.checked",
"F... | [
"lemma"
] | [
"Hacl.Spec.K256.Field52.Definitions.scale64_5",
"Prims.nat",
"Hacl.Spec.K256.Field52.Definitions.felem5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Hacl.Spec.K256.Field52.Definitions.as_nat5",
"FStar.Pervasives.Native.Mktuple5",
"FStar.Mul.op_Star",
"Lib.IntTypes.v",
"... | [] | module Hacl.Spec.K256.Field52.Lemmas1
open FStar.Mul
open Lib.IntTypes
module S = Spec.K256
include Hacl.Spec.K256.Field52.Definitions
include Hacl.Spec.K256.Field52
module ML = Hacl.Spec.K256.MathLemmas
#set-options "--z3rlimit 100 --fuel 0 --ifuel 0"
/// Load and store functions
val load_felem5_lemma_as_nat: ... | false | false | Hacl.Spec.K256.Field52.Lemmas1.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 mul15_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma
(requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536))
(ensures (let r = mul15 f c in
as_nat5 r == v c * as_nat5 f /\ felem_fits5 r (m1 ** mk_nat5 m2))) | [] | Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma | {
"file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 ->
m2: Prims.nat ->
f: Hacl.Spec.K256.Field52.Definitions.felem5 ->
c: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(requires
Hacl.Spec.K256.Field52.Definitions.felem_fits5 f m1 /\ Lib.IntTypes.v c <= m2 /\
m1 ** Hacl.Spec.K256.F... | {
"end_col": 54,
"end_line": 328,
"start_col": 27,
"start_line": 306
} |
Prims.Tot | val get_view (#b : Type) (v:buffer b) : view (buffer_src v) b | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let get_view #b v = Buffer?.v v | val get_view (#b : Type) (v:buffer b) : view (buffer_src v) b
let get_view #b v = | false | null | false | Buffer?.v v | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"total"
] | [
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.__proj__Buffer__item__v",
"LowStar.BufferView.Up.view",
"LowStar.BufferView.Up.buffer_src"
] | [] | (*
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 | LowStar.BufferView.Up.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 get_view (#b : Type) (v:buffer b) : view (buffer_src v) b | [] | LowStar.BufferView.Up.get_view | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | v: LowStar.BufferView.Up.buffer b
-> LowStar.BufferView.Up.view (LowStar.BufferView.Up.buffer_src v) b | {
"end_col": 31,
"end_line": 30,
"start_col": 20,
"start_line": 30
} |
Prims.Tot | val buffer_src (#dest:Type) (b:buffer dest) : Type0 | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let buffer_src #b bv = Buffer?.src bv | val buffer_src (#dest:Type) (b:buffer dest) : Type0
let buffer_src #b bv = | false | null | false | Buffer?.src bv | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"total"
] | [
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.__proj__Buffer__item__src"
] | [] | (*
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 | LowStar.BufferView.Up.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 buffer_src (#dest:Type) (b:buffer dest) : Type0 | [] | LowStar.BufferView.Up.buffer_src | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | b: LowStar.BufferView.Up.buffer dest -> Type0 | {
"end_col": 37,
"end_line": 28,
"start_col": 23,
"start_line": 28
} |
Prims.Tot | val as_down_buffer (#b:Type) (v:buffer b) : Down.buffer (buffer_src v) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let as_down_buffer #b bv = Buffer?.down_buf bv | val as_down_buffer (#b:Type) (v:buffer b) : Down.buffer (buffer_src v)
let as_down_buffer #b bv = | false | null | false | Buffer?.down_buf bv | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"total"
] | [
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.__proj__Buffer__item__down_buf",
"LowStar.BufferView.Down.buffer",
"LowStar.BufferView.Up.buffer_src"
] | [] | (*
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 | LowStar.BufferView.Up.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 as_down_buffer (#b:Type) (v:buffer b) : Down.buffer (buffer_src v) | [] | LowStar.BufferView.Up.as_down_buffer | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | v: LowStar.BufferView.Up.buffer b
-> LowStar.BufferView.Down.buffer (LowStar.BufferView.Up.buffer_src v) | {
"end_col": 46,
"end_line": 29,
"start_col": 27,
"start_line": 29
} |
Prims.GTot | val upd (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: GTot HS.mem | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let upd #b h vb i x
: GTot HS.mem
= upd' #b h vb i x | val upd (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: GTot HS.mem
let upd #b h vb i x : GTot HS.mem = | false | null | false | upd' #b h vb i x | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.live",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"LowStar.BufferView.Up.upd'"
] | [] | (*
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 | LowStar.BufferView.Up.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 upd (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: GTot HS.mem | [] | LowStar.BufferView.Up.upd | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
x: b
-> Prims.GTot FStar.Monotonic.HyperStack.mem | {
"end_col": 20,
"end_line": 98,
"start_col": 4,
"start_line": 98
} |
Prims.GTot | val mk_buffer (#src:Type0)
(#dest:Type0)
(b:Down.buffer src)
(v:view src dest{
Down.length b % View?.n v == 0
})
: GTot (buffer dest) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let mk_buffer #src #dest down_buf v = Buffer src down_buf v | val mk_buffer (#src:Type0)
(#dest:Type0)
(b:Down.buffer src)
(v:view src dest{
Down.length b % View?.n v == 0
})
: GTot (buffer dest)
let mk_buffer #src #dest down_buf v = | false | null | false | Buffer src down_buf v | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"LowStar.BufferView.Down.buffer",
"LowStar.BufferView.Up.view",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"LowStar.BufferView.Down.length",
"LowStar.BufferView.Up.__proj__View__item__n",
"LowStar.BufferView.Up.Buffer",
"LowStar.BufferView.Up.buffer"
] | [] | (*
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 | LowStar.BufferView.Up.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_buffer (#src:Type0)
(#dest:Type0)
(b:Down.buffer src)
(v:view src dest{
Down.length b % View?.n v == 0
})
: GTot (buffer dest) | [] | LowStar.BufferView.Up.mk_buffer | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
b: LowStar.BufferView.Down.buffer src ->
v: LowStar.BufferView.Up.view src dest {LowStar.BufferView.Down.length b % View?.n v == 0}
-> Prims.GTot (LowStar.BufferView.Up.buffer dest) | {
"end_col": 59,
"end_line": 26,
"start_col": 38,
"start_line": 26
} |
FStar.Pervasives.Lemma | val view_indexing (#b: _) (vb:buffer b) (i:nat{i < length vb})
: Lemma (let open FStar.Mul in
let n = View?.n (get_view vb) in
n <= length vb * n - i * n) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let view_indexing #b vb i
= let n = View?.n (get_view vb) in
length_eq vb;
FStar.Math.Lemmas.distributivity_add_left (length vb) (-i) n;
let open FStar.Mul in
assert ((length vb + (-i)) * n = length vb * n + (-i) * n);
assert (length vb > i);
assert (length vb + (-i) > 0);
assert (n <= (le... | val view_indexing (#b: _) (vb:buffer b) (i:nat{i < length vb})
: Lemma (let open FStar.Mul in
let n = View?.n (get_view vb) in
n <= length vb * n - i * n)
let view_indexing #b vb i = | false | null | true | let n = View?.n (get_view vb) in
length_eq vb;
FStar.Math.Lemmas.distributivity_add_left (length vb) (- i) n;
let open FStar.Mul in
assert ((length vb + (- i)) * n = length vb * n + (- i) * n);
assert (length vb > i);
assert (length vb + (- i) > 0);
assert (n <= (length vb + (- i)) * n) | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"Prims._assert",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Prims.op_Addition",
"Prims.op_Minus",
"Prims.unit",
"Prims.op_GreaterThan",
"Prims.op_Equality",
"Prims.int",
... | [] | (*
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 | LowStar.BufferView.Up.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 view_indexing (#b: _) (vb:buffer b) (i:nat{i < length vb})
: Lemma (let open FStar.Mul in
let n = View?.n (get_view vb) in
n <= length vb * n - i * n) | [] | LowStar.BufferView.Up.view_indexing | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb}
-> FStar.Pervasives.Lemma
(ensures
(let n = View?.n (LowStar.BufferView.Up.get_view vb) in
n <= LowStar.BufferView.Up.length vb * n - i * n)) | {
"end_col": 40,
"end_line": 46,
"start_col": 3,
"start_line": 39
} |
Prims.GTot | val length (#b: _) (vb:buffer b)
: GTot nat | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let length #b vb =
Down.length (as_down_buffer vb) / View?.n (get_view vb) | val length (#b: _) (vb:buffer b)
: GTot nat
let length #b vb = | false | null | false | Down.length (as_down_buffer vb) / View?.n (get_view vb) | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.op_Division",
"LowStar.BufferView.Down.length",
"LowStar.BufferView.Up.buffer_src",
"LowStar.BufferView.Up.as_down_buffer",
"LowStar.BufferView.Up.__proj__View__item__n",
"LowStar.BufferView.Up.get_view",
"Prims.nat"
] | [] | (*
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 | LowStar.BufferView.Up.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 length (#b: _) (vb:buffer b)
: GTot nat | [] | LowStar.BufferView.Up.length | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | vb: LowStar.BufferView.Up.buffer b -> Prims.GTot Prims.nat | {
"end_col": 57,
"end_line": 33,
"start_col": 2,
"start_line": 33
} |
Prims.GTot | val sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: GTot b | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb})
: GTot b
= let v = get_view vb in
let _, es, _ = split_at_i vb i h in
View?.get v es | val sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: GTot b
let sel (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i < length vb}) : GTot b = | false | null | false | let v = get_view vb in
let _, es, _ = split_at_i vb i h in
View?.get v es | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__proj__View__item__n",
"LowStar.BufferVi... | [] | (*
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 | LowStar.BufferView.Up.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 sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: GTot b | [] | LowStar.BufferView.Up.sel | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb}
-> Prims.GTot b | {
"end_col": 19,
"end_line": 75,
"start_col": 4,
"start_line": 73
} |
FStar.Pervasives.Lemma | val lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat)
: Lemma (let open FStar.Mul in min * n + n <= max * n) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbre... | false | let lt_leq_mul (min:nat) (max:nat{min < max}) (n:nat)
: Lemma (FStar.Mul.(min * n + n <= max * n))
= let open FStar.Mul in
assert ((min * n) + n = (min + 1) * n);
assert ((min * n) + n <= max * n) | val lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat)
: Lemma (let open FStar.Mul in min * n + n <= max * n)
let lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat)
: Lemma (let open FStar.Mul in min * n + n <= max * n) = | false | null | true | let open FStar.Mul in
assert ((min * n) + n = (min + 1) * n);
assert ((min * n) + n <= max * n) | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Prims._assert",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.unit",
"Prims.op_Equality",
"Prims.int",
"Prims.l_True",
"Prims.squash",
"Prims.Nil",
"FStar.Pervasives.pattern"
] | [] | (*
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 | LowStar.BufferView.Up.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 lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat)
: Lemma (let open FStar.Mul in min * n + n <= max * n) | [] | LowStar.BufferView.Up.lt_leq_mul | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | min: Prims.nat -> max: Prims.nat{min < max} -> n: Prims.nat
-> FStar.Pervasives.Lemma (ensures min * n + n <= max * n) | {
"end_col": 38,
"end_line": 108,
"start_col": 5,
"start_line": 106
} |
Prims.GTot | val as_seq (#b: _) (h:HS.mem) (vb:buffer b)
: GTot (Seq.lseq b (length vb)) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let as_seq (#b: _) (h:HS.mem) (vb:buffer b) = as_seq' h vb 0 | val as_seq (#b: _) (h:HS.mem) (vb:buffer b)
: GTot (Seq.lseq b (length vb))
let as_seq (#b: _) (h: HS.mem) (vb: buffer b) = | false | null | false | as_seq' h vb 0 | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.as_seq'",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.length"
] | [] | (*
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 | LowStar.BufferView.Up.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 as_seq (#b: _) (h:HS.mem) (vb:buffer b)
: GTot (Seq.lseq b (length vb)) | [] | LowStar.BufferView.Up.as_seq | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b
-> Prims.GTot (FStar.Seq.Properties.lseq b (LowStar.BufferView.Up.length vb)) | {
"end_col": 60,
"end_line": 189,
"start_col": 46,
"start_line": 189
} |
FStar.Pervasives.Lemma | val upd_equal_domains (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (FStar.HyperStack.ST.equal_domains h (upd h vb i x)) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let upd_equal_domains #b h vb i x
= let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` (View?.put v x `Seq.append` suffix) in
upd_modifies h vb i x;
Down.upd_seq_spec h (as_down_buffer vb) s1 | val upd_equal_domains (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (FStar.HyperStack.ST.equal_domains h (upd h vb i x))
let upd_equal_domains #b h vb i x = | false | null | true | let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in
upd_modifies h vb i x;
Down.upd_seq_spec h (as_down_buffer vb) s1 | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.live",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__proj__Vie... | [] | (*
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 | LowStar.BufferView.Up.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 upd_equal_domains (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (FStar.HyperStack.ST.equal_domains h (upd h vb i x)) | [] | LowStar.BufferView.Up.upd_equal_domains | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
x: b
-> FStar.Pervasives.Lemma
(ensures FStar.HyperStack.ST.equal_domains h (LowStar.BufferView.Up.upd h vb i x)) | {
"end_col": 46,
"end_line": 177,
"start_col": 4,
"start_line": 172
} |
FStar.Pervasives.Lemma | val sel_upd (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(j:nat{j < length vb})
(x:b)
(h:HS.mem{live h vb})
: Lemma (if i = j
then sel (upd h vb i x) vb j == x
else sel (upd h vb i x) vb j == sel h vb j)
[SMTPat (sel (upd h vb ... | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let sel_upd #b vb i j x h =
if i=j then sel_upd1 vb i x h
else sel_upd2 vb i j x h | val sel_upd (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(j:nat{j < length vb})
(x:b)
(h:HS.mem{live h vb})
: Lemma (if i = j
then sel (upd h vb i x) vb j == x
else sel (upd h vb i x) vb j == sel h vb j)
[SMTPat (sel (upd h vb ... | false | null | true | if i = j then sel_upd1 vb i x h else sel_upd2 vb i j x h | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.live",
"Prims.op_Equality",
"Prims.l_or",
"LowStar.BufferView.Up.sel_upd1",
"Prims.bool",
"LowStar.BufferView.Up.sel_upd2",
... | [] | (*
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 | LowStar.BufferView.Up.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 sel_upd (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(j:nat{j < length vb})
(x:b)
(h:HS.mem{live h vb})
: Lemma (if i = j
then sel (upd h vb i x) vb j == x
else sel (upd h vb i x) vb j == sel h vb j)
[SMTPat (sel (upd h vb ... | [] | LowStar.BufferView.Up.sel_upd | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
j: Prims.nat{j < LowStar.BufferView.Up.length vb} ->
x: b ->
h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb}
-> FStar.Pervasives.Lemma
(ensures
((match i = j with
... | {
"end_col": 28,
"end_line": 154,
"start_col": 4,
"start_line": 153
} |
Prims.GTot | val split_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem)
: GTot
(frags:
(let src_t = buffer_src vb in
Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t)
{ let prefix, es, suffix = frags in
Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app... | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbre... | false | let split_at_i (#b: _) (vb:buffer b) (i:nat{i < length vb}) (h:HS.mem)
: GTot (frags:
(let src_t = buffer_src vb in
Seq.seq src_t *
Seq.lseq src_t (View?.n (get_view vb)) *
Seq.seq src_t){
let prefix, es, suffix = frags in
... | val split_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem)
: GTot
(frags:
(let src_t = buffer_src vb in
Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t)
{ let prefix, es, suffix = frags in
Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app... | false | null | false | let open FStar.Mul in
let s0 = Down.as_seq h (as_down_buffer vb) in
let v = get_view vb in
let n = View?.n v in
let start = i * n in
view_indexing vb i;
length_eq vb;
let prefix, suffix = Seq.split s0 start in
Seq.lemma_split s0 start;
let es, tail = Seq.split suffix n in
Seq.lemma_split suffix n;
prefix, es, tail | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Monotonic.HyperStack.mem",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Pervasives.Native.Mktuple3",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__pro... | [] | (*
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 | LowStar.BufferView.Up.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_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem)
: GTot
(frags:
(let src_t = buffer_src vb in
Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t)
{ let prefix, es, suffix = frags in
Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app... | [] | LowStar.BufferView.Up.split_at_i | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
h: FStar.Monotonic.HyperStack.mem
-> Prims.GTot
(frags:
(let src_t = LowStar.BufferView.Up.buffer_src vb in
(FStar.Seq.Base.seq src_t *
FStar.Seq.Properties.lseq src_t (View?.n (LowStar.Bu... | {
"end_col": 22,
"end_line": 69,
"start_col": 6,
"start_line": 58
} |
FStar.Pervasives.Lemma | val upd_modifies (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (ensures (modifies vb h (upd h vb i x) /\
live (upd h vb i x) vb))
[SMTPat (upd h vb i x)] | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let upd_modifies #b h vb i x
= let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` (View?.put v x `Seq.append` suffix) in
Down.upd_seq_spec h (as_down_buffer vb) s1 | val upd_modifies (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (ensures (modifies vb h (upd h vb i x) /\
live (upd h vb i x) vb))
[SMTPat (upd h vb i x)]
let upd_modifies #b h vb ... | false | null | true | let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in
Down.upd_seq_spec h (as_down_buffer vb) s1 | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.live",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__proj__Vie... | [] | (*
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 | LowStar.BufferView.Up.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 upd_modifies (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: Lemma (ensures (modifies vb h (upd h vb i x) /\
live (upd h vb i x) vb))
[SMTPat (upd h vb i x)] | [] | LowStar.BufferView.Up.upd_modifies | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
x: b
-> FStar.Pervasives.Lemma
(ensures
LowStar.BufferView.Up.modifies vb h (LowStar.BufferView.Up.upd h vb i x) /\
L... | {
"end_col": 46,
"end_line": 169,
"start_col": 4,
"start_line": 165
} |
FStar.Pervasives.Lemma | val lemma_upd_with_sel (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(h:HS.mem{live h vb})
:Lemma (upd h vb i (sel h vb i) == h) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let lemma_upd_with_sel #b vb i h =
let v = get_view vb in
let prefix, es, suffix = split_at_i vb i h in
let s0 = Down.as_seq h (as_down_buffer vb) in
let s1 = prefix `Seq.append` (View?.put v (View?.get v es) `Seq.append` suffix) in
assert (Seq.equal s0 s1);
Down.upd_seq_spec h (as_down_buffer vb) s0 | val lemma_upd_with_sel (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(h:HS.mem{live h vb})
:Lemma (upd h vb i (sel h vb i) == h)
let lemma_upd_with_sel #b vb i h = | false | null | true | let v = get_view vb in
let prefix, es, suffix = split_at_i vb i h in
let s0 = Down.as_seq h (as_down_buffer vb) in
let s1 = prefix `Seq.append` ((View?.put v (View?.get v es)) `Seq.append` suffix) in
assert (Seq.equal s0 s1);
Down.upd_seq_spec h (as_down_buffer vb) s0 | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.live",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__proj__Vie... | [] | (*
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 | LowStar.BufferView.Up.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 lemma_upd_with_sel (#b:_)
(vb:buffer b)
(i:nat{i < length vb})
(h:HS.mem{live h vb})
:Lemma (upd h vb i (sel h vb i) == h) | [] | LowStar.BufferView.Up.lemma_upd_with_sel | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb}
-> FStar.Pervasives.Lemma
(ensures LowStar.BufferView.Up.upd h vb i (LowStar.BufferView.Up.sel h vb i) == h) | {
"end_col": 44,
"end_line": 162,
"start_col": 34,
"start_line": 156
} |
Prims.GTot | val as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb})
: GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i)) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbre... | false | let rec as_seq' (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i <= length vb})
: GTot (Seq.lseq b (length vb - i))
(decreases (length vb - i))
= let v = get_view vb in
if i = length vb
then Seq.empty
else let _ = view_indexing vb i in
let _, s_i, suffix = split_at_i vb i h in
View?.... | val as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb})
: GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i))
let rec as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb})
: GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i)) = | false | null | false | let v = get_view vb in
if i = length vb
then Seq.empty
else
let _ = view_indexing vb i in
let _, s_i, suffix = split_at_i vb i h in
(View?.get v s_i) `Seq.cons` (as_seq' h vb (i + 1)) | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial",
""
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"LowStar.BufferView.Up.length",
"Prims.op_Equality",
"FStar.Seq.Base.empty",
"Prims.bool",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lse... | [] | (*
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 | LowStar.BufferView.Up.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 as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb})
: GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i)) | [
"recursion"
] | LowStar.BufferView.Up.as_seq' | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i <= LowStar.BufferView.Up.length vb}
-> Prims.GTot (FStar.Seq.Properties.lseq b (LowStar.BufferView.Up.length vb - i)) | {
"end_col": 56,
"end_line": 187,
"start_col": 3,
"start_line": 182
} |
Prims.GTot | val upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b)
: GTot (h': HS.mem{sel h' vb i == x}) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbre... | false | let upd' (#b: _)
(h:HS.mem)
(vb:buffer b{live h vb})
(i:nat{i < length vb})
(x:b)
: GTot (h':HS.mem{sel h' vb i == x})
= let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` (View?.put v x `Seq.append` ... | val upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b)
: GTot (h': HS.mem{sel h' vb i == x})
let upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b)
: GTot (h': HS.mem{sel h' vb i == x}) = | false | null | false | let open FStar.Mul in
let v = get_view vb in
let prefix, _, suffix = split_at_i vb i h in
let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in
let h' = Down.upd_seq h (as_down_buffer vb) s1 in
Down.upd_seq_spec h (as_down_buffer vb) s1;
assert (Down.as_seq h' (as_down_buffer vb) == s1);
let n = View?.n... | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"sometrivial"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"LowStar.BufferView.Up.live",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.lseq",
"LowStar.BufferView.Up.__proj__Vie... | [] | (*
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 | LowStar.BufferView.Up.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 upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b)
: GTot (h': HS.mem{sel h' vb i == x}) | [] | LowStar.BufferView.Up.upd' | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
x: b
-> Prims.GTot (h': FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.sel h' vb i == x}) | {
"end_col": 6,
"end_line": 93,
"start_col": 4,
"start_line": 83
} |
FStar.Pervasives.Lemma | val as_seq_sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: Lemma (sel h vb i == Seq.index (as_seq h vb) i) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": false... | false | let as_seq_sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb})
: Lemma (ensures (sel h vb i == Seq.index (as_seq h vb) i))
=
let rec as_seq'_as_seq' (j:nat)
(i:nat{j + i < length vb})
: Lemma (ensures (Seq.index (as_seq' h vb j) i == Seq.index (as_seq' h vb (j... | val as_seq_sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: Lemma (sel h vb i == Seq.index (as_seq h vb) i)
let as_seq_sel (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i < length vb})
: Lemma (ensures (sel h vb i == Seq.index (as_seq h vb) i)) = | false | null | true | let rec as_seq'_as_seq' (j: nat) (i: nat{j + i < length vb})
: Lemma (ensures (Seq.index (as_seq' h vb j) i == Seq.index (as_seq' h vb (j + i)) 0))
(decreases i) =
if i = 0 then () else as_seq'_as_seq' (j + 1) (i - 1)
in
as_seq'_as_seq' 0 i | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"Prims.op_Addition",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.Seq.Base.index",
"LowStar.BufferView.Up.as_seq'",
"Prims.N... | [] | (*
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 | LowStar.BufferView.Up.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val as_seq_sel (#b: _)
(h:HS.mem)
(vb:buffer b)
(i:nat{i < length vb})
: Lemma (sel h vb i == Seq.index (as_seq h vb) i) | [] | LowStar.BufferView.Up.as_seq_sel | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
h: FStar.Monotonic.HyperStack.mem ->
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb}
-> FStar.Pervasives.Lemma
(ensures
LowStar.BufferView.Up.sel h vb i == FStar.Seq.Base.index (LowStar.BufferView.Up.as_seq h vb) i
) | {
"end_col": 25,
"end_line": 201,
"start_col": 5,
"start_line": 194
} |
FStar.Pervasives.Lemma | val sel_upd2
(#b: _)
(vb: buffer b)
(i: nat{i < length vb})
(j: nat{j < length vb /\ i <> j})
(x: b)
(h: HS.mem{live h vb})
: Lemma (sel (upd h vb i x) vb j == sel h vb j) | [
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.BufferView.Down",
"short_module": "Down"
},
{
"abbrev": true,
"full_module": "LowStar.Monotonic.Buffer",
"short_module": "B"
},
{
"abbre... | false | let sel_upd2 (#b:_) (vb:buffer b)
(i:nat{i < length vb})
(j:nat{j < length vb /\ i<>j})
(x:b)
(h:HS.mem{live h vb})
: Lemma (sel (upd h vb i x) vb j == sel h vb j)
= let open FStar.Mul in
let v = get_view vb in
view_indexing vb i;
view_indexing vb j;
... | val sel_upd2
(#b: _)
(vb: buffer b)
(i: nat{i < length vb})
(j: nat{j < length vb /\ i <> j})
(x: b)
(h: HS.mem{live h vb})
: Lemma (sel (upd h vb i x) vb j == sel h vb j)
let sel_upd2
(#b: _)
(vb: buffer b)
(i: nat{i < length vb})
(j: nat{j < length vb /\... | false | null | true | let open FStar.Mul in
let v = get_view vb in
view_indexing vb i;
view_indexing vb j;
let h' = upd h vb i x in
let s0 = Down.as_seq h (as_down_buffer vb) in
let s1 = Down.as_seq h' (as_down_buffer vb) in
let min = if i < j then i else j in
let max = if i < j then j else i in
let n = View?.n v in
lt_leq_mul min max n;
le... | {
"checked_file": "LowStar.BufferView.Up.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferView.Down.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lemmas.fst.checked"
... | [
"lemma"
] | [
"LowStar.BufferView.Up.buffer",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"LowStar.BufferView.Up.length",
"Prims.l_and",
"Prims.op_disEquality",
"FStar.Monotonic.HyperStack.mem",
"LowStar.BufferView.Up.live",
"FStar.Seq.Base.seq",
"LowStar.BufferView.Up.buffer_src",
"FStar.Seq.Properties.... | [] | (*
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 | LowStar.BufferView.Up.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 sel_upd2
(#b: _)
(vb: buffer b)
(i: nat{i < length vb})
(j: nat{j < length vb /\ i <> j})
(x: b)
(h: HS.mem{live h vb})
: Lemma (sel (upd h vb i x) vb j == sel h vb j) | [] | LowStar.BufferView.Up.sel_upd2 | {
"file_name": "ulib/LowStar.BufferView.Up.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
vb: LowStar.BufferView.Up.buffer b ->
i: Prims.nat{i < LowStar.BufferView.Up.length vb} ->
j: Prims.nat{j < LowStar.BufferView.Up.length vb /\ i <> j} ->
x: b ->
h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb}
-> FStar.Pervasives.Lemma
(ensures
LowStar.BufferView.Up.s... | {
"end_col": 7,
"end_line": 150,
"start_col": 4,
"start_line": 117
} |
FStar.Tactics.Effect.Tac | val norm_fields: Prims.unit -> FStar.Tactics.Tac unit | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl () | val norm_fields: Prims.unit -> FStar.Tactics.Tac unit
let norm_fields () : FStar.Tactics.Tac unit = | true | null | false | FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl () | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [] | [
"Prims.unit",
"FStar.Tactics.V1.Derived.trefl",
"FStar.Tactics.V1.Builtins.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops"
] | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic | false | false | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val norm_fields: Prims.unit -> FStar.Tactics.Tac unit | [] | Steel.ST.C.Types.Fields.norm_fields | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | {
"end_col": 24,
"end_line": 9,
"start_col": 2,
"start_line": 8
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let nonempty_field_description_t (t: Type0) =
(fd: field_description_t t { fd.fd_empty == false }) | let nonempty_field_description_t (t: Type0) = | false | null | false | (fd: field_description_t t {fd.fd_empty == false}) | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [
"total"
] | [
"Steel.ST.C.Types.Fields.field_description_t",
"Prims.eq2",
"Prims.bool",
"Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_empty"
] | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl ()
[@@noextract_to "krml"] // primit... | false | true | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val nonempty_field_description_t : t: Type0 -> Type | [] | Steel.ST.C.Types.Fields.nonempty_field_description_t | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | t: Type0 -> Type | {
"end_col": 54,
"end_line": 27,
"start_col": 2,
"start_line": 27
} | |
Prims.Tot | val field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype = (s: string { fd.fd_def s }) | val field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype
let field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype = | false | null | false | (s: string{fd.fd_def s}) | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [
"total"
] | [
"Steel.ST.C.Types.Fields.field_description_t",
"Prims.string",
"Prims.b2t",
"Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_def",
"Prims.eqtype"
] | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl ()
[@@noextract_to "krml"] // primit... | false | false | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val field_t (#t: Type0) (fd: field_description_t t) : Tot eqtype | [] | Steel.ST.C.Types.Fields.field_t | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | fd: Steel.ST.C.Types.Fields.field_description_t t -> Prims.eqtype | {
"end_col": 94,
"end_line": 30,
"start_col": 67,
"start_line": 30
} |
Prims.Tot | val field_description_nil:field_description_t field_t_nil | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let field_description_nil : field_description_t field_t_nil = {
fd_def = (fun _ -> false);
fd_empty = true;
fd_type = (fun _ -> unit);
fd_typedef = (fun _ -> false_elim ());
} | val field_description_nil:field_description_t field_t_nil
let field_description_nil:field_description_t field_t_nil = | false | null | false | {
fd_def = (fun _ -> false);
fd_empty = true;
fd_type = (fun _ -> unit);
fd_typedef = (fun _ -> false_elim ())
} | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [
"total"
] | [
"Steel.ST.C.Types.Fields.Mkfield_description_t",
"Steel.ST.C.Types.Fields.field_t_nil",
"Prims.string",
"Prims.bool",
"Prims.unit",
"FStar.Pervasives.false_elim",
"Steel.ST.C.Types.Base.typedef"
] | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl ()
[@@noextract_to "krml"] // primit... | false | true | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val field_description_nil:field_description_t field_t_nil | [] | Steel.ST.C.Types.Fields.field_description_nil | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | Steel.ST.C.Types.Fields.field_description_t Steel.ST.C.Types.Fields.field_t_nil | {
"end_col": 40,
"end_line": 37,
"start_col": 2,
"start_line": 34
} |
Prims.Tot | val field_description_cons
(#ft #fc: Type0)
(n: string)
(#fn: Type0)
(#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn)))
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc)) | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let field_description_cons (#ft: Type0) (#fc: Type0) (n: string) (#fn: Type0) (# [ solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn))) (t: typedef ft) (fd: field_description_t fc) : Tot (nonempty_field_description_t (field_t_cons fn ft fc)) =
field_description_cons0 fn #ft #fc n t fd | val field_description_cons
(#ft #fc: Type0)
(n: string)
(#fn: Type0)
(#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn)))
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc))
let field_description_... | false | null | false | field_description_cons0 fn #ft #fc n t fd | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [
"total"
] | [
"Prims.string",
"Prims.squash",
"FStar.Pervasives.norm",
"Steel.C.Typestring.norm_typestring",
"Prims.eq2",
"Steel.C.Typestring.mk_string_t",
"Steel.ST.C.Types.Base.typedef",
"Steel.ST.C.Types.Fields.field_description_t",
"Steel.ST.C.Types.Fields.field_description_cons0",
"Steel.ST.C.Types.Fields.... | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl ()
[@@noextract_to "krml"] // primit... | false | false | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val field_description_cons
(#ft #fc: Type0)
(n: string)
(#fn: Type0)
(#[solve_mk_string_t ()] prf: squash (norm norm_typestring (mk_string_t n == fn)))
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc)) | [] | Steel.ST.C.Types.Fields.field_description_cons | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
n: Prims.string ->
t: Steel.ST.C.Types.Base.typedef ft ->
fd: Steel.ST.C.Types.Fields.field_description_t fc
-> Steel.ST.C.Types.Fields.nonempty_field_description_t (Steel.ST.C.Types.Fields.field_t_cons fn
ft
fc) | {
"end_col": 43,
"end_line": 53,
"start_col": 2,
"start_line": 53
} |
Prims.Tot | val field_description_cons0
(fn #ft #fc: Type0)
(n: string)
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc)) | [
{
"abbrev": false,
"full_module": "Steel.ST.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.C.Typestring",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.ST.C.Types.Base",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let field_description_cons0
(fn: Type0) (#ft: Type0) (#fc: Type0) (n: string) (t: typedef ft) (fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc))
= {
fd_def = (fun n' -> n = n' || fd.fd_def n');
fd_empty = false;
fd_type = (fun n' -> if n = n' then ft else fd.fd_type ... | val field_description_cons0
(fn #ft #fc: Type0)
(n: string)
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc))
let field_description_cons0
(fn #ft #fc: Type0)
(n: string)
(t: typedef ft)
(fd: field_description_t f... | false | null | false | {
fd_def = (fun n' -> n = n' || fd.fd_def n');
fd_empty = false;
fd_type = (fun n' -> if n = n' then ft else fd.fd_type n');
fd_typedef = (fun n' -> if n = n' then t else fd.fd_typedef n')
} | {
"checked_file": "Steel.ST.C.Types.Fields.fsti.checked",
"dependencies": [
"Steel.ST.Util.fsti.checked",
"Steel.ST.C.Types.Base.fsti.checked",
"Steel.C.Typestring.fsti.checked",
"prims.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,... | [
"total"
] | [
"Prims.string",
"Steel.ST.C.Types.Base.typedef",
"Steel.ST.C.Types.Fields.field_description_t",
"Steel.ST.C.Types.Fields.Mkfield_description_t",
"Steel.ST.C.Types.Fields.field_t_cons",
"Prims.op_BarBar",
"Prims.op_Equality",
"Steel.ST.C.Types.Fields.__proj__Mkfield_description_t__item__fd_def",
"Pri... | [] | module Steel.ST.C.Types.Fields
include Steel.ST.C.Types.Base
open Steel.C.Typestring
open Steel.ST.Util
[@@noextract_to "krml"] // tactic
let norm_fields () : FStar.Tactics.Tac unit =
FStar.Tactics.norm [delta_attr [`%norm_field_attr]; iota; zeta; primops];
FStar.Tactics.trefl ()
[@@noextract_to "krml"] // primit... | false | false | Steel.ST.C.Types.Fields.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val field_description_cons0
(fn #ft #fc: Type0)
(n: string)
(t: typedef ft)
(fd: field_description_t fc)
: Tot (nonempty_field_description_t (field_t_cons fn ft fc)) | [] | Steel.ST.C.Types.Fields.field_description_cons0 | {
"file_name": "lib/steel/c/Steel.ST.C.Types.Fields.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
fn: Type0 ->
n: Prims.string ->
t: Steel.ST.C.Types.Base.typedef ft ->
fd: Steel.ST.C.Types.Fields.field_description_t fc
-> Steel.ST.C.Types.Fields.nonempty_field_description_t (Steel.ST.C.Types.Fields.field_t_cons fn
ft
fc) | {
"end_col": 68,
"end_line": 48,
"start_col": 4,
"start_line": 45
} |
FStar.Pervasives.Lemma | val proj_point_to_list_lemma: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p) /\ point_eval_list (proj_point_to_list p) == p) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": ... | false | let proj_point_to_list_lemma p =
proj_point_to_list_fits p;
proj_point_to_list_eval p | val proj_point_to_list_lemma: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p) /\ point_eval_list (proj_point_to_list p) == p)
let proj_point_to_list_lemma p = | false | null | true | proj_point_to_list_fits p;
proj_point_to_list_eval p | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Spec.P256.PointOps.proj_point",
"Hacl.Spec.P256.PrecompTable.proj_point_to_list_eval",
"Prims.unit",
"Hacl.Spec.P256.PrecompTable.proj_point_to_list_fits"
] | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 proj_point_to_list_lemma: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p) /\ point_eval_list (proj_point_to_list p) == p) | [] | Hacl.Spec.P256.PrecompTable.proj_point_to_list_lemma | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Spec.P256.PointOps.proj_point
-> FStar.Pervasives.Lemma
(ensures
Hacl.Spec.P256.PrecompTable.point_inv_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) /\
Hacl.Spec.P256.PrecompTable.point_eval_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) ==
p) | {
"end_col": 27,
"end_line": 120,
"start_col": 2,
"start_line": 119
} |
FStar.Pervasives.Lemma | val proj_point_to_list_eval: p:S.proj_point ->
Lemma (point_eval_list (proj_point_to_list p) == p) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let proj_point_to_list_eval p =
let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
proj_point_to_list_sub p;
felem_to_list_lemma_eval pxM;
felem_to_list_lemma_eval pyM;
felem_to_list_lemma_eval pzM;
SM.lemma_to_from_mont_id px;
SM.lemma_to_from_... | val proj_point_to_list_eval: p:S.proj_point ->
Lemma (point_eval_list (proj_point_to_list p) == p)
let proj_point_to_list_eval p = | false | null | true | let px, py, pz = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
proj_point_to_list_sub p;
felem_to_list_lemma_eval pxM;
felem_to_list_lemma_eval pyM;
felem_to_list_lemma_eval pzM;
SM.lemma_to_from_mont_id px;
SM.lemma_to_from_mont_id py;
SM.lemma_to_from_mont_id pz | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Spec.P256.PointOps.proj_point",
"Prims.nat",
"Hacl.Spec.P256.Montgomery.lemma_to_from_mont_id",
"Prims.unit",
"Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval",
"Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub",
"Spec.P256.PointOps.felem",
"Hacl.Spec.P256.Montgomery.to_mont"
] | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 proj_point_to_list_eval: p:S.proj_point ->
Lemma (point_eval_list (proj_point_to_list p) == p) | [] | Hacl.Spec.P256.PrecompTable.proj_point_to_list_eval | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Spec.P256.PointOps.proj_point
-> FStar.Pervasives.Lemma
(ensures
Hacl.Spec.P256.PrecompTable.point_eval_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p) ==
p) | {
"end_col": 29,
"end_line": 115,
"start_col": 31,
"start_line": 103
} |
FStar.Pervasives.Lemma | val proj_point_to_list_fits: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p)) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let proj_point_to_list_fits p =
let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
proj_point_to_list_sub p;
felem_to_list_lemma_eval pxM;
felem_to_list_lemma_eval pyM;
felem_to_list_lemma_eval pzM | val proj_point_to_list_fits: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p))
let proj_point_to_list_fits p = | false | null | true | let px, py, pz = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
proj_point_to_list_sub p;
felem_to_list_lemma_eval pxM;
felem_to_list_lemma_eval pyM;
felem_to_list_lemma_eval pzM | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Spec.P256.PointOps.proj_point",
"Prims.nat",
"Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval",
"Prims.unit",
"Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub",
"Spec.P256.PointOps.felem",
"Hacl.Spec.P256.Montgomery.to_mont"
] | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 proj_point_to_list_fits: p:S.proj_point ->
Lemma (point_inv_list (proj_point_to_list p)) | [] | Hacl.Spec.P256.PrecompTable.proj_point_to_list_fits | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Spec.P256.PointOps.proj_point
-> FStar.Pervasives.Lemma
(ensures
Hacl.Spec.P256.PrecompTable.point_inv_list (Hacl.Spec.P256.PrecompTable.proj_point_to_list p)) | {
"end_col": 30,
"end_line": 97,
"start_col": 31,
"start_line": 88
} |
Prims.Tot | val list_as_felem4 (f: felem_list) : lseq uint64 4 | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let list_as_felem4 (f:felem_list) : lseq uint64 4 =
Seq.seq_of_list f <: lseq uint64 4 | val list_as_felem4 (f: felem_list) : lseq uint64 4
let list_as_felem4 (f: felem_list) : lseq uint64 4 = | false | null | false | Seq.seq_of_list f <: lseq uint64 4 | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"total"
] | [
"Hacl.Spec.P256.PrecompTable.felem_list",
"FStar.Seq.Properties.seq_of_list",
"Lib.IntTypes.uint64",
"Lib.Sequence.lseq"
] | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 list_as_felem4 (f: felem_list) : lseq uint64 4 | [] | Hacl.Spec.P256.PrecompTable.list_as_felem4 | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | f: Hacl.Spec.P256.PrecompTable.felem_list -> Lib.Sequence.lseq Lib.IntTypes.uint64 4 | {
"end_col": 36,
"end_line": 33,
"start_col": 2,
"start_line": 33
} |
Prims.Tot | val create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4 | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let create4_lseq (x0 x1 x2 x3:uint64) : lseq uint64 4 =
let l = [x0; x1; x2; x3] in
assert_norm (FL.length l = 4);
Seq.seq_of_list l | val create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4
let create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4 = | false | null | false | let l = [x0; x1; x2; x3] in
assert_norm (FL.length l = 4);
Seq.seq_of_list l | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"total"
] | [
"Lib.IntTypes.uint64",
"FStar.Seq.Properties.seq_of_list",
"Prims.unit",
"FStar.Pervasives.assert_norm",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.List.Tot.Base.length",
"Prims.list",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Prims.Cons",
"Prims.Nil",
"Li... | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 create4_lseq (x0 x1 x2 x3: uint64) : lseq uint64 4 | [] | Hacl.Spec.P256.PrecompTable.create4_lseq | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
x0: Lib.IntTypes.uint64 ->
x1: Lib.IntTypes.uint64 ->
x2: Lib.IntTypes.uint64 ->
x3: Lib.IntTypes.uint64
-> Lib.Sequence.lseq Lib.IntTypes.uint64 4 | {
"end_col": 19,
"end_line": 20,
"start_col": 55,
"start_line": 17
} |
FStar.Pervasives.Lemma | val create4_lemma (x0 x1 x2 x3:uint64) :
Lemma (let s = create4_lseq x0 x1 x2 x3 in
s.[0] == x0 /\ s.[1] == x1 /\ s.[2] == x2 /\ s.[3] == x3) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let create4_lemma x0 x1 x2 x3 =
Seq.elim_of_list [x0; x1; x2; x3] | val create4_lemma (x0 x1 x2 x3:uint64) :
Lemma (let s = create4_lseq x0 x1 x2 x3 in
s.[0] == x0 /\ s.[1] == x1 /\ s.[2] == x2 /\ s.[3] == x3)
let create4_lemma x0 x1 x2 x3 = | false | null | true | Seq.elim_of_list [x0; x1; x2; x3] | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Lib.IntTypes.uint64",
"FStar.Seq.Properties.elim_of_list",
"Prims.Cons",
"Prims.Nil",
"Prims.unit"
] | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 create4_lemma (x0 x1 x2 x3:uint64) :
Lemma (let s = create4_lseq x0 x1 x2 x3 in
s.[0] == x0 /\ s.[1] == x1 /\ s.[2] == x2 /\ s.[3] == x3) | [] | Hacl.Spec.P256.PrecompTable.create4_lemma | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
x0: Lib.IntTypes.uint64 ->
x1: Lib.IntTypes.uint64 ->
x2: Lib.IntTypes.uint64 ->
x3: Lib.IntTypes.uint64
-> FStar.Pervasives.Lemma
(ensures
(let s = Hacl.Spec.P256.PrecompTable.create4_lseq x0 x1 x2 x3 in
s.[ 0 ] == x0 /\ s.[ 1 ] == x1 /\ s.[ 2 ] == x2 /\ s.[ 3 ] == x3)) | {
"end_col": 35,
"end_line": 27,
"start_col": 2,
"start_line": 27
} |
FStar.Pervasives.Lemma | val felem_to_list_lemma_eval: x:S.felem ->
Lemma (BD.bn_v (list_as_felem4 (felem_to_list x)) == x) | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let felem_to_list_lemma_eval x =
let x0 = x % pow2 64 in
let x1 = x / pow2 64 % pow2 64 in
let x2 = x / pow2 128 % pow2 64 in
let x3 = x / pow2 192 % pow2 64 in
let bn_x = list_as_felem4 (felem_to_list x) in
create4_lemma (u64 x0) (u64 x1) (u64 x2) (u64 x3);
assert (v bn_x.[0] == x0 /\ v bn_x.[1] == x1 /\... | val felem_to_list_lemma_eval: x:S.felem ->
Lemma (BD.bn_v (list_as_felem4 (felem_to_list x)) == x)
let felem_to_list_lemma_eval x = | false | null | true | let x0 = x % pow2 64 in
let x1 = x / pow2 64 % pow2 64 in
let x2 = x / pow2 128 % pow2 64 in
let x3 = x / pow2 192 % pow2 64 in
let bn_x = list_as_felem4 (felem_to_list x) in
create4_lemma (u64 x0) (u64 x1) (u64 x2) (u64 x3);
assert (v bn_x.[ 0 ] == x0 /\ v bn_x.[ 1 ] == x1 /\ v bn_x.[ 2 ] == x2 /\ v bn_x.[ 3 ] == x3);... | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Spec.P256.PointOps.felem",
"Hacl.Spec.PrecompBaseTable256.lemma_decompose_nat256_as_four_u64",
"Prims.unit",
"Prims._assert",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Hacl.Spec.Bignum.Definitions.bn_v",
"Lib.IntTypes.U64",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.pow2",
"Hacl... | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 felem_to_list_lemma_eval: x:S.felem ->
Lemma (BD.bn_v (list_as_felem4 (felem_to_list x)) == x) | [] | Hacl.Spec.P256.PrecompTable.felem_to_list_lemma_eval | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | x: Spec.P256.PointOps.felem
-> FStar.Pervasives.Lemma
(ensures
Hacl.Spec.Bignum.Definitions.bn_v (Hacl.Spec.P256.PrecompTable.list_as_felem4 (Hacl.Spec.P256.PrecompTable.felem_to_list
x)) ==
x) | {
"end_col": 68,
"end_line": 49,
"start_col": 32,
"start_line": 39
} |
FStar.Pervasives.Lemma | val proj_point_to_list_sub: p:S.proj_point -> Lemma
(let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
let px_list = felem_to_list pxM in
let py_list = felem_to_list pyM in
let pz_list = felem_to_list pzM in
let p_list = FL.(px_list @ py_list @ pz_li... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable",
"short_module": "SPT"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "FL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": ... | false | let proj_point_to_list_sub p =
let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
let px_list = felem_to_list pxM in
let py_list = felem_to_list pyM in
let pz_list = felem_to_list pzM in
FL.append_assoc px_list py_list pz_list;
SPT.seq_of_list_app... | val proj_point_to_list_sub: p:S.proj_point -> Lemma
(let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
let px_list = felem_to_list pxM in
let py_list = felem_to_list pyM in
let pz_list = felem_to_list pzM in
let p_list = FL.(px_list @ py_list @ pz_li... | false | null | true | let px, py, pz = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
let px_list = felem_to_list pxM in
let py_list = felem_to_list pyM in
let pz_list = felem_to_list pzM in
FL.append_assoc px_list py_list pz_list;
SPT.seq_of_list_append_lemma px_list py_list;
SPT.seq_of_list_append_le... | {
"checked_file": "Hacl.Spec.P256.PrecompTable.fst.checked",
"dependencies": [
"Spec.P256.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.PrecompBaseTable256.fsti.checked",
"Hacl.Spec.PrecompBaseTable.fsti.checked",
"Hacl.Spec.P256.... | [
"lemma"
] | [
"Spec.P256.PointOps.proj_point",
"Prims.nat",
"Hacl.Spec.PrecompBaseTable.seq_of_list_append_lemma",
"Lib.IntTypes.uint64",
"FStar.List.Tot.Base.op_At",
"Prims.unit",
"FStar.List.Tot.Properties.append_assoc",
"Hacl.Spec.P256.PrecompTable.felem_list",
"Hacl.Spec.P256.PrecompTable.felem_to_list",
"S... | [] | module Hacl.Spec.P256.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
open Hacl.Impl.P256.Point
module S = Spec.P256
module SM = Hacl.Spec.P256.Montgomery
module BD = Hacl.Spec.Bignum.Definitions
module FL = FStar.List.Tot
module SPT = Hacl.Spec.PrecompBaseTable
#set-options "--z3rlimit 50 --fuel 0 ... | false | false | Hacl.Spec.P256.PrecompTable.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 proj_point_to_list_sub: p:S.proj_point -> Lemma
(let (px, py, pz) = p in
let pxM = SM.to_mont px in
let pyM = SM.to_mont py in
let pzM = SM.to_mont pz in
let px_list = felem_to_list pxM in
let py_list = felem_to_list pyM in
let pz_list = felem_to_list pzM in
let p_list = FL.(px_list @ py_list @ pz_li... | [] | Hacl.Spec.P256.PrecompTable.proj_point_to_list_sub | {
"file_name": "code/ecdsap256/Hacl.Spec.P256.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Spec.P256.PointOps.proj_point
-> FStar.Pervasives.Lemma
(ensures
(let _ = p in
(let FStar.Pervasives.Native.Mktuple3 #_ #_ #_ px py pz = _ in
let pxM = Hacl.Spec.P256.Montgomery.to_mont px in
let pyM = Hacl.Spec.P256.Montgomery.to_mont py in
let pzM = Hacl.Spec.P256.... | {
"end_col": 61,
"end_line": 82,
"start_col": 30,
"start_line": 71
} |
Prims.Tot | [@@ FStar.Tactics.Typeclasses.tcinstance]
val bn_of_mont (t: limb_t) (x: mont t) : BN.bn t | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | instance bn_of_mont (t:limb_t) (x:mont t) : BN.bn t = x.bn | [@@ FStar.Tactics.Typeclasses.tcinstance]
val bn_of_mont (t: limb_t) (x: mont t) : BN.bn t
[@@ FStar.Tactics.Typeclasses.tcinstance]
let bn_of_mont (t: limb_t) (x: mont t) : BN.bn t = | false | null | false | x.bn | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.Montgomery.mont",
"Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn",
"Hacl.Bignum.bn"
] | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"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 | [@@ FStar.Tactics.Typeclasses.tcinstance]
val bn_of_mont (t: limb_t) (x: mont t) : BN.bn t | [] | Hacl.Bignum.Montgomery.bn_of_mont | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> x: Hacl.Bignum.Montgomery.mont t -> Hacl.Bignum.bn t | {
"end_col": 58,
"end_line": 184,
"start_col": 54,
"start_line": 184
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | let bn_precomp_r2_mod_n_st (t:limb_t) (len:BN.meta_len t) =
nBits:size_t{v nBits / bits t < v len}
-> n:lbignum t len
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h res /\ disjoint n res)
(ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\
as_seq h1 res == S.bn_precomp_r... | let bn_precomp_r2_mod_n_st (t: limb_t) (len: BN.meta_len t) = | false | null | false | nBits: size_t{v nBits / bits t < v len} -> n: lbignum t len -> res: lbignum t len
-> Stack unit
(requires fun h -> live h n /\ live h res /\ disjoint n res)
(ensures
fun h0 _ h1 ->
modifies (loc res) h0 h1 /\ as_seq h1 res == S.bn_precomp_r2_mod_n (v nBits) (as_seq h0 n)
) | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_LessThan",
"Prims.op_Division",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Lib.IntTypes.bits",
"Hacl.Bignum.Definitions.lbignum",
"Prims.unit",
"FStar.Monotonic.HyperStack.... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_precomp_r2_mod_n_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 67,
"end_line": 42,
"start_col": 4,
"start_line": 35
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Bignum.ModInvLimb",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": false,
... | false | let bn_check_modulus_st (t:limb_t) (len:BN.meta_len t) =
n:lbignum t len ->
Stack (limb t)
(requires fun h -> live h n)
(ensures fun h0 r h1 -> modifies0 h0 h1 /\
r == S.bn_check_modulus (as_seq h0 n)) | let bn_check_modulus_st (t: limb_t) (len: BN.meta_len t) = | false | null | false | n: lbignum t len
-> Stack (limb t)
(requires fun h -> live h n)
(ensures fun h0 r h1 -> modifies0 h0 h1 /\ r == S.bn_check_modulus (as_seq h0 n)) | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"FStar.Monotonic.HyperStack.mem",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Prims.l_and",
"Lib.Buffer.modifies0",
"Prims.eq2",
"Hacl.Spec.Bignum.Definitions.limb",
"Hacl.Spe... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_check_modulus_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.Montgomery.bn_check_modulus_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 42,
"end_line": 26,
"start_col": 2,
"start_line": 22
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | let bn_mont_reduction_st (t:limb_t) (len:size_t{0 < v len /\ v len + v len <= max_size_t}) =
n:lbignum t len
-> mu:limb t
-> c:lbignum t (len +! len)
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h c /\ live h res /\
disjoint res n /\ disjoint res c /\ disjoint n c)
(ens... | let bn_mont_reduction_st (t: limb_t) (len: size_t{0 < v len /\ v len + v len <= max_size_t}) = | false | null | false | n: lbignum t len -> mu: limb t -> c: lbignum t (len +! len) -> res: lbignum t len
-> Stack unit
(requires
fun h ->
live h n /\ live h c /\ live h res /\ disjoint res n /\ disjoint res c /\ disjoint n c)
(ensures
fun h0 _ h1 ->
modifies (loc res |+| loc c) h0 h1 /\
... | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Lib.IntTypes.max_size_t",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Defi... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_reduction_st : t: Hacl.Bignum.Definitions.limb_t ->
len:
Lib.IntTypes.size_t
{ 0 < Lib.IntTypes.v len /\
Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t }
-> Type0 | [] | Hacl.Bignum.Montgomery.bn_mont_reduction_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
t: Hacl.Bignum.Definitions.limb_t ->
len:
Lib.IntTypes.size_t
{ 0 < Lib.IntTypes.v len /\
Lib.IntTypes.v len + Lib.IntTypes.v len <= Lib.IntTypes.max_size_t }
-> Type0 | {
"end_col": 72,
"end_line": 83,
"start_col": 4,
"start_line": 74
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | let bn_to_mont_st (t:limb_t) (nLen:BN.meta_len t) =
n:lbignum t nLen
-> mu:limb t
-> r2:lbignum t nLen
-> a:lbignum t nLen
-> aM:lbignum t nLen ->
Stack unit
(requires fun h ->
live h n /\ live h r2 /\ live h a /\ live h aM /\
disjoint a r2 /\ disjoint a n /\ disjoint a aM /\
disjoint n r2 /... | let bn_to_mont_st (t: limb_t) (nLen: BN.meta_len t) = | false | null | false | n: lbignum t nLen -> mu: limb t -> r2: lbignum t nLen -> a: lbignum t nLen -> aM: lbignum t nLen
-> Stack unit
(requires
fun h ->
live h n /\ live h r2 /\ live h a /\ live h aM /\ disjoint a r2 /\ disjoint a n /\
disjoint a aM /\ disjoint n r2 /\ disjoint n aM /\ disjoint r2 aM)
... | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Lib.Buffer.disjoint",
"Lib.Buffer.modifies",
"Lib.Buffer.loc",
"Pr... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_to_mont_st : t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.Montgomery.bn_to_mont_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> nLen: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 79,
"end_line": 103,
"start_col": 4,
"start_line": 92
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | let bn_from_mont_st (t:limb_t) (len:BN.meta_len t) =
n:lbignum t len
-> mu:limb t
-> aM:lbignum t len
-> a:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h a /\ live h aM /\
disjoint aM a /\ disjoint aM n /\ disjoint a n)
(ensures fun h0 _ h1 -> modifies (loc a) h0 h1 /\
as... | let bn_from_mont_st (t: limb_t) (len: BN.meta_len t) = | false | null | false | n: lbignum t len -> mu: limb t -> aM: lbignum t len -> a: lbignum t len
-> Stack unit
(requires
fun h -> live h n /\ live h a /\ live h aM /\ disjoint aM a /\ disjoint aM n /\ disjoint a n
)
(ensures
fun h0 _ h1 ->
modifies (loc a) h0 h1 /\ as_seq h1 a == S.bn_from_mont (as... | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Lib.Buffer.disjoint",
"Lib.Buffer.modifies",
"Lib.Buffer.loc",
"Pr... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_from_mont_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.Montgomery.bn_from_mont_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 66,
"end_line": 121,
"start_col": 4,
"start_line": 112
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "S"
},
{
"abbrev": true,
"full_... | false | let bn_mont_sqr_st (t:limb_t) (len:BN.meta_len t) =
n:lbignum t len
-> mu:limb t
-> aM:lbignum t len
-> resM:lbignum t len ->
Stack unit
(requires fun h ->
live h aM /\ live h resM /\ live h n /\
disjoint resM n /\ eq_or_disjoint aM resM)
(ensures fun h0 _ h1 -> modifies (loc resM) h0 h1 /\
... | let bn_mont_sqr_st (t: limb_t) (len: BN.meta_len t) = | false | null | false | n: lbignum t len -> mu: limb t -> aM: lbignum t len -> resM: lbignum t len
-> Stack unit
(requires
fun h -> live h aM /\ live h resM /\ live h n /\ disjoint resM n /\ eq_or_disjoint aM resM)
(ensures
fun h0 _ h1 ->
modifies (loc resM) h0 h1 /\
as_seq h1 resM == S.bn_mon... | {
"checked_file": "Hacl.Bignum.Montgomery.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModInvLimb.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.f... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Lib.Buffer.disjoint",
"Lib.Buffer.eq_or_disjoint",
"Lib.Buffer.modif... | [] | module Hacl.Bignum.Montgomery
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module S = Hacl.Spec.Bignum.Montgomery
module BN = Hacl.Bignum
include Hacl.Bignum.ModInvLimb
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_ex... | false | false | Hacl.Bignum.Montgomery.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mont_sqr_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.Montgomery.bn_mont_sqr_st | {
"file_name": "code/bignum/Hacl.Bignum.Montgomery.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 68,
"end_line": 162,
"start_col": 4,
"start_line": 153
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.