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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.convert_am | val convert_am (am: amap term) : term | val convert_am (am: amap term) : term | let convert_am (am : amap term) : term =
let (map, def) = am in
(* let def = norm_term [delta] def in *)
`( (`#(convert_map map), `#def) ) | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 35,
"end_line": 330,
"start_col": 0,
"start_line": 327
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap FStar.Tactics.NamedView.term
-> FStar.Tactics.NamedView.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.NamedView.term",
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Stubs.Reflection.Types.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.convert_map"
] | [] | false | false | false | true | false | let convert_am (am: amap term) : term =
| let map, def = am in
`(((`#(convert_map map)), (`#def))) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.flatten | val flatten (e: exp) : list atom | val flatten (e: exp) : list atom | let rec flatten (e:exp) : list atom =
match e with
| Unit -> []
| Atom x -> [x]
| Mult e1 e2 -> flatten e1 @ flatten e2 | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 88,
"start_col": 0,
"start_line": 84
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | e: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp
-> Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom | Prims.Tot | [
"total"
] | [] | [
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"Prims.Nil",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"Prims.Cons",
"FStar.List.Tot.Base.op_At",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.flatten",
"Prims.list"
] | [
"recursion"
] | false | false | false | true | false | let rec flatten (e: exp) : list atom =
| match e with
| Unit -> []
| Atom x -> [x]
| Mult e1 e2 -> flatten e1 @ flatten e2 | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.apply_swap_correct | val apply_swap_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs))
: Lemma (ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap xs s))))
(decreases xs) | val apply_swap_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs))
: Lemma (ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap xs s))))
(decreases xs) | let apply_swap_correct (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a)
(xs:list atom) (s:swap (length xs))
: Lemma (ensures (xsdenote eq m am xs `EQ?.eq eq` xsdenote eq m am (apply_swap xs s)))
(decreases xs) =
apply_swap_aux_correct 0 eq m am xs s | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 39,
"end_line": 186,
"start_col": 0,
"start_line": 182
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
xs: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom ->
s: FStar.Tactics.CanonCommSwaps.swap (FStar.List.Tot.Base.length xs)
-> FStar.Pervasi... | FStar.Pervasives.Lemma | [
"lemma",
""
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.CanonCommSwaps.swap",
"FStar.List.Tot.Base.length",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.a... | [] | true | false | true | false | false | let apply_swap_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs))
: Lemma (ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap xs s))))
(decreases xs) =
| apply_swap_aux_correct 0 eq m am xs s | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.mdenote | val mdenote (#a: Type u#aa) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp) : a | val mdenote (#a: Type u#aa) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp) : a | let rec mdenote (#a:Type u#aa) (eq:equiv a) (m:cm a eq) (am:amap a) (e:exp) : a =
match e with
| Unit -> CM?.unit m
| Atom x -> select x am
| Mult e1 e2 -> CM?.mult m (mdenote eq m am e1) (mdenote eq m am e2) | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 70,
"end_line": 74,
"start_col": 0,
"start_line": 70
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
e: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp
-> a | Prims.Tot | [
"total"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.CanonC... | [
"recursion"
] | false | false | false | false | false | let rec mdenote (#a: Type u#aa) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp) : a =
| match e with
| Unit -> CM?.unit m
| Atom x -> select x am
| Mult e1 e2 -> CM?.mult m (mdenote eq m am e1) (mdenote eq m am e2) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.flatten_correct | val flatten_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (flatten e))) | val flatten_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (flatten e))) | let rec flatten_correct (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a) (e:exp)
: Lemma (mdenote eq m am e `EQ?.eq eq` xsdenote eq m am (flatten e)) =
match e with
| Unit -> EQ?.reflexivity eq (CM?.unit m)
| Atom x -> EQ?.reflexivity eq (select x am)
| Mult e1 e2 ->
flatten_correct_aux eq m am (flatten e... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 70,
"end_line": 129,
"start_col": 0,
"start_line": 114
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
e: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp
-> FStar.Pervasives.Lemma
(ensures
EQ?.eq eq
(FStar.Tactics.CanonCommMonoidSimple.Equiv... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__reflexivity",
"FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit",
"FStar.... | [
"recursion"
] | false | false | true | false | false | let rec flatten_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (flatten e))) =
| match e with
| Unit -> EQ?.reflexivity eq (CM?.unit m)
| Atom x -> EQ?.reflexivity eq (select x am)
| Mult e1 e2 ->
flatten_correct_aux eq m am (flatten e1) (flatten e2);
EQ?.symmetry eq
(xsdenote eq m am (flatten e1 @ flatten e2))
(CM?.mult m (xsdenote eq m am (flatten e1)) (xsdenote eq m am (flatten e2)))... | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.sort_via_swaps | val sort_via_swaps (#a: Type) (am: amap a) (xs: list atom)
: Lemma (exists (ss: swaps_for xs). sort xs == apply_swaps xs ss) | val sort_via_swaps (#a: Type) (am: amap a) (xs: list atom)
: Lemma (exists (ss: swaps_for xs). sort xs == apply_swaps xs ss) | let sort_via_swaps (#a:Type) (am:amap a) (xs:list atom)
: Lemma (exists (ss:swaps_for xs). sort xs == apply_swaps xs ss)
= List.Tot.Properties.sortWith_permutation #int (compare_of_bool (<)) xs;
let ss = equal_counts_implies_swaps xs (sort xs) in
() | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 6,
"end_line": 230,
"start_col": 0,
"start_line": 226
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
xs: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom
-> FStar.Pervasives.Lemma
(ensures
exists (ss: FStar.Tactics.CanonCommSwaps.swaps_for xs).
FStar.Tactics.CanonCommMonoidSimple.Equiv.sort xs ==
FStar.Tactics.CanonCo... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.CanonCommSwaps.swap",
"FStar.List.Tot.Base.length",
"FStar.Tactics.CanonCommSwaps.equal_counts_implies_swaps",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.sort",
"Prims.unit"... | [] | true | false | true | false | false | let sort_via_swaps (#a: Type) (am: amap a) (xs: list atom)
: Lemma (exists (ss: swaps_for xs). sort xs == apply_swaps xs ss) =
| List.Tot.Properties.sortWith_permutation #int (compare_of_bool ( < )) xs;
let ss = equal_counts_implies_swaps xs (sort xs) in
() | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.apply_swaps_correct | val apply_swaps_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(ss: list (swap (length xs)))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swaps xs ss))))
(decreases ss) | val apply_swaps_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(ss: list (swap (length xs)))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swaps xs ss))))
(decreases ss) | let rec apply_swaps_correct (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a)
(xs:list atom) (ss:list (swap (length xs)))
: Lemma (requires True)
(ensures (xsdenote eq m am xs `EQ?.eq eq` xsdenote eq m am (apply_swaps xs ss)))
(decreases ss) =
match ss with
| [] -> EQ?.reflexi... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 80,
"end_line": 200,
"start_col": 0,
"start_line": 188
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
xs: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom ->
ss: Prims.list (FStar.Tactics.CanonCommSwaps.swap (FStar.List.Tot.Base.length xs))
->... | FStar.Pervasives.Lemma | [
"lemma",
""
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.CanonCommSwaps.swap",
"FStar.List.Tot.Base.length",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__... | [
"recursion"
] | false | false | true | false | false | let rec apply_swaps_correct
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(ss: list (swap (length xs)))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swaps xs ss))))
(decreases ss) =
| match ss with
| [] -> EQ?.reflexivity eq (xsdenote eq m am xs)
| s :: ss' ->
apply_swap_correct eq m am xs s;
apply_swaps_correct eq m am (apply_swap xs s) ss';
EQ?.transitivity eq
(xsdenote eq m am xs)
(xsdenote eq m am (apply_swap xs s))
(xsdenote eq m am (apply_swaps (apply_swap xs s) ss')) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.reification_aux | val reification_aux (ts: list term) (am: amap term) (mult unit t: term)
: Tac (exp * list term * amap term) | val reification_aux (ts: list term) (am: amap term) (mult unit t: term)
: Tac (exp * list term * amap term) | let rec reification_aux (ts:list term) (am:amap term)
(mult unit t : term) : Tac (exp * list term * amap term) =
let hd, tl = collect_app t in
match inspect hd, tl with
| Tv_FVar fv, [(t1, Q_Explicit) ; (t2, Q_Explicit)] ->
if term_eq (pack (Tv_FVar fv)) mult
then (let (e1, ts, am)... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 22,
"end_line": 299,
"start_col": 0,
"start_line": 286
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
ts: Prims.list FStar.Tactics.NamedView.term ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap FStar.Tactics.NamedView.term ->
mult: FStar.Tactics.NamedView.term ->
unit: FStar.Tactics.NamedView.term ->
t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
((FStar.Tactics.CanonCommMo... | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.list",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Stubs.Reflection.V2.Data.argv",
"FStar.Stubs.Reflection.Types.fv",
"FStar.Stubs.Reflection.Types.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Pervasives.Native.Mktuple3",
"FStar.T... | [
"recursion"
] | false | true | false | false | false | let rec reification_aux (ts: list term) (am: amap term) (mult unit t: term)
: Tac (exp * list term * amap term) =
| let hd, tl = collect_app t in
match inspect hd, tl with
| Tv_FVar fv, [t1, Q_Explicit ; t2, Q_Explicit] ->
if term_eq (pack (Tv_FVar fv)) mult
then
(let e1, ts, am = reification_aux ts am mult unit t1 in
let e2, ts, am = reification_aux ts am mult unit t2 in
(Mult e1 e2, ts, am))
else fatom t ts a... | false |
FStar.Seq.Base.fsti | FStar.Seq.Base.createEmpty | val createEmpty (#a: Type) : Tot (s: (seq a){length s = 0}) | val createEmpty (#a: Type) : Tot (s: (seq a){length s = 0}) | let createEmpty (#a:Type)
: Tot (s:(seq a){length s=0})
= empty #a | {
"file_name": "ulib/FStar.Seq.Base.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 14,
"end_line": 52,
"start_col": 0,
"start_line": 50
} | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked"
],
"interface_file": false,
"source_file": "FStar.Seq.Base.fsti"
} | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | s: FStar.Seq.Base.seq a {FStar.Seq.Base.length s = 0} | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.empty",
"FStar.Seq.Base.seq",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length"
] | [] | false | false | false | false | false | let createEmpty (#a: Type) : Tot (s: (seq a){length s = 0}) =
| empty #a | false |
FStar.Seq.Base.fsti | FStar.Seq.Base.op_At_Bar | val op_At_Bar : s1: FStar.Seq.Base.seq a -> s2: FStar.Seq.Base.seq a -> FStar.Seq.Base.seq a | let op_At_Bar (#a:Type) (s1:seq a) (s2:seq a) = append s1 s2 | {
"file_name": "ulib/FStar.Seq.Base.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 60,
"end_line": 62,
"start_col": 0,
"start_line": 62
} | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked"
],
"interface_file": false,
"source_file": "FStar.Seq.Base.fsti"
} | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | s1: FStar.Seq.Base.seq a -> s2: FStar.Seq.Base.seq a -> FStar.Seq.Base.seq a | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.seq",
"FStar.Seq.Base.append"
] | [] | false | false | false | true | false | let ( @| ) (#a: Type) (s1 s2: seq a) =
| append s1 s2 | false | |
FStar.Seq.Base.fsti | FStar.Seq.Base.cons | val cons (#a: Type) (x: a) (s: seq a) : Tot (seq a) | val cons (#a: Type) (x: a) (s: seq a) : Tot (seq a) | let cons (#a:Type) (x:a) (s:seq a) : Tot (seq a) = append (create 1 x) s | {
"file_name": "ulib/FStar.Seq.Base.fsti",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 72,
"end_line": 60,
"start_col": 0,
"start_line": 60
} | (*
Copyright 2008-2014 Nikhil Swamy and Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked"
],
"interface_file": false,
"source_file": "FStar.Seq.Base.fsti"
} | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 -> s: FStar.Seq.Base.seq a -> FStar.Seq.Base.seq a | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.seq",
"FStar.Seq.Base.append",
"FStar.Seq.Base.create"
] | [] | false | false | false | true | false | let cons (#a: Type) (x: a) (s: seq a) : Tot (seq a) =
| append (create 1 x) s | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.flatten_correct_aux | val flatten_correct_aux (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (xs1 xs2: list atom)
: Lemma
(EQ?.eq eq
(xsdenote eq m am (xs1 @ xs2))
(CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2))) | val flatten_correct_aux (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (xs1 xs2: list atom)
: Lemma
(EQ?.eq eq
(xsdenote eq m am (xs1 @ xs2))
(CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2))) | let rec flatten_correct_aux (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a) (xs1 xs2:list atom)
: Lemma (xsdenote eq m am (xs1 @ xs2) `EQ?.eq eq` CM?.mult m (xsdenote eq m am xs1)
(xsdenote eq m am xs2)) =
match xs1 with
| [] ->
CM?.identity m (x... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 112,
"end_line": 112,
"start_col": 0,
"start_line": 90
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
xs1: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom ->
xs2: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom
-> FStar.Pervasives.L... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__symmetry",
"FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mu... | [
"recursion"
] | false | false | true | false | false | let rec flatten_correct_aux (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (xs1 xs2: list atom)
: Lemma
(EQ?.eq eq
(xsdenote eq m am (xs1 @ xs2))
(CM?.mult m (xsdenote eq m am xs1) (xsdenote eq m am xs2))) =
| match xs1 with
| [] ->
CM?.identity m (xsdenote eq m am xs2);
EQ?.symmetry eq (CM?.mult m (CM?.unit m) (xsdenote eq m am xs2)) (xsdenote eq m am xs2)
| [x] ->
(if (Nil? xs2)
then
(right_identity eq m (select x am);
EQ?.symmetry eq (CM?.mult m (select x am) (CM?.unit m)) (select x am))
else E... | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.canon_lhs_rhs | val canon_lhs_rhs (eq m lhs rhs: term) : Tac unit | val canon_lhs_rhs (eq m lhs rhs: term) : Tac unit | let canon_lhs_rhs (eq: term) (m: term) (lhs rhs:term) : Tac unit =
let m_unit = norm_term [iota; zeta; delta](`CM?.unit (`#m)) in
let am = const m_unit in (* empty map *)
let (r1, ts, am) = reification eq m [] am lhs in
let (r2, _, am) = reification eq m ts am rhs in
//dump ("am = " ^ term_to_string (quote a... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 369,
"start_col": 0,
"start_line": 339
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Tactics.NamedView.term ->
m: FStar.Tactics.NamedView.term ->
lhs: FStar.Tactics.NamedView.term ->
rhs: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.V2.Derived.or_else",
"Prims.unit",
"FStar.Tactics.V2.Derived.apply_lemma",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.repeat_cong_right_identi... | [] | false | true | false | false | false | let canon_lhs_rhs (eq m lhs rhs: term) : Tac unit =
| let m_unit = norm_term [iota; zeta; delta] (`CM?.unit (`#m)) in
let am = const m_unit in
let r1, ts, am = reification eq m [] am lhs in
let r2, _, am = reification eq m ts am rhs in
let am = convert_am am in
let r1 = quote_exp r1 in
let r2 = quote_exp r2 in
change_sq (`(EQ?.eq (`#eq) (mdenote (`#eq) (`#m) (`#am) (`#r1)... | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.monoid_reflect | val monoid_reflect:
#a: Type ->
eq: equiv a ->
m: cm a eq ->
am: amap a ->
e1: exp ->
e2: exp ->
squash (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2)))
-> squash (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2)) | val monoid_reflect:
#a: Type ->
eq: equiv a ->
m: cm a eq ->
am: amap a ->
e1: exp ->
e2: exp ->
squash (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2)))
-> squash (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2)) | let monoid_reflect (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a) (e1 e2:exp)
(_ : squash (xsdenote eq m am (canon e1) `EQ?.eq eq` xsdenote eq m am (canon e2)))
: squash (mdenote eq m am e1 `EQ?.eq eq` mdenote eq m am e2) =
monoid_reflect_orig #a eq m am e1 e2 | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 38,
"end_line": 266,
"start_col": 0,
"start_line": 263
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
e1: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp ->
e2: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp ->
_:
Prims.squash (EQ?.eq eq
... | Prims.Tot | [
"total"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"Prims.squash",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__eq",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.xsdenote",
"... | [] | false | false | true | false | false | let monoid_reflect
(#a: Type)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(e1: exp)
(e2: exp)
(_: squash (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2))))
: squash (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2)) =
| monoid_reflect_orig #a eq m am e1 e2 | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.canon_correct | val canon_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (canon e))) | val canon_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (canon e))) | let canon_correct (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a) (e:exp)
: Lemma (mdenote eq m am e `EQ?.eq eq` xsdenote eq m am (canon e)) =
flatten_correct eq m am e;
sort_correct eq m am (flatten e);
EQ?.transitivity eq (mdenote eq m am e)
(xsdenote eq m am (flatten e))
... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 59,
"end_line": 248,
"start_col": 0,
"start_line": 242
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
e: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp
-> FStar.Pervasives.Lemma
(ensures
EQ?.eq eq
(FStar.Tactics.CanonCommMonoidSimple.Equiv... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.mdenote",
"FStar.Tac... | [] | true | false | true | false | false | let canon_correct (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e: exp)
: Lemma (EQ?.eq eq (mdenote eq m am e) (xsdenote eq m am (canon e))) =
| flatten_correct eq m am e;
sort_correct eq m am (flatten e);
EQ?.transitivity eq
(mdenote eq m am e)
(xsdenote eq m am (flatten e))
(xsdenote eq m am (sort (flatten e))) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.fatom | val fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term) | val fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term) | let fatom (t:term) (ts:list term) (am:amap term) : Tac (exp * list term * amap term) =
match where t ts with
| Some v -> (Atom v, ts, am)
| None ->
let vfresh = length ts in
let t = norm_term [iota; zeta] t in
(Atom vfresh, ts @ [t], update vfresh t am) | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 47,
"end_line": 283,
"start_col": 0,
"start_line": 277
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
t: FStar.Tactics.NamedView.term ->
ts: Prims.list FStar.Tactics.NamedView.term ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
((FStar.Tactics.CanonCommMonoidSimple.Equiv.exp * Prims.list FStar.Tactics.NamedView.term) *
FStar.Tactic... | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.nat",
"FStar.Pervasives.Native.Mktuple3",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.Atom",
"FStar.Pervasives.Native.tuple3",
"FStar.List.Tot.Base.o... | [] | false | true | false | false | false | let fatom (t: term) (ts: list term) (am: amap term) : Tac (exp * list term * amap term) =
| match where t ts with
| Some v -> (Atom v, ts, am)
| None ->
let vfresh = length ts in
let t = norm_term [iota; zeta] t in
(Atom vfresh, ts @ [t], update vfresh t am) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.where_aux | val where_aux (n: nat) (x: term) (xs: list term) : Tac (option nat) | val where_aux (n: nat) (x: term) (xs: list term) : Tac (option nat) | let rec where_aux (n:nat) (x:term) (xs:list term) :
Tac (option nat) =
match xs with
| [] -> None
| x'::xs' -> if term_eq x x' then Some n else where_aux (n+1) x xs' | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 69,
"end_line": 274,
"start_col": 0,
"start_line": 270
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | n: Prims.nat -> x: FStar.Tactics.NamedView.term -> xs: Prims.list FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option Prims.nat) | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.nat",
"FStar.Tactics.NamedView.term",
"Prims.list",
"FStar.Pervasives.Native.None",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.Some",
"Prims.bool",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.where_aux",
"Prims.op_Addition",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.term_eq"... | [
"recursion"
] | false | true | false | false | false | let rec where_aux (n: nat) (x: term) (xs: list term) : Tac (option nat) =
| match xs with
| [] -> None
| x' :: xs' -> if term_eq x x' then Some n else where_aux (n + 1) x xs' | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.convert_map | val convert_map (m: list (atom * term)) : term | val convert_map (m: list (atom * term)) : term | let rec convert_map (m : list (atom * term)) : term =
match m with
| [] -> `[]
| (a, t)::ps ->
let a = pack (Tv_Const (C_Int a)) in
(* let t = norm_term [delta] t in *)
`((`#a, (`#t)) :: (`#(convert_map ps))) | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 45,
"end_line": 322,
"start_col": 0,
"start_line": 316
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | m: Prims.list (FStar.Tactics.CanonCommMonoidSimple.Equiv.atom * FStar.Tactics.NamedView.term)
-> FStar.Tactics.NamedView.term | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.NamedView.term",
"FStar.Stubs.Reflection.Types.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.convert_map",
"FStar.Tactics.NamedView.pack",
"FStar.Tactics.NamedView.Tv_Const",
"FStar.S... | [
"recursion"
] | false | false | false | true | false | let rec convert_map (m: list (atom * term)) : term =
| match m with
| [] -> `[]
| (a, t) :: ps ->
let a = pack (Tv_Const (C_Int a)) in
`(((`#a), (`#t)) :: (`#(convert_map ps))) | false |
EverParse3d.InputStream.Extern.Base.fsti | EverParse3d.InputStream.Extern.Base.t | val t : Type0 | let t = input_stream_base | {
"file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.Base.fsti",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 25,
"end_line": 15,
"start_col": 0,
"start_line": 15
} | module EverParse3d.InputStream.Extern.Base
module B = LowStar.Buffer
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
module U8 = FStar.UInt8
module LPE = EverParse3d.ErrorCode
module U64 = FStar.UInt64
val input_stream_base : Type0
inline_for_extraction | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.checked",
"FStar.H... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "EverParse3d.ErrorCode",
"short_module": "LPE"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"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 | Type0 | Prims.Tot | [
"total"
] | [] | [
"EverParse3d.InputStream.Extern.Base.input_stream_base"
] | [] | false | false | false | true | true | let t =
| input_stream_base | false | |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.apply_swap_aux_correct | val apply_swap_aux_correct
(#a: Type)
(n: nat)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs + n))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap_aux n xs s))))
(decreases xs) | val apply_swap_aux_correct
(#a: Type)
(n: nat)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs + n))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap_aux n xs s))))
(decreases xs) | let rec apply_swap_aux_correct (#a:Type) (n:nat) (eq:equiv a) (m:cm a eq) (am:amap a)
(xs:list atom) (s:swap (length xs + n))
: Lemma (requires True)
(ensures (xsdenote eq m am xs `EQ?.eq eq` xsdenote eq m am (apply_swap_aux n xs s)))
(decreases xs) =
match xs with
| [] -> E... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 96,
"end_line": 180,
"start_col": 0,
"start_line": 147
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
n: Prims.nat ->
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
xs: Prims.list FStar.Tactics.CanonCommMonoidSimple.Equiv.atom ->
s: FStar.Tactics.CanonCommSwaps.swap (FStar.List.Tot.Base.length xs... | FStar.Pervasives.Lemma | [
"lemma",
""
] | [] | [
"Prims.nat",
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"Prims.list",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.CanonCommSwaps.swap",
"Prims.op_Addition",
"FStar.List.Tot.Base.length",
"FStar... | [
"recursion"
] | false | false | true | false | false | let rec apply_swap_aux_correct
(#a: Type)
(n: nat)
(eq: equiv a)
(m: cm a eq)
(am: amap a)
(xs: list atom)
(s: swap (length xs + n))
: Lemma (requires True)
(ensures (EQ?.eq eq (xsdenote eq m am xs) (xsdenote eq m am (apply_swap_aux n xs s))))
(decreases xs) =
... | match xs with
| [] -> EQ?.reflexivity eq (CM?.unit m)
| [x] -> EQ?.reflexivity eq (select x am)
| [x1 ; x2] ->
if n = (s <: nat)
then CM?.commutativity m (select x1 am) (select x2 am)
else EQ?.reflexivity eq (xsdenote eq m am [x1; x2])
| x1 :: x2 :: xs' ->
if n = (s <: nat)
then
(CM?.associativity m (sele... | false |
EverParse3d.InputStream.Extern.Base.fsti | EverParse3d.InputStream.Extern.Base.peep_pre | val peep_pre (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t) (x: t) (n: U64.t) (h: HS.mem)
: Tot prop | val peep_pre (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t) (x: t) (n: U64.t) (h: HS.mem)
: Tot prop | let peep_pre
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t)
(x: t)
(n: U64.t)
(h: HS.mem)
: Tot prop
=
live x h /\
Seq.length (get_remaining x h) >= U64.v n | {
"file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.Base.fsti",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 47,
"end_line": 106,
"start_col": 0,
"start_line": 98
} | module EverParse3d.InputStream.Extern.Base
module B = LowStar.Buffer
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
module U8 = FStar.UInt8
module LPE = EverParse3d.ErrorCode
module U64 = FStar.UInt64
val input_stream_base : Type0
inline_for_extraction
noextract
let t = input... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.checked",
"FStar.H... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "EverParse3d.ErrorCode",
"short_module": "LPE"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"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 | x: EverParse3d.InputStream.Extern.Base.t -> n: FStar.UInt64.t -> h: FStar.Monotonic.HyperStack.mem
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"EverParse3d.InputStream.Extern.Base.extra_t",
"EverParse3d.InputStream.Extern.Base.t",
"FStar.UInt64.t",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"EverParse3d.InputStream.Extern.Base.live",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"FStar.Seq.Base.length",
"FStar.UInt8.t",
"EverParse3... | [] | false | false | false | true | true | let peep_pre (#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t) (x: t) (n: U64.t) (h: HS.mem)
: Tot prop =
| live x h /\ Seq.length (get_remaining x h) >= U64.v n | false |
Rel.fst | Rel.same | val same : x: _ -> Rel.rel _ | let same x = R x x | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 18,
"end_line": 24,
"start_col": 0,
"start_line": 24
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: _ -> Rel.rel _ | Prims.Tot | [
"total"
] | [] | [
"Rel.R",
"Rel.rel"
] | [] | false | false | false | true | false | let same x =
| R x x | false | |
Rel.fst | Rel.lift | val lift : #t:Type -> #t2:Type
-> f:(t -> Tot t2) -> rel t
-> Tot (rel t2) | val lift : #t:Type -> #t2:Type
-> f:(t -> Tot t2) -> rel t
-> Tot (rel t2) | let lift #t #t2 f (R x y) = R (f x) (f y) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 29,
"start_col": 0,
"start_line": 29
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: (_: t -> t2) -> _: Rel.rel t -> Rel.rel t2 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"Rel.R"
] | [] | false | false | false | true | false | let lift #t #t2 f (R x y) =
| R (f x) (f y) | false |
Rel.fst | Rel.lift3 | val lift3 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type
-> f:(t -> t2 -> t3 -> Tot t4) -> rel t -> rel t2 -> rel t3
-> Tot (rel t4) | val lift3 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type
-> f:(t -> t2 -> t3 -> Tot t4) -> rel t -> rel t2 -> rel t3
-> Tot (rel t4) | let lift3 #t #t2 #t3 #t4 f (R x y) (R x2 y2) (R x3 y3) = R (f x x2 x3) (f y y2 y3) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 82,
"end_line": 39,
"start_col": 0,
"start_line": 39
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: (_: t -> _: t2 -> _: t3 -> t4) -> _: Rel.rel t -> _: Rel.rel t2 -> _: Rel.rel t3 -> Rel.rel t4 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"FStar.Pervasives.Native.Mktuple3",
"Rel.R"
] | [] | false | false | false | true | false | let lift3 #t #t2 #t3 #t4 f (R x y) (R x2 y2) (R x3 y3) =
| R (f x x2 x3) (f y y2 y3) | false |
Rel.fst | Rel.lift2 | val lift2 : #t:Type -> #t2:Type -> #t3:Type
-> f:(t -> t2 -> Tot t3) -> rel t -> rel t2
-> Tot (rel t3) | val lift2 : #t:Type -> #t2:Type -> #t3:Type
-> f:(t -> t2 -> Tot t3) -> rel t -> rel t2
-> Tot (rel t3) | let lift2 #t #t2 #t3 f (R x y) (R x2 y2) = R (f x x2) (f y y2) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 62,
"end_line": 34,
"start_col": 0,
"start_line": 34
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | f: (_: t -> _: t2 -> t3) -> _: Rel.rel t -> _: Rel.rel t2 -> Rel.rel t3 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"FStar.Pervasives.Native.Mktuple2",
"Rel.R"
] | [] | false | false | false | true | false | let lift2 #t #t2 #t3 f (R x y) (R x2 y2) =
| R (f x x2) (f y y2) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.monoid_reflect_orig | val monoid_reflect_orig (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e1 e2: exp)
: Lemma (requires (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2))))
(ensures (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2))) | val monoid_reflect_orig (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e1 e2: exp)
: Lemma (requires (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2))))
(ensures (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2))) | let monoid_reflect_orig (#a:Type) (eq:equiv a) (m:cm a eq) (am:amap a) (e1 e2:exp)
: Lemma (requires (xsdenote eq m am (canon e1) `EQ?.eq eq` xsdenote eq m am (canon e2)))
(ensures (mdenote eq m am e1 `EQ?.eq eq` mdenote eq m am e2)) =
canon_correct eq m am e1;
canon_correct eq m am e2;
EQ?.symmetry e... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 42,
"end_line": 261,
"start_col": 0,
"start_line": 250
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
eq: FStar.Algebra.CommMonoid.Equiv.equiv a ->
m: FStar.Algebra.CommMonoid.Equiv.cm a eq ->
am: FStar.Tactics.CanonCommMonoidSimple.Equiv.amap a ->
e1: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp ->
e2: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp
-> FStar.Pervasives.Lemma
(requires
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"FStar.Algebra.CommMonoid.Equiv.equiv",
"FStar.Algebra.CommMonoid.Equiv.cm",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.amap",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.mdenote",
"FStar.Tac... | [] | true | false | true | false | false | let monoid_reflect_orig (#a: Type) (eq: equiv a) (m: cm a eq) (am: amap a) (e1 e2: exp)
: Lemma (requires (EQ?.eq eq (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2))))
(ensures (EQ?.eq eq (mdenote eq m am e1) (mdenote eq m am e2))) =
| canon_correct eq m am e1;
canon_correct eq m am e2;
EQ?.symmetry eq (mdenote eq m am e2) (xsdenote eq m am (canon e2));
EQ?.transitivity eq (mdenote eq m am e1) (xsdenote eq m am (canon e1)) (xsdenote eq m am (canon e2));
EQ?.transitivity eq (mdenote eq m am e1) (xsdenote eq m am (canon e2)) (mdenote eq m am e2) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.quote_exp | val quote_exp (e: exp) : term | val quote_exp (e: exp) : term | let rec quote_exp (e:exp) : term =
match e with
| Unit -> (`Unit)
| Mult e1 e2 -> (`Mult (`#(quote_exp e1)) (`#(quote_exp e2)))
| Atom n -> let nt = pack (Tv_Const (C_Int n)) in
(`Atom (`#nt)) | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 337,
"start_col": 0,
"start_line": 332
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | e: FStar.Tactics.CanonCommMonoidSimple.Equiv.exp -> FStar.Tactics.NamedView.term | Prims.Tot | [
"total"
] | [] | [
"FStar.Tactics.CanonCommMonoidSimple.Equiv.exp",
"FStar.Stubs.Reflection.Types.term",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.quote_exp",
"FStar.Tactics.CanonCommMonoidSimple.Equiv.atom",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.NamedView.pack",
"FStar.Tactics.NamedView.Tv_Const",
"FStar.Stub... | [
"recursion"
] | false | false | false | true | false | let rec quote_exp (e: exp) : term =
| match e with
| Unit -> (`Unit)
| Mult e1 e2 -> (`Mult (`#(quote_exp e1)) (`#(quote_exp e2)))
| Atom n ->
let nt = pack (Tv_Const (C_Int n)) in
(`Atom (`#nt)) | false |
Rel.fst | Rel.lift4 | val lift4 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type -> #t5:Type
-> f:(t -> t2 -> t3 -> t4 -> Tot t5)
-> rel t -> rel t2 -> rel t3 -> rel t4
-> Tot (rel t5) | val lift4 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type -> #t5:Type
-> f:(t -> t2 -> t3 -> t4 -> Tot t5)
-> rel t -> rel t2 -> rel t3 -> rel t4
-> Tot (rel t5) | let lift4 #t #t2 #t3 #t4 #t5 f (R x y) (R x2 y2) (R x3 y3) (R x4 y4) =
R (f x x2 x3 x4) (f y y2 y3 y4) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 35,
"end_line": 46,
"start_col": 0,
"start_line": 45
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
f: (_: t -> _: t2 -> _: t3 -> _: t4 -> t5) ->
_: Rel.rel t ->
_: Rel.rel t2 ->
_: Rel.rel t3 ->
_: Rel.rel t4
-> Rel.rel t5 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"FStar.Pervasives.Native.Mktuple4",
"Rel.R"
] | [] | false | false | false | true | false | let lift4 #t #t2 #t3 #t4 #t5 f (R x y) (R x2 y2) (R x3 y3) (R x4 y4) =
| R (f x x2 x3 x4) (f y y2 y3 y4) | false |
Rel.fst | Rel.diag | val diag (#a: Type) (p: (a -> Tot Type0)) (r: rel a) : Type0 | val diag (#a: Type) (p: (a -> Tot Type0)) (r: rel a) : Type0 | let diag (#a:Type) (p:a -> Tot Type0) (r:rel a) : Type0 = p (R?.l r) /\ p (R?.r r) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 82,
"end_line": 58,
"start_col": 0,
"start_line": 58
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | p: (_: a -> Type0) -> r: Rel.rel a -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"Prims.l_and",
"Rel.__proj__R__item__l",
"Rel.__proj__R__item__r"
] | [] | false | false | false | true | true | let diag (#a: Type) (p: (a -> Tot Type0)) (r: rel a) : Type0 =
| p (R?.l r) /\ p (R?.r r) | false |
FStar.Tactics.CanonCommMonoidSimple.Equiv.fst | FStar.Tactics.CanonCommMonoidSimple.Equiv.canon_monoid | val canon_monoid (eq m: term) : Tac unit | val canon_monoid (eq m: term) : Tac unit | let canon_monoid (eq: term) (m: term) : Tac unit =
norm [iota; zeta];
let t = cur_goal () in
// removing top-level squash application
let sq, rel_xy = collect_app t in
// unpacking the application of the equivalence relation (lhs `EQ?.eq eq` rhs)
(match rel_xy with
| [(rel_xy,_)] -> (
let rel, xy ... | {
"file_name": "ulib/FStar.Tactics.CanonCommMonoidSimple.Equiv.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 68,
"end_line": 391,
"start_col": 0,
"start_line": 372
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.CanonCommSwaps.fst.checked",
"FStar.Tactics.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.Properties.fst.checked",
"FSt... | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.CanonCommSwaps",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Classical",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | eq: FStar.Tactics.NamedView.term -> m: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"FStar.Tactics.NamedView.term",
"Prims.list",
"FStar.Stubs.Reflection.V2.Data.argv",
"FStar.Stubs.Reflection.Types.term",
"FStar.Stubs.Reflection.V2.Data.aqualv",
"Prims.op_GreaterThanOrEqual",
"FStar.List.Tot.Base.length",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Pervasives.Native.tuple2",
"FSt... | [] | false | true | false | false | false | let canon_monoid (eq m: term) : Tac unit =
| norm [iota; zeta];
let t = cur_goal () in
let sq, rel_xy = collect_app t in
(match rel_xy with
| [rel_xy, _] ->
(let rel, xy = collect_app rel_xy in
if (length xy >= 2)
then
(match
FStar.List.Tot.Base.index xy (length xy - 2), FStar.List.Tot.index xy (length xy - 1)
with
... | false |
Rel.fst | Rel.lift5 | val lift5 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type -> #t5:Type -> #t6:Type
-> f:(t -> t2 -> t3 -> t4 -> t5 -> Tot t6)
-> rel t -> rel t2 -> rel t3 -> rel t4 -> rel t5
-> Tot (rel t6) | val lift5 : #t:Type -> #t2:Type -> #t3:Type -> #t4:Type -> #t5:Type -> #t6:Type
-> f:(t -> t2 -> t3 -> t4 -> t5 -> Tot t6)
-> rel t -> rel t2 -> rel t3 -> rel t4 -> rel t5
-> Tot (rel t6) | let lift5 #t #t2 #t3 #t4 #t5 #t6 f (R x y) (R x2 y2) (R x3 y3) (R x4 y4) (R x5 y5) =
R (f x x2 x3 x4 x5) (f y y2 y3 y4 y5) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 41,
"end_line": 53,
"start_col": 0,
"start_line": 52
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
f: (_: t -> _: t2 -> _: t3 -> _: t4 -> _: t5 -> t6) ->
_: Rel.rel t ->
_: Rel.rel t2 ->
_: Rel.rel t3 ->
_: Rel.rel t4 ->
_: Rel.rel t5
-> Rel.rel t6 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"FStar.Pervasives.Native.Mktuple5",
"Rel.R"
] | [] | false | false | false | true | false | let lift5 #t #t2 #t3 #t4 #t5 #t6 f (R x y) (R x2 y2) (R x3 y3) (R x4 y4) (R x5 y5) =
| R (f x x2 x3 x4 x5) (f y y2 y3 y4 y5) | false |
Rel.fst | Rel.r_eq | val r_eq : #t:Type -> rel t -> Tot Type0 | val r_eq : #t:Type -> rel t -> Tot Type0 | let r_eq #t (R x y) = (x == y) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 30,
"end_line": 56,
"start_col": 0,
"start_line": 56
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Rel.rel t -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"Prims.eq2"
] | [] | false | false | false | true | true | let r_eq #t (R x y) =
| (x == y) | false |
Rel.fst | Rel.diagb | val diagb (#a: Type) (p: (a -> Tot bool)) (r: rel a) : Type0 | val diagb (#a: Type) (p: (a -> Tot bool)) (r: rel a) : Type0 | let diagb (#a:Type) (p:a -> Tot bool) (r:rel a) : Type0 = p (R?.l r) /\ p (R?.r r) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 82,
"end_line": 59,
"start_col": 0,
"start_line": 59
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | p: (_: a -> Prims.bool) -> r: Rel.rel a -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Rel.rel",
"Prims.l_and",
"Prims.b2t",
"Rel.__proj__R__item__l",
"Rel.__proj__R__item__r"
] | [] | false | false | false | true | true | let diagb (#a: Type) (p: (a -> Tot bool)) (r: rel a) : Type0 =
| p (R?.l r) /\ p (R?.r r) | false |
Rel.fst | Rel.split | val split (#a #b: Type) (r: rel (a * b)) : Tot (rel a * rel b) | val split (#a #b: Type) (r: rel (a * b)) : Tot (rel a * rel b) | let split (#a #b:Type) (r:rel (a*b)) : Tot (rel a * rel b) = (lift fst r, lift snd r) | {
"file_name": "examples/rel/Rel.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 85,
"end_line": 61,
"start_col": 0,
"start_line": 61
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Rel.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
}
] | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Rel.rel (a * b) -> Rel.rel a * Rel.rel b | Prims.Tot | [
"total"
] | [] | [
"Rel.rel",
"FStar.Pervasives.Native.tuple2",
"FStar.Pervasives.Native.Mktuple2",
"Rel.lift",
"FStar.Pervasives.Native.fst",
"FStar.Pervasives.Native.snd"
] | [] | false | false | false | true | false | let split (#a #b: Type) (r: rel (a * b)) : Tot (rel a * rel b) =
| (lift fst r, lift snd r) | false |
EverParse3d.InputStream.Extern.Base.fsti | EverParse3d.InputStream.Extern.Base.peep_post | val peep_post
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t)
(x: t)
(n: U64.t)
(h: HS.mem)
(dst': B.buffer U8.t)
(h': HS.mem)
: Tot prop | val peep_post
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t)
(x: t)
(n: U64.t)
(h: HS.mem)
(dst': B.buffer U8.t)
(h': HS.mem)
: Tot prop | let peep_post
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t)
(x: t)
(n: U64.t)
(h: HS.mem)
(dst' : B.buffer U8.t)
(h' : HS.mem)
: Tot prop
=
peep_pre x n h /\
begin
let s = get_remaining x h in
B.modifies B.loc_none h h' /\
((~ (B.g_is_null dst')) ==> (
B... | {
"file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.Base.fsti",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 5,
"end_line": 127,
"start_col": 0,
"start_line": 109
} | module EverParse3d.InputStream.Extern.Base
module B = LowStar.Buffer
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
module U8 = FStar.UInt8
module LPE = EverParse3d.ErrorCode
module U64 = FStar.UInt64
val input_stream_base : Type0
inline_for_extraction
noextract
let t = input... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.checked",
"FStar.H... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "EverParse3d.ErrorCode",
"short_module": "LPE"
},
{
"abbrev": true,
"full_module": "FStar.UInt8",
"short_module": "U8"
},
{
"abbrev": true,
"full_module"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"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 |
x: EverParse3d.InputStream.Extern.Base.t ->
n: FStar.UInt64.t ->
h: FStar.Monotonic.HyperStack.mem ->
dst': LowStar.Buffer.buffer FStar.UInt8.t ->
h': FStar.Monotonic.HyperStack.mem
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"EverParse3d.InputStream.Extern.Base.extra_t",
"EverParse3d.InputStream.Extern.Base.t",
"FStar.UInt64.t",
"FStar.Monotonic.HyperStack.mem",
"LowStar.Buffer.buffer",
"FStar.UInt8.t",
"Prims.l_and",
"EverParse3d.InputStream.Extern.Base.peep_pre",
"LowStar.Monotonic.Buffer.modifies",
"LowStar.Monoton... | [] | false | false | false | true | true | let peep_post
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: extra_t)
(x: t)
(n: U64.t)
(h: HS.mem)
(dst': B.buffer U8.t)
(h': HS.mem)
: Tot prop =
| peep_pre x n h /\
(let s = get_remaining x h in
B.modifies B.loc_none h h' /\
((~(B.g_is_null dst')) ==>
((B.as_seq h' dst') `Seq.equal` (Seq.slice s 0 (U64.v n)) /\ B.live h' dst' /\
(footprint x) `B.loc_includes` (B.loc_buffer dst')))) | false |
EverParse3d.InputStream.Extern.fst | EverParse3d.InputStream.Extern.read0 | val read0
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t)
(x: t)
(position: LPE.pos_t)
(n: U64.t)
(dst: B.buffer U8.t)
: HST.Stack (B.buffer U8.t)
(requires
(fun h ->
live x h /\ B.live h dst /\ B.loc_disjoint (footprint x) (B.loc_buffer dst) /\
... | val read0
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t)
(x: t)
(position: LPE.pos_t)
(n: U64.t)
(dst: B.buffer U8.t)
: HST.Stack (B.buffer U8.t)
(requires
(fun h ->
live x h /\ B.live h dst /\ B.loc_disjoint (footprint x) (B.loc_buffer dst) /\
... | let read0
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t)
(x: t)
(position: LPE.pos_t)
(n: U64.t)
(dst: B.buffer U8.t)
: HST.Stack (B.buffer U8.t)
(requires (fun h ->
live x h /\
B.live h dst /\
B.loc_disjoint (footprint x) (B.loc_buffer dst) /\
U64.v posi... | {
"file_name": "src/3d/prelude/extern/EverParse3d.InputStream.Extern.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 5,
"end_line": 178,
"start_col": 0,
"start_line": 139
} | module EverParse3d.InputStream.Extern
module B = LowStar.Buffer
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module U32 = FStar.UInt32
module U8 = FStar.UInt8
module U64 = FStar.UInt64
module LPE = EverParse3d.ErrorCode
module Aux = EverParse3d.InputStream.Extern.Type
inline_for_extraction
noextract... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.BufferOps.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Perv... | [
{
"abbrev": false,
"full_module": "LowStar.BufferOps",
"short_module": null
},
{
"abbrev": true,
"full_module": "EverParse3d.InputStream.Extern.Type",
"short_module": "Aux"
},
{
"abbrev": true,
"full_module": "EverParse3d.ErrorCode",
"short_module": "LPE"
},
{
"ab... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
x: EverParse3d.InputStream.Extern.t ->
position: EverParse3d.ErrorCode.pos_t ->
n: FStar.UInt64.t ->
dst: LowStar.Buffer.buffer FStar.UInt8.t
-> FStar.HyperStack.ST.Stack (LowStar.Buffer.buffer FStar.UInt8.t) | FStar.HyperStack.ST.Stack | [] | [] | [
"EverParse3d.InputStream.Extern.Base.extra_t",
"EverParse3d.InputStream.Extern.t",
"EverParse3d.ErrorCode.pos_t",
"FStar.UInt64.t",
"LowStar.Buffer.buffer",
"FStar.UInt8.t",
"Prims.unit",
"Prims._assert",
"Prims.l_and",
"EverParse3d.InputStream.Extern.live",
"FStar.Seq.Base.equal",
"EverParse3... | [] | false | true | false | false | false | let read0
(#[EverParse3d.Util.solve_from_ctx ()] _extra_t: Aux.extra_t)
(x: t)
(position: LPE.pos_t)
(n: U64.t)
(dst: B.buffer U8.t)
: HST.Stack (B.buffer U8.t)
(requires
(fun h ->
live x h /\ B.live h dst /\ B.loc_disjoint (footprint x) (B.loc_buffer dst) /\
... | let h0 = HST.get () in
let dst = Aux.read x.Aux.base n dst in
let h1 = HST.get () in
x.Aux.position *= Ghost.hide (position `U64.add` n);
let h2 = HST.get () in
Aux.preserved x.Aux.base (B.loc_buffer x.Aux.position) h1 h2;
get_remaining_eq x h0;
get_remaining_eq x h2;
assert (let s = get_remaining x h0 in
live x h2... | false |
LowStar.BufferCompat.fst | LowStar.BufferCompat.rcreate_post_mem_common | val rcreate_post_mem_common : r: FStar.Monotonic.HyperHeap.rid ->
len: Prims.nat ->
b: LowStar.Buffer.buffer a ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem ->
s: FStar.Seq.Base.seq a
-> Prims.logical | let rcreate_post_mem_common
(#a: Type)
(r: HS.rid)
(len: nat)
(b: buffer a)
(h0 h1: HS.mem)
(s:Seq.seq a)
= alloc_post_mem_common b h0 h1 s /\ frameOf b == r /\ length b == len | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 70,
"end_line": 33,
"start_col": 0,
"start_line": 26
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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: FStar.Monotonic.HyperHeap.rid ->
len: Prims.nat ->
b: LowStar.Buffer.buffer a ->
h0: FStar.Monotonic.HyperStack.mem ->
h1: FStar.Monotonic.HyperStack.mem ->
s: FStar.Seq.Base.seq a
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"FStar.Monotonic.HyperHeap.rid",
"Prims.nat",
"LowStar.Buffer.buffer",
"FStar.Monotonic.HyperStack.mem",
"FStar.Seq.Base.seq",
"Prims.l_and",
"LowStar.Monotonic.Buffer.alloc_post_mem_common",
"LowStar.Buffer.trivial_preorder",
"Prims.eq2",
"LowStar.Monotonic.Buffer.frameOf",
"LowStar.Monotonic.B... | [] | false | false | false | true | true | let rcreate_post_mem_common
(#a: Type)
(r: HS.rid)
(len: nat)
(b: buffer a)
(h0 h1: HS.mem)
(s: Seq.seq a)
=
| alloc_post_mem_common b h0 h1 s /\ frameOf b == r /\ length b == len | false | |
LowStar.BufferCompat.fst | LowStar.BufferCompat.rfree | val rfree (#a: Type) (b: buffer a)
: HST.ST unit
(requires (fun h0 -> live h0 b /\ freeable b))
(ensures
(fun h0 _ h1 ->
(not (g_is_null b)) /\
(Map.domain (HS.get_hmap h1)) `Set.equal` (Map.domain (HS.get_hmap h0)) /\
(HS.get_tip h1) == (HS.get_tip h0) /\ mod... | val rfree (#a: Type) (b: buffer a)
: HST.ST unit
(requires (fun h0 -> live h0 b /\ freeable b))
(ensures
(fun h0 _ h1 ->
(not (g_is_null b)) /\
(Map.domain (HS.get_hmap h1)) `Set.equal` (Map.domain (HS.get_hmap h0)) /\
(HS.get_tip h1) == (HS.get_tip h0) /\ mod... | let rfree
(#a: Type)
(b: buffer a)
: HST.ST unit
(requires (fun h0 -> live h0 b /\ freeable b))
(ensures (fun h0 _ h1 ->
(not (g_is_null b)) /\
Map.domain (HS.get_hmap h1) `Set.equal` Map.domain (HS.get_hmap h0) /\
(HS.get_tip h1) == (HS.get_tip h0) /\
modifies (loc_addr_of_buffer b) h0 h1 /\
... | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 8,
"end_line": 48,
"start_col": 0,
"start_line": 36
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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 | b: LowStar.Buffer.buffer a -> FStar.HyperStack.ST.ST Prims.unit | FStar.HyperStack.ST.ST | [] | [] | [
"LowStar.Buffer.buffer",
"LowStar.Monotonic.Buffer.free",
"LowStar.Buffer.trivial_preorder",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"LowStar.Monotonic.Buffer.live",
"LowStar.Monotonic.Buffer.freeable",
"Prims.b2t",
"Prims.op_Negation",
"LowStar.Monotonic.Buffer.g_is_null"... | [] | false | true | false | false | false | let rfree (#a: Type) (b: buffer a)
: HST.ST unit
(requires (fun h0 -> live h0 b /\ freeable b))
(ensures
(fun h0 _ h1 ->
(not (g_is_null b)) /\
(Map.domain (HS.get_hmap h1)) `Set.equal` (Map.domain (HS.get_hmap h0)) /\
(HS.get_tip h1) == (HS.get_tip h0) /\ mod... | free b | false |
LowStar.BufferCompat.fst | LowStar.BufferCompat.createL_pre | val createL_pre (#a: Type0) (init: list a) : GTot Type0 | val createL_pre (#a: Type0) (init: list a) : GTot Type0 | let createL_pre (#a: Type0) (init: list a) : GTot Type0 =
alloca_of_list_pre init | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 25,
"end_line": 92,
"start_col": 7,
"start_line": 91
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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 | init: Prims.list a -> Prims.GTot Type0 | Prims.GTot | [
"sometrivial"
] | [] | [
"Prims.list",
"LowStar.Monotonic.Buffer.alloca_of_list_pre"
] | [] | false | false | false | false | true | let createL_pre (#a: Type0) (init: list a) : GTot Type0 =
| alloca_of_list_pre init | false |
Hacl.Bignum32.fsti | Hacl.Bignum32.lbignum | val lbignum : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0 | let lbignum = Hacl.Bignum.Definitions.lbignum | {
"file_name": "code/bignum/Hacl.Bignum32.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 45,
"end_line": 15,
"start_col": 0,
"start_line": 15
} | module Hacl.Bignum32
open FStar.Mul
module BN = Hacl.Bignum
module BS = Hacl.Bignum.SafeAPI
module MA = Hacl.Bignum.MontArithmetic
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32 | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Bignum.SafeAPI.fst.checked",
"Hacl.Bignum.MontArithmetic.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Convert.fst.checked",
"Hacl.Bignum.fsti.checked",
"FStar.Pervas... | [
{
"abbrev": true,
"full_module": "Hacl.Bignum.MontArithmetic",
"short_module": "MA"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.SafeAPI",
"short_module": "BS"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.lbignum"
] | [] | false | false | false | true | true | let lbignum =
| Hacl.Bignum.Definitions.lbignum | false | |
Hacl.Bignum32.fsti | Hacl.Bignum32.t_limbs | val t_limbs:Hacl.Bignum.Definitions.limb_t | val t_limbs:Hacl.Bignum.Definitions.limb_t | let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32 | {
"file_name": "code/bignum/Hacl.Bignum32.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 62,
"end_line": 12,
"start_col": 0,
"start_line": 12
} | module Hacl.Bignum32
open FStar.Mul
module BN = Hacl.Bignum
module BS = Hacl.Bignum.SafeAPI
module MA = Hacl.Bignum.MontArithmetic
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0" | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Bignum.SafeAPI.fst.checked",
"Hacl.Bignum.MontArithmetic.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Convert.fst.checked",
"Hacl.Bignum.fsti.checked",
"FStar.Pervas... | [
{
"abbrev": true,
"full_module": "Hacl.Bignum.MontArithmetic",
"short_module": "MA"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.SafeAPI",
"short_module": "BS"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": false,
"f... | {
"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 | Hacl.Bignum.Definitions.limb_t | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.U32"
] | [] | false | false | false | true | false | let t_limbs:Hacl.Bignum.Definitions.limb_t =
| Lib.IntTypes.U32 | false |
LowStar.BufferCompat.fst | LowStar.BufferCompat.createL | val createL (#a: Type0) (init: list a)
: HST.StackInline (buffer a)
(requires (fun h -> createL_pre #a init))
(ensures
(fun h b h' ->
let len = FStar.List.Tot.length init in
rcreate_post_mem_common (HS.get_tip h) len b h h' (Seq.seq_of_list init) /\
length b =... | val createL (#a: Type0) (init: list a)
: HST.StackInline (buffer a)
(requires (fun h -> createL_pre #a init))
(ensures
(fun h b h' ->
let len = FStar.List.Tot.length init in
rcreate_post_mem_common (HS.get_tip h) len b h h' (Seq.seq_of_list init) /\
length b =... | let createL
(#a: Type0)
(init: list a)
: HST.StackInline (buffer a)
(requires (fun h -> createL_pre #a init))
(ensures (fun h b h' ->
let len = FStar.List.Tot.length init in
rcreate_post_mem_common (HS.get_tip h) len b h h' (Seq.seq_of_list init) /\
length b == normalize_term (List.Tot.length init)
... | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 104,
"start_col": 0,
"start_line": 94
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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 | init: Prims.list a -> FStar.HyperStack.ST.StackInline (LowStar.Buffer.buffer a) | FStar.HyperStack.ST.StackInline | [] | [] | [
"Prims.list",
"LowStar.Buffer.alloca_of_list",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.Pervasives.normalize_term",
"FStar.List.Tot.Base.length",
"Prims.b2t",
"Prims.op_Negation",
... | [] | false | true | false | false | false | let createL (#a: Type0) (init: list a)
: HST.StackInline (buffer a)
(requires (fun h -> createL_pre #a init))
(ensures
(fun h b h' ->
let len = FStar.List.Tot.length init in
rcreate_post_mem_common (HS.get_tip h) len b h h' (Seq.seq_of_list init) /\
length b =... | alloca_of_list init | false |
Hacl.Bignum32.fsti | Hacl.Bignum32.pbn_mont_ctx_u32 | val pbn_mont_ctx_u32 : Type0 | let pbn_mont_ctx_u32 = MA.pbn_mont_ctx_u32 | {
"file_name": "code/bignum/Hacl.Bignum32.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 42,
"end_line": 17,
"start_col": 0,
"start_line": 17
} | module Hacl.Bignum32
open FStar.Mul
module BN = Hacl.Bignum
module BS = Hacl.Bignum.SafeAPI
module MA = Hacl.Bignum.MontArithmetic
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
inline_for_extraction noextract
let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32
inline_for_extraction noextract
let lbign... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Hacl.Bignum.SafeAPI.fst.checked",
"Hacl.Bignum.MontArithmetic.fsti.checked",
"Hacl.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Convert.fst.checked",
"Hacl.Bignum.fsti.checked",
"FStar.Pervas... | [
{
"abbrev": true,
"full_module": "Hacl.Bignum.MontArithmetic",
"short_module": "MA"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.SafeAPI",
"short_module": "BS"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum",
"short_module": "BN"
},
{
"abbrev": false,
"f... | {
"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 | Type0 | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.MontArithmetic.pbn_mont_ctx_u32"
] | [] | false | false | false | true | true | let pbn_mont_ctx_u32 =
| MA.pbn_mont_ctx_u32 | false | |
LowStar.BufferCompat.fst | LowStar.BufferCompat.rcreate | val rcreate (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\
recallable b)) | val rcreate (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\
recallable b)) | let rcreate
(#a: Type)
(r: HS.rid)
(init: a)
(len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures (fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\
recallable b
))
= let b = gcmalloc r init len in
b | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 63,
"start_col": 0,
"start_line": 51
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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: FStar.Monotonic.HyperHeap.rid -> init: a -> len: FStar.UInt32.t
-> FStar.HyperStack.ST.ST (LowStar.Buffer.buffer a) | FStar.HyperStack.ST.ST | [] | [] | [
"FStar.Monotonic.HyperHeap.rid",
"FStar.UInt32.t",
"LowStar.Buffer.buffer",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.UInt32.v",
"Prims.b2t",
"Prims.op_Negation",
"LowStar.Monotoni... | [] | false | true | false | false | false | let rcreate (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\
recallable b)) =
| let b = gcmalloc r init len in
b | false |
LowStar.BufferCompat.fst | LowStar.BufferCompat.rcreate_mm | val rcreate_mm (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\ freeable b
)) | val rcreate_mm (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\ freeable b
)) | let rcreate_mm
(#a: Type)
(r: HS.rid)
(init: a)
(len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures (fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\
freeable b
))
= malloc r init len | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 19,
"end_line": 77,
"start_col": 0,
"start_line": 66
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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: FStar.Monotonic.HyperHeap.rid -> init: a -> len: FStar.UInt32.t
-> FStar.HyperStack.ST.ST (LowStar.Buffer.buffer a) | FStar.HyperStack.ST.ST | [] | [] | [
"FStar.Monotonic.HyperHeap.rid",
"FStar.UInt32.t",
"LowStar.Buffer.malloc",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.UInt32.v",
"Prims.b2t",
"Prims.op_Negation",
"LowStar.Monotoni... | [] | false | true | false | false | false | let rcreate_mm (#a: Type) (r: HS.rid) (init: a) (len: U32.t)
: HST.ST (buffer a)
(requires (fun h -> HST.is_eternal_region r /\ U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common r (U32.v len) b h h' (Seq.create (U32.v len) init) /\ freeable b
)) =
| malloc r init len | false |
LowStar.BufferCompat.fst | LowStar.BufferCompat.create | val create (#a: Type) (init: a) (len: U32.t)
: HST.StackInline (buffer a)
(requires (fun h -> U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common (HS.get_tip h) (U32.v len) b h h' (Seq.create (U32.v len) init))
) | val create (#a: Type) (init: a) (len: U32.t)
: HST.StackInline (buffer a)
(requires (fun h -> U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common (HS.get_tip h) (U32.v len) b h h' (Seq.create (U32.v len) init))
) | let create
(#a: Type)
(init: a)
(len: U32.t)
: HST.StackInline (buffer a)
(requires (fun h -> U32.v len > 0))
(ensures (fun h b h' ->
rcreate_post_mem_common (HS.get_tip h) (U32.v len) b h h' (Seq.create (U32.v len) init)
))
= alloca init len | {
"file_name": "ulib/legacy/LowStar.BufferCompat.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 17,
"end_line": 89,
"start_col": 0,
"start_line": 80
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt32.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Map.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.S... | [
{
"abbrev": true,
"full_module": "FStar.Seq",
"short_module": "Seq"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Hype... | {
"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 | init: a -> len: FStar.UInt32.t -> FStar.HyperStack.ST.StackInline (LowStar.Buffer.buffer a) | FStar.HyperStack.ST.StackInline | [] | [] | [
"FStar.UInt32.t",
"LowStar.Buffer.alloca",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.UInt32.v",
"Prims.b2t",
"Prims.op_Negation",
"LowStar.Monotonic.Buffer.g_is_null",
"LowStar.Buf... | [] | false | true | false | false | false | let create (#a: Type) (init: a) (len: U32.t)
: HST.StackInline (buffer a)
(requires (fun h -> U32.v len > 0))
(ensures
(fun h b h' ->
rcreate_post_mem_common (HS.get_tip h) (U32.v len) b h h' (Seq.create (U32.v len) init))
) =
| alloca init len | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_multiply | val va_code_Poly1305_multiply : va_dummy:unit -> Tot va_code | val va_code_Poly1305_multiply : va_dummy:unit -> Tot va_code | let va_code_Poly1305_multiply () =
(va_Block (va_CCons (va_code_Mul64Wrap (va_op_opr64_reg64 rR14)) (va_CCons (va_code_Mov64
(va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64
(va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR11)) (va_CCons (va_code_Mov64
(va_op_dst_opr64_reg64... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 47,
"start_col": 0,
"start_line": 24
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mul64Wrap",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | false | let va_code_Poly1305_multiply () =
| (va_Block (va_CCons (va_code_Mul64Wrap (va_op_opr64_reg64 rR14))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR11))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_multiply | val va_codegen_success_Poly1305_multiply : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_multiply : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_multiply () =
(va_pbool_and (va_codegen_success_Mul64Wrap (va_op_opr64_reg64 rR14)) (va_pbool_and
(va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax)) (va_pbool_and
(va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR11)) (va_p... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 96,
"end_line": 76,
"start_col": 0,
"start_line": 51
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mul64Wrap",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Machine_s.rRax",
"... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_multiply () =
| (va_pbool_and (va_codegen_success_Mul64Wrap (va_op_opr64_reg64 rR14))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRax))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax)
(va_op_opr64_reg64 rR11))
(va_pbool_and (va_cod... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_reduce | val va_codegen_success_Poly1305_reduce : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_reduce : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_reduce () =
(va_pbool_and (va_codegen_success_And64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR10))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rR10))
(va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rR10) (va_con... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 51,
"end_line": 330,
"start_col": 0,
"start_line": 321
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_And64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR10",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Machine_s.rRbp",
"Val... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_reduce () =
| (va_pbool_and (va_codegen_success_And64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR10))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rR10))
(va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rR10)
(va_const_shift_amt64 2))
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_reduce | val va_code_Poly1305_reduce : va_dummy:unit -> Tot va_code | val va_code_Poly1305_reduce : va_dummy:unit -> Tot va_code | let va_code_Poly1305_reduce () =
(va_Block (va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR10))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rR10)) (va_CCons
(va_code_Shr64 (va_op_dst_opr64_reg64 rR10) (va_const_shift_amt64 2)) (va_CCons (va_code_And64
... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 74,
"end_line": 317,
"start_col": 0,
"start_line": 309
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_And64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR10",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Machine_s.rRbp",
"... | [] | false | false | false | true | false | let va_code_Poly1305_reduce () =
| (va_Block (va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rR10))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRbp) (va_op_opr64_reg64 rR10))
(va_CCons (va_code_Shr64 (va_op_dst_opr64_reg64 rR10) (va_const_shift_amt64 2))
(va_CCons (va_code_And64 (va_op_ds... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_iteration | val va_codegen_success_Poly1305_iteration : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_iteration : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_iteration () =
(va_pbool_and (va_codegen_success_Poly1305_multiply ()) (va_pbool_and
(va_codegen_success_Poly1305_reduce ()) (va_ttrue ()))) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 59,
"end_line": 480,
"start_col": 0,
"start_line": 478
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.Poly1305.X64.va_codegen_success_Poly1305_multiply",
"Vale.Poly1305.X64.va_codegen_success_Poly1305_reduce",
"Vale.X64.Decls.va_ttrue",
"Vale.X64.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Poly1305_iteration () =
| (va_pbool_and (va_codegen_success_Poly1305_multiply ())
(va_pbool_and (va_codegen_success_Poly1305_reduce ()) (va_ttrue ()))) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_iteration | val va_code_Poly1305_iteration : va_dummy:unit -> Tot va_code | val va_code_Poly1305_iteration : va_dummy:unit -> Tot va_code | let va_code_Poly1305_iteration () =
(va_Block (va_CCons (va_code_Poly1305_multiply ()) (va_CCons (va_code_Poly1305_reduce ())
(va_CNil ())))) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 474,
"start_col": 0,
"start_line": 472
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.Poly1305.X64.va_code_Poly1305_multiply",
"Vale.Poly1305.X64.va_code_Poly1305_reduce",
"Vale.X64.Decls.va_CNil",
"Vale.X64.Decls.va_code"
] | [] | false | false | false | true | false | let va_code_Poly1305_iteration () =
| (va_Block (va_CCons (va_code_Poly1305_multiply ())
(va_CCons (va_code_Poly1305_reduce ()) (va_CNil ())))) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_blocks_body0 | val va_code_Poly1305_blocks_body0 : va_dummy:unit -> Tot va_code | val va_code_Poly1305_blocks_body0 : va_dummy:unit -> Tot va_code | let va_code_Poly1305_blocks_body0 () =
(va_Block (va_CCons (va_code_Mem64_lemma ()) (va_CCons (va_code_Add64Wrap (va_op_dst_opr64_reg64
rR14) (va_opr_code_Mem64 (va_op_heaplet_mem_heaplet 0) (va_op_reg64_reg64 rRsi) 0 Public))
(va_CCons (va_code_Mem64_lemma ()) (va_CCons (va_code_Adc64Wrap (va_op_dst_opr64_re... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 667,
"start_col": 0,
"start_line": 658
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsMem.va_code_Mem64_lemma",
"Vale.X64.InsBasic.va_code_Add64Wrap",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Decls.va_opr_code_Mem64",
"Vale.X64.Decls.va_op_heaplet_mem_heaplet",
"Vale... | [] | false | false | false | true | false | let va_code_Poly1305_blocks_body0 () =
| (va_Block (va_CCons (va_code_Mem64_lemma ())
(va_CCons (va_code_Add64Wrap (va_op_dst_opr64_reg64 rR14)
(va_opr_code_Mem64 (va_op_heaplet_mem_heaplet 0) (va_op_reg64_reg64 rRsi) 0 Public))
(va_CCons (va_code_Mem64_lemma ())
(va_CCons (va_code_Adc64Wrap (va_op_dst_opr64... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_blocks_body0 | val va_codegen_success_Poly1305_blocks_body0 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_blocks_body0 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_blocks_body0 () =
(va_pbool_and (va_codegen_success_Mem64_lemma ()) (va_pbool_and (va_codegen_success_Add64Wrap
(va_op_dst_opr64_reg64 rR14) (va_opr_code_Mem64 (va_op_heaplet_mem_heaplet 0)
(va_op_reg64_reg64 rRsi) 0 Public)) (va_pbool_and (va_codegen_success_Mem64_lemma ())
... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 26,
"end_line": 682,
"start_col": 0,
"start_line": 671
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsMem.va_codegen_success_Mem64_lemma",
"Vale.X64.InsBasic.va_codegen_success_Add64Wrap",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Decls.va_opr_code_Mem64",
"Vale.X64.Decls.va_op_heaplet_mem_heaplet",
"Vale.X6... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_blocks_body0 () =
| (va_pbool_and (va_codegen_success_Mem64_lemma ())
(va_pbool_and (va_codegen_success_Add64Wrap (va_op_dst_opr64_reg64 rR14)
(va_opr_code_Mem64 (va_op_heaplet_mem_heaplet 0) (va_op_reg64_reg64 rRsi) 0 Public))
(va_pbool_and (va_codegen_success_Mem64_lemma ())
(va_pbool_and (va_codegen_... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_blocks_while0 | val va_codegen_success_Poly1305_blocks_while0 : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_blocks_while0 : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_blocks_while0 () =
(va_pbool_and (va_codegen_success_Poly1305_blocks_body0 ()) (va_ttrue ())) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 76,
"end_line": 1028,
"start_col": 0,
"start_line": 1027
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.Poly1305.X64.va_codegen_success_Poly1305_blocks_body0",
"Vale.X64.Decls.va_ttrue",
"Vale.X64.Decls.va_pbool"
] | [] | false | false | false | true | false | let va_codegen_success_Poly1305_blocks_while0 () =
| (va_pbool_and (va_codegen_success_Poly1305_blocks_body0 ()) (va_ttrue ())) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_multiply | val va_quick_Poly1305_multiply (r1: nat64) : (va_quickCode int (va_code_Poly1305_multiply ())) | val va_quick_Poly1305_multiply (r1: nat64) : (va_quickCode int (va_code_Poly1305_multiply ())) | let va_quick_Poly1305_multiply (r1:nat64) : (va_quickCode int (va_code_Poly1305_multiply ())) =
(va_QProc (va_code_Poly1305_multiply ()) ([va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRax;
va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rR9;
va_Mod_reg64 rR8]) (va_wp... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 86,
"end_line": 303,
"start_col": 0,
"start_line": 300
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | r1: Vale.X64.Memory.nat64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_multiply ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCode.va_QProc",
"Prims.int",
"Vale.Poly1305.X64.va_code_Poly1305_multiply",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Mach... | [] | false | false | false | false | false | let va_quick_Poly1305_multiply (r1: nat64) : (va_quickCode int (va_code_Poly1305_multiply ())) =
| (va_QProc (va_code_Poly1305_multiply ())
([
va_Mod_flags;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRax;
va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx;
va_Mod_reg64 rR14;
va_Mod_reg64 rR10;
va_Mod_reg64 rR9;
va_Mod_reg64 rR8
])
(va_wp_Poly1305_multiply... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_reduce | val va_quick_Poly1305_reduce: Prims.unit -> (va_quickCode int (va_code_Poly1305_reduce ())) | val va_quick_Poly1305_reduce: Prims.unit -> (va_quickCode int (va_code_Poly1305_reduce ())) | let va_quick_Poly1305_reduce () : (va_quickCode int (va_code_Poly1305_reduce ())) =
(va_QProc (va_code_Poly1305_reduce ()) ([va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx;
va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rRax]) va_wp_Poly1305_reduce
va_wpProof_Poly1305_reduce) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 31,
"end_line": 466,
"start_col": 0,
"start_line": 463
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_reduce ()) | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.QuickCode.va_QProc",
"Prims.int",
"Vale.Poly1305.X64.va_code_Poly1305_reduce",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRbp",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rR14",
... | [] | false | false | false | false | false | let va_quick_Poly1305_reduce () : (va_quickCode int (va_code_Poly1305_reduce ())) =
| (va_QProc (va_code_Poly1305_reduce ())
([
va_Mod_flags;
va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx;
va_Mod_reg64 rR14;
va_Mod_reg64 rR10;
va_Mod_reg64 rRax
])
va_wp_Poly1305_reduce
va_wpProof_Poly1305_reduce) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_blocks | val va_codegen_success_Poly1305_blocks : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_blocks : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_blocks () =
(va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 4))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR15) (va_op_opr64_reg64 rRdx))
(va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 72,
"end_line": 1386,
"start_col": 0,
"start_line": 1365
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Shr64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Decls.va_const_shift_amt64",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Machine_s.rR15",
"Vale.X64.Decls.va_op_opr64_re... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_blocks () =
| (va_pbool_and (va_codegen_success_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 4))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR15) (va_op_opr64_reg64 rRdx))
(va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1)
(va_op_dst_opr64_reg64 r... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_blocks | val va_code_Poly1305_blocks : va_dummy:unit -> Tot va_code | val va_code_Poly1305_blocks : va_dummy:unit -> Tot va_code | let va_code_Poly1305_blocks () =
(va_Block (va_CCons (va_code_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 4))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR15) (va_op_opr64_reg64 rRdx)) (va_CCons
(va_code_Load64_buffer (va_op_heaplet_mem_heaplet 1) (va_op_dst_opr64_reg64 rR11)
(va_op_reg_... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 78,
"end_line": 1361,
"start_col": 0,
"start_line": 1342
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Shr64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Decls.va_const_shift_amt64",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Machine_s.rR15",
"Vale.X64.Decls.va_op_opr64... | [] | false | false | false | true | false | let va_code_Poly1305_blocks () =
| (va_Block (va_CCons (va_code_Shr64 (va_op_dst_opr64_reg64 rRdx) (va_const_shift_amt64 4))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR15) (va_op_opr64_reg64 rRdx))
(va_CCons (va_code_Load64_buffer (va_op_heaplet_mem_heaplet 1)
(va_op_dst_opr64_reg64 rR11)
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_multiply | val va_wp_Poly1305_multiply (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 | val va_wp_Poly1305_multiply (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 | let va_wp_Poly1305_multiply (r1:nat64) (va_s0:va_state) (va_k:(va_state -> int -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (n:(va_int_range 18446744073709551616 18446744073709551616)) = pow2_64
in let (p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) = va_m... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 12,
"end_line": 276,
"start_col": 0,
"start_line": 243
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r1: Vale.X64.Memory.nat64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Memory.nat64",
"Vale.X64.Decls.va_state",
"Prims.int",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.op_Modulus",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rR13",
"Prims.op_Addition",
"Prims.op_Division",
"Prims.op_LessThan",
"Vale.X64.Decls... | [] | false | false | false | true | true | let va_wp_Poly1305_multiply (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 =
| (va_get_ok va_s0 /\
(let n:(va_int_range 18446744073709551616 18446744073709551616) = pow2_64 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n) `op_Multiply` 4 - 5
in
let r:(va_int_range 0 3402823669209384634633746074... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_reduce | val va_wp_Poly1305_reduce (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 | val va_wp_Poly1305_reduce (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 | let va_wp_Poly1305_reduce (va_s0:va_state) (va_k:(va_state -> int -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (n:(va_int_range 18446744073709551616 18446744073709551616)) =
18446744073709551616 in let (p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) = va_m... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 38,
"end_line": 441,
"start_col": 0,
"start_line": 422
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Prims.int",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.op_LessThan",
"Prims.op_Addition",
"Prims.op_Multiply",
"Prims.op_Division",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rR10",
"Prims.eq2",
"Vale.X64.Machine_s.rRax",
"Vale.X64.De... | [] | false | false | false | true | true | let va_wp_Poly1305_reduce (va_s0: va_state) (va_k: (va_state -> int -> Type0)) : Type0 =
| (va_get_ok va_s0 /\
(let n:(va_int_range 18446744073709551616 18446744073709551616) = 18446744073709551616 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n) `op_Multiply` 4 - 5
in
let hd:(va_int_range 0 62771017353866... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wpProof_Poly1305_iteration | val va_wpProof_Poly1305_iteration : r1:nat64 -> va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_iteration r1 va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Poly1305_iteration ()) ([va_Mod_flags;
va_M... | val va_wpProof_Poly1305_iteration : r1:nat64 -> va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_iteration r1 va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Poly1305_iteration ()) ([va_Mod_flags;
va_M... | let va_wpProof_Poly1305_iteration r1 va_s0 va_k =
let (va_sM, va_f0, hh) = va_lemma_Poly1305_iteration (va_code_Poly1305_iteration ()) va_s0 r1 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRbp va_sM (va_update_reg64
rRbx va_sM (va_update_reg64 rR14 va_sM (va... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 646,
"start_col": 0,
"start_line": 635
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r1: Vale.X64.Memory.nat64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Vale.X64.Memory.nat64",
"Vale.X64.Decls.va_state",
"Prims.int",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
... | [] | false | false | false | false | false | let va_wpProof_Poly1305_iteration r1 va_s0 va_k =
| let va_sM, va_f0, hh = va_lemma_Poly1305_iteration (va_code_Poly1305_iteration ()) va_s0 r1 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rRbp
va_sM
(va_update_reg64 rRbx
va_sM
(va_update_re... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wpProof_Poly1305_reduce | val va_wpProof_Poly1305_reduce : va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_reduce va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Poly1305_reduce ()) ([va_Mod_flags;
va_Mod_reg64 rRbp; va_Mod_re... | val va_wpProof_Poly1305_reduce : va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_reduce va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Poly1305_reduce ()) ([va_Mod_flags;
va_Mod_reg64 rRbp; va_Mod_re... | let va_wpProof_Poly1305_reduce va_s0 va_k =
let (va_sM, va_f0, hh) = va_lemma_Poly1305_reduce (va_code_Poly1305_reduce ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRbp va_sM (va_update_reg64
rRbx va_sM (va_update_reg64 rR14 va_sM (va_update_reg64 r... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 460,
"start_col": 0,
"start_line": 451
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_state",
"Prims.int",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRbp",
... | [] | false | false | false | false | false | let va_wpProof_Poly1305_reduce va_s0 va_k =
| let va_sM, va_f0, hh = va_lemma_Poly1305_reduce (va_code_Poly1305_reduce ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rRbp
va_sM
(va_update_reg64 rRbx
va_sM
(va_update_reg64 rR14
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_iteration | val va_wp_Poly1305_iteration (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0))
: Type0 | val va_wp_Poly1305_iteration (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0))
: Type0 | let va_wp_Poly1305_iteration (r1:nat64) (va_s0:va_state) (va_k:(va_state -> int -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (n:(va_int_range 18446744073709551616 18446744073709551616)) =
18446744073709551616 in let (p:(va_int_range 1361129467683753853853498429727072845819
13611294676837538538534984297270728... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 12,
"end_line": 625,
"start_col": 0,
"start_line": 600
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r1: Vale.X64.Memory.nat64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Memory.nat64",
"Vale.X64.Decls.va_state",
"Prims.int",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.op_LessThan",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rR11",
"Prims.op_Division",
"Prims.eq2",
"Prims.op_Modulus",
"Vale.X64.Machine_s.rR13",
"Prims.op... | [] | false | false | false | true | true | let va_wp_Poly1305_iteration (r1: nat64) (va_s0: va_state) (va_k: (va_state -> int -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(let n:(va_int_range 18446744073709551616 18446744073709551616) = 18446744073709551616 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n) `op_Multiply` 4 - 5
in
let r:(va_int_range 0 340282366920938... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_iteration | val va_quick_Poly1305_iteration (r1: nat64) : (va_quickCode int (va_code_Poly1305_iteration ())) | val va_quick_Poly1305_iteration (r1: nat64) : (va_quickCode int (va_code_Poly1305_iteration ())) | let va_quick_Poly1305_iteration (r1:nat64) : (va_quickCode int (va_code_Poly1305_iteration ())) =
(va_QProc (va_code_Poly1305_iteration ()) ([va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx;
va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRdx;
va_Mod_reg64 rRax]) (va... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 89,
"end_line": 652,
"start_col": 0,
"start_line": 649
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | r1: Vale.X64.Memory.nat64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_iteration ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCode.va_QProc",
"Prims.int",
"Vale.Poly1305.X64.va_code_Poly1305_iteration",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRbp",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Mac... | [] | false | false | false | false | false | let va_quick_Poly1305_iteration (r1: nat64) : (va_quickCode int (va_code_Poly1305_iteration ())) =
| (va_QProc (va_code_Poly1305_iteration ())
([
va_Mod_flags;
va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx;
va_Mod_reg64 rR14;
va_Mod_reg64 rR10;
va_Mod_reg64 rR9;
va_Mod_reg64 rR8;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRax
])
(va_wp_Poly1305_iterati... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_last_block | val va_codegen_success_Poly1305_last_block : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_last_block : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_last_block () =
(va_pbool_and (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rR15)) (va_pbool_and (va_codegen_success_Shl64 (va_op_dst_opr64_reg64 rRcx)
(va_const_shift_amt64 3)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_r... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 62,
"end_line": 1731,
"start_col": 0,
"start_line": 1700
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR15",
"Vale.X64.InsBasic.va_codegen_success_Shl64",
"Vale.X64.Decls.va_const_shift_am... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_last_block () =
| (va_pbool_and (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rR15))
(va_pbool_and (va_codegen_success_Shl64 (va_op_dst_opr64_reg64 rRcx)
(va_const_shift_amt64 3))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRdx)... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_reduce | val va_qcode_Poly1305_reduce (va_mods: va_mods_t)
: (va_quickCode (int) (va_code_Poly1305_reduce ())) | val va_qcode_Poly1305_reduce (va_mods: va_mods_t)
: (va_quickCode (int) (va_code_Poly1305_reduce ())) | let va_qcode_Poly1305_reduce (va_mods:va_mods_t) : (va_quickCode (int) (va_code_Poly1305_reduce
())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in let (n:(va_int_range
18446744073709551616 18446744073709551616)) = 18446744073709551616 in let (p:(va_int_range
1361129467683753853... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 61,
"end_line": 369,
"start_col": 0,
"start_line": 333
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_reduce ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.int",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_And64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR10",
"Vale.X64.InsBas... | [] | false | false | false | false | false | let va_qcode_Poly1305_reduce (va_mods: va_mods_t)
: (va_quickCode (int) (va_code_Poly1305_reduce ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let n:(va_int_range 18446744073709551616 18446744073709551616) = 18446744073709551616 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_iteration | val va_qcode_Poly1305_iteration (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_iteration ())) | val va_qcode_Poly1305_iteration (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_iteration ())) | let va_qcode_Poly1305_iteration (va_mods:va_mods_t) (r1:nat64) : (va_quickCode (int)
(va_code_Poly1305_iteration ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in let (n:(va_int_range
18446744073709551616 18446744073709551616)) = 18446744073709551616 in let (p:(va_int_range
13... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 34,
"end_line": 538,
"start_col": 0,
"start_line": 483
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_mods: Vale.X64.QuickCode.va_mods_t -> r1: Vale.X64.Memory.nat64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_iteration ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCodes.qblock",
"Prims.int",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.Poly1305.X64.va_code_Poly1305_multiply",
"Vale.Poly1305.X64.va_code_Poly1305_reduce",
"Prims.Nil",
"Vale.X64.Machine_s.precode",
"Vale.X64.Decls.ins",... | [] | false | false | false | false | false | let va_qcode_Poly1305_iteration (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_iteration ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let n:(va_int_range 18446744073709551616 18446744073709551616) = 18446744073709551616 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_blocks | val va_wp_Poly1305_blocks
(r h_in: int)
(ctx_b inp_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> int -> Type0))
: Type0 | val va_wp_Poly1305_blocks
(r h_in: int)
(ctx_b inp_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> int -> Type0))
: Type0 | let va_wp_Poly1305_blocks (r:int) (h_in:int) (ctx_b:buffer64) (inp_b:buffer64) (va_s0:va_state)
(va_k:(va_state -> int -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (n:(va_int_range 18446744073709551616 18446744073709551616)) = pow2_64
in let (p:(va_int_range 1361129467683753853853498429727072845819
1361129... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 45,
"end_line": 1623,
"start_col": 0,
"start_line": 1575
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r: Prims.int ->
h_in: Prims.int ->
ctx_b: Vale.X64.Memory.buffer64 ->
inp_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.int",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Prims.op_Modulus",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRdx",
"Prims.op_LessThan",
"Prims.op_Addition",
"Vale.X64.Machine_s.rRsi",
"Vale.... | [] | false | false | false | true | true | let va_wp_Poly1305_blocks
(r h_in: int)
(ctx_b inp_b: buffer64)
(va_s0: va_state)
(va_k: (va_state -> int -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(let n:(va_int_range 18446744073709551616 18446744073709551616) = pow2_64 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n) `op_Multiply` 4 - 5
in
(va_get_reg64 rRdx va_s0) `op_Modulus` 16 == 0 /\
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_reduce_last | val va_code_Poly1305_reduce_last : va_dummy:unit -> Tot va_code | val va_code_Poly1305_reduce_last : va_dummy:unit -> Tot va_code | let va_code_Poly1305_reduce_last () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR8) (va_op_opr64_reg64 rR14))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 rRbp)) (va_CCons
(va_code_A... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 88,
"end_line": 2046,
"start_col": 0,
"start_line": 2029
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR8",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.M... | [] | false | false | false | true | false | let va_code_Poly1305_reduce_last () =
| (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR8) (va_op_opr64_reg64 rR14))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR10) (va_op_opr64_reg64 rRbp))
(va_CCons (va_code_Add64Wrap (va_op_... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_lemma_Poly1305_reduce | val va_lemma_Poly1305_reduce : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_reduce ()) va_s0 /\ va_get_ok va_s0 /\ (let
(n:(va_int_range 18446744073709551616 18446744073709551616)) = 18446744073709551616 in let
(p:(va_int_range 13611... | val va_lemma_Poly1305_reduce : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_reduce ()) va_s0 /\ va_get_ok va_s0 /\ (let
(n:(va_int_range 18446744073709551616 18446744073709551616)) = 18446744073709551616 in let
(p:(va_int_range 13611... | let va_lemma_Poly1305_reduce va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14;
va_Mod_reg64 rR10; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Poly1305_reduce va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Poly1305_re... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 419,
"start_col": 0,
"start_line": 395
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.int",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.Decls.va_fuel",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.... | [] | false | false | false | false | false | let va_lemma_Poly1305_reduce va_b0 va_s0 =
| let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx;
va_Mod_reg64 rR14;
va_Mod_reg64 rR10;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Poly1305_reduce va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Poly1305_reduce ())
va_qc
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_lemma_Poly1305_multiply | val va_lemma_Poly1305_multiply : va_b0:va_code -> va_s0:va_state -> r1:nat64
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_multiply ()) va_s0 /\ va_get_ok va_s0 /\ (let
(n:(va_int_range 18446744073709551616 18446744073709551616)) = pow2_64 in let (p:(va_int_range
13... | val va_lemma_Poly1305_multiply : va_b0:va_code -> va_s0:va_state -> r1:nat64
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_multiply ()) va_s0 /\ va_get_ok va_s0 /\ (let
(n:(va_int_range 18446744073709551616 18446744073709551616)) = pow2_64 in let (p:(va_int_range
13... | let va_lemma_Poly1305_multiply va_b0 va_s0 r1 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRax; va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8;
va_Mod_ok] in
let va_qc = va_qcode_Poly1305_multiply va_mods r1 in
... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 240,
"start_col": 0,
"start_line": 209
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> r1: Vale.X64.Memory.nat64
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCodes.fuel",
"Prims.int",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.Decls.va_fuel",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickC... | [] | false | false | false | false | false | let va_lemma_Poly1305_multiply va_b0 va_s0 r1 =
| let va_mods:va_mods_t =
[
va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRax; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx;
va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_ok
]
in
let va_qc = va_qcode_Poly1305_multiply va_mods r1 in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_blocks_while0 | val va_code_Poly1305_blocks_while0 : va_dummy:unit -> Tot va_code | val va_code_Poly1305_blocks_while0 : va_dummy:unit -> Tot va_code | let va_code_Poly1305_blocks_while0 () =
(va_Block (va_CCons (va_While (va_cmp_ne (va_op_cmp_reg64 rR15) (va_const_cmp 0)) (va_Block
(va_CCons (va_code_Poly1305_blocks_body0 ()) (va_CNil ())))) (va_CNil ()))) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 79,
"end_line": 1023,
"start_col": 0,
"start_line": 1021
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.Decls.va_While",
"Vale.X64.Decls.va_cmp_ne",
"Vale.X64.Decls.va_op_cmp_reg64",
"Vale.X64.Machine_s.rR15",
"Vale.X64.Decls.va_const_cmp",
"Vale.Poly1305.X64.va_code_Poly1305_blocks_body0",
"Vale.X64.Decls.va_CNil",
"Val... | [] | false | false | false | true | false | let va_code_Poly1305_blocks_while0 () =
| (va_Block (va_CCons (va_While (va_cmp_ne (va_op_cmp_reg64 rR15) (va_const_cmp 0))
(va_Block (va_CCons (va_code_Poly1305_blocks_body0 ()) (va_CNil ()))))
(va_CNil ()))) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_blocks_body0 | val va_quick_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284... | val va_quick_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284... | let va_quick_Poly1305_blocks_body0 (va_old:va_state) (va_in_ctx_b:buffer64) (va_in_h_in:int)
(va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range 18446744073709551616
18446744073709551616)) (va_in_p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) (va_i... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 90,
"end_line": 1015,
"start_col": 0,
"start_line": 1005
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"Vale.X64.QuickCode.va_QProc",
"FStar.Pervasives.Native.tuple2",
"Vale.Poly1305.X64.va_code_Poly1305_blocks_body0",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod... | [] | false | false | false | false | false | let va_quick_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284... | (va_QProc (va_code_Poly1305_blocks_body0 ())
([
va_Mod_reg64 rRsi; va_Mod_reg64 rRdx; va_Mod_reg64 rRbx; va_Mod_reg64 rRbp;
va_Mod_reg64 rRax; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rR15; va_Mod_reg64 rR14;
va_Mod_reg64 rR10; va_Mod_ok; va_Mod_flags
])
(va_wp_Poly1305_blo... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_blocks_while0 | val va_quick_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728... | val va_quick_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728... | let va_quick_Poly1305_blocks_while0 (va_old:va_state) (va_in_ctx_b:buffer64) (va_in_h_in:int)
(va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range 18446744073709551616
18446744073709551616)) (va_in_p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) (va_... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 90,
"end_line": 1336,
"start_col": 0,
"start_line": 1326
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"Vale.X64.QuickCode.va_QProc",
"FStar.Pervasives.Native.tuple2",
"Vale.Poly1305.X64.va_code_Poly1305_blocks_while0",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mo... | [] | false | false | false | false | false | let va_quick_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728... | (va_QProc (va_code_Poly1305_blocks_while0 ())
([
va_Mod_reg64 rRsi; va_Mod_reg64 rRdx; va_Mod_reg64 rRbx; va_Mod_reg64 rRbp;
va_Mod_reg64 rRax; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rR15; va_Mod_reg64 rR14;
va_Mod_reg64 rR10; va_Mod_ok; va_Mod_flags
])
(va_wp_Poly1305_bl... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_blocks_while0 | val va_qcode_Poly1305_blocks_while0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294... | val va_qcode_Poly1305_blocks_while0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294... | let va_qcode_Poly1305_blocks_while0 (va_mods:va_mods_t) (va_old:va_state) (va_in_ctx_b:buffer64)
(va_in_h_in:int) (va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range
18446744073709551616 18446744073709551616)) (va_in_p:(va_int_range
1361129467683753853853498429727072845819 136112946768375385385349842... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 34,
"end_line": 1078,
"start_col": 0,
"start_line": 1031
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_mods: Vale.X64.QuickCode.va_mods_t ->
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"Vale.X64.QuickCodes.qblock",
"FStar.Pervasives.Native.tuple2",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.Machine_s.While",
"Vale.X64.Decls.in... | [] | false | false | false | false | false | let va_qcode_Poly1305_blocks_while0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294... | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let ctx_b:buffer64 = va_in_ctx_b in
let h_in:int = va_in_h_in in
let inp_b:buffer64 = va_in_inp_b in
let length:int = va_in_length in
let n:(va_int_range 18446744073709551616 18446744073709551616... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wpProof_Poly1305_blocks_body0 | val va_wpProof_Poly1305_blocks_body0 : va_old:va_state -> va_in_ctx_b:buffer64 -> va_in_h_in:int ->
va_in_inp_b:buffer64 -> va_in_length:int -> va_in_n:(va_int_range 18446744073709551616
18446744073709551616) -> va_in_p:(va_int_range 1361129467683753853853498429727072845819
136112946768375385385349842972707284581... | val va_wpProof_Poly1305_blocks_body0 : va_old:va_state -> va_in_ctx_b:buffer64 -> va_in_h_in:int ->
va_in_inp_b:buffer64 -> va_in_length:int -> va_in_n:(va_int_range 18446744073709551616
18446744073709551616) -> va_in_p:(va_int_range 1361129467683753853853498429727072845819
136112946768375385385349842972707284581... | let va_wpProof_Poly1305_blocks_body0 va_old va_in_ctx_b va_in_h_in va_in_inp_b va_in_length va_in_n
va_in_p va_in_r va_in_h va_in_word_index va_s0 va_k =
let (va_sM, va_f0, h, word_index) = va_lemma_Poly1305_blocks_body0 (va_code_Poly1305_blocks_body0
()) va_s0 va_old va_in_ctx_b va_in_h_in va_in_inp_b va_in_le... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 1002,
"start_col": 0,
"start_line": 987
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"FStar.Pervasives.Native.Mktuple2",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods... | [] | false | false | false | false | false | let va_wpProof_Poly1305_blocks_body0
va_old
va_in_ctx_b
va_in_h_in
va_in_inp_b
va_in_length
va_in_n
va_in_p
va_in_r
va_in_h
va_in_word_index
va_s0
va_k
=
| let va_sM, va_f0, h, word_index =
va_lemma_Poly1305_blocks_body0 (va_code_Poly1305_blocks_body0 ()) va_s0 va_old va_in_ctx_b
va_in_h_in va_in_inp_b va_in_length va_in_n va_in_p va_in_r va_in_h va_in_word_index
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_reg64 rRsi
va_sM
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_reduce_last | val va_codegen_success_Poly1305_reduce_last : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_reduce_last : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_reduce_last () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR8) (va_op_opr64_reg64 rR14))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR10) (va_... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 40,
"end_line": 2068,
"start_col": 0,
"start_line": 2050
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR8",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rR10"... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_reduce_last () =
| (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR8) (va_op_opr64_reg64 rR14))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR10)
(va_op_opr64_reg64 rRbp))
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_lemma_Poly1305_iteration | val va_lemma_Poly1305_iteration : va_b0:va_code -> va_s0:va_state -> r1:nat64
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_iteration ()) va_s0 /\ va_get_ok va_s0 /\
(let (n:(va_int_range 18446744073709551616 18446744073709551616)) = 18446744073709551616 in let
(p:(... | val va_lemma_Poly1305_iteration : va_b0:va_code -> va_s0:va_state -> r1:nat64
-> Ghost (va_state & va_fuel & int)
(requires (va_require_total va_b0 (va_code_Poly1305_iteration ()) va_s0 /\ va_get_ok va_s0 /\
(let (n:(va_int_range 18446744073709551616 18446744073709551616)) = 18446744073709551616 in let
(p:(... | let va_lemma_Poly1305_iteration va_b0 va_s0 r1 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14;
va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRdx; va_Mod_reg64 rRax;
va_Mod_ok] in
let va_qc = va_qcode_Poly1305_iteration va_mods r1 in
... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 597,
"start_col": 0,
"start_line": 569
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> r1: Vale.X64.Memory.nat64
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCodes.fuel",
"Prims.int",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.Decls.va_fuel",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickC... | [] | false | false | false | false | false | let va_lemma_Poly1305_iteration va_b0 va_s0 r1 =
| let va_mods:va_mods_t =
[
va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod_reg64 rR10;
va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRdx; va_Mod_reg64 rRax; va_Mod_ok
]
in
let va_qc = va_qcode_Poly1305_iteration va_mods r1 in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm ... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_last_block | val va_code_Poly1305_last_block : va_dummy:unit -> Tot va_code | val va_code_Poly1305_last_block : va_dummy:unit -> Tot va_code | let va_code_Poly1305_last_block () =
(va_Block (va_CCons (va_IfElse (va_cmp_lt (va_op_cmp_reg64 rR15) (va_const_cmp 8)) (va_Block
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rR15)) (va_CCons
(va_code_Shl64 (va_op_dst_opr64_reg64 rRcx) (va_const_shift_amt64 3)) (va_CCons (va_code_M... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 51,
"end_line": 1696,
"start_col": 0,
"start_line": 1666
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.Decls.va_IfElse",
"Vale.X64.Decls.va_cmp_lt",
"Vale.X64.Decls.va_op_cmp_reg64",
"Vale.X64.Machine_s.rR15",
"Vale.X64.Decls.va_const_cmp",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale... | [] | false | false | false | true | false | let va_code_Poly1305_last_block () =
| (va_Block (va_CCons (va_IfElse (va_cmp_lt (va_op_cmp_reg64 rR15) (va_const_cmp 8))
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rR15)
)
(va_CCons (va_code_Shl64 (va_op_dst_opr64_reg64 rRcx) (va_const_shift_amt64 3))
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_multiply | val va_qcode_Poly1305_multiply (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_multiply ())) | val va_qcode_Poly1305_multiply (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_multiply ())) | let va_qcode_Poly1305_multiply (va_mods:va_mods_t) (r1:nat64) : (va_quickCode (int)
(va_code_Poly1305_multiply ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in let (n:(va_int_range
18446744073709551616 18446744073709551616)) = pow2_64 in let (p:(va_int_range
13611294676837538... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 53,
"end_line": 170,
"start_col": 0,
"start_line": 79
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_mods: Vale.X64.QuickCode.va_mods_t -> r1: Vale.X64.Memory.nat64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_multiply ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Memory.nat64",
"Vale.X64.QuickCodes.qblock",
"Prims.int",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mul64Wrap",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_... | [] | false | false | false | false | false | let va_qcode_Poly1305_multiply (va_mods: va_mods_t) (r1: nat64)
: (va_quickCode (int) (va_code_Poly1305_multiply ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let n:(va_int_range 18446744073709551616 18446744073709551616) = pow2_64 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n)... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_blocks_body0 | val va_qcode_Poly1305_blocks_body0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946... | val va_qcode_Poly1305_blocks_body0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946... | let va_qcode_Poly1305_blocks_body0 (va_mods:va_mods_t) (va_old:va_state) (va_in_ctx_b:buffer64)
(va_in_h_in:int) (va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range
18446744073709551616 18446744073709551616)) (va_in_p:(va_int_range
1361129467683753853853498429727072845819 1361129467683753853853498429... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 66,
"end_line": 755,
"start_col": 0,
"start_line": 685
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_mods: Vale.X64.QuickCode.va_mods_t ->
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"Vale.X64.QuickCodes.qblock",
"FStar.Pervasives.Native.tuple2",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsMem.va_code_Mem64_lemma",
"Vale.X... | [] | false | false | false | false | false | let va_qcode_Poly1305_blocks_body0
(va_mods: va_mods_t)
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946... | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let ctx_b:buffer64 = va_in_ctx_b in
let h_in:int = va_in_h_in in
let inp_b:buffer64 = va_in_inp_b in
let length:int = va_in_length in
let n:(va_int_range 18446744073709551616 18446744073709551616... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_blocks | val va_quick_Poly1305_blocks (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode int (va_code_Poly1305_blocks ())) | val va_quick_Poly1305_blocks (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode int (va_code_Poly1305_blocks ())) | let va_quick_Poly1305_blocks (r:int) (h_in:int) (ctx_b:buffer64) (inp_b:buffer64) : (va_quickCode
int (va_code_Poly1305_blocks ())) =
(va_QProc (va_code_Poly1305_blocks ()) ([va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR15;
va_Mod_reg64 rRax; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 52,
"end_line": 1660,
"start_col": 0,
"start_line": 1654
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r: Prims.int ->
h_in: Prims.int ->
ctx_b: Vale.X64.Memory.buffer64 ->
inp_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_blocks ()) | Prims.Tot | [
"total"
] | [] | [
"Prims.int",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCode.va_QProc",
"Vale.Poly1305.X64.va_code_Poly1305_blocks",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR15",
... | [] | false | false | false | false | false | let va_quick_Poly1305_blocks (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode int (va_code_Poly1305_blocks ())) =
| (va_QProc (va_code_Poly1305_blocks ())
([
va_Mod_mem_heaplet 1; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rRax; va_Mod_reg64 rRbp;
va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR12;
va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_reduce_last | val va_wp_Poly1305_reduce_last (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | val va_wp_Poly1305_reduce_last (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | let va_wp_Poly1305_reduce_last (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (h:Prims.int) = Vale.Poly1305.Math.lowerUpper192
(Vale.Poly1305.Math.lowerUpper128 (va_get_reg64 rR14 va_s0) (va_get_reg64 rRbx va_s0))
(va_get_reg64 rRbp va_s0) in va_get_reg64 rRbp va_s0 < 5... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 2179,
"start_col": 0,
"start_line": 2167
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.op_LessThan",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRbp",
"Prims.int",
"Vale.Poly1305.Math.lowerUpper192",
"Vale.Poly1305.Math.lowerUpper128",
"Vale.X64.Machine_s.rR14",
"Val... | [] | false | false | false | true | true | let va_wp_Poly1305_reduce_last (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
| (va_get_ok va_s0 /\
(let h:Prims.int =
Vale.Poly1305.Math.lowerUpper192 (Vale.Poly1305.Math.lowerUpper128 (va_get_reg64 rR14 va_s0)
(va_get_reg64 rRbx va_s0))
(va_get_reg64 rRbp va_s0)
in
va_get_reg64 rRbp va_s0 < 5) /\
(forall (va_x_r8: nat64)
(va_x_r9: nat64)
(va_x_r1... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_blocks_while0 | val va_wp_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728458... | val va_wp_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728458... | let va_wp_Poly1305_blocks_while0 (va_old:va_state) (va_in_ctx_b:buffer64) (va_in_h_in:int)
(va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range 18446744073709551616
18446744073709551616)) (va_in_p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) (va_in_... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 18,
"end_line": 1292,
"start_col": 0,
"start_line": 1230
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"FStar.Pervasives.Native.tuple2",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.X64.Machine_s.pow2_64",
"Vale.X64.Decls.va_mul_nat",
"Prims.op_Subtract... | [] | false | false | false | false | true | let va_wp_Poly1305_blocks_while0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 13611294676837538538534984297270728458... | (va_get_ok va_s0 /\ va_in_n == pow2_64 /\ va_mul_nat va_in_n va_in_n == va_mul_nat pow2_64 pow2_64 /\
va_in_p == (va_mul_nat va_in_n va_in_n) `op_Multiply` 4 - 5 /\
va_in_r == va_mul_nat (va_get_reg64 rR12 va_s0) va_in_n + va_get_reg64 rR11 va_s0 /\
va_in_h ==
va_mul_nat (va_get_reg64 rRbp va_s0) (va_mul_nat po... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wpProof_Poly1305_blocks_while0 | val va_wpProof_Poly1305_blocks_while0 : va_old:va_state -> va_in_ctx_b:buffer64 -> va_in_h_in:int
-> va_in_inp_b:buffer64 -> va_in_length:int -> va_in_n:(va_int_range 18446744073709551616
18446744073709551616) -> va_in_p:(va_int_range 1361129467683753853853498429727072845819
13611294676837538538534984297270728458... | val va_wpProof_Poly1305_blocks_while0 : va_old:va_state -> va_in_ctx_b:buffer64 -> va_in_h_in:int
-> va_in_inp_b:buffer64 -> va_in_length:int -> va_in_n:(va_int_range 18446744073709551616
18446744073709551616) -> va_in_p:(va_int_range 1361129467683753853853498429727072845819
13611294676837538538534984297270728458... | let va_wpProof_Poly1305_blocks_while0 va_old va_in_ctx_b va_in_h_in va_in_inp_b va_in_length
va_in_n va_in_p va_in_r va_in_h va_in_word_index va_s0 va_k =
let (va_sM, va_f0, h, word_index) = va_lemma_Poly1305_blocks_while0
(va_code_Poly1305_blocks_while0 ()) va_s0 va_old va_in_ctx_b va_in_h_in va_in_inp_b
v... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 1323,
"start_col": 0,
"start_line": 1308
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Ghost | [] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"FStar.Pervasives.Native.Mktuple2",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods... | [] | false | false | false | false | false | let va_wpProof_Poly1305_blocks_while0
va_old
va_in_ctx_b
va_in_h_in
va_in_inp_b
va_in_length
va_in_n
va_in_p
va_in_r
va_in_h
va_in_word_index
va_s0
va_k
=
| let va_sM, va_f0, h, word_index =
va_lemma_Poly1305_blocks_while0 (va_code_Poly1305_blocks_while0 ()) va_s0 va_old va_in_ctx_b
va_in_h_in va_in_inp_b va_in_length va_in_n va_in_p va_in_r va_in_h va_in_word_index
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_reg64 rRsi
va_sM
... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_blocks_body0 | val va_wp_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284581... | val va_wp_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284581... | let va_wp_Poly1305_blocks_body0 (va_old:va_state) (va_in_ctx_b:buffer64) (va_in_h_in:int)
(va_in_inp_b:buffer64) (va_in_length:int) (va_in_n:(va_int_range 18446744073709551616
18446744073709551616)) (va_in_p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) (va_in_r... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 18,
"end_line": 971,
"start_col": 0,
"start_line": 908
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_old: Vale.X64.Decls.va_state ->
va_in_ctx_b: Vale.X64.Memory.buffer64 ->
va_in_h_in: Prims.int ->
va_in_inp_b: Vale.X64.Memory.buffer64 ->
va_in_length: Prims.int ->
va_in_n: Vale.X64.Decls.va_int_range 18446744073709551616 18446744073709551616 ->
va_in_p:
Vale.X64.Decls.va_int_ran... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Memory.buffer64",
"Prims.int",
"Vale.X64.Decls.va_int_range",
"Prims.nat",
"FStar.Pervasives.Native.tuple2",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.eq2",
"Vale.X64.Machine_s.pow2_64",
"Vale.X64.Decls.va_mul_nat",
"Prims.op_Subtract... | [] | false | false | false | false | true | let va_wp_Poly1305_blocks_body0
(va_old: va_state)
(va_in_ctx_b: buffer64)
(va_in_h_in: int)
(va_in_inp_b: buffer64)
(va_in_length: int)
(va_in_n: (va_int_range 18446744073709551616 18446744073709551616))
(va_in_p:
(va_int_range 136112946768375385385349842972707284581... | (va_get_ok va_s0 /\ va_in_n == pow2_64 /\ va_mul_nat va_in_n va_in_n == va_mul_nat pow2_64 pow2_64 /\
va_in_p == (va_mul_nat va_in_n va_in_n) `op_Multiply` 4 - 5 /\
va_in_r == va_mul_nat (va_get_reg64 rR12 va_s0) va_in_n + va_get_reg64 rR11 va_s0 /\
va_in_h ==
va_mul_nat (va_get_reg64 rRbp va_s0) (va_mul_nat po... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305_add_key_s | val va_code_Poly1305_add_key_s : va_dummy:unit -> Tot va_code | val va_code_Poly1305_add_key_s : va_dummy:unit -> Tot va_code | let va_code_Poly1305_add_key_s () =
(va_Block (va_CCons (va_code_Add64Wrap (va_op_dst_opr64_reg64 rR14) (va_op_opr64_reg64 rRax))
(va_CCons (va_code_Adc64Wrap (va_op_dst_opr64_reg64 rRbx) (va_op_opr64_reg64 rRdx)) (va_CNil
())))) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 10,
"end_line": 2213,
"start_col": 0,
"start_line": 2210
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Add64Wrap",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.InsBasic.va_code_Adc64Wrap",
"Vale.X64.Machine_s.rR... | [] | false | false | false | true | false | let va_code_Poly1305_add_key_s () =
| (va_Block (va_CCons (va_code_Add64Wrap (va_op_dst_opr64_reg64 rR14) (va_op_opr64_reg64 rRax))
(va_CCons (va_code_Adc64Wrap (va_op_dst_opr64_reg64 rRbx) (va_op_opr64_reg64 rRdx))
(va_CNil ())))) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_quick_Poly1305_last_block | val va_quick_Poly1305_last_block: Prims.unit -> (va_quickCode unit (va_code_Poly1305_last_block ())) | val va_quick_Poly1305_last_block: Prims.unit -> (va_quickCode unit (va_code_Poly1305_last_block ())) | let va_quick_Poly1305_last_block () : (va_quickCode unit (va_code_Poly1305_last_block ())) =
(va_QProc (va_code_Poly1305_last_block ()) ([va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx;
va_Mod_reg64 rR14; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx; va_Mod_r... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 100,
"end_line": 2023,
"start_col": 0,
"start_line": 2020
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Poly1305.X64.va_code_Poly1305_last_block ()) | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.QuickCode.va_QProc",
"Vale.Poly1305.X64.va_code_Poly1305_last_block",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRbp",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rR14",
"Vale.X64... | [] | false | false | false | false | false | let va_quick_Poly1305_last_block () : (va_quickCode unit (va_code_Poly1305_last_block ())) =
| (va_QProc (va_code_Poly1305_last_block ())
([
va_Mod_flags; va_Mod_reg64 rRbp; va_Mod_reg64 rRbx; va_Mod_reg64 rR14; va_Mod_reg64 rR10;
va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax
])
va_wp_Poly1305_last_block
va_wpProof_Poly1305_last_bloc... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wpProof_Poly1305_blocks | val va_wpProof_Poly1305_blocks : r:int -> h_in:int -> ctx_b:buffer64 -> inp_b:buffer64 ->
va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_blocks r h_in ctx_b inp_b va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure... | val va_wpProof_Poly1305_blocks : r:int -> h_in:int -> ctx_b:buffer64 -> inp_b:buffer64 ->
va_s0:va_state -> va_k:(va_state -> int -> Type0)
-> Ghost (va_state & va_fuel & int)
(requires (va_t_require va_s0 /\ va_wp_Poly1305_blocks r h_in ctx_b inp_b va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure... | let va_wpProof_Poly1305_blocks r h_in ctx_b inp_b va_s0 va_k =
let (va_sM, va_f0, h) = va_lemma_Poly1305_blocks (va_code_Poly1305_blocks ()) va_s0 r h_in ctx_b
inp_b in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_flags va_sM (va_update_reg64
rR15 va_sM (v... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 1651,
"start_col": 0,
"start_line": 1636
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
r: Prims.int ->
h_in: Prims.int ->
ctx_b: Vale.X64.Memory.buffer64 ->
inp_b: Vale.X64.Memory.buffer64 ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.int -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.int) | Prims.Ghost | [] | [] | [
"Prims.int",
"Vale.X64.Memory.buffer64",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Prims.unit",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_mem_heaplet",
"Vale.X64.QuickCode.va_Mod_f... | [] | false | false | false | false | false | let va_wpProof_Poly1305_blocks r h_in ctx_b inp_b va_s0 va_k =
| let va_sM, va_f0, h =
va_lemma_Poly1305_blocks (va_code_Poly1305_blocks ()) va_s0 r h_in ctx_b inp_b
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_mem_heaplet 1
va_sM
(va_update_flags va_sM
(va_update_reg64 rR15
va_sM
(va... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_qcode_Poly1305_blocks | val va_qcode_Poly1305_blocks (va_mods: va_mods_t) (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode (int) (va_code_Poly1305_blocks ())) | val va_qcode_Poly1305_blocks (va_mods: va_mods_t) (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode (int) (va_code_Poly1305_blocks ())) | let va_qcode_Poly1305_blocks (va_mods:va_mods_t) (r:int) (h_in:int) (ctx_b:buffer64)
(inp_b:buffer64) : (va_quickCode (int) (va_code_Poly1305_blocks ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in let (n:(va_int_range
18446744073709551616 18446744073709551616)) = pow2_64 in let ... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 87,
"end_line": 1450,
"start_col": 0,
"start_line": 1389
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 |
va_mods: Vale.X64.QuickCode.va_mods_t ->
r: Prims.int ->
h_in: Prims.int ->
ctx_b: Vale.X64.Memory.buffer64 ->
inp_b: Vale.X64.Memory.buffer64
-> Vale.X64.QuickCode.va_quickCode Prims.int (Vale.Poly1305.X64.va_code_Poly1305_blocks ()) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.QuickCode.va_mods_t",
"Prims.int",
"Vale.X64.Memory.buffer64",
"Vale.X64.QuickCodes.qblock",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Shr64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Decls.va_const_shift_amt64",
"Vale.X64.In... | [] | false | false | false | false | false | let va_qcode_Poly1305_blocks (va_mods: va_mods_t) (r h_in: int) (ctx_b inp_b: buffer64)
: (va_quickCode (int) (va_code_Poly1305_blocks ())) =
| (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
let n:(va_int_range 18446744073709551616 18446744073709551616) = pow2_64 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n)... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_last_block | val va_wp_Poly1305_last_block (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | val va_wp_Poly1305_last_block (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | let va_wp_Poly1305_last_block (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (n:(va_int_range 18446744073709551616 18446744073709551616)) =
18446744073709551616 in let (p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819)) =... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 1995,
"start_col": 0,
"start_line": 1965
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.op_LessThan",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRbp",
"Vale.X64.Machine_s.rR11",
"Prims.op_Division",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Vale.X64.Machine_s.... | [] | false | false | false | true | true | let va_wp_Poly1305_last_block (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
| (va_get_ok va_s0 /\
(let n:(va_int_range 18446744073709551616 18446744073709551616) = 18446744073709551616 in
let p:(va_int_range 1361129467683753853853498429727072845819
1361129467683753853853498429727072845819) =
(va_mul_nat n n) `op_Multiply` 4 - 5
in
let r1:nat64 = va_get_reg64 rRax va_s... | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_add_key_s | val va_codegen_success_Poly1305_add_key_s : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_add_key_s : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_add_key_s () =
(va_pbool_and (va_codegen_success_Add64Wrap (va_op_dst_opr64_reg64 rR14) (va_op_opr64_reg64
rRax)) (va_pbool_and (va_codegen_success_Adc64Wrap (va_op_dst_opr64_reg64 rRbx)
(va_op_opr64_reg64 rRdx)) (va_ttrue ()))) | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 45,
"end_line": 2220,
"start_col": 0,
"start_line": 2217
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Add64Wrap",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR14",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.InsBasic.va_codegen_success_Adc64Wrap",
"Vale.X64.Machine_s.rRbx"... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_add_key_s () =
| (va_pbool_and (va_codegen_success_Add64Wrap (va_op_dst_opr64_reg64 rR14) (va_op_opr64_reg64 rRax))
(va_pbool_and (va_codegen_success_Adc64Wrap (va_op_dst_opr64_reg64 rRbx)
(va_op_opr64_reg64 rRdx))
(va_ttrue ()))) | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_wp_Poly1305_add_key_s | val va_wp_Poly1305_add_key_s (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | val va_wp_Poly1305_add_key_s (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | let va_wp_Poly1305_add_key_s (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (forall (va_x_r14:nat64) (va_x_rbx:nat64) (va_x_efl:Vale.X64.Flags.t) . let
va_sM = va_upd_flags va_x_efl (va_upd_reg64 rRbx va_x_rbx (va_upd_reg64 rR14 va_x_r14 va_s0))
in va_get_ok va_sM /\ (let (h... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 71,
"end_line": 2281,
"start_col": 0,
"start_line": 2274
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.eq2",
"Prims.int",
"Vale.Poly1305.Math.lowerUpper128",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rR... | [] | false | false | false | true | true | let va_wp_Poly1305_add_key_s (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_r14: nat64) (va_x_rbx: nat64) (va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl (va_upd_reg64 rRbx va_x_rbx (va_upd_reg64 rR14 va_x_r14 va_s0))
in
va_get_ok va_sM /\
(let h_in:Vale.Def.Words_s.nat128 =
Vale.Poly1305.Math.lowerUp... | false |
FStar.Math.Lemmas.fst | FStar.Math.Lemmas.lemma_mult_lt_sqr | val lemma_mult_lt_sqr (n m: nat) (k: nat{n < k && m < k}) : Lemma (n * m < k * k) | val lemma_mult_lt_sqr (n m: nat) (k: nat{n < k && m < k}) : Lemma (n * m < k * k) | let lemma_mult_lt_sqr (n:nat) (m:nat) (k:nat{n < k && m < k})
: Lemma (n * m < k * k) =
calc (<=) {
n * m;
<= { lemma_mult_le_left n m (k - 1) }
n * (k - 1);
<= { lemma_mult_le_right (k - 1) n (k - 1) }
(k - 1) * (k - 1);
<= {}
k*k - 1;
} | {
"file_name": "ulib/FStar.Math.Lemmas.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 63,
"start_col": 0,
"start_line": 53
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lib.fst.checked",
"FStar.Calc.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Math.Lemmas.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Math.Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | n: Prims.nat -> m: Prims.nat -> k: Prims.nat{n < k && m < k}
-> FStar.Pervasives.Lemma (ensures n * m < k * k) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.nat",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThan",
"FStar.Calc.calc_finish",
"Prims.int",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FStar.Calc.calc_i... | [] | false | false | true | false | false | let lemma_mult_lt_sqr (n m: nat) (k: nat{n < k && m < k}) : Lemma (n * m < k * k) =
| calc ( <= ) {
n * m;
( <= ) { lemma_mult_le_left n m (k - 1) }
n * (k - 1);
( <= ) { lemma_mult_le_right (k - 1) n (k - 1) }
(k - 1) * (k - 1);
( <= ) { () }
k * k - 1;
} | false |
FStar.Math.Lemmas.fst | FStar.Math.Lemmas.distributivity_add_right | val distributivity_add_right: a:int -> b:int -> c:int -> Lemma
(a * (b + c) = a * b + a * c) | val distributivity_add_right: a:int -> b:int -> c:int -> Lemma
(a * (b + c) = a * b + a * c) | let distributivity_add_right a b c =
calc (==) {
a * (b + c);
== {}
(b + c) * a;
== { distributivity_add_left b c a }
b * a + c * a;
== {}
a * b + a * c;
} | {
"file_name": "ulib/FStar.Math.Lemmas.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 89,
"start_col": 0,
"start_line": 80
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lib.fst.checked",
"FStar.Calc.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Math.Lemmas.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Math.Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | a: Prims.int -> b: Prims.int -> c: Prims.int
-> FStar.Pervasives.Lemma (ensures a * (b + c) = a * b + a * c) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.int",
"FStar.Calc.calc_finish",
"Prims.eq2",
"FStar.Mul.op_Star",
"Prims.op_Addition",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pack",
"Prims.squash",
"FStar.Math.Lemmas.distributivity_add_le... | [] | false | false | true | false | false | let distributivity_add_right a b c =
| calc ( == ) {
a * (b + c);
( == ) { () }
(b + c) * a;
( == ) { distributivity_add_left b c a }
b * a + c * a;
( == ) { () }
a * b + a * c;
} | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_codegen_success_Poly1305_impl | val va_codegen_success_Poly1305_impl : va_dummy:unit -> Tot va_pbool | val va_codegen_success_Poly1305_impl : va_dummy:unit -> Tot va_pbool | let va_codegen_success_Poly1305_impl () =
(va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1)
(va_op_dst_opr64_reg64 rR11) (va_op_reg_opr64_reg64 rRdi) 24 Public) (va_pbool_and
(va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1) (va_op_dst_opr64_reg64 rR12)
(va_op_reg... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 82,
"end_line": 2387,
"start_col": 0,
"start_line": 2352
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | Prims.Tot | [
"total"
] | [] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsMem.va_codegen_success_Load64_buffer",
"Vale.X64.Decls.va_op_heaplet_mem_heaplet",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR11",
"Vale.X64.Decls.va_op_reg_opr64_reg64",
"Vale.X64.Machine_s.rRdi",
"Vale.Arch.HeapTypes_s.Pu... | [] | false | false | false | true | false | let va_codegen_success_Poly1305_impl () =
| (va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1)
(va_op_dst_opr64_reg64 rR11)
(va_op_reg_opr64_reg64 rRdi)
24
Public)
(va_pbool_and (va_codegen_success_Load64_buffer (va_op_heaplet_mem_heaplet 1)
(va_op_dst_opr64_reg64 rR12)
(va_op... | false |
FStar.Math.Lemmas.fst | FStar.Math.Lemmas.distributivity_sub_right | val distributivity_sub_right: a:int -> b:int -> c:int ->
Lemma ((a * (b - c) = a * b - a * c)) | val distributivity_sub_right: a:int -> b:int -> c:int ->
Lemma ((a * (b - c) = a * b - a * c)) | let distributivity_sub_right a b c =
calc (==) {
a * (b - c);
== {}
a * (b + (-c));
== { distributivity_add_right a b (-c) }
a * b + a * (-c);
== { neg_mul_right a c }
a * b - a * c;
} | {
"file_name": "ulib/FStar.Math.Lemmas.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 167,
"start_col": 0,
"start_line": 158
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lib.fst.checked",
"FStar.Calc.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Math.Lemmas.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Math.Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | a: Prims.int -> b: Prims.int -> c: Prims.int
-> FStar.Pervasives.Lemma (ensures a * (b - c) = a * b - a * c) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.int",
"FStar.Calc.calc_finish",
"Prims.eq2",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"Prims.op_Addition",
"Prims.op_Minus",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pack",
"Prims.squas... | [] | false | false | true | false | false | let distributivity_sub_right a b c =
| calc ( == ) {
a * (b - c);
( == ) { () }
a * (b + (- c));
( == ) { distributivity_add_right a b (- c) }
a * b + a * (- c);
( == ) { neg_mul_right a c }
a * b - a * c;
} | false |
FStar.Math.Lemmas.fst | FStar.Math.Lemmas.distributivity_sub_left | val distributivity_sub_left: a:int -> b:int -> c:int ->
Lemma ((a - b) * c = a * c - b * c) | val distributivity_sub_left: a:int -> b:int -> c:int ->
Lemma ((a - b) * c = a * c - b * c) | let distributivity_sub_left a b c =
calc (==) {
(a - b) * c;
== {}
(a + (-b)) * c;
== { distributivity_add_left a (-b) c }
a * c + (-b) * c;
== { neg_mul_left b c }
a * c - b * c;
} | {
"file_name": "ulib/FStar.Math.Lemmas.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 3,
"end_line": 153,
"start_col": 0,
"start_line": 144
} | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Math.Lib.fst.checked",
"FStar.Calc.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Math.Lemmas.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Math.Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.... | {
"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 | a: Prims.int -> b: Prims.int -> c: Prims.int
-> FStar.Pervasives.Lemma (ensures (a - b) * c = a * c - b * c) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.int",
"FStar.Calc.calc_finish",
"Prims.eq2",
"FStar.Mul.op_Star",
"Prims.op_Subtraction",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"Prims.op_Addition",
"Prims.op_Minus",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pack",
"Prims.squas... | [] | false | false | true | false | false | let distributivity_sub_left a b c =
| calc ( == ) {
(a - b) * c;
( == ) { () }
(a + (- b)) * c;
( == ) { distributivity_add_left a (- b) c }
a * c + (- b) * c;
( == ) { neg_mul_left b c }
a * c - b * c;
} | false |
Vale.Poly1305.X64.fst | Vale.Poly1305.X64.va_code_Poly1305 | val va_code_Poly1305 : win:bool -> Tot va_code | val va_code_Poly1305 : win:bool -> Tot va_code | let va_code_Poly1305 win =
(va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64
rRax) (va_op_opr64_reg64 rRdi)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR11)
(va_op_opr64_reg64 rRsi)) (va_CCons (if win then va_Block (va_CCons (va_code_Mov64
(va_op_dst_opr... | {
"file_name": "obj/Vale.Poly1305.X64.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 44,
"end_line": 2774,
"start_col": 0,
"start_line": 2747
} | module Vale.Poly1305.X64
open Vale.Def.Opaque_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.Stack_i
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsStack
open Vale.X64.QuickCode
open Va... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.Stack_i.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsStack.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.Poly1305.Util",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Spec_s",
"short_module": null
},
{
"abbrev": false,
... | {
"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 | win: Prims.bool -> Vale.X64.Decls.va_code | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsMem.va_code_CreateHeaplets",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRdi",
"Vale.X64.Machine_s.rR1... | [] | false | false | false | true | false | let va_code_Poly1305 win =
| (va_Block (va_CCons (va_code_CreateHeaplets ())
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_op_opr64_reg64 rRdi))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR11) (va_op_opr64_reg64 rRsi))
(va_CCons (if win
then
va_Bloc... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.