file_name stringlengths 5 52 | name stringlengths 4 95 | original_source_type stringlengths 0 23k | source_type stringlengths 9 23k | source_definition stringlengths 9 57.9k | source dict | source_range dict | file_context stringlengths 0 721k | dependencies dict | opens_and_abbrevs listlengths 2 94 | vconfig dict | interleaved bool 1
class | verbose_type stringlengths 1 7.42k | effect stringclasses 118
values | effect_flags listlengths 0 2 | mutual_with listlengths 0 11 | ideal_premises listlengths 0 236 | proof_features listlengths 0 1 | is_simple_lemma bool 2
classes | is_div bool 2
classes | is_proof bool 2
classes | is_simply_typed bool 2
classes | is_type bool 2
classes | partial_definition stringlengths 5 3.99k | completed_definiton stringlengths 1 1.63M | isa_cross_project_example bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_val | val avalue_val : m: Steel.FractionalAnchoredPreorder.avalue s -> Steel.Preorder.vhist p | let avalue_val (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue #v #p s)
= snd m | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 11,
"end_line": 418,
"start_col": 0,
"start_line": 414
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | m: Steel.FractionalAnchoredPreorder.avalue s -> Steel.Preorder.vhist p | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"FStar.Pervasives.Native.snd",
"Steel.FractionalAnchoredPreorder.permission",
"Steel.Preorder.vhist"
] | [] | false | false | false | false | false | let avalue_val (#v: Type) (#p: preorder v) (#s: anchor_rel p) (m: avalue #v #p s) =
| snd m | false | |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of | val compat_with_any_anchor_of : v1: v -> v0: Steel.FractionalAnchoredPreorder.avalue anchors -> Prims.logical | let compat_with_any_anchor_of (#v:Type)
(#p:preorder v)
(#anchors:anchor_rel p)
(v1:v)
(v0:avalue anchors)
= forall (anchor:v). anchor `anchors` curval (avalue_val v0) ==>
anchor `... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 504,
"start_col": 0,
"start_line": 498
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v1: v -> v0: Steel.FractionalAnchoredPreorder.avalue anchors -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_Forall",
"Prims.l_imp",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Prims.logical"
] | [] | false | false | false | false | true | let compat_with_any_anchor_of
(#v: Type)
(#p: preorder v)
(#anchors: anchor_rel p)
(v1: v)
(v0: avalue anchors)
=
| forall (anchor: v). anchor `anchors` (curval (avalue_val v0)) ==> anchor `anchors` v1 | false | |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.full_knowledge | val full_knowledge (#v #p #s: _) (kn: knowledge #v #p s) : prop | val full_knowledge (#v #p #s: _) (kn: knowledge #v #p s) : prop | let full_knowledge #v #p #s (kn:knowledge #v #p s)
: prop
= match kn with
| Nothing -> False
| Owns km -> avalue_owns km | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 31,
"end_line": 396,
"start_col": 0,
"start_line": 392
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | kn: Steel.FractionalAnchoredPreorder.knowledge s -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.knowledge",
"Prims.l_False",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.avalue_owns",
"Prims.prop"
] | [] | false | false | false | false | true | let full_knowledge #v #p #s (kn: knowledge #v #p s) : prop =
| match kn with
| Nothing -> False
| Owns km -> avalue_owns km | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_composable | val avalue_composable (#v: Type) (#p: preorder v) (#anchors: anchor_rel p) (av0 av1: avalue anchors)
: prop | val avalue_composable (#v: Type) (#p: preorder v) (#anchors: anchor_rel p) (av0 av1: avalue anchors)
: prop | let avalue_composable (#v:Type) (#p:preorder v) (#anchors:anchor_rel p)
(av0 av1: avalue anchors)
: prop
= let (p0, v0) = av0 in
let (p1, v1) = av1 in
permission_composable p0 p1 /\
(if not (has_some_ownership p0)
&& not (has_some_ownership p1)
then p_composable _ v0 ... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 5,
"end_line": 232,
"start_col": 0,
"start_line": 182
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
av0: Steel.FractionalAnchoredPreorder.avalue anchors ->
av1: Steel.FractionalAnchoredPreorder.avalue anchors
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.permission",
"Steel.Preorder.vhist",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.permission_composable",
"Prims.op_AmpAmp",
"Prims.op_Negation",... | [] | false | false | false | false | true | let avalue_composable (#v: Type) (#p: preorder v) (#anchors: anchor_rel p) (av0 av1: avalue anchors)
: prop =
| let p0, v0 = av0 in
let p1, v1 = av1 in
permission_composable p0 p1 /\
(if not (has_some_ownership p0) && not (has_some_ownership p1)
then p_composable _ v0 v1
else
if not (has_some_ownership p0) && has_some_ownership p1
then
(if has_nonzero p1
then v1 `extends` v0
else
(asse... | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.composable_assoc_r | val composable_assoc_r (#v: _) (#p: preorder v) (#s: anchor_rel p) (k0 k1 k2: knowledge s)
: Lemma (requires composable k0 k1 /\ composable (compose k0 k1) k2)
(ensures
composable k1 k2 /\ composable k0 (compose k1 k2) /\
compose k0 (compose k1 k2) == compose (compose k0 k1) k2) | val composable_assoc_r (#v: _) (#p: preorder v) (#s: anchor_rel p) (k0 k1 k2: knowledge s)
: Lemma (requires composable k0 k1 /\ composable (compose k0 k1) k2)
(ensures
composable k1 k2 /\ composable k0 (compose k1 k2) /\
compose k0 (compose k1 k2) == compose (compose k0 k1) k2) | let composable_assoc_r #v (#p:preorder v) (#s:anchor_rel p)
(k0 k1 k2: knowledge s)
: Lemma
(requires composable k0 k1 /\
composable (compose k0 k1) k2)
(ensures
composable k1 k2 /\
composable k0 (compose k1 k2) /\
compose k0 ... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 346,
"start_col": 0,
"start_line": 330
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
k0: Steel.FractionalAnchoredPreorder.knowledge s ->
k1: Steel.FractionalAnchoredPreorder.knowledge s ->
k2: Steel.FractionalAnchoredPreorder.knowledge s
-> FStar.Pervasives.Lemma
(requires
Steel.FractionalAnchoredPreorder.composable k0 k1 /\
Steel.FractionalAnchoredPreorder.composab... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.knowledge",
"FStar.Pervasives.Native.Mktuple3",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.compose_avalue_assoc_r",
"Prims.unit",
"Prims.l_and",
"Steel.Fracti... | [] | false | false | true | false | false | let composable_assoc_r
#v
(#p: preorder v)
(#s: anchor_rel p)
(k0: knowledge s)
(k1: knowledge s)
(k2: knowledge s)
: Lemma (requires composable k0 k1 /\ composable (compose k0 k1) k2)
(ensures
composable k1 k2 /\ composable k0 (compose k1 k2) /\
compose k0 ... | match k0, k1, k2 with
| Nothing, _, _ | _, Nothing, _ | _, _, Nothing -> ()
| Owns m0, Owns m1, Owns m2 -> compose_avalue_assoc_r m0 m1 m2 | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.compose | val compose
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(k0: knowledge s)
(k1: knowledge s {composable k0 k1})
: knowledge s | val compose
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(k0: knowledge s)
(k1: knowledge s {composable k0 k1})
: knowledge s | let compose (#v:Type) (#p:preorder v) (#s:anchor_rel p)
(k0:knowledge s)
(k1:knowledge s{ composable k0 k1 })
: knowledge s
= match k0, k1 with
| Nothing, k
| k, Nothing -> k
| Owns m, Owns m' ->
Owns (compose_avalue m m') | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 32,
"end_line": 328,
"start_col": 0,
"start_line": 319
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
k0: Steel.FractionalAnchoredPreorder.knowledge s ->
k1:
Steel.FractionalAnchoredPreorder.knowledge s
{Steel.FractionalAnchoredPreorder.composable k0 k1}
-> Steel.FractionalAnchoredPreorder.knowledge s | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.knowledge",
"Steel.FractionalAnchoredPreorder.composable",
"FStar.Pervasives.Native.Mktuple2",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.Owns",
"Steel.Fraction... | [] | false | false | false | false | false | let compose
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(k0: knowledge s)
(k1: knowledge s {composable k0 k1})
: knowledge s =
| match k0, k1 with
| Nothing, k | k, Nothing -> k
| Owns m, Owns m' -> Owns (compose_avalue m m') | false |
Spec.Agile.HPKE.fst | Spec.Agile.HPKE.sealAuthPSK | val sealAuthPSK:
cs:ciphersuite_not_export_only
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> info:info_s cs
-> aad:AEAD.ad (aead_alg_of cs)
-> pt:AEAD.plain (aead_alg_of cs)
-> psk:psk_s cs
-> psk_id:psk_id_s cs
-> skS:key_dh_secret_s cs ->
Tot (option (key_dh_public_s... | val sealAuthPSK:
cs:ciphersuite_not_export_only
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> info:info_s cs
-> aad:AEAD.ad (aead_alg_of cs)
-> pt:AEAD.plain (aead_alg_of cs)
-> psk:psk_s cs
-> psk_id:psk_id_s cs
-> skS:key_dh_secret_s cs ->
Tot (option (key_dh_public_s... | let sealAuthPSK cs skE pkR info aad pt psk psk_id skS =
match setupAuthPSKS cs skE pkR info psk psk_id skS with
| None -> None
| Some (enc, ctx) ->
match context_seal cs ctx aad pt with
| None -> None
| Some (_, ct) -> Some (enc, ct) | {
"file_name": "specs/Spec.Agile.HPKE.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 36,
"end_line": 611,
"start_col": 0,
"start_line": 605
} | module Spec.Agile.HPKE
open FStar.Mul
open Lib.IntTypes
open Lib.RawIntTypes
open Lib.Sequence
open Lib.ByteSequence
module DH = Spec.Agile.DH
module AEAD = Spec.Agile.AEAD
module Hash = Spec.Agile.Hash
module HKDF = Spec.Agile.HKDF
let pow2_61 : _:unit{pow2 61 == 2305843009213693952} = assert_norm(pow2 61 == 23058... | {
"checked_file": "/",
"dependencies": [
"Spec.P256.fst.checked",
"Spec.Loops.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"Spec.Agile.HKDF.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"Spec.Agile.DH.fst.checked",
"Spec.Agile.AEAD.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Spec.Agile.HKDF",
"short_module": "HKDF"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Spec.Agile.AEAD",
"short_module": "AEAD"
},
{
"abbrev": true,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
cs: Spec.Agile.HPKE.ciphersuite_not_export_only ->
skE: Spec.Agile.HPKE.key_dh_secret_s cs ->
pkR: Spec.Agile.DH.serialized_point (Spec.Agile.HPKE.kem_dh_of_cs cs) ->
info: Spec.Agile.HPKE.info_s cs ->
aad: Spec.Agile.AEAD.ad (Spec.Agile.HPKE.aead_alg_of cs) ->
pt: Spec.Agile.AEAD.plain (Spec.A... | Prims.Tot | [
"total"
] | [] | [
"Spec.Agile.HPKE.ciphersuite_not_export_only",
"Spec.Agile.HPKE.key_dh_secret_s",
"Spec.Agile.DH.serialized_point",
"Spec.Agile.HPKE.kem_dh_of_cs",
"Spec.Agile.HPKE.info_s",
"Spec.Agile.AEAD.ad",
"Spec.Agile.HPKE.aead_alg_of",
"Spec.Agile.AEAD.plain",
"Spec.Agile.HPKE.psk_s",
"Spec.Agile.HPKE.psk_... | [] | false | false | false | false | false | let sealAuthPSK cs skE pkR info aad pt psk psk_id skS =
| match setupAuthPSKS cs skE pkR info psk psk_id skS with
| None -> None
| Some (enc, ctx) ->
match context_seal cs ctx aad pt with
| None -> None
| Some (_, ct) -> Some (enc, ct) | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.compose_avalue | val compose_avalue
(#v: Type)
(#p: preorder v)
(#anchors: anchor_rel p)
(m0: avalue anchors)
(m1: avalue anchors {avalue_composable m0 m1})
: avalue anchors | val compose_avalue
(#v: Type)
(#p: preorder v)
(#anchors: anchor_rel p)
(m0: avalue anchors)
(m1: avalue anchors {avalue_composable m0 m1})
: avalue anchors | let compose_avalue (#v:Type) (#p:preorder v) (#anchors:anchor_rel p)
(m0:avalue anchors)
(m1:avalue anchors { avalue_composable m0 m1 } )
: avalue anchors
= let p0, v0 = m0 in
let p1, v1 = m1 in
let p12 = compose_permissions p0 p1 in
let v12 = p_op _ v0 v1 in
... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 13,
"end_line": 255,
"start_col": 0,
"start_line": 247
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m0: Steel.FractionalAnchoredPreorder.avalue anchors ->
m1:
Steel.FractionalAnchoredPreorder.avalue anchors
{Steel.FractionalAnchoredPreorder.avalue_composable m0 m1}
-> Steel.FractionalAnchoredPreorder.avalue anchors | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.avalue_composable",
"Steel.FractionalAnchoredPreorder.permission",
"Steel.Preorder.vhist",
"FStar.Pervasives.Native.Mktuple2",
"Steel.Preorder.hist",
... | [] | false | false | false | false | false | let compose_avalue
(#v: Type)
(#p: preorder v)
(#anchors: anchor_rel p)
(m0: avalue anchors)
(m1: avalue anchors {avalue_composable m0 m1})
: avalue anchors =
| let p0, v0 = m0 in
let p1, v1 = m1 in
let p12 = compose_permissions p0 p1 in
let v12 = p_op _ v0 v1 in
p12, v12 | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.composable | val composable (#v: _) (#p: preorder v) (#a: anchor_rel p) : symrel (knowledge a) | val composable (#v: _) (#p: preorder v) (#a: anchor_rel p) : symrel (knowledge a) | let composable #v (#p:preorder v) (#a:anchor_rel p)
: symrel (knowledge a)
= fun (k0 k1:knowledge a) ->
match k0, k1 with
| Nothing, _
| _, Nothing -> True
| Owns m, Owns m' ->
avalue_composable m m' | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 28,
"end_line": 243,
"start_col": 0,
"start_line": 235
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.PCM.symrel (Steel.FractionalAnchoredPreorder.knowledge a) | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.knowledge",
"FStar.Pervasives.Native.Mktuple2",
"Prims.l_True",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.avalue_composable",
"Prims.prop",
"FStar.PCM.symrel... | [] | false | false | false | false | false | let composable #v (#p: preorder v) (#a: anchor_rel p) : symrel (knowledge a) =
| fun (k0: knowledge a) (k1: knowledge a) ->
match k0, k1 with
| Nothing, _ | _, Nothing -> True
| Owns m, Owns m' -> avalue_composable m m' | false |
Spec.Agile.HPKE.fst | Spec.Agile.HPKE.auth_encap | val auth_encap:
cs:ciphersuite
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> skS:key_dh_secret_s cs ->
Tot (option (key_kem_s cs & key_dh_public_s cs)) | val auth_encap:
cs:ciphersuite
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> skS:key_dh_secret_s cs ->
Tot (option (key_kem_s cs & key_dh_public_s cs)) | let auth_encap cs skE pkR skS =
let _ = allow_inversion Spec.Agile.DH.algorithm in
match DH.secret_to_public (kem_dh_of_cs cs) skE with
| None -> None
| Some pkE ->
match DH.dh (kem_dh_of_cs cs) skE pkR with
| None -> None
| Some es ->
match DH.dh (kem_dh_of_cs cs) skS pkR with
| None ->... | {
"file_name": "specs/Spec.Agile.HPKE.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 35,
"end_line": 265,
"start_col": 0,
"start_line": 235
} | module Spec.Agile.HPKE
open FStar.Mul
open Lib.IntTypes
open Lib.RawIntTypes
open Lib.Sequence
open Lib.ByteSequence
module DH = Spec.Agile.DH
module AEAD = Spec.Agile.AEAD
module Hash = Spec.Agile.Hash
module HKDF = Spec.Agile.HKDF
let pow2_61 : _:unit{pow2 61 == 2305843009213693952} = assert_norm(pow2 61 == 23058... | {
"checked_file": "/",
"dependencies": [
"Spec.P256.fst.checked",
"Spec.Loops.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"Spec.Agile.HKDF.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"Spec.Agile.DH.fst.checked",
"Spec.Agile.AEAD.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Spec.Agile.HKDF",
"short_module": "HKDF"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Spec.Agile.AEAD",
"short_module": "AEAD"
},
{
"abbrev": true,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
cs: Spec.Agile.HPKE.ciphersuite ->
skE: Spec.Agile.HPKE.key_dh_secret_s cs ->
pkR: Spec.Agile.DH.serialized_point (Spec.Agile.HPKE.kem_dh_of_cs cs) ->
skS: Spec.Agile.HPKE.key_dh_secret_s cs
-> FStar.Pervasives.Native.option (Spec.Agile.HPKE.key_kem_s cs *
Spec.Agile.HPKE.key_dh_public_s cs) | Prims.Tot | [
"total"
] | [] | [
"Spec.Agile.HPKE.ciphersuite",
"Spec.Agile.HPKE.key_dh_secret_s",
"Spec.Agile.DH.serialized_point",
"Spec.Agile.HPKE.kem_dh_of_cs",
"Spec.Agile.DH.secret_to_public",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.tuple2",
"Spec.Agile.HPKE.key_kem_s",
"Spec.Agile.HPKE.key_dh_public_s",
"S... | [] | false | false | false | false | false | let auth_encap cs skE pkR skS =
| let _ = allow_inversion Spec.Agile.DH.algorithm in
match DH.secret_to_public (kem_dh_of_cs cs) skE with
| None -> None
| Some pkE ->
match DH.dh (kem_dh_of_cs cs) skE pkR with
| None -> None
| Some es ->
match DH.dh (kem_dh_of_cs cs) skS pkR with
| None -> None
| Some ss ->
let esm = prepare_dh ... | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_update_value | val avalue_update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ s value value})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} | val avalue_update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ s value value})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} | let avalue_update_value (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(value:v {
curval (avalue_val m) `p` value /\
s value value
})
:... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 44,
"end_line": 472,
"start_col": 0,
"start_line": 459
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
value:
v
{ p (Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val m)) value /\
s value value }
-> m':
Steel.FractionalAnchoredPreorder.avalue s
{ Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Steel.FractionalAnchoredPreorder.avalue_update",
"Steel.Preorder.extend_history",
"Steel.Preord... | [] | false | false | false | false | false | let avalue_update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ s value value})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} =
| let v = avalue_val m in
avalue_update m (extend_history v value) | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.perm_ok | val perm_ok : a: Steel.FractionalAnchoredPreorder.avalue s -> Prims.prop | let perm_ok #v #p #s (a:avalue #v #p s)
= perm_opt_composable (fst (avalue_perm a)) None | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 50,
"end_line": 575,
"start_col": 0,
"start_line": 574
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Steel.FractionalAnchoredPreorder.avalue s -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.perm_opt_composable",
"FStar.Pervasives.Native.fst",
"FStar.Pervasives.Native.option",
"Steel.FractionalPermission.perm",
"Steel.FractionalAnchoredPreo... | [] | false | false | false | false | true | let perm_ok #v #p #s (a: avalue #v #p s) =
| perm_opt_composable (fst (avalue_perm a)) None | false | |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.pcm | val pcm (#v #p #s: _) : pcm (knowledge #v #p s) | val pcm (#v #p #s: _) : pcm (knowledge #v #p s) | let pcm #v #p #s : pcm (knowledge #v #p s) = {
p = p0;
comm = (fun k0 k1 ->
match k0, k1 with
| Nothing, _
| _, Nothing -> ()
| Owns m0, Owns m1 ->
compose_avalue_comm m0 m1);
assoc = (fun k0 k1 k2 -> composable_assoc_l k0 k1 k2);
assoc_r = (fun... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 1,
"end_line": 411,
"start_col": 0,
"start_line": 399
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | FStar.PCM.pcm (Steel.FractionalAnchoredPreorder.knowledge s) | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"FStar.PCM.Mkpcm",
"Steel.FractionalAnchoredPreorder.knowledge",
"Steel.FractionalAnchoredPreorder.p0",
"FStar.PCM.__proj__Mkpcm'__item__composable",
"FStar.Pervasives.Native.Mktuple2",
"Steel.FractionalAnchoredPreorder.avalue",... | [] | false | false | false | false | false | let pcm #v #p #s : pcm (knowledge #v #p s) =
| {
p = p0;
comm
=
(fun k0 k1 ->
match k0, k1 with
| Nothing, _ | _, Nothing -> ()
| Owns m0, Owns m1 -> compose_avalue_comm m0 m1);
assoc = (fun k0 k1 k2 -> composable_assoc_l k0 k1 k2);
assoc_r = (fun k0 k1 k2 -> composable_assoc_r k0 k1 k2);
is_unit = (fun _ -> ());
refine = full_know... | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.update_value | val update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: v{avalue_owns m /\ (curval (avalue_val m)) `p` v1 /\ s v1 v1})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_value m v1)) | val update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: v{avalue_owns m /\ (curval (avalue_val m)) `p` v1 /\ s v1 v1})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_value m v1)) | let update_value (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(v1:v {
avalue_owns m /\ //if you have full ownership of key
curval (avalue_val m) `p` v1 /\ //you can update it wrt the preorder only
... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 67,
"end_line": 485,
"start_col": 0,
"start_line": 475
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
v1:
v
{ Steel.FractionalAnchoredPreorder.avalue_owns m /\
p (Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val m)) v1 /\ s v1 v1 }
-> FStar.PCM.frame_preserving_upd Steel.FractionalAnchoredPreorder.pcm
(Steel.Fract... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_owns",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"FStar.Pervasives.coerce_eq",
"FStar.PCM.frame_p... | [] | false | false | false | false | false | let update_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: v{avalue_owns m /\ (curval (avalue_val m)) `p` v1 /\ s v1 v1})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_value m v1)) =
| coerce_eq () (update_hist m (extend_history (avalue_val m) v1)) | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.smul_add_felem5_eval_lemma | val smul_add_felem5_eval_lemma:
#w:lanes
-> #m1:scale32
-> #m2:scale32_5
-> #m3:scale64_5{m3 +* m1 *^ m2 <=* s64x5 4096}
-> u1:uint64xN w{felem_fits1 u1 m1}
-> f2:felem5 w{felem_fits5 f2 m2}
-> acc1:felem_wide5 w{felem_wide_fits5 acc1 m3} ->
Lemma (fas_nat5 (smul_add_felem5 #w u1 f2 acc1) ==
map2 ... | val smul_add_felem5_eval_lemma:
#w:lanes
-> #m1:scale32
-> #m2:scale32_5
-> #m3:scale64_5{m3 +* m1 *^ m2 <=* s64x5 4096}
-> u1:uint64xN w{felem_fits1 u1 m1}
-> f2:felem5 w{felem_fits5 f2 m2}
-> acc1:felem_wide5 w{felem_wide_fits5 acc1 m3} ->
Lemma (fas_nat5 (smul_add_felem5 #w u1 f2 acc1) ==
map2 ... | let smul_add_felem5_eval_lemma #w #m1 #m2 #m3 u1 f2 acc1 =
let tmp =
map2 #nat #nat #nat (fun a b -> a + b) (fas_nat5 acc1)
(map2 #nat #nat #nat (fun a b -> a * b) (uint64xN_v u1) (fas_nat5 f2)) in
FStar.Classical.forall_intro (smul_add_felem5_eval_lemma_i #w #m1 #m2 #m3 u1 f2 acc1);
eq_intro (fas_nat5 ... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 57,
"end_line": 359,
"start_col": 0,
"start_line": 354
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
u1: Hacl.Spec.Poly1305.Field32xN.uint64xN w {Hacl.Spec.Poly1305.Field32xN.felem_fits1 u1 m1} ->
f2: Hacl.Spec.Poly1305.Field32xN.felem5 w {Hacl.Spec.Poly1305.Field32xN.felem_fits5 f2 m2} ->
acc1:
Hacl.Spec.Poly1305.Field32xN.felem_wide5 w
{Hacl.Spec.Poly1305.Field32xN.felem_wide_fits5 acc1 m3... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.lanes",
"Hacl.Spec.Poly1305.Field32xN.scale32",
"Hacl.Spec.Poly1305.Field32xN.scale32_5",
"Hacl.Spec.Poly1305.Field32xN.scale64_5",
"Hacl.Spec.Poly1305.Field32xN.op_Less_Equals_Star",
"Hacl.Spec.Poly1305.Field32xN.op_Plus_Star",
"Hacl.Spec.Poly1305.Field32xN.op_Star_Hat",
... | [] | false | false | true | false | false | let smul_add_felem5_eval_lemma #w #m1 #m2 #m3 u1 f2 acc1 =
| let tmp =
map2 #nat
#nat
#nat
(fun a b -> a + b)
(fas_nat5 acc1)
(map2 #nat #nat #nat (fun a b -> a * b) (uint64xN_v u1) (fas_nat5 f2))
in
FStar.Classical.forall_intro (smul_add_felem5_eval_lemma_i #w #m1 #m2 #m3 u1 f2 acc1);
eq_intro (fas_nat5 (smul_add_felem5 #w u1 f2 acc1)) tmp | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_anchored_update | val avalue_anchored_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {(curval value) `compat_with_any_anchor_of` m})
: avalue s | val avalue_anchored_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {(curval value) `compat_with_any_anchor_of` m})
: avalue s | let avalue_anchored_update (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(value:vhist p {
curval value `compat_with_any_anchor_of` m
})
: av... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 24,
"end_line": 517,
"start_col": 0,
"start_line": 509
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
value:
Steel.Preorder.vhist p
{Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of (Steel.Preorder.curval value) m}
-> Steel.FractionalAnchoredPreorder.avalue s | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.Preorder.vhist",
"Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of",
"Steel.Preorder.curval",
"FStar.Pervasives.Native.Mktuple2",
"Steel.FractionalAnchoredPreorder.perm... | [] | false | false | false | false | false | let avalue_anchored_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {(curval value) `compat_with_any_anchor_of` m})
: avalue s =
| avalue_perm m, value | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.sub_wrap64 | val sub_wrap64 (x y: nat64) : nat64 | val sub_wrap64 (x y: nat64) : nat64 | let sub_wrap64 (x:nat64) (y:nat64) : nat64 = sub_wrap x y | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 64,
"end_line": 21,
"start_col": 7,
"start_line": 21
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Def.Words_s.nat64 -> y: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.sub_wrap",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let sub_wrap64 (x y: nat64) : nat64 =
| sub_wrap x y | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.compose_avalue_assoc_l | val compose_avalue_assoc_l
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2)})
: Lemma
(avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2 /\
compose_avalu... | val compose_avalue_assoc_l
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2)})
: Lemma
(avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2 /\
compose_avalu... | let compose_avalue_assoc_l (#v:Type) (#p:preorder v) (#s:anchor_rel p)
(m0: avalue s)
(m1: avalue s)
(m2: avalue s {
avalue_composable m1 m2 /\
avalue_composable m0 (compose_avalue ... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 289,
"start_col": 0,
"start_line": 278
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m0: Steel.FractionalAnchoredPreorder.avalue s ->
m1: Steel.FractionalAnchoredPreorder.avalue s ->
m2:
Steel.FractionalAnchoredPreorder.avalue s
{ Steel.FractionalAnchoredPreorder.avalue_composable m1 m2 /\
Steel.FractionalAnchoredPreorder.avalue_composable m0
(Steel.Frac... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_composable",
"Steel.FractionalAnchoredPreorder.compose_avalue",
"Steel.FractionalAnchoredPreorder.avalue_composable_assoc_l",
"Pr... | [] | true | false | true | false | false | let compose_avalue_assoc_l
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2)})
: Lemma
(avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2 /\
compose_avalu... | avalue_composable_assoc_l m0 m1 m2 | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.iand32 | val iand32 (a b: nat32) : nat32 | val iand32 (a b: nat32) : nat32 | let iand32 (a:nat32) (b:nat32) : nat32 = iand a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 56,
"end_line": 23,
"start_col": 7,
"start_line": 23
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> b: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.iand",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let iand32 (a b: nat32) : nat32 =
| iand a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.sub_wrap32 | val sub_wrap32 (x y: nat32) : nat32 | val sub_wrap32 (x y: nat32) : nat32 | let sub_wrap32 (x:nat32) (y:nat32) : nat32 = sub_wrap x y | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 64,
"end_line": 20,
"start_col": 7,
"start_line": 20
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Def.Words_s.nat32 -> y: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.sub_wrap",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let sub_wrap32 (x y: nat32) : nat32 =
| sub_wrap x y | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.mul_felem5_lemma | val mul_felem5_lemma:
f1:tup64_5{tup64_fits5 f1 (3, 3, 3, 3, 3)}
-> r:tup64_5{tup64_fits5 r (2, 2, 2, 2, 2)} ->
Lemma
(let (f10, f11, f12, f13, f14) = f1 in
let (r0, r1, r2, r3, r4) = r in
(as_pfelem5 f1) `pfmul` (as_pfelem5 r) ==
(v f10 * as_nat5 (r0, r1, r2, r3, r4) +
v f11 * as_nat5 (r4 *... | val mul_felem5_lemma:
f1:tup64_5{tup64_fits5 f1 (3, 3, 3, 3, 3)}
-> r:tup64_5{tup64_fits5 r (2, 2, 2, 2, 2)} ->
Lemma
(let (f10, f11, f12, f13, f14) = f1 in
let (r0, r1, r2, r3, r4) = r in
(as_pfelem5 f1) `pfmul` (as_pfelem5 r) ==
(v f10 * as_nat5 (r0, r1, r2, r3, r4) +
v f11 * as_nat5 (r4 *... | let mul_felem5_lemma f1 r =
let (f10, f11, f12, f13, f14) = f1 in
let (r0, r1, r2, r3, r4) = r in
mul_felem5_lemma_4 f1 r;
FStar.Math.Lemmas.lemma_mod_mul_distr_l (as_nat5 f1) (as_nat5 r) prime;
FStar.Math.Lemmas.lemma_mod_mul_distr_r (as_nat5 f1 % prime) (as_nat5 r) prime | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 80,
"end_line": 653,
"start_col": 0,
"start_line": 648
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
f1:
Hacl.Spec.Poly1305.Field32xN.tup64_5
{Hacl.Spec.Poly1305.Field32xN.tup64_fits5 f1 (3, 3, 3, 3, 3)} ->
r:
Hacl.Spec.Poly1305.Field32xN.tup64_5
{Hacl.Spec.Poly1305.Field32xN.tup64_fits5 r (2, 2, 2, 2, 2)}
-> FStar.Pervasives.Lemma
(ensures
(let _ = f1 in
(let F... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.tup64_5",
"Hacl.Spec.Poly1305.Field32xN.tup64_fits5",
"FStar.Pervasives.Native.Mktuple5",
"Prims.nat",
"Lib.IntTypes.uint64",
"FStar.Math.Lemmas.lemma_mod_mul_distr_r",
"Prims.op_Modulus",
"Hacl.Spec.Poly1305.Field32xN.as_nat5",
"Hacl.Spec.Poly1305.Vec.prime",
"Prims.... | [] | false | false | true | false | false | let mul_felem5_lemma f1 r =
| let f10, f11, f12, f13, f14 = f1 in
let r0, r1, r2, r3, r4 = r in
mul_felem5_lemma_4 f1 r;
FStar.Math.Lemmas.lemma_mod_mul_distr_l (as_nat5 f1) (as_nat5 r) prime;
FStar.Math.Lemmas.lemma_mod_mul_distr_r (as_nat5 f1 % prime) (as_nat5 r) prime | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.add_wrap32 | val add_wrap32 (x y: nat32) : nat32 | val add_wrap32 (x y: nat32) : nat32 | let add_wrap32 (x:nat32) (y:nat32) : nat32 = add_wrap x y | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 64,
"end_line": 18,
"start_col": 7,
"start_line": 18
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Def.Words_s.nat32 -> y: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.add_wrap",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let add_wrap32 (x y: nat32) : nat32 =
| add_wrap x y | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.compose_avalue_assoc_r | val compose_avalue_assoc_r
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2})
: Lemma
(avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2) /\
compose_avalu... | val compose_avalue_assoc_r
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2})
: Lemma
(avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2) /\
compose_avalu... | let compose_avalue_assoc_r (#v:Type) (#p:preorder v) (#s:anchor_rel p)
(m0: avalue s)
(m1: avalue s)
(m2: avalue s{
avalue_composable m0 m1 /\
avalue_composable (compose_avalue m0 m... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 314,
"start_col": 0,
"start_line": 303
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m0: Steel.FractionalAnchoredPreorder.avalue s ->
m1: Steel.FractionalAnchoredPreorder.avalue s ->
m2:
Steel.FractionalAnchoredPreorder.avalue s
{ Steel.FractionalAnchoredPreorder.avalue_composable m0 m1 /\
Steel.FractionalAnchoredPreorder.avalue_composable (Steel.FractionalAnchoredP... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_composable",
"Steel.FractionalAnchoredPreorder.compose_avalue",
"Steel.FractionalAnchoredPreorder.avalue_composable_assoc_r",
"Pr... | [] | true | false | true | false | false | let compose_avalue_assoc_r
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m0 m1: avalue s)
(m2: avalue s {avalue_composable m0 m1 /\ avalue_composable (compose_avalue m0 m1) m2})
: Lemma
(avalue_composable m1 m2 /\ avalue_composable m0 (compose_avalue m1 m2) /\
compose_avalu... | avalue_composable_assoc_r m0 m1 m2 | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.add_wrap64 | val add_wrap64 (x y: nat64) : nat64 | val add_wrap64 (x y: nat64) : nat64 | let add_wrap64 (x:nat64) (y:nat64) : nat64 = add_wrap x y | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 64,
"end_line": 19,
"start_col": 7,
"start_line": 19
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Def.Words_s.nat64 -> y: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.add_wrap",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let add_wrap64 (x y: nat64) : nat64 =
| add_wrap x y | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ior64 | val ior64 (a b: nat64) : nat64 | val ior64 (a b: nat64) : nat64 | let ior64 (a:nat64) (b:nat64) : nat64 = ior a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 32,
"start_col": 7,
"start_line": 32
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> b: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.ior",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let ior64 (a b: nat64) : nat64 =
| ior a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ixor64 | val ixor64 (a b: nat64) : nat64 | val ixor64 (a b: nat64) : nat64 | let ixor64 (a:nat64) (b:nat64) : nat64 = ixor a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 56,
"end_line": 31,
"start_col": 7,
"start_line": 31
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> b: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.ixor",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let ixor64 (a b: nat64) : nat64 =
| ixor a b | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_update | val avalue_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {s (curval value) (curval value)})
: avalue s | val avalue_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {s (curval value) (curval value)})
: avalue s | let avalue_update (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(value:vhist p { s (curval value) (curval value) })
: avalue s
= let p, _ = avalue_perm m in
let p' = p, Some (curval value) in
(p', value) | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 15,
"end_line": 430,
"start_col": 0,
"start_line": 422
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
value: Steel.Preorder.vhist p {s (Steel.Preorder.curval value) (Steel.Preorder.curval value)}
-> Steel.FractionalAnchoredPreorder.avalue s | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.Preorder.vhist",
"Steel.Preorder.curval",
"FStar.Pervasives.Native.option",
"Steel.FractionalPermission.perm",
"FStar.Pervasives.Native.Mktuple2",
"Steel.FractionalAnchoredPreo... | [] | false | false | false | false | false | let avalue_update
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: vhist p {s (curval value) (curval value)})
: avalue s =
| let p, _ = avalue_perm m in
let p' = p, Some (curval value) in
(p', value) | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.snapshot | val snapshot (#v: Type0) (#p: preorder v) (#s: anchor_rel p) (a: avalue s) : avalue s | val snapshot (#v: Type0) (#p: preorder v) (#s: anchor_rel p) (a: avalue s) : avalue s | let snapshot (#v:Type0) (#p:preorder v) (#s:anchor_rel p)
(a: avalue s)
: avalue s
= (None, None), avalue_val a | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 572,
"start_col": 0,
"start_line": 569
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Steel.FractionalAnchoredPreorder.avalue s -> Steel.FractionalAnchoredPreorder.avalue s | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"FStar.Pervasives.Native.Mktuple2",
"Steel.FractionalAnchoredPreorder.permission",
"Steel.Preorder.vhist",
"FStar.Pervasives.Native.option",
"Steel.FractionalPermission.perm",
"FStar.... | [] | false | false | false | false | false | let snapshot (#v: Type0) (#p: preorder v) (#s: anchor_rel p) (a: avalue s) : avalue s =
| (None, None), avalue_val a | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ior32 | val ior32 (a b: nat32) : nat32 | val ior32 (a b: nat32) : nat32 | let ior32 (a:nat32) (b:nat32) : nat32 = ior a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 25,
"start_col": 7,
"start_line": 25
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> b: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.ior",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let ior32 (a b: nat32) : nat32 =
| ior a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.inot32 | val inot32 (a: nat32) : nat32 | val inot32 (a: nat32) : nat32 | let inot32 (a:nat32) : nat32 = inot a | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 44,
"end_line": 26,
"start_col": 7,
"start_line": 26
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.inot",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let inot32 (a: nat32) : nat32 =
| inot a | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishl32 | val ishl32 (a: nat32) (s: int) : nat32 | val ishl32 (a: nat32) (s: int) : nat32 | let ishl32 (a:nat32) (s:int) : nat32 = ishl a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 27,
"start_col": 7,
"start_line": 27
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> s: Prims.int -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Prims.int",
"Vale.Def.Types_s.ishl",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let ishl32 (a: nat32) (s: int) : nat32 =
| ishl a s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.iand64 | val iand64 (a b: nat64) : nat64 | val iand64 (a b: nat64) : nat64 | let iand64 (a:nat64) (b:nat64) : nat64 = iand a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 56,
"end_line": 30,
"start_col": 7,
"start_line": 30
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> b: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.iand",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let iand64 (a b: nat64) : nat64 =
| iand a b | false |
Spec.Agile.HPKE.fst | Spec.Agile.HPKE.sealAuth | val sealAuth:
cs:ciphersuite_not_export_only
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> info:info_s cs
-> aad:AEAD.ad (aead_alg_of cs)
-> pt:AEAD.plain (aead_alg_of cs)
-> skS:key_dh_secret_s cs ->
Tot (option (key_dh_public_s cs & AEAD.encrypted #(aead_alg_of cs) pt)) | val sealAuth:
cs:ciphersuite_not_export_only
-> skE:key_dh_secret_s cs
-> pkR:DH.serialized_point (kem_dh_of_cs cs)
-> info:info_s cs
-> aad:AEAD.ad (aead_alg_of cs)
-> pt:AEAD.plain (aead_alg_of cs)
-> skS:key_dh_secret_s cs ->
Tot (option (key_dh_public_s cs & AEAD.encrypted #(aead_alg_of cs) pt)) | let sealAuth cs skE pkR info aad pt skS =
match setupAuthS cs skE pkR info skS with
| None -> None
| Some (enc, ctx) ->
match context_seal cs ctx aad pt with
| None -> None
| Some (_, ct) -> Some (enc, ct) | {
"file_name": "specs/Spec.Agile.HPKE.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 36,
"end_line": 564,
"start_col": 0,
"start_line": 558
} | module Spec.Agile.HPKE
open FStar.Mul
open Lib.IntTypes
open Lib.RawIntTypes
open Lib.Sequence
open Lib.ByteSequence
module DH = Spec.Agile.DH
module AEAD = Spec.Agile.AEAD
module Hash = Spec.Agile.Hash
module HKDF = Spec.Agile.HKDF
let pow2_61 : _:unit{pow2 61 == 2305843009213693952} = assert_norm(pow2 61 == 23058... | {
"checked_file": "/",
"dependencies": [
"Spec.P256.fst.checked",
"Spec.Loops.fst.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.HMAC.fsti.checked",
"Spec.Agile.HKDF.fsti.checked",
"Spec.Agile.Hash.fsti.checked",
"Spec.Agile.DH.fst.checked",
"Spec.Agile.AEAD.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Spec.Agile.HKDF",
"short_module": "HKDF"
},
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "Hash"
},
{
"abbrev": true,
"full_module": "Spec.Agile.AEAD",
"short_module": "AEAD"
},
{
"abbrev": true,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
cs: Spec.Agile.HPKE.ciphersuite_not_export_only ->
skE: Spec.Agile.HPKE.key_dh_secret_s cs ->
pkR: Spec.Agile.DH.serialized_point (Spec.Agile.HPKE.kem_dh_of_cs cs) ->
info: Spec.Agile.HPKE.info_s cs ->
aad: Spec.Agile.AEAD.ad (Spec.Agile.HPKE.aead_alg_of cs) ->
pt: Spec.Agile.AEAD.plain (Spec.A... | Prims.Tot | [
"total"
] | [] | [
"Spec.Agile.HPKE.ciphersuite_not_export_only",
"Spec.Agile.HPKE.key_dh_secret_s",
"Spec.Agile.DH.serialized_point",
"Spec.Agile.HPKE.kem_dh_of_cs",
"Spec.Agile.HPKE.info_s",
"Spec.Agile.AEAD.ad",
"Spec.Agile.HPKE.aead_alg_of",
"Spec.Agile.AEAD.plain",
"Spec.Agile.HPKE.setupAuthS",
"FStar.Pervasive... | [] | false | false | false | false | false | let sealAuth cs skE pkR info aad pt skS =
| match setupAuthS cs skE pkR info skS with
| None -> None
| Some (enc, ctx) ->
match context_seal cs ctx aad pt with
| None -> None
| Some (_, ct) -> Some (enc, ct) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ixor128 | val ixor128 (a b: nat128) : nat128 | val ixor128 (a b: nat128) : nat128 | let ixor128 (a:nat128) (b:nat128) : nat128 = ixor a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 60,
"end_line": 38,
"start_col": 7,
"start_line": 38
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> b: Vale.Def.Words_s.nat128 -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Vale.Def.Types_s.ixor",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let ixor128 (a b: nat128) : nat128 =
| ixor a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.inot64 | val inot64 (a: nat64) : nat64 | val inot64 (a: nat64) : nat64 | let inot64 (a:nat64) : nat64 = inot a | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 44,
"end_line": 33,
"start_col": 7,
"start_line": 33
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Vale.Def.Types_s.inot",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let inot64 (a: nat64) : nat64 =
| inot a | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ixor32 | val ixor32 (a b: nat32) : nat32 | val ixor32 (a b: nat32) : nat32 | let ixor32 (a:nat32) (b:nat32) : nat32 = ixor a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 56,
"end_line": 24,
"start_col": 7,
"start_line": 24
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> b: Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Vale.Def.Types_s.ixor",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let ixor32 (a b: nat32) : nat32 =
| ixor a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ior128 | val ior128 (a b: nat128) : nat128 | val ior128 (a b: nat128) : nat128 | let ior128 (a:nat128) (b:nat128) : nat128 = ior a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 58,
"end_line": 39,
"start_col": 7,
"start_line": 39
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> b: Vale.Def.Words_s.nat128 -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Vale.Def.Types_s.ior",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let ior128 (a b: nat128) : nat128 =
| ior a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.iand128 | val iand128 (a b: nat128) : nat128 | val iand128 (a b: nat128) : nat128 | let iand128 (a:nat128) (b:nat128) : nat128 = iand a b | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 60,
"end_line": 37,
"start_col": 7,
"start_line": 37
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> b: Vale.Def.Words_s.nat128 -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Vale.Def.Types_s.iand",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let iand128 (a b: nat128) : nat128 =
| iand a b | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishr32 | val ishr32 (a: nat32) (s: int) : nat32 | val ishr32 (a: nat32) (s: int) : nat32 | let ishr32 (a:nat32) (s:int) : nat32 = ishr a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 28,
"start_col": 7,
"start_line": 28
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat32 -> s: Prims.int -> Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat32",
"Prims.int",
"Vale.Def.Types_s.ishr",
"Vale.Def.Words_s.pow2_32"
] | [] | false | false | false | true | false | let ishr32 (a: nat32) (s: int) : nat32 =
| ishr a s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishl64 | val ishl64 (a: nat64) (s: int) : nat64 | val ishl64 (a: nat64) (s: int) : nat64 | let ishl64 (a:nat64) (s:int) : nat64 = ishl a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 34,
"start_col": 7,
"start_line": 34
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> s: Prims.int -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Prims.int",
"Vale.Def.Types_s.ishl",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let ishl64 (a: nat64) (s: int) : nat64 =
| ishl a s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishr64 | val ishr64 (a: nat64) (s: int) : nat64 | val ishr64 (a: nat64) (s: int) : nat64 | let ishr64 (a:nat64) (s:int) : nat64 = ishr a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 35,
"start_col": 7,
"start_line": 35
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat64 -> s: Prims.int -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat64",
"Prims.int",
"Vale.Def.Types_s.ishr",
"Vale.Def.Words_s.pow2_64"
] | [] | false | false | false | true | false | let ishr64 (a: nat64) (s: int) : nat64 =
| ishr a s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.add_wrap_quad32 | val add_wrap_quad32 (q0 q1: quad32) : quad32 | val add_wrap_quad32 (q0 q1: quad32) : quad32 | let add_wrap_quad32 (q0 q1:quad32) : quad32 =
let open Vale.Def.Words_s in
Mkfour (add_wrap q0.lo0 q1.lo0)
(add_wrap q0.lo1 q1.lo1)
(add_wrap q0.hi2 q1.hi2)
(add_wrap q0.hi3 q1.hi3) | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 59,
"start_col": 0,
"start_line": 54
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q0: Vale.Def.Types_s.quad32 -> q1: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.Mkfour",
"Vale.Def.Types_s.nat32",
"Vale.Def.Types_s.add_wrap",
"Vale.Def.Words_s.pow2_32",
"Vale.Def.Words_s.__proj__Mkfour__item__lo0",
"Vale.Def.Words_s.__proj__Mkfour__item__lo1",
"Vale.Def.Words_s.__proj__Mkfour__item__hi2",
"Vale.Def.Words_s.__proj_... | [] | false | false | false | true | false | let add_wrap_quad32 (q0 q1: quad32) : quad32 =
| let open Vale.Def.Words_s in
Mkfour (add_wrap q0.lo0 q1.lo0)
(add_wrap q0.lo1 q1.lo1)
(add_wrap q0.hi2 q1.hi2)
(add_wrap q0.hi3 q1.hi3) | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.avalue_update_anchored_value | val avalue_update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ value `compat_with_any_anchor_of` m})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} | val avalue_update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ value `compat_with_any_anchor_of` m})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} | let avalue_update_anchored_value (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(value:v { curval (avalue_val m) `p` value /\
value `c... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 53,
"end_line": 548,
"start_col": 0,
"start_line": 537
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
value:
v
{ p (Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val m)) value /\
Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of value m }
-> m':
Steel.FractionalAnchoredPreorder.avalue s
{ Steel.Preorde... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of",
"Steel.FractionalAnchoredPreorder.av... | [] | false | false | false | false | false | let avalue_update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(value: v{(curval (avalue_val m)) `p` value /\ value `compat_with_any_anchor_of` m})
: m': avalue s {curval (avalue_val m') == value /\ (avalue_val m') `extends` (avalue_val m)} =
| let v = avalue_val m in
avalue_anchored_update m (extend_history v value) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishl128 | val ishl128 (a: nat128) (s: int) : nat128 | val ishl128 (a: nat128) (s: int) : nat128 | let ishl128 (a:nat128) (s:int) : nat128 = ishl a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 57,
"end_line": 41,
"start_col": 7,
"start_line": 41
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> s: Prims.int -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Prims.int",
"Vale.Def.Types_s.ishl",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let ishl128 (a: nat128) (s: int) : nat128 =
| ishl a s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.inot128 | val inot128 (a: nat128) : nat128 | val inot128 (a: nat128) : nat128 | let inot128 (a:nat128) : nat128 = inot a | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 47,
"end_line": 40,
"start_col": 7,
"start_line": 40
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Vale.Def.Types_s.inot",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let inot128 (a: nat128) : nat128 =
| inot a | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.ishr128 | val ishr128 (a: nat128) (s: int) : nat128 | val ishr128 (a: nat128) (s: int) : nat128 | let ishr128 (a:nat128) (s:int) : nat128 = ishr a s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 57,
"end_line": 42,
"start_col": 7,
"start_line": 42
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Def.Words_s.nat128 -> s: Prims.int -> Vale.Def.Words_s.nat128 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.nat128",
"Prims.int",
"Vale.Def.Types_s.ishr",
"Vale.Def.Words_s.pow2_128"
] | [] | false | false | false | true | false | let ishr128 (a: nat128) (s: int) : nat128 =
| ishr a s | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.composable_assoc_l | val composable_assoc_l (#v: _) (#p: preorder v) (#s: anchor_rel p) (k0 k1 k2: knowledge s)
: Lemma (requires composable k1 k2 /\ composable k0 (compose k1 k2))
(ensures
composable k0 k1 /\ composable (compose k0 k1) k2 /\
compose k0 (compose k1 k2) == compose (compose k0 k1) k2) | val composable_assoc_l (#v: _) (#p: preorder v) (#s: anchor_rel p) (k0 k1 k2: knowledge s)
: Lemma (requires composable k1 k2 /\ composable k0 (compose k1 k2))
(ensures
composable k0 k1 /\ composable (compose k0 k1) k2 /\
compose k0 (compose k1 k2) == compose (compose k0 k1) k2) | let composable_assoc_l #v (#p:preorder v) (#s:anchor_rel p)
(k0 k1 k2: knowledge s)
: Lemma
(requires
composable k1 k2 /\
composable k0 (compose k1 k2))
(ensures composable k0 k1 /\
composable (compose k0 k1) k2 /\
compose... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 363,
"start_col": 0,
"start_line": 348
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
k0: Steel.FractionalAnchoredPreorder.knowledge s ->
k1: Steel.FractionalAnchoredPreorder.knowledge s ->
k2: Steel.FractionalAnchoredPreorder.knowledge s
-> FStar.Pervasives.Lemma
(requires
Steel.FractionalAnchoredPreorder.composable k1 k2 /\
Steel.FractionalAnchoredPreorder.composab... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.knowledge",
"FStar.Pervasives.Native.Mktuple3",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.FractionalAnchoredPreorder.compose_avalue_assoc_l",
"Prims.unit",
"Prims.l_and",
"Steel.Fracti... | [] | false | false | true | false | false | let composable_assoc_l
#v
(#p: preorder v)
(#s: anchor_rel p)
(k0: knowledge s)
(k1: knowledge s)
(k2: knowledge s)
: Lemma (requires composable k1 k2 /\ composable k0 (compose k1 k2))
(ensures
composable k0 k1 /\ composable (compose k0 k1) k2 /\
compose k0 ... | match k0, k1, k2 with
| Nothing, _, _ | _, Nothing, _ | _, _, Nothing -> ()
| Owns m0, Owns m1, Owns m2 -> compose_avalue_assoc_l m0 m1 m2 | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.quad32_shl32 | val quad32_shl32 (q: quad32) : quad32 | val quad32_shl32 (q: quad32) : quad32 | let quad32_shl32 (q:quad32) : quad32 =
let Mkfour v0 v1 v2 v3 = q in
Mkfour 0 v0 v1 v2 | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 52,
"start_col": 0,
"start_line": 50
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.Mkfour"
] | [] | false | false | false | true | false | let quad32_shl32 (q: quad32) : quad32 =
| let Mkfour v0 v1 v2 v3 = q in
Mkfour 0 v0 v1 v2 | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.precomp_r5_as_tup64 | val precomp_r5_as_tup64:
#w:lanes
-> r:felem5 w{felem_fits5 r (2, 2, 2, 2, 2)}
-> i:nat{i < w} ->
Lemma
(let r5 = precomp_r5 r in
let (tr50, tr51, tr52, tr53, tr54) = as_tup64_i r5 i in
let (tr0, tr1, tr2, tr3, tr4) = as_tup64_i r i in
tr50 == tr0 *! u64 5 /\
tr51 == tr1 *! u64 5 /\
tr52 == t... | val precomp_r5_as_tup64:
#w:lanes
-> r:felem5 w{felem_fits5 r (2, 2, 2, 2, 2)}
-> i:nat{i < w} ->
Lemma
(let r5 = precomp_r5 r in
let (tr50, tr51, tr52, tr53, tr54) = as_tup64_i r5 i in
let (tr0, tr1, tr2, tr3, tr4) = as_tup64_i r i in
tr50 == tr0 *! u64 5 /\
tr51 == tr1 *! u64 5 /\
tr52 == t... | let precomp_r5_as_tup64 #w r i =
let r5 = precomp_r5 r in
let (r50, r51, r52, r53, r54) = r5 in
let (r0, r1, r2, r3, r4) = r in
let (tr50, tr51, tr52, tr53, tr54) = as_tup64_i r5 i in
let (tr0, tr1, tr2, tr3, tr4) = as_tup64_i r i in
assert_norm (max26 = pow2 26 - 1);
FStar.Math.Lemmas.modulo_lemma (5 * v... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 37,
"end_line": 686,
"start_col": 0,
"start_line": 670
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
r:
Hacl.Spec.Poly1305.Field32xN.felem5 w
{Hacl.Spec.Poly1305.Field32xN.felem_fits5 r (2, 2, 2, 2, 2)} ->
i: Prims.nat{i < w}
-> FStar.Pervasives.Lemma
(ensures
(let r5 = Hacl.Spec.Poly1305.Field32xN.precomp_r5 r in
let _ = Hacl.Spec.Poly1305.Field32xN.as_tup64_i r5 i in
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.lanes",
"Hacl.Spec.Poly1305.Field32xN.felem5",
"Hacl.Spec.Poly1305.Field32xN.felem_fits5",
"FStar.Pervasives.Native.Mktuple5",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan",
"Hacl.Spec.Poly1305.Field32xN.uint64xN",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2"... | [] | false | false | true | false | false | let precomp_r5_as_tup64 #w r i =
| let r5 = precomp_r5 r in
let r50, r51, r52, r53, r54 = r5 in
let r0, r1, r2, r3, r4 = r in
let tr50, tr51, tr52, tr53, tr54 = as_tup64_i r5 i in
let tr0, tr1, tr2, tr3, tr4 = as_tup64_i r i in
assert_norm (max26 = pow2 26 - 1);
FStar.Math.Lemmas.modulo_lemma (5 * v tr0) (pow2 64);
FStar.Math.Lemmas.modulo_lemma (5 * v ... | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.quad32_to_seq | val quad32_to_seq (q: quad32) : seq nat32 | val quad32_to_seq (q: quad32) : seq nat32 | let quad32_to_seq (q:quad32) : seq nat32 = four_to_seq_LE q | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 66,
"end_line": 97,
"start_col": 7,
"start_line": 97
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> FStar.Seq.Base.seq Vale.Def.Words_s.nat32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words.Seq_s.four_to_seq_LE",
"Vale.Def.Types_s.nat32",
"FStar.Seq.Base.seq",
"Vale.Def.Words_s.nat32"
] | [] | false | false | false | true | false | let quad32_to_seq (q: quad32) : seq nat32 =
| four_to_seq_LE q | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.quad32_double_hi | val quad32_double_hi (q: quad32) : double32 | val quad32_double_hi (q: quad32) : double32 | let quad32_double_hi (q:quad32) : double32 = (four_to_two_two q).hi | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 79,
"start_col": 0,
"start_line": 79
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.double32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.__proj__Mktwo__item__hi",
"Vale.Def.Words_s.two",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words.Four_s.four_to_two_two",
"Vale.Def.Types_s.double32"
] | [] | false | false | false | true | false | let quad32_double_hi (q: quad32) : double32 =
| (four_to_two_two q).hi | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.quad32_double_lo | val quad32_double_lo (q: quad32) : double32 | val quad32_double_lo (q: quad32) : double32 | let quad32_double_lo (q:quad32) : double32 = (four_to_two_two q).lo | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 78,
"start_col": 0,
"start_line": 78
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.double32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.__proj__Mktwo__item__lo",
"Vale.Def.Words_s.two",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words.Four_s.four_to_two_two",
"Vale.Def.Types_s.double32"
] | [] | false | false | false | true | false | let quad32_double_lo (q: quad32) : double32 =
| (four_to_two_two q).lo | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.update_anchored_value | val update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
v
{ avalue_owns_anchored m /\ (curval (avalue_val m)) `p` v1 /\
v1 `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_a... | val update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
v
{ avalue_owns_anchored m /\ (curval (avalue_val m)) `p` v1 /\
v1 `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_a... | let update_anchored_value (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(v1:v {
avalue_owns_anchored m /\ //if you own an anchored key, you can update if you respect
... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 76,
"end_line": 561,
"start_col": 0,
"start_line": 551
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
v1:
v
{ Steel.FractionalAnchoredPreorder.avalue_owns_anchored m /\
p (Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val m)) v1 /\
Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of v1 m }
-> FStar.PCM.f... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_owns_anchored",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Steel.FractionalAnchoredPreorder.compat_... | [] | false | false | false | false | false | let update_anchored_value
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
v
{ avalue_owns_anchored m /\ (curval (avalue_val m)) `p` v1 /\
v1 `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update_a... | coerce_eq () (update_anchored_hist m (extend_history (avalue_val m) v1)) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.hi64_def | val hi64_def (q: quad32) : nat64 | val hi64_def (q: quad32) : nat64 | let hi64_def (q:quad32) : nat64 = two_to_nat 32 (two_select (four_to_two_two q) 1) | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 82,
"end_line": 118,
"start_col": 0,
"start_line": 118
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words.Two_s.two_to_nat",
"Vale.Def.Words.Two_s.two_select",
"Vale.Def.Words_s.two",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words.Four_s.four_to_two_two",
"Vale.Def.Words_s.nat64"
] | [] | false | false | false | true | false | let hi64_def (q: quad32) : nat64 =
| two_to_nat 32 (two_select (four_to_two_two q) 1) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.lo64 | val lo64 : _: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | let lo64 = opaque_make lo64_def | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 50,
"end_line": 115,
"start_col": 19,
"start_line": 115
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Opaque_s.opaque_make",
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.nat64",
"Vale.Arch.Types.lo64_def"
] | [] | false | false | false | true | false | let lo64 =
| opaque_make lo64_def | false | |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.anchored_snapshot | val anchored_snapshot
(#v: Type0)
(#p: preorder v)
(#s: anchor_rel p)
(a: avalue s {s (curval (avalue_val a)) (curval (avalue_val a))})
: avalue s & avalue s | val anchored_snapshot
(#v: Type0)
(#p: preorder v)
(#s: anchor_rel p)
(a: avalue s {s (curval (avalue_val a)) (curval (avalue_val a))})
: avalue s & avalue s | let anchored_snapshot (#v:Type0) (#p:preorder v) (#s:anchor_rel p)
(a: avalue s { s (curval (avalue_val a)) (curval (avalue_val a)) })
: avalue s & avalue s
= let (p,a0), v = a in
let a =
match a0 with
| None -> Some (curval v)
| Some a -> Some a
in
((p, None), v)... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 18,
"end_line": 609,
"start_col": 0,
"start_line": 599
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
a:
Steel.FractionalAnchoredPreorder.avalue s
{ s (Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val a))
(Steel.Preorder.curval (Steel.FractionalAnchoredPreorder.avalue_val a)) }
-> Steel.FractionalAnchoredPreorder.avalue s * Steel.FractionalAnchoredPreorder.avalue s | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.Preorder.curval",
"Steel.FractionalAnchoredPreorder.avalue_val",
"FStar.Pervasives.Native.option",
"Steel.FractionalPermission.perm",
"Steel.Preorder.vhist",
"FStar.Pervasives.... | [] | false | false | false | false | false | let anchored_snapshot
(#v: Type0)
(#p: preorder v)
(#s: anchor_rel p)
(a: avalue s {s (curval (avalue_val a)) (curval (avalue_val a))})
: avalue s & avalue s =
| let (p, a0), v = a in
let a =
match a0 with
| None -> Some (curval v)
| Some a -> Some a
in
((p, None), v), ((None, a), v) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.hi64_reveal | val hi64_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.Arch.Types.hi64 == Vale.Arch.Types.hi64_def) | let hi64_reveal = opaque_revealer (`%hi64) hi64 hi64_def | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 68,
"end_line": 120,
"start_col": 12,
"start_line": 120
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.Arch.Types.hi64 == Vale.Arch.Types.hi64_def) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.Def.Opaque_s.opaque_revealer",
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.nat64",
"Vale.Arch.Types.hi64",
"Vale.Arch.Types.hi64_def"
] | [] | true | false | true | false | false | let hi64_reveal =
| opaque_revealer (`%hi64) hi64 hi64_def | false | |
Vale.Arch.Types.fsti | Vale.Arch.Types.lo64_reveal | val lo64_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.Arch.Types.lo64 == Vale.Arch.Types.lo64_def) | let lo64_reveal = opaque_revealer (`%lo64) lo64 lo64_def | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 68,
"end_line": 116,
"start_col": 12,
"start_line": 116
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.Arch.Types.lo64 == Vale.Arch.Types.lo64_def) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.Def.Opaque_s.opaque_revealer",
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.nat64",
"Vale.Arch.Types.lo64",
"Vale.Arch.Types.lo64_def"
] | [] | true | false | true | false | false | let lo64_reveal =
| opaque_revealer (`%lo64) lo64 lo64_def | false | |
Vale.Arch.Types.fsti | Vale.Arch.Types.lo64_def | val lo64_def (q: quad32) : nat64 | val lo64_def (q: quad32) : nat64 | let lo64_def (q:quad32) : nat64 = two_to_nat 32 (two_select (four_to_two_two q) 0) | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 82,
"end_line": 114,
"start_col": 0,
"start_line": 114
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words.Two_s.two_to_nat",
"Vale.Def.Words.Two_s.two_select",
"Vale.Def.Words_s.two",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words.Four_s.four_to_two_two",
"Vale.Def.Words_s.nat64"
] | [] | false | false | false | true | false | let lo64_def (q: quad32) : nat64 =
| two_to_nat 32 (two_select (four_to_two_two q) 0) | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.two_to_nat32 | val two_to_nat32 (x: two nat32) : nat64 | val two_to_nat32 (x: two nat32) : nat64 | let two_to_nat32 (x:two nat32) : nat64 = two_to_nat 32 x | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 63,
"end_line": 44,
"start_col": 7,
"start_line": 44
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Def.Words_s.two Vale.Def.Words_s.nat32 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Words_s.two",
"Vale.Def.Words_s.nat32",
"Vale.Def.Words.Two_s.two_to_nat",
"Vale.Def.Words_s.nat64"
] | [] | false | false | false | true | false | let two_to_nat32 (x: two nat32) : nat64 =
| two_to_nat 32 x | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.reverse_bytes_nat32_quad32_seq | val reverse_bytes_nat32_quad32_seq (q: seq quad32) : seq quad32 | val reverse_bytes_nat32_quad32_seq (q: seq quad32) : seq quad32 | let reverse_bytes_nat32_quad32_seq (q:seq quad32) : seq quad32 =
seq_map reverse_bytes_nat32_quad32 q | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 38,
"end_line": 256,
"start_col": 0,
"start_line": 255
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> FStar.Seq.Base.seq Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.quad32",
"Vale.Lib.Seqs_s.seq_map",
"Vale.Arch.Types.reverse_bytes_nat32_quad32"
] | [] | false | false | false | true | false | let reverse_bytes_nat32_quad32_seq (q: seq quad32) : seq quad32 =
| seq_map reverse_bytes_nat32_quad32 q | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.hi64 | val hi64 : _: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | let hi64 = opaque_make hi64_def | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 50,
"end_line": 119,
"start_col": 19,
"start_line": 119
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Vale.Def.Types_s.quad32 -> Vale.Def.Words_s.nat64 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Opaque_s.opaque_make",
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.nat64",
"Vale.Arch.Types.hi64_def"
] | [] | false | false | false | true | false | let hi64 =
| opaque_make hi64_def | false | |
Vale.Arch.Types.fsti | Vale.Arch.Types.reverse_bytes_quad32_seq | val reverse_bytes_quad32_seq (s: seq quad32) : seq quad32 | val reverse_bytes_quad32_seq (s: seq quad32) : seq quad32 | let reverse_bytes_quad32_seq (s:seq quad32) : seq quad32 =
seq_map reverse_bytes_quad32 s | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 263,
"start_col": 0,
"start_line": 262
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: FStar.Seq.Base.seq Vale.Def.Types_s.quad32 -> FStar.Seq.Base.seq Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.seq",
"Vale.Def.Types_s.quad32",
"Vale.Lib.Seqs_s.seq_map",
"Vale.Def.Types_s.reverse_bytes_quad32"
] | [] | false | false | false | true | false | let reverse_bytes_quad32_seq (s: seq quad32) : seq quad32 =
| seq_map reverse_bytes_quad32 s | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.reverse_bytes_nat32_quad32 | val reverse_bytes_nat32_quad32 (q: quad32) : quad32 | val reverse_bytes_nat32_quad32 (q: quad32) : quad32 | let reverse_bytes_nat32_quad32 (q:quad32) : quad32 =
Vale.Def.Words.Four_s.four_map reverse_bytes_nat32 q | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 249,
"start_col": 0,
"start_line": 248
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words.Four_s.four_map",
"Vale.Def.Types_s.nat32",
"Vale.Def.Types_s.reverse_bytes_nat32"
] | [] | false | false | false | true | false | let reverse_bytes_nat32_quad32 (q: quad32) : quad32 =
| Vale.Def.Words.Four_s.four_map reverse_bytes_nat32 q | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.update_anchored_hist | val update_anchored_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
vhist p
{ avalue_owns_anchored m /\ v1 `extends` (avalue_val m) /\
(curval v1) `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (aval... | val update_anchored_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
vhist p
{ avalue_owns_anchored m /\ v1 `extends` (avalue_val m) /\
(curval v1) `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (aval... | let update_anchored_hist (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(v1:vhist p {
avalue_owns_anchored m /\
v1 `extends` avalue_val m /\
... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 16,
"end_line": 534,
"start_col": 0,
"start_line": 521
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
v1:
Steel.Preorder.vhist p
{ Steel.FractionalAnchoredPreorder.avalue_owns_anchored m /\
Steel.Preorder.extends v1 (Steel.FractionalAnchoredPreorder.avalue_val m) /\
Steel.FractionalAnchoredPreorder.compat_with_any_anchor_of (Stee... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.Preorder.vhist",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_owns_anchored",
"Steel.Preorder.extends",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Steel.Fractio... | [] | false | false | false | false | false | let update_anchored_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1:
vhist p
{ avalue_owns_anchored m /\ v1 `extends` (avalue_val m) /\
(curval v1) `compat_with_any_anchor_of` m })
: frame_preserving_upd pcm (Owns m) (Owns (aval... | fun full_v ->
let Owns full_m = full_v in
let m_res = avalue_anchored_update full_m v1 in
Owns m_res | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.be_quad32_to_bytes | val be_quad32_to_bytes (q: quad32) : seq16 nat8 | val be_quad32_to_bytes (q: quad32) : seq16 nat8 | let be_quad32_to_bytes (q:quad32) : seq16 nat8 =
seq_four_to_seq_BE (seq_map (nat_to_four 8) (four_to_seq_BE q)) | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 184,
"start_col": 0,
"start_line": 183
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | q: Vale.Def.Types_s.quad32 -> Vale.Def.Words.Seq_s.seq16 Vale.Def.Words_s.nat8 | Prims.Tot | [
"total"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words.Seq_s.seq_four_to_seq_BE",
"Vale.Def.Words_s.nat8",
"Vale.Lib.Seqs_s.seq_map",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.four",
"Vale.Def.Words.Four_s.nat_to_four",
"Vale.Def.Words.Seq_s.four_to_seq_BE",
"Vale.Def.Words.Seq_s.seq16"
] | [] | false | false | false | true | false | let be_quad32_to_bytes (q: quad32) : seq16 nat8 =
| seq_four_to_seq_BE (seq_map (nat_to_four 8) (four_to_seq_BE q)) | false |
Steel.FractionalAnchoredPreorder.fst | Steel.FractionalAnchoredPreorder.update_hist | val update_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: vhist p {avalue_owns m /\ v1 `extends` (avalue_val m) /\ s (curval v1) (curval v1)})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update m v1)) | val update_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: vhist p {avalue_owns m /\ v1 `extends` (avalue_val m) /\ s (curval v1) (curval v1)})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update m v1)) | let update_hist (#v:Type)
(#p:preorder v)
(#s:anchor_rel p)
(m:avalue s)
(v1:vhist p {
avalue_owns m /\
v1 `extends` avalue_val m /\
s (curval v1) (curval v1)
})
: frame_pr... | {
"file_name": "lib/steel/Steel.FractionalAnchoredPreorder.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 16,
"end_line": 455,
"start_col": 0,
"start_line": 442
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.FractionalPermission.fst.checked",
"prims.fst.checked",
"FStar.Preorder.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.PCM.fst.checked"
],
"interface_file": fal... | [
{
"abbrev": false,
"full_module": "Steel.FractionalPermission",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Preorder",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Preorder",
"short_module": null
},
{
"abbrev": false,
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 2,
"max_fuel": 0,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
m: Steel.FractionalAnchoredPreorder.avalue s ->
v1:
Steel.Preorder.vhist p
{ Steel.FractionalAnchoredPreorder.avalue_owns m /\
Steel.Preorder.extends v1 (Steel.FractionalAnchoredPreorder.avalue_val m) /\
s (Steel.Preorder.curval v1) (Steel.Preorder.curval v1) }
-> FStar.PCM.... | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.FractionalAnchoredPreorder.anchor_rel",
"Steel.FractionalAnchoredPreorder.avalue",
"Steel.Preorder.vhist",
"Prims.l_and",
"Steel.FractionalAnchoredPreorder.avalue_owns",
"Steel.Preorder.extends",
"Steel.FractionalAnchoredPreorder.avalue_val",
"Steel.Preorder.curval"... | [] | false | false | false | false | false | let update_hist
(#v: Type)
(#p: preorder v)
(#s: anchor_rel p)
(m: avalue s)
(v1: vhist p {avalue_owns m /\ v1 `extends` (avalue_val m) /\ s (curval v1) (curval v1)})
: frame_preserving_upd pcm (Owns m) (Owns (avalue_update m v1)) =
| fun full_v ->
let Owns full_m = full_v in
let m_res = avalue_update full_m v1 in
Owns m_res | false |
Vale.PPC64LE.Stack_Sems.fst | Vale.PPC64LE.Stack_Sems.stack_from_s | val stack_from_s (s:machine_stack) : vale_stack | val stack_from_s (s:machine_stack) : vale_stack | let stack_from_s s = s | {
"file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_Sems.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 7,
"start_col": 0,
"start_line": 7
} | module Vale.PPC64LE.Stack_Sems
open FStar.Mul
friend Vale.PPC64LE.Stack_i | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.Lib.Set.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": true,
"source_file"... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_i",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Machine_s",
"short_module": null
},
{
"abbrev": fa... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.PPC64LE.Machine_s.machine_stack -> Vale.PPC64LE.Stack_i.vale_stack | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.Machine_s.machine_stack",
"Vale.PPC64LE.Stack_i.vale_stack"
] | [] | false | false | false | true | false | let stack_from_s s =
| s | false |
Vale.PPC64LE.Stack_Sems.fst | Vale.PPC64LE.Stack_Sems.stack_to_s | val stack_to_s (s:vale_stack) : machine_stack | val stack_to_s (s:vale_stack) : machine_stack | let stack_to_s s = s | {
"file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_Sems.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 6,
"start_col": 0,
"start_line": 6
} | module Vale.PPC64LE.Stack_Sems
open FStar.Mul
friend Vale.PPC64LE.Stack_i | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.Lib.Set.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": true,
"source_file"... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_i",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Machine_s",
"short_module": null
},
{
"abbrev": fa... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.PPC64LE.Stack_i.vale_stack -> Vale.PPC64LE.Machine_s.machine_stack | Prims.Tot | [
"total"
] | [] | [
"Vale.PPC64LE.Stack_i.vale_stack",
"Vale.PPC64LE.Machine_s.machine_stack"
] | [] | false | false | false | true | false | let stack_to_s s =
| s | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.mul_felem5_eval_as_tup64 | val mul_felem5_eval_as_tup64:
#w:lanes
-> f1:felem5 w{felem_fits5 f1 (3, 3, 3, 3, 3)}
-> r:felem5 w{felem_fits5 r (2, 2, 2, 2, 2)}
-> r5:felem5 w{felem_fits5 r5 (10, 10, 10, 10, 10) /\ r5 == precomp_r5 r}
-> i:nat{i < w} ->
Lemma
(let (r0, r1, r2, r3, r4) = r in
let (f10, f11, f12, f13, f14) = f1 in
... | val mul_felem5_eval_as_tup64:
#w:lanes
-> f1:felem5 w{felem_fits5 f1 (3, 3, 3, 3, 3)}
-> r:felem5 w{felem_fits5 r (2, 2, 2, 2, 2)}
-> r5:felem5 w{felem_fits5 r5 (10, 10, 10, 10, 10) /\ r5 == precomp_r5 r}
-> i:nat{i < w} ->
Lemma
(let (r0, r1, r2, r3, r4) = r in
let (f10, f11, f12, f13, f14) = f1 in
... | let mul_felem5_eval_as_tup64 #w f1 r r5 i =
let (r0, r1, r2, r3, r4) = r in
let (f10, f11, f12, f13, f14) = f1 in
let (r50, r51, r52, r53, r54) = r5 in
let (tr0, tr1, tr2, tr3, tr4) = as_tup64_i r i in
let (tf10, tf11, tf12, tf13, tf14) = as_tup64_i f1 i in
let (tr50, tr51, tr52, tr53, tr54) = as_tup64_i r5... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 28,
"end_line": 730,
"start_col": 0,
"start_line": 712
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
f1:
Hacl.Spec.Poly1305.Field32xN.felem5 w
{Hacl.Spec.Poly1305.Field32xN.felem_fits5 f1 (3, 3, 3, 3, 3)} ->
r:
Hacl.Spec.Poly1305.Field32xN.felem5 w
{Hacl.Spec.Poly1305.Field32xN.felem_fits5 r (2, 2, 2, 2, 2)} ->
r5:
Hacl.Spec.Poly1305.Field32xN.felem5 w
{ Hacl.Spec... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.lanes",
"Hacl.Spec.Poly1305.Field32xN.felem5",
"Hacl.Spec.Poly1305.Field32xN.felem_fits5",
"FStar.Pervasives.Native.Mktuple5",
"Prims.nat",
"Prims.l_and",
"Prims.eq2",
"Hacl.Spec.Poly1305.Field32xN.precomp_r5",
"Prims.b2t",
"Prims.op_LessThan",
"Hacl.Spec.Poly1305.F... | [] | false | false | true | false | false | let mul_felem5_eval_as_tup64 #w f1 r r5 i =
| let r0, r1, r2, r3, r4 = r in
let f10, f11, f12, f13, f14 = f1 in
let r50, r51, r52, r53, r54 = r5 in
let tr0, tr1, tr2, tr3, tr4 = as_tup64_i r i in
let tf10, tf11, tf12, tf13, tf14 = as_tup64_i f1 i in
let tr50, tr51, tr52, tr53, tr54 = as_tup64_i r5 i in
assert ((uint64xN_v f10).[ i ] * (fas_nat5 (r0, r1, r2, r3, r4... | false |
Vale.Arch.Types.fsti | Vale.Arch.Types.lemma_equality_check_helper_2 | val lemma_equality_check_helper_2 (q1 q2 cmp: quad32) (tmp1 result1 tmp2 tmp3 result2: nat64)
: Lemma
(requires
cmp ==
Mkfour (if q1.lo0 = q2.lo0 then 0xFFFFFFFF else 0)
(if q1.lo1 = q2.lo1 then 0xFFFFFFFF else 0)
(if q1.hi2 = q2.hi2 then 0xFFFFFFFF else 0)
(if q1... | val lemma_equality_check_helper_2 (q1 q2 cmp: quad32) (tmp1 result1 tmp2 tmp3 result2: nat64)
: Lemma
(requires
cmp ==
Mkfour (if q1.lo0 = q2.lo0 then 0xFFFFFFFF else 0)
(if q1.lo1 = q2.lo1 then 0xFFFFFFFF else 0)
(if q1.hi2 = q2.hi2 then 0xFFFFFFFF else 0)
(if q1... | let lemma_equality_check_helper_2 (q1 q2 cmp:quad32) (tmp1 result1 tmp2 tmp3 result2:nat64) : Lemma
(requires cmp == Mkfour (if q1.lo0 = q2.lo0 then 0xFFFFFFFF else 0)
(if q1.lo1 = q2.lo1 then 0xFFFFFFFF else 0)
(if q1.hi2 = q2.hi2 then 0xFFFFFFFF else 0)
... | {
"file_name": "vale/code/arch/Vale.Arch.Types.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 4,
"end_line": 156,
"start_col": 0,
"start_line": 143
} | module Vale.Arch.Types
open FStar.Mul
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Lib.Seqs_s
open Vale.Lib.Seqs
open Vale.Def.Words_s
open Vale.Def.Words.Four_s
open Vale.Def.Words.Seq_s
open Vale.Def.Words.Seq
open FStar.Seq
open Vale.Def.Words.Two_s
unfold let ( *^ ) = nat32_xor
unfold let ( *^^ ) = quad... | {
"checked_file": "/",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Lib.Seqs.fsti.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Two_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Words.Seq.fsti.checked",
"Vale.Def.Words.Four_s.fsti.checked",
"V... | [
{
"abbrev": false,
"full_module": "Vale.Def.Words.Two_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.Words.Seq",
"short_module": null
},
{
"abbrev": false,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
q1: Vale.Def.Types_s.quad32 ->
q2: Vale.Def.Types_s.quad32 ->
cmp: Vale.Def.Types_s.quad32 ->
tmp1: Vale.Def.Words_s.nat64 ->
result1: Vale.Def.Words_s.nat64 ->
tmp2: Vale.Def.Words_s.nat64 ->
tmp3: Vale.Def.Words_s.nat64 ->
result2: Vale.Def.Words_s.nat64
-> FStar.Pervasives.Lemma
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.Def.Types_s.quad32",
"Vale.Def.Words_s.nat64",
"Prims.unit",
"Vale.Arch.Types.lemma_equality_check_helper",
"Prims.l_and",
"Prims.eq2",
"Vale.Def.Words_s.four",
"Vale.Def.Types_s.nat32",
"Vale.Def.Words_s.Mkfour",
"Prims.op_Equality",
"Vale.Def.Words_s.__proj__Mkfour__item__lo0",
"Prims.... | [] | true | false | true | false | false | let lemma_equality_check_helper_2 (q1 q2 cmp: quad32) (tmp1 result1 tmp2 tmp3 result2: nat64)
: Lemma
(requires
cmp ==
Mkfour (if q1.lo0 = q2.lo0 then 0xFFFFFFFF else 0)
(if q1.lo1 = q2.lo1 then 0xFFFFFFFF else 0)
(if q1.hi2 = q2.hi2 then 0xFFFFFFFF else 0)
(if q1... | lemma_equality_check_helper cmp;
() | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.tuple_to_dep_tuple | val tuple_to_dep_tuple (#a #b: Type) (x: a & b) : dtuple2 a (fun _ -> b) | val tuple_to_dep_tuple (#a #b: Type) (x: a & b) : dtuple2 a (fun _ -> b) | let tuple_to_dep_tuple (#a #b:Type) (x:a & b) : dtuple2 a (fun _ -> b) =
(| fst x, snd x |) | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 20,
"end_line": 126,
"start_col": 0,
"start_line": 125
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: (a * b) -> Prims.dtuple2 a (fun _ -> b) | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.tuple2",
"Prims.Mkdtuple2",
"FStar.Pervasives.Native.fst",
"FStar.Pervasives.Native.snd",
"Prims.dtuple2"
] | [] | false | false | false | false | false | let tuple_to_dep_tuple (#a #b: Type) (x: a & b) : dtuple2 a (fun _ -> b) =
| (| fst x, snd x |) | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.lex_t_non_dep | val lex_t_non_dep (#a: Type u#a) (#b: Type u#b) (r_a: binrel u#a u#ra a) (r_b: binrel u#b u#rb b)
: binrel u#(max a b) u#(max a b ra rb) (a & b) | val lex_t_non_dep (#a: Type u#a) (#b: Type u#b) (r_a: binrel u#a u#ra a) (r_b: binrel u#b u#rb b)
: binrel u#(max a b) u#(max a b ra rb) (a & b) | let lex_t_non_dep (#a:Type u#a)
(#b:Type u#b)
(r_a:binrel u#a u#ra a)
(r_b:binrel u#b u#rb b)
: binrel u#(max a b) u#(max a b ra rb) (a & b)
= fun x y ->
lex_t r_a (fun _ -> r_b) (tuple_to_dep_tuple x) (tuple_to_dep_tuple y) | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 76,
"end_line": 138,
"start_col": 0,
"start_line": 132
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r_a: FStar.WellFounded.binrel a -> r_b: FStar.WellFounded.binrel b
-> FStar.WellFounded.binrel (a * b) | Prims.Tot | [
"total"
] | [] | [
"FStar.WellFounded.binrel",
"FStar.Pervasives.Native.tuple2",
"FStar.LexicographicOrdering.lex_t",
"FStar.LexicographicOrdering.tuple_to_dep_tuple"
] | [] | false | false | false | true | false | let lex_t_non_dep (#a: Type u#a) (#b: Type u#b) (r_a: binrel u#a u#ra a) (r_b: binrel u#b u#rb b)
: binrel u#(max a b) u#(max a b ra rb) (a & b) =
| fun x y -> lex_t r_a (fun _ -> r_b) (tuple_to_dep_tuple x) (tuple_to_dep_tuple y) | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.lex_aux | val lex_aux
(#a: Type u#a)
(#b: (a -> Type u#b))
(r_a: binrel u#a u#ra a)
(r_b: (x: a -> binrel u#b u#rb (b x)))
: binrel u#(max a b) u#0 (x: a & b x) | val lex_aux
(#a: Type u#a)
(#b: (a -> Type u#b))
(r_a: binrel u#a u#ra a)
(r_b: (x: a -> binrel u#b u#rb (b x)))
: binrel u#(max a b) u#0 (x: a & b x) | let lex_aux (#a:Type u#a) (#b:a -> Type u#b)
(r_a:binrel u#a u#ra a)
(r_b:(x:a -> binrel u#b u#rb (b x)))
: binrel u#(max a b) u#0 (x:a & b x)
= fun (| x1, y1 |) (| x2, y2 |) ->
(squash (r_a x1 x2)) \/
(x1 == x2 /\ squash ((r_b x1) y1 y2)) | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 85,
"start_col": 0,
"start_line": 79
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r_a: FStar.WellFounded.binrel a -> r_b: (x: a -> FStar.WellFounded.binrel (b x))
-> FStar.WellFounded.binrel (Prims.dtuple2 a (fun x -> b x)) | Prims.Tot | [
"total"
] | [] | [
"FStar.WellFounded.binrel",
"Prims.dtuple2",
"FStar.Pervasives.Native.Mktuple2",
"Prims.l_or",
"Prims.squash",
"Prims.l_and",
"Prims.eq2"
] | [] | false | false | false | false | false | let lex_aux
(#a: Type u#a)
(#b: (a -> Type u#b))
(r_a: binrel u#a u#ra a)
(r_b: (x: a -> binrel u#b u#rb (b x)))
: binrel u#(max a b) u#0 (x: a & b x) =
| fun (| x1 , y1 |) (| x2 , y2 |) -> (squash (r_a x1 x2)) \/ (x1 == x2 /\ squash ((r_b x1) y1 y2)) | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.lex | val lex
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: well_founded_relation (x: a & b x) | val lex
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: well_founded_relation (x: a & b x) | let lex (#a:Type u#a) (#b:a -> Type u#b)
(#r_a:binrel u#a u#ra a)
(#r_b:(x:a -> binrel u#b u#rb (b x)))
(wf_a:well_founded r_a)
(wf_b:(x:a -> well_founded (r_b x)))
: well_founded_relation (x:a & b x)
= lex_wf wf_a wf_b;
lex_aux r_a r_b | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 19,
"end_line": 118,
"start_col": 0,
"start_line": 111
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | wf_a: FStar.WellFounded.well_founded r_a -> wf_b: (x: a -> FStar.WellFounded.well_founded (r_b x))
-> FStar.WellFounded.well_founded_relation (Prims.dtuple2 a (fun x -> b x)) | Prims.Tot | [
"total"
] | [] | [
"FStar.WellFounded.binrel",
"FStar.WellFounded.well_founded",
"FStar.LexicographicOrdering.lex_aux",
"Prims.unit",
"FStar.LexicographicOrdering.lex_wf",
"FStar.WellFounded.well_founded_relation",
"Prims.dtuple2"
] | [] | false | false | false | false | false | let lex
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: well_founded_relation (x: a & b x) =
| lex_wf wf_a wf_b;
lex_aux r_a r_b | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.lex_wf | val lex_wf
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: Lemma (is_well_founded (lex_aux r_a r_b)) | val lex_wf
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: Lemma (is_well_founded (lex_aux r_a r_b)) | let lex_wf (#a:Type u#a) (#b:a -> Type u#b)
(#r_a:binrel u#a u#ra a)
(#r_b:(x:a -> binrel u#b u#rb (b x)))
(wf_a:well_founded r_a)
(wf_b:(x:a -> well_founded (r_b x)))
: Lemma (is_well_founded (lex_aux r_a r_b))
= subrelation_squash_wf (lex_to_lex_t r_a r_b) (lex_t_wf wf_a wf_b) | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 69,
"end_line": 105,
"start_col": 0,
"start_line": 99
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | wf_a: FStar.WellFounded.well_founded r_a -> wf_b: (x: a -> FStar.WellFounded.well_founded (r_b x))
-> FStar.Pervasives.Lemma
(ensures FStar.WellFounded.is_well_founded (FStar.LexicographicOrdering.lex_aux r_a r_b)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.WellFounded.binrel",
"FStar.WellFounded.well_founded",
"FStar.WellFounded.subrelation_squash_wf",
"Prims.dtuple2",
"FStar.LexicographicOrdering.lex_t",
"FStar.LexicographicOrdering.lex_aux",
"FStar.LexicographicOrdering.lex_to_lex_t",
"FStar.LexicographicOrdering.lex_t_wf",
"Prims.unit",
"P... | [] | false | false | true | false | false | let lex_wf
(#a: Type u#a)
(#b: (a -> Type u#b))
(#r_a: binrel u#a u#ra a)
(#r_b: (x: a -> binrel u#b u#rb (b x)))
(wf_a: well_founded r_a)
(wf_b: (x: a -> well_founded (r_b x)))
: Lemma (is_well_founded (lex_aux r_a r_b)) =
| subrelation_squash_wf (lex_to_lex_t r_a r_b) (lex_t_wf wf_a wf_b) | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.sym_wf | val sym_wf
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(wf_a: well_founded r_a)
(wf_b: well_founded r_b)
: well_founded (sym r_a r_b) | val sym_wf
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(wf_a: well_founded r_a)
(wf_b: well_founded r_b)
: well_founded (sym r_a r_b) | let sym_wf (#a:Type u#a)
(#b:Type u#b)
(#r_a:binrel u#a u#ra a)
(#r_b:binrel u#b u#rb b)
(wf_a:well_founded r_a)
(wf_b:well_founded r_b)
: well_founded (sym r_a r_b)
= subrelation_wf sym_sub_lex (lex_t_non_dep_wf wf_a wf_b) | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 59,
"end_line": 194,
"start_col": 0,
"start_line": 187
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | wf_a: FStar.WellFounded.well_founded r_a -> wf_b: FStar.WellFounded.well_founded r_b
-> FStar.WellFounded.well_founded (FStar.LexicographicOrdering.sym r_a r_b) | Prims.Tot | [
"total"
] | [] | [
"FStar.WellFounded.binrel",
"FStar.WellFounded.well_founded",
"FStar.WellFounded.subrelation_wf",
"FStar.Pervasives.Native.tuple2",
"FStar.LexicographicOrdering.lex_t_non_dep",
"FStar.LexicographicOrdering.sym",
"FStar.LexicographicOrdering.sym_sub_lex",
"FStar.LexicographicOrdering.lex_t_non_dep_wf"
... | [] | false | false | false | false | false | let sym_wf
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(wf_a: well_founded r_a)
(wf_b: well_founded r_b)
: well_founded (sym r_a r_b) =
| subrelation_wf sym_sub_lex (lex_t_non_dep_wf wf_a wf_b) | false |
Vale.PPC64LE.Stack_Sems.fst | Vale.PPC64LE.Stack_Sems.free_stack_same_load128 | val free_stack_same_load128 (start:int) (finish:int) (ptr:int) (h:machine_stack) : Lemma
(requires S.valid_src_stack128 ptr h /\
(ptr >= finish \/ ptr + 16 <= start))
(ensures S.eval_stack128 ptr h == S.eval_stack128 ptr (S.free_stack' start finish h))
[SMTPat (S.eval_stack128 ptr (S.free_stack' start finish ... | val free_stack_same_load128 (start:int) (finish:int) (ptr:int) (h:machine_stack) : Lemma
(requires S.valid_src_stack128 ptr h /\
(ptr >= finish \/ ptr + 16 <= start))
(ensures S.eval_stack128 ptr h == S.eval_stack128 ptr (S.free_stack' start finish h))
[SMTPat (S.eval_stack128 ptr (S.free_stack' start finish ... | let free_stack_same_load128 start finish ptr h =
reveal_opaque (`%S.valid_addr128) S.valid_addr128;
let Machine_stack _ mem = h in
let Machine_stack _ mem' = S.free_stack' start finish h in
Classical.forall_intro (Vale.Lib.Set.remove_between_reveal (Map.domain mem) start finish);
S.get_heap_val128_reveal ();
... | {
"file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_Sems.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 28,
"end_line": 41,
"start_col": 0,
"start_line": 35
} | module Vale.PPC64LE.Stack_Sems
open FStar.Mul
friend Vale.PPC64LE.Stack_i
let stack_to_s s = s
let stack_from_s s = s
let lemma_stack_from_to s = ()
let lemma_stack_to_from s = ()
let equiv_valid_src_stack64 ptr h = ()
let equiv_load_stack64 ptr h = ()
let free_stack_same_load start finish ptr h =
reveal_opaque... | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.Lib.Set.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": true,
"source_file"... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_i",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Machine_s",
"short_module": null
},
{
"abbrev": fa... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | start: Prims.int -> finish: Prims.int -> ptr: Prims.int -> h: Vale.PPC64LE.Machine_s.machine_stack
-> FStar.Pervasives.Lemma
(requires
Vale.PPC64LE.Semantics_s.valid_src_stack128 ptr h /\ (ptr >= finish \/ ptr + 16 <= start))
(ensures
Vale.PPC64LE.Semantics_s.eval_stack128 ptr h ==
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.int",
"Vale.PPC64LE.Machine_s.machine_stack",
"Vale.PPC64LE.Machine_s.nat64",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"FStar.Map.t",
"Vale.PPC64LE.Machine_s.nat8",
"Vale.Arch.MachineHeap_s.get_heap_val32_reveal",
"Prims.unit",
"Vale.Arch.MachineHeap_s.get_heap_val128_reveal",
"FStar.C... | [] | false | false | true | false | false | let free_stack_same_load128 start finish ptr h =
| reveal_opaque (`%S.valid_addr128) S.valid_addr128;
let Machine_stack _ mem = h in
let Machine_stack _ mem' = S.free_stack' start finish h in
Classical.forall_intro (Vale.Lib.Set.remove_between_reveal (Map.domain mem) start finish);
S.get_heap_val128_reveal ();
S.get_heap_val32_reveal () | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.smul_add_felem5_eval_lemma_i | val smul_add_felem5_eval_lemma_i:
#w:lanes
-> #m1:scale32
-> #m2:scale32_5
-> #m3:scale64_5{m3 +* m1 *^ m2 <=* s64x5 4096}
-> u1:uint64xN w{felem_fits1 u1 m1}
-> f2:felem5 w{felem_fits5 f2 m2}
-> acc1:felem_wide5 w{felem_wide_fits5 acc1 m3}
-> i:nat{i < w} ->
Lemma ((fas_nat5 (smul_add_felem5 #w u1 ... | val smul_add_felem5_eval_lemma_i:
#w:lanes
-> #m1:scale32
-> #m2:scale32_5
-> #m3:scale64_5{m3 +* m1 *^ m2 <=* s64x5 4096}
-> u1:uint64xN w{felem_fits1 u1 m1}
-> f2:felem5 w{felem_fits5 f2 m2}
-> acc1:felem_wide5 w{felem_wide_fits5 acc1 m3}
-> i:nat{i < w} ->
Lemma ((fas_nat5 (smul_add_felem5 #w u1 ... | let smul_add_felem5_eval_lemma_i #w #m1 #m2 #m3 u1 f2 acc1 i =
let o = smul_add_felem5 #w u1 f2 acc1 in
let (m20, m21, m22, m23, m24) = m2 in
let (m30, m31, m32, m33, m34) = m3 in
let vu1 = (uint64xN_v u1).[i] in
let (tf20, tf21, tf22, tf23, tf24) = as_tup64_i f2 i in
let (ta0, ta1, ta2, ta3, ta4) = as_tup6... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 76,
"end_line": 293,
"start_col": 0,
"start_line": 247
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
u1: Hacl.Spec.Poly1305.Field32xN.uint64xN w {Hacl.Spec.Poly1305.Field32xN.felem_fits1 u1 m1} ->
f2: Hacl.Spec.Poly1305.Field32xN.felem5 w {Hacl.Spec.Poly1305.Field32xN.felem_fits5 f2 m2} ->
acc1:
Hacl.Spec.Poly1305.Field32xN.felem_wide5 w
{Hacl.Spec.Poly1305.Field32xN.felem_wide_fits5 acc1 m3... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.lanes",
"Hacl.Spec.Poly1305.Field32xN.scale32",
"Hacl.Spec.Poly1305.Field32xN.scale32_5",
"Hacl.Spec.Poly1305.Field32xN.scale64_5",
"Hacl.Spec.Poly1305.Field32xN.op_Less_Equals_Star",
"Hacl.Spec.Poly1305.Field32xN.op_Plus_Star",
"Hacl.Spec.Poly1305.Field32xN.op_Star_Hat",
... | [] | false | false | true | false | false | let smul_add_felem5_eval_lemma_i #w #m1 #m2 #m3 u1 f2 acc1 i =
| let o = smul_add_felem5 #w u1 f2 acc1 in
let m20, m21, m22, m23, m24 = m2 in
let m30, m31, m32, m33, m34 = m3 in
let vu1 = (uint64xN_v u1).[ i ] in
let tf20, tf21, tf22, tf23, tf24 = as_tup64_i f2 i in
let ta0, ta1, ta2, ta3, ta4 = as_tup64_i acc1 i in
let to0, to1, to2, to3, to4 = as_tup64_i o i in
smul_add_mod_lemma ... | false |
FStar.LexicographicOrdering.fsti | FStar.LexicographicOrdering.sym_sub_lex | val sym_sub_lex
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(t1 t2: a & b)
(p: sym r_a r_b t1 t2)
: lex_t_non_dep r_a r_b t1 t2 | val sym_sub_lex
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(t1 t2: a & b)
(p: sym r_a r_b t1 t2)
: lex_t_non_dep r_a r_b t1 t2 | let sym_sub_lex (#a:Type u#a)
(#b:Type u#b)
(#r_a:binrel u#a u#ra a)
(#r_b:binrel u#b u#rb b)
(t1 t2:a & b)
(p:sym r_a r_b t1 t2)
: lex_t_non_dep r_a r_b t1 t2
= match p with
| Left_sym x1 x2 y p ->
Left_lex #a #(fun _ -> b) #... | {
"file_name": "ulib/FStar.LexicographicOrdering.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 63,
"end_line": 182,
"start_col": 0,
"start_line": 171
} | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.WellFounded.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.LexicographicOrdering.fsti"
} | [
{
"abbrev": false,
"full_module": "FStar.WellFounded",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervas... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t1: (a * b) -> t2: (a * b) -> p: FStar.LexicographicOrdering.sym r_a r_b t1 t2
-> FStar.LexicographicOrdering.lex_t_non_dep r_a r_b t1 t2 | Prims.Tot | [
"total"
] | [] | [
"FStar.WellFounded.binrel",
"FStar.Pervasives.Native.tuple2",
"FStar.LexicographicOrdering.sym",
"FStar.LexicographicOrdering.Left_lex",
"FStar.LexicographicOrdering.Right_lex",
"FStar.LexicographicOrdering.lex_t_non_dep"
] | [] | false | false | false | false | false | let sym_sub_lex
(#a: Type u#a)
(#b: Type u#b)
(#r_a: binrel u#a u#ra a)
(#r_b: binrel u#b u#rb b)
(t1 t2: a & b)
(p: sym r_a r_b t1 t2)
: lex_t_non_dep r_a r_b t1 t2 =
| match p with
| Left_sym x1 x2 y p -> Left_lex #a #(fun _ -> b) #r_a #(fun _ -> r_b) x1 x2 y y p
| Right_sym x y1 y2 p -> Right_lex #a #(fun _ -> b) #r_a #(fun _ -> r_b) x y1 y2 p | false |
Vale.PPC64LE.Stack_Sems.fst | Vale.PPC64LE.Stack_Sems.free_stack_same_load | val free_stack_same_load (start:int) (finish:int) (ptr:int) (h:machine_stack) : Lemma
(requires S.valid_src_stack64 ptr h /\
(ptr >= finish \/ ptr + 8 <= start))
(ensures S.eval_stack ptr h == S.eval_stack ptr (S.free_stack' start finish h))
[SMTPat (S.eval_stack ptr (S.free_stack' start finish h))] | val free_stack_same_load (start:int) (finish:int) (ptr:int) (h:machine_stack) : Lemma
(requires S.valid_src_stack64 ptr h /\
(ptr >= finish \/ ptr + 8 <= start))
(ensures S.eval_stack ptr h == S.eval_stack ptr (S.free_stack' start finish h))
[SMTPat (S.eval_stack ptr (S.free_stack' start finish h))] | let free_stack_same_load start finish ptr h =
reveal_opaque (`%S.valid_addr64) S.valid_addr64;
let Machine_stack _ mem = h in
let Machine_stack _ mem' = S.free_stack' start finish h in
Classical.forall_intro (Vale.Lib.Set.remove_between_reveal (Map.domain mem) start finish);
S.get_heap_val64_reveal () | {
"file_name": "vale/code/arch/ppc64le/Vale.PPC64LE.Stack_Sems.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 28,
"end_line": 21,
"start_col": 0,
"start_line": 16
} | module Vale.PPC64LE.Stack_Sems
open FStar.Mul
friend Vale.PPC64LE.Stack_i
let stack_to_s s = s
let stack_from_s s = s
let lemma_stack_from_to s = ()
let lemma_stack_to_from s = ()
let equiv_valid_src_stack64 ptr h = ()
let equiv_load_stack64 ptr h = () | {
"checked_file": "/",
"dependencies": [
"Vale.PPC64LE.Stack_i.fst.checked",
"Vale.Lib.Set.fsti.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked",
"FStar.Classical.fsti.checked"
],
"interface_file": true,
"source_file"... | [
{
"abbrev": true,
"full_module": "Vale.PPC64LE.Semantics_s",
"short_module": "S"
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Stack_i",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Machine_s",
"short_module": null
},
{
"abbrev": fa... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | start: Prims.int -> finish: Prims.int -> ptr: Prims.int -> h: Vale.PPC64LE.Machine_s.machine_stack
-> FStar.Pervasives.Lemma
(requires
Vale.PPC64LE.Semantics_s.valid_src_stack64 ptr h /\ (ptr >= finish \/ ptr + 8 <= start))
(ensures
Vale.PPC64LE.Semantics_s.eval_stack ptr h ==
Vale... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.int",
"Vale.PPC64LE.Machine_s.machine_stack",
"Vale.PPC64LE.Machine_s.nat64",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"FStar.Map.t",
"Vale.PPC64LE.Machine_s.nat8",
"Vale.Arch.MachineHeap_s.get_heap_val64_reveal",
"Prims.unit",
"FStar.Classical.forall_intro",
"Prims.l_and",
"Prims.l_... | [] | false | false | true | false | false | let free_stack_same_load start finish ptr h =
| reveal_opaque (`%S.valid_addr64) S.valid_addr64;
let Machine_stack _ mem = h in
let Machine_stack _ mem' = S.free_stack' start finish h in
Classical.forall_intro (Vale.Lib.Set.remove_between_reveal (Map.domain mem) start finish);
S.get_heap_val64_reveal () | false |
MerkleTree.New.High.Correct.Path.fst | MerkleTree.New.High.Correct.Path.mt_get_path_acc_consistent | val mt_get_path_acc_consistent:
#hsz:pos -> #f:MTS.hash_fun_t ->
lv:nat{lv <= 32} ->
i:nat ->
j:nat{i <= j /\ j < pow2 (32 - lv)} ->
olds:hashess #hsz {S.length olds = 32 /\ mt_olds_inv #hsz lv i olds} ->
hs:hashess #hsz {S.length hs = 32 /\ hs_wf_elts lv hs i j} ->
rhs:hashes #hsz {S.length rhs = 32} ->
... | val mt_get_path_acc_consistent:
#hsz:pos -> #f:MTS.hash_fun_t ->
lv:nat{lv <= 32} ->
i:nat ->
j:nat{i <= j /\ j < pow2 (32 - lv)} ->
olds:hashess #hsz {S.length olds = 32 /\ mt_olds_inv #hsz lv i olds} ->
hs:hashess #hsz {S.length hs = 32 /\ hs_wf_elts lv hs i j} ->
rhs:hashes #hsz {S.length rhs = 32} ->
... | let rec mt_get_path_acc_consistent #hsz #f lv i j olds hs rhs k actd =
log2c_bound j (32 - lv);
mt_olds_hs_lth_inv_ok #_ #f lv i j olds hs;
mt_hashes_lth_inv_log_converted_ #_ #f lv j (merge_hs #_ #f olds hs);
if j = 0 then ()
else begin
let nactd = if j % 2 = 0 then actd else true in
let nactd_ = ac... | {
"file_name": "src/MerkleTree.New.High.Correct.Path.fst",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 5,
"end_line": 192,
"start_col": 0,
"start_line": 136
} | module MerkleTree.New.High.Correct.Path
open EverCrypt
open EverCrypt.Helpers
open MerkleTree.New.High.Correct.Base
// Need to use some facts of `mt_get_root`
open MerkleTree.New.High.Correct.Rhs
open FStar.Classical
open FStar.Ghost
open FStar.Seq
module List = FStar.List.Tot
module S = FStar.Seq
module U32 = FSt... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.New.High.Correct.Rhs.fst.checked",
"MerkleTree.New.High.Correct.Base.fst.checked",
"MerkleTree.New.High.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "MerkleTree.New.High",
"short_module": null
},
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": true,
"full_module": "EverCrypt.Hash",
"short_module": "EHS"
},
{
"abbrev": true,
"full_mo... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
lv: Prims.nat{lv <= 32} ->
i: Prims.nat ->
j: Prims.nat{i <= j /\ j < Prims.pow2 (32 - lv)} ->
olds:
MerkleTree.New.High.hashess
{FStar.Seq.Base.length olds = 32 /\ MerkleTree.New.High.Correct.Base.mt_olds_inv lv i olds} ->
hs:
MerkleTree.New.High.hashess
{FStar.Seq.Base... | FStar.Pervasives.Lemma | [
"lemma",
""
] | [] | [
"Prims.pos",
"MerkleTree.Spec.hash_fun_t",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.pow2",
"Prims.op_Subtraction",
"MerkleTree.New.High.hashess",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"MerkleTree.New.High.hashes",... | [
"recursion"
] | false | false | true | false | false | let rec mt_get_path_acc_consistent #hsz #f lv i j olds hs rhs k actd =
| log2c_bound j (32 - lv);
mt_olds_hs_lth_inv_ok #_ #f lv i j olds hs;
mt_hashes_lth_inv_log_converted_ #_ #f lv j (merge_hs #_ #f olds hs);
if j = 0
then ()
else
let nactd = if j % 2 = 0 then actd else true in
let nactd_ = actd || j % 2 = 1 in
assert (nactd == nactd_);
let pa =
mt_get_path_acc #_
#f
... | false |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.parse_constint32le_kind | val parse_constint32le_kind:parser_kind | val parse_constint32le_kind:parser_kind | let parse_constint32le_kind
: parser_kind
= strong_parser_kind 4 4 None | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 29,
"end_line": 33,
"start_col": 0,
"start_line": 31
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.Spec.Base.parser_kind | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.Base.strong_parser_kind",
"FStar.Pervasives.Native.None",
"LowParse.Spec.Base.parser_kind_metadata_some"
] | [] | false | false | false | true | false | let parse_constint32le_kind:parser_kind =
| strong_parser_kind 4 4 None | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.lemma_fmul5_pow78 | val lemma_fmul5_pow78: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26 /\ v r2 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow78 * as_nat5 r) % prime == as_nat5 (r2 *! u64 5, r3 *! u64 5, r4 *! u64 5, r0, r1) % prime)) | val lemma_fmul5_pow78: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26 /\ v r2 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow78 * as_nat5 r) % prime == as_nat5 (r2 *! u64 5, r3 *! u64 5, r4 *! u64 5, r0, r1) % prime)) | let lemma_fmul5_pow78 r =
let (r0, r1, r2, r3, r4) = r in
calc (==) {
(pow78 * as_nat5 r) % prime;
(==) { assert_norm (pow78 == pow26 * pow52) }
(pow26 * pow52 * as_nat5 r) % prime;
(==) {
FStar.Math.Lemmas.paren_mul_right pow26 pow52 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr_r ... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 105,
"end_line": 447,
"start_col": 0,
"start_line": 430
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Hacl.Spec.Poly1305.Field32xN.tup64_5
-> FStar.Pervasives.Lemma
(requires
(let _ = r in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ _ r2 r3 r4 = _ in
Lib.IntTypes.v r4 * 5 <= 10 * Hacl.Spec.Poly1305.Field32xN.pow26 /\
Lib.IntTypes.v r3 * 5 <= 10 * Hacl.Spec... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.tup64_5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"FStar.Mul.op_Star",
"Hacl.Spec.Poly1305.Field32xN.pow78",
"Hacl.Spec.Poly1305.Field32xN.as_nat5",
"Hacl.Spec.Poly1305.Vec.prime",
"FStar.Pervasives.Native.Mktuple5",
"... | [] | false | false | true | false | false | let lemma_fmul5_pow78 r =
| let r0, r1, r2, r3, r4 = r in
calc ( == ) {
(pow78 * as_nat5 r) % prime;
( == ) { assert_norm (pow78 == pow26 * pow52) }
((pow26 * pow52) * as_nat5 r) % prime;
( == ) { (FStar.Math.Lemmas.paren_mul_right pow26 pow52 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr_r pow26 (pow52 * as_nat5 r) prime) }
(p... | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.lemma_fmul5_pow52 | val lemma_fmul5_pow52: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow52 * as_nat5 r) % prime == as_nat5 (r3 *! u64 5, r4 *! u64 5, r0, r1, r2) % prime)) | val lemma_fmul5_pow52: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow52 * as_nat5 r) % prime == as_nat5 (r3 *! u64 5, r4 *! u64 5, r0, r1, r2) % prime)) | let lemma_fmul5_pow52 r =
let (r0, r1, r2, r3, r4) = r in
calc (==) {
(pow52 * as_nat5 r) % prime;
(==) { assert_norm (pow52 == pow26 * pow26) }
(pow26 * pow26 * as_nat5 r) % prime;
(==) {
FStar.Math.Lemmas.paren_mul_right pow26 pow26 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr_r ... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 96,
"end_line": 421,
"start_col": 0,
"start_line": 404
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Hacl.Spec.Poly1305.Field32xN.tup64_5
-> FStar.Pervasives.Lemma
(requires
(let _ = r in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ _ _ r3 r4 = _ in
Lib.IntTypes.v r4 * 5 <= 10 * Hacl.Spec.Poly1305.Field32xN.pow26 /\
Lib.IntTypes.v r3 * 5 <= 10 * Hacl.Spec.... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.tup64_5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"FStar.Mul.op_Star",
"Hacl.Spec.Poly1305.Field32xN.pow52",
"Hacl.Spec.Poly1305.Field32xN.as_nat5",
"Hacl.Spec.Poly1305.Vec.prime",
"FStar.Pervasives.Native.Mktuple5",
"... | [] | false | false | true | false | false | let lemma_fmul5_pow52 r =
| let r0, r1, r2, r3, r4 = r in
calc ( == ) {
(pow52 * as_nat5 r) % prime;
( == ) { assert_norm (pow52 == pow26 * pow26) }
((pow26 * pow26) * as_nat5 r) % prime;
( == ) { (FStar.Math.Lemmas.paren_mul_right pow26 pow26 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr_r pow26 (pow26 * as_nat5 r) prime) }
(p... | false |
Vale.Wrapper.X64.GCTR.fsti | Vale.Wrapper.X64.GCTR.uint64 | val uint64 : Prims.eqtype | let uint64 = UInt64.t | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCTR.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 20,
"start_col": 0,
"start_line": 20
} | module Vale.Wrapper.X64.GCTR
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open Vale.AES.AES_s
open Vale.AES.GCTR
open Vale... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.AES.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.AES.GCTR_s.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "Vale.Def.Types_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GCTR_s",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.eqtype | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt64.t"
] | [] | false | false | false | true | false | let uint64 =
| UInt64.t | false | |
Vale.Wrapper.X64.GCTR.fsti | Vale.Wrapper.X64.GCTR.uint8_p | val uint8_p : Type0 | let uint8_p = B.buffer UInt8.t | {
"file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCTR.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 19,
"start_col": 0,
"start_line": 19
} | module Vale.Wrapper.X64.GCTR
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
module DV = LowStar.BufferView.Down
module UV = LowStar.BufferView.Up
open FStar.Mul
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open Vale.AES.AES_s
open Vale.AES.GCTR
open Vale... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Wrapper.X64.AES.fsti.checked",
"Vale.Interop.Base.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Words.Seq_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.AES.GCTR_s.fst.checked",
"... | [
{
"abbrev": false,
"full_module": "Vale.Def.Types_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Interop.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GCTR_s",
"short_module": null
},
{
"abbrev": false,
"full_m... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"LowStar.Buffer.buffer",
"FStar.UInt8.t"
] | [] | false | false | false | true | true | let uint8_p =
| B.buffer UInt8.t | false | |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.decode_constint32le | val decode_constint32le (v: nat{0 <= v /\ v < 4294967296}) (b: bytes{Seq.length b == 4})
: Tot (option (constint32 v)) | val decode_constint32le (v: nat{0 <= v /\ v < 4294967296}) (b: bytes{Seq.length b == 4})
: Tot (option (constint32 v)) | let decode_constint32le
(v: nat {0 <= v /\ v < 4294967296 } )
(b: bytes { Seq.length b == 4 } )
: Tot (option (constint32 v))
= let v' = decode_int32le b in
if U32.v v' = v then
Some v'
else
None | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 10,
"end_line": 43,
"start_col": 0,
"start_line": 35
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296} -> b: LowParse.Bytes.bytes{FStar.Seq.Base.length b == 4}
-> FStar.Pervasives.Native.option (LowParse.Spec.ConstInt32.constint32 v) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Bytes.bytes",
"Prims.eq2",
"Prims.int",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"Prims.op_Equality",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n... | [] | false | false | false | false | false | let decode_constint32le (v: nat{0 <= v /\ v < 4294967296}) (b: bytes{Seq.length b == 4})
: Tot (option (constint32 v)) =
| let v' = decode_int32le b in
if U32.v v' = v then Some v' else None | false |
Hacl.Poly1305.Field32xN.Lemmas0.fst | Hacl.Poly1305.Field32xN.Lemmas0.lemma_fmul5_pow104 | val lemma_fmul5_pow104: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26 /\
v r2 * 5 <= 10 * pow26 /\ v r1 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow104 * as_nat5 r) % prime == as_nat5 (r1 *! u64 5, r2 *! u64 5, r3 *! ... | val lemma_fmul5_pow104: r:tup64_5 -> Lemma
(requires (let (r0, r1, r2, r3, r4) = r in
v r4 * 5 <= 10 * pow26 /\ v r3 * 5 <= 10 * pow26 /\
v r2 * 5 <= 10 * pow26 /\ v r1 * 5 <= 10 * pow26))
(ensures (let (r0, r1, r2, r3, r4) = r in
(pow104 * as_nat5 r) % prime == as_nat5 (r1 *! u64 5, r2 *! u64 5, r3 *! ... | let lemma_fmul5_pow104 r =
let (r0, r1, r2, r3, r4) = r in
calc (==) {
(pow104 * as_nat5 r) % prime;
(==) { assert_norm (pow104 == pow26 * pow78) }
(pow26 * pow78 * as_nat5 r) % prime;
(==) {
FStar.Math.Lemmas.paren_mul_right pow26 pow78 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr... | {
"file_name": "code/poly1305/Hacl.Poly1305.Field32xN.Lemmas0.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 115,
"end_line": 474,
"start_col": 0,
"start_line": 457
} | module Hacl.Poly1305.Field32xN.Lemmas0
open Lib.IntTypes
open Lib.IntVector
open Lib.Sequence
open FStar.Mul
open FStar.Calc
open Hacl.Spec.Poly1305.Vec
include Hacl.Spec.Poly1305.Field32xN
#reset-options "--z3rlimit 50 --using_facts_from '* -FStar.Seq' --max_fuel 0 --max_ifuel 0"
val lemma_prime: unit -> Lemma (po... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntVector.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervas... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Spec.Poly1305.Vec",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Calc",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Hacl.Spec.Poly1305.Field32xN.tup64_5
-> FStar.Pervasives.Lemma
(requires
(let _ = r in
(let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ r1 r2 r3 r4 = _ in
Lib.IntTypes.v r4 * 5 <= 10 * Hacl.Spec.Poly1305.Field32xN.pow26 /\
Lib.IntTypes.v r3 * 5 <= 10 * Hacl.Spe... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Hacl.Spec.Poly1305.Field32xN.tup64_5",
"Lib.IntTypes.uint64",
"Prims._assert",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"FStar.Mul.op_Star",
"Hacl.Spec.Poly1305.Field32xN.pow104",
"Hacl.Spec.Poly1305.Field32xN.as_nat5",
"Hacl.Spec.Poly1305.Vec.prime",
"FStar.Pervasives.Native.Mktuple5",
... | [] | false | false | true | false | false | let lemma_fmul5_pow104 r =
| let r0, r1, r2, r3, r4 = r in
calc ( == ) {
(pow104 * as_nat5 r) % prime;
( == ) { assert_norm (pow104 == pow26 * pow78) }
((pow26 * pow78) * as_nat5 r) % prime;
( == ) { (FStar.Math.Lemmas.paren_mul_right pow26 pow78 (as_nat5 r);
FStar.Math.Lemmas.lemma_mod_mul_distr_r pow26 (pow78 * as_nat5 r) prime) }
... | false |
MerkleTree.fsti | MerkleTree.hash_size_t | val hash_size_t : Type0 | let hash_size_t = MTNLD.hash_size_t | {
"file_name": "src/MerkleTree.fsti",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 35,
"end_line": 21,
"start_col": 0,
"start_line": 21
} | module MerkleTree
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monotonic.HyperHeap
module B = LowStar.Buffer
module CB = LowStar.ConstBuffer
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module MTS = MerkleTree.Spec
module MTNL = MerkleTree.Low
module MTNLHF = MerkleTree.Low... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Serialization.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"MerkleTree.EverCrypt.fsti.check... | [
{
"abbrev": true,
"full_module": "MerkleTree.Low.Serialization",
"short_module": "MTNLS"
},
{
"abbrev": true,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": "MTNLD"
},
{
"abbrev": true,
"full_module": "MerkleTree.EverCrypt",
"short_module": "MTNLE"
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"MerkleTree.Low.Datastructures.hash_size_t"
] | [] | false | false | false | true | true | let hash_size_t =
| MTNLD.hash_size_t | false | |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.decode_constint32le_injective | val decode_constint32le_injective (v: nat{0 <= v /\ v < 4294967296})
: Lemma (make_constant_size_parser_precond 4 (constint32 v) (decode_constint32le v)) | val decode_constint32le_injective (v: nat{0 <= v /\ v < 4294967296})
: Lemma (make_constant_size_parser_precond 4 (constint32 v) (decode_constint32le v)) | let decode_constint32le_injective
(v: nat { 0 <= v /\ v < 4294967296 } )
: Lemma
(make_constant_size_parser_precond 4 (constint32 v) (decode_constint32le v))
= Classical.forall_intro_2 (decode_constint32le_injective' v) | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 61,
"end_line": 70,
"start_col": 0,
"start_line": 66
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296}
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Combinators.make_constant_size_parser_precond 4
(LowParse.Spec.ConstInt32.constint32 v)
(LowParse.Spec.ConstInt32.decode_constint32le v)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"FStar.Classical.forall_intro_2",
"LowParse.Bytes.bytes",
"Prims.eq2",
"Prims.int",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"Prims.l_imp",
"Prims.l_or",
"FStar.Pervasives.Native.uu___is_Some",... | [] | false | false | true | false | false | let decode_constint32le_injective (v: nat{0 <= v /\ v < 4294967296})
: Lemma (make_constant_size_parser_precond 4 (constint32 v) (decode_constint32le v)) =
| Classical.forall_intro_2 (decode_constint32le_injective' v) | false |
MerkleTree.fsti | MerkleTree.offset_t | val offset_t : Prims.eqtype | let offset_t = MTNL.offset_t | {
"file_name": "src/MerkleTree.fsti",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 28,
"end_line": 22,
"start_col": 0,
"start_line": 22
} | module MerkleTree
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monotonic.HyperHeap
module B = LowStar.Buffer
module CB = LowStar.ConstBuffer
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module MTS = MerkleTree.Spec
module MTNL = MerkleTree.Low
module MTNLHF = MerkleTree.Low... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Serialization.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"MerkleTree.EverCrypt.fsti.check... | [
{
"abbrev": true,
"full_module": "MerkleTree.Low.Serialization",
"short_module": "MTNLS"
},
{
"abbrev": true,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": "MTNLD"
},
{
"abbrev": true,
"full_module": "MerkleTree.EverCrypt",
"short_module": "MTNLE"
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.eqtype | Prims.Tot | [
"total"
] | [] | [
"MerkleTree.Low.offset_t"
] | [] | false | false | false | true | false | let offset_t =
| MTNL.offset_t | false | |
MerkleTree.fsti | MerkleTree.const_mt_p | val const_mt_p : Type0 | let const_mt_p = MTNL.const_mt_p | {
"file_name": "src/MerkleTree.fsti",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 32,
"end_line": 32,
"start_col": 0,
"start_line": 32
} | module MerkleTree
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monotonic.HyperHeap
module B = LowStar.Buffer
module CB = LowStar.ConstBuffer
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module MTS = MerkleTree.Spec
module MTNL = MerkleTree.Low
module MTNLHF = MerkleTree.Low... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Serialization.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"MerkleTree.EverCrypt.fsti.check... | [
{
"abbrev": true,
"full_module": "MerkleTree.Low.Serialization",
"short_module": "MTNLS"
},
{
"abbrev": true,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": "MTNLD"
},
{
"abbrev": true,
"full_module": "MerkleTree.EverCrypt",
"short_module": "MTNLE"
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type0 | Prims.Tot | [
"total"
] | [] | [
"MerkleTree.Low.const_mt_p"
] | [] | false | false | false | true | true | let const_mt_p =
| MTNL.const_mt_p | false | |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.serialize_constint32le' | val serialize_constint32le' (v: nat{0 <= v /\ v < 4294967296})
: Tot (bare_serializer (constint32 v)) | val serialize_constint32le' (v: nat{0 <= v /\ v < 4294967296})
: Tot (bare_serializer (constint32 v)) | let serialize_constint32le'
(v: nat { 0 <= v /\ v < 4294967296 } )
: Tot (bare_serializer (constint32 v))
= fun (x: constint32 v) ->
let res = n_to_le 4 v in
res | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 5,
"end_line": 105,
"start_col": 0,
"start_line": 100
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296}
-> LowParse.Spec.Base.bare_serializer (LowParse.Spec.ConstInt32.constint32 v) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.ConstInt32.constint32",
"FStar.Endianness.bytes",
"Prims.eq2",
"FStar.Seq.Base.length",
"FStar.UInt8.t",
"FStar.Endianness.le_to_n",
"FStar.Endianness.n_to_le",
"LowParse.Bytes.bytes",
... | [] | false | false | false | false | false | let serialize_constint32le' (v: nat{0 <= v /\ v < 4294967296})
: Tot (bare_serializer (constint32 v)) =
| fun (x: constint32 v) ->
let res = n_to_le 4 v in
res | false |
MerkleTree.fsti | MerkleTree.index_t | val index_t : Prims.eqtype | let index_t = MTNL.index_t | {
"file_name": "src/MerkleTree.fsti",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 26,
"end_line": 23,
"start_col": 0,
"start_line": 23
} | module MerkleTree
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monotonic.HyperHeap
module B = LowStar.Buffer
module CB = LowStar.ConstBuffer
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module MTS = MerkleTree.Spec
module MTNL = MerkleTree.Low
module MTNLHF = MerkleTree.Low... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Serialization.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"MerkleTree.EverCrypt.fsti.check... | [
{
"abbrev": true,
"full_module": "MerkleTree.Low.Serialization",
"short_module": "MTNLS"
},
{
"abbrev": true,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": "MTNLD"
},
{
"abbrev": true,
"full_module": "MerkleTree.EverCrypt",
"short_module": "MTNLE"
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.eqtype | Prims.Tot | [
"total"
] | [] | [
"MerkleTree.Low.index_t"
] | [] | false | false | false | true | false | let index_t =
| MTNL.index_t | false | |
MerkleTree.fsti | MerkleTree.pf | val pf : _: _ -> Prims.logical | let pf = fun _ -> False | {
"file_name": "src/MerkleTree.fsti",
"git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | {
"end_col": 23,
"end_line": 35,
"start_col": 0,
"start_line": 35
} | module MerkleTree
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monotonic.HyperHeap
module B = LowStar.Buffer
module CB = LowStar.ConstBuffer
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module MTS = MerkleTree.Spec
module MTNL = MerkleTree.Low
module MTNLHF = MerkleTree.Low... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Serialization.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"MerkleTree.EverCrypt.fsti.check... | [
{
"abbrev": true,
"full_module": "MerkleTree.Low.Serialization",
"short_module": "MTNLS"
},
{
"abbrev": true,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": "MTNLD"
},
{
"abbrev": true,
"full_module": "MerkleTree.EverCrypt",
"short_module": "MTNLE"
},
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: _ -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Prims.l_False",
"Prims.logical"
] | [] | false | false | false | true | true | let pf =
| fun _ -> False | false | |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.serialize_constint32le | val serialize_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (serializer (parse_constint32le v)) | val serialize_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (serializer (parse_constint32le v)) | let serialize_constint32le
(v: nat { 0 <= v /\ v < 4294967296 } )
: Tot (serializer (parse_constint32le v))
= serialize_constint32le_correct v;
serialize_constint32le' v | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 27,
"end_line": 124,
"start_col": 0,
"start_line": 120
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296}
-> LowParse.Spec.Base.serializer (LowParse.Spec.ConstInt32.parse_constint32le v) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.ConstInt32.serialize_constint32le'",
"Prims.unit",
"LowParse.Spec.ConstInt32.serialize_constint32le_correct",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.ConstInt32.parse_constint32le_kind"... | [] | false | false | false | false | false | let serialize_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (serializer (parse_constint32le v)) =
| serialize_constint32le_correct v;
serialize_constint32le' v | false |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.parse_constint32le | val parse_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (parser parse_constint32le_kind (constint32 v)) | val parse_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (parser parse_constint32le_kind (constint32 v)) | let parse_constint32le
(v: nat { 0 <= v /\ v < 4294967296 } )
: Tot (parser parse_constint32le_kind (constint32 v))
= decode_constint32le_injective v;
make_constant_size_parser 4 (constint32 v) (decode_constint32le v) | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 68,
"end_line": 76,
"start_col": 0,
"start_line": 72
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296}
-> LowParse.Spec.Base.parser LowParse.Spec.ConstInt32.parse_constint32le_kind
(LowParse.Spec.ConstInt32.constint32 v) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Combinators.make_constant_size_parser",
"LowParse.Spec.ConstInt32.constint32",
"LowParse.Spec.ConstInt32.decode_constint32le",
"Prims.unit",
"LowParse.Spec.ConstInt32.decode_constint32le_inject... | [] | false | false | false | false | false | let parse_constint32le (v: nat{0 <= v /\ v < 4294967296})
: Tot (parser parse_constint32le_kind (constint32 v)) =
| decode_constint32le_injective v;
make_constant_size_parser 4 (constint32 v) (decode_constint32le v) | false |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.decode_constint32le_injective' | val decode_constint32le_injective'
(v: nat{0 <= v /\ v < 4294967296})
(b1: bytes{Seq.length b1 == 4})
(b2: bytes{Seq.length b2 == 4})
: Lemma
((Some? (decode_constint32le v b1) \/ Some? (decode_constint32le v b2)) /\
(decode_constint32le v b1 == decode_constint32le v b2) ==>
Seq.eq... | val decode_constint32le_injective'
(v: nat{0 <= v /\ v < 4294967296})
(b1: bytes{Seq.length b1 == 4})
(b2: bytes{Seq.length b2 == 4})
: Lemma
((Some? (decode_constint32le v b1) \/ Some? (decode_constint32le v b2)) /\
(decode_constint32le v b1 == decode_constint32le v b2) ==>
Seq.eq... | let decode_constint32le_injective'
(v: nat { 0 <= v /\ v < 4294967296 } )
(b1: bytes { Seq.length b1 == 4 } )
(b2: bytes { Seq.length b2 == 4 } )
: Lemma
((Some? (decode_constint32le v b1) \/ Some? (decode_constint32le v b2))
/\ (decode_constint32le v b1 == decode_constint32le v b2)
==> Seq.equal b1 b2)
... | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 14,
"end_line": 64,
"start_col": 0,
"start_line": 45
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
v: Prims.nat{0 <= v /\ v < 4294967296} ->
b1: LowParse.Bytes.bytes{FStar.Seq.Base.length b1 == 4} ->
b2: LowParse.Bytes.bytes{FStar.Seq.Base.length b2 == 4}
-> FStar.Pervasives.Lemma
(ensures
(Some? (LowParse.Spec.ConstInt32.decode_constint32le v b1) \/
Some? (LowParse.Spec.ConstInt32.d... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Bytes.bytes",
"Prims.eq2",
"Prims.int",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"LowParse.Spec.ConstInt32.constint32",
"LowParse.Spec.Int32le.decode_int32le_injective",
"Prims.unit",
... | [] | false | false | true | false | false | let decode_constint32le_injective'
(v: nat{0 <= v /\ v < 4294967296})
(b1: bytes{Seq.length b1 == 4})
(b2: bytes{Seq.length b2 == 4})
: Lemma
((Some? (decode_constint32le v b1) \/ Some? (decode_constint32le v b2)) /\
(decode_constint32le v b1 == decode_constint32le v b2) ==>
Seq.eq... | let res1 = decode_constint32le v b1 in
let res2 = decode_constint32le v b2 in
match res1 with
| Some v1 ->
assert (U32.v v1 == v);
(match res2 with
| Some v2 ->
assert (U32.v v2 == v);
assert (v1 == v2);
decode_int32le_injective b1 b2
| None -> ())
| None -> () | false |
LowParse.Spec.ConstInt32.fst | LowParse.Spec.ConstInt32.serialize_constint32le_correct | val serialize_constint32le_correct (v: nat{0 <= v /\ v < 4294967296})
: Lemma (serializer_correct (parse_constint32le v) (serialize_constint32le' v)) | val serialize_constint32le_correct (v: nat{0 <= v /\ v < 4294967296})
: Lemma (serializer_correct (parse_constint32le v) (serialize_constint32le' v)) | let serialize_constint32le_correct
(v: nat { 0 <= v /\ v < 4294967296 } )
: Lemma
(serializer_correct (parse_constint32le v) (serialize_constint32le' v))
= let prf
(x: constint32 v)
: Lemma
(let res = n_to_le 4 v in
U32.v x == v /\ Seq.length res == 4 /\ (parse (parse_constint32le v) res == Some (x,... | {
"file_name": "src/lowparse/LowParse.Spec.ConstInt32.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 28,
"end_line": 118,
"start_col": 0,
"start_line": 107
} | module LowParse.Spec.ConstInt32
(* LowParse specification module for parsing 32 bits = 4 bytes unsigned constants
Examples:
uint32 foo = 5
uint32_le foo = 7
*)
(* TODO: support big endian constants *)
include FStar.Endianness
include LowParse.Spec.Base
include LowParse.Spec.Combinators
include LowParse.... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Int32le.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"LowParse.Spec.Base.fsti.checked",
"LowParse.Math.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked... | [
{
"abbrev": true,
"full_module": "LowParse.Math",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module": "FStar.UInt... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Prims.nat{0 <= v /\ v < 4294967296}
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.serializer_correct (LowParse.Spec.ConstInt32.parse_constint32le v)
(LowParse.Spec.ConstInt32.serialize_constint32le' v)) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"FStar.Classical.forall_intro",
"LowParse.Spec.ConstInt32.constint32",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt32.n",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt32.v",
"... | [] | false | false | true | false | false | let serialize_constint32le_correct (v: nat{0 <= v /\ v < 4294967296})
: Lemma (serializer_correct (parse_constint32le v) (serialize_constint32le' v)) =
| let prf (x: constint32 v)
: Lemma
(let res = n_to_le 4 v in
U32.v x == v /\ Seq.length res == 4 /\ (parse (parse_constint32le v) res == Some (x, 4))) =
()
in
Classical.forall_intro prf | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.