effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FStar.Pervasives.Lemma | val lemma_disjoint_location_from_locations_append (a: location) (as1 as2: list location)
: Lemma
((!!(disjoint_location_from_locations a as1) /\ !!(disjoint_location_from_locations a as2)) <==>
(!!(disjoint_location_from_locations a (as1 `L.append` as2)))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_disjoint_location_from_locations_append
(a:location) (as1 as2:list location) :
Lemma (
(!!(disjoint_location_from_locations a as1) /\
!!(disjoint_location_from_locations a as2)) <==>
(!!(disjoint_location_from_locations a (as1 `L.append` as2)))) =
match as1 with
| [] -> ()
| x :: xs... | val lemma_disjoint_location_from_locations_append (a: location) (as1 as2: list location)
: Lemma
((!!(disjoint_location_from_locations a as1) /\ !!(disjoint_location_from_locations a as2)) <==>
(!!(disjoint_location_from_locations a (as1 `L.append` as2))))
let rec lemma_disjoint_location_from_locations_ap... | false | null | true | match as1 with
| [] -> ()
| x :: xs -> lemma_disjoint_location_from_locations_append a xs as2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_disjoint_location_from_locations_append",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_iff",
"Prims.l_and",
"Prims.b2t",
"Vale.Def.PossiblyMonad.op_Bang_Bang",
"Vale.Transformers.Lo... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_disjoint_location_from_locations_append (a: location) (as1 as2: list location)
: Lemma
((!!(disjoint_location_from_locations a as1) /\ !!(disjoint_location_from_locations a as2)) <==>
(!!(disjoint_location_from_locations a (as1 `L.append` as2)))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_disjoint_location_from_locations_append | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Vale.Transformers.Locations.location ->
as1: Prims.list Vale.Transformers.Locations.location ->
as2: Prims.list Vale.Transformers.Locations.location
-> FStar.Pervasives.Lemma
(ensures
!!(Vale.Transformers.Locations.disjoint_location_from_locations a as1) /\
!!(Vale.Transformers.Locatio... | {
"end_col": 58,
"end_line": 457,
"start_col": 2,
"start_line": 454
} |
FStar.Pervasives.Lemma | val lemma_difference_disjoint (l1 l2: locations)
: Lemma (ensures (!!(disjoint_locations (l1 `difference` l2) l2))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_difference_disjoint (l1 l2:locations) :
Lemma
(ensures (
!!(disjoint_locations (l1 `difference` l2) l2))) =
match l1 with
| [] -> ()
| x :: xs ->
lemma_disjoint_location_from_locations_not_mem l2 x;
lemma_difference_disjoint xs l2 | val lemma_difference_disjoint (l1 l2: locations)
: Lemma (ensures (!!(disjoint_locations (l1 `difference` l2) l2)))
let rec lemma_difference_disjoint (l1 l2: locations)
: Lemma (ensures (!!(disjoint_locations (l1 `difference` l2) l2))) = | false | null | true | match l1 with
| [] -> ()
| x :: xs ->
lemma_disjoint_location_from_locations_not_mem l2 x;
lemma_difference_disjoint xs l2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_difference_disjoint",
"Prims.unit",
"Vale.Transformers.BoundedInstructionEffects.lemma_disjoint_location_from_locations_not_mem",
"Prims.l_True",
"Prims.squ... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_difference_disjoint (l1 l2: locations)
: Lemma (ensures (!!(disjoint_locations (l1 `difference` l2) l2))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_difference_disjoint | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l1: Vale.Transformers.Locations.locations -> l2: Vale.Transformers.Locations.locations
-> FStar.Pervasives.Lemma
(ensures
!!(Vale.Transformers.Locations.disjoint_locations (Vale.Transformers.BoundedInstructionEffects.difference
l1
l2)
l2)) | {
"end_col": 35,
"end_line": 979,
"start_col": 2,
"start_line": 975
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at_append (l1 l2: locations) (s1 s2: machine_state)
: Lemma
(ensures
((unchanged_at (l1 `L.append` l2) s1 s2) <==> (unchanged_at l1 s1 s2 /\ unchanged_at l2 s1 s2)
)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at_append (l1 l2:locations) (s1 s2:machine_state) :
Lemma
(ensures (
(unchanged_at (l1 `L.append` l2) s1 s2) <==>
(unchanged_at l1 s1 s2 /\ unchanged_at l2 s1 s2))) =
match l1 with
| [] -> ()
| x :: xs ->
lemma_unchanged_at_append xs l2 s1 s2 | val lemma_unchanged_at_append (l1 l2: locations) (s1 s2: machine_state)
: Lemma
(ensures
((unchanged_at (l1 `L.append` l2) s1 s2) <==> (unchanged_at l1 s1 s2 /\ unchanged_at l2 s1 s2)
))
let rec lemma_unchanged_at_append (l1 l2: locations) (s1 s2: machine_state)
: Lemma
(ensures
((unch... | false | null | true | match l1 with
| [] -> ()
| x :: xs -> lemma_unchanged_at_append xs l2 s1 s2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_append",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_iff",
"Vale.Transformers.Boun... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at_append (l1 l2: locations) (s1 s2: machine_state)
: Lemma
(ensures
((unchanged_at (l1 `L.append` l2) s1 s2) <==> (unchanged_at l1 s1 s2 /\ unchanged_at l2 s1 s2)
)) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_append | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
l1: Vale.Transformers.Locations.locations ->
l2: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(ensures
Vale.Transformers.BoundedInstructionEffects.unchanged_at (l1 @ l2) s1... | {
"end_col": 41,
"end_line": 264,
"start_col": 2,
"start_line": 261
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at'_maintained (locs locs_change: locations) (s1 s1' s2 s2': machine_state)
: Lemma
(requires
((not s1.ms_ok ==> not s1'.ms_ok) /\ (not s2.ms_ok ==> not s2'.ms_ok) /\
(unchanged_at' locs s1 s2) /\ (unchanged_except locs_change s1 s1') /\
(unchanged_except locs_c... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at'_maintained (locs locs_change:locations) (s1 s1' s2 s2':machine_state) :
Lemma
(requires (
(not s1.ms_ok ==> not s1'.ms_ok) /\
(not s2.ms_ok ==> not s2'.ms_ok) /\
(unchanged_at' locs s1 s2) /\
(unchanged_except locs_change s1 s1') /\
(unchanged_ex... | val lemma_unchanged_at'_maintained (locs locs_change: locations) (s1 s1' s2 s2': machine_state)
: Lemma
(requires
((not s1.ms_ok ==> not s1'.ms_ok) /\ (not s2.ms_ok ==> not s2'.ms_ok) /\
(unchanged_at' locs s1 s2) /\ (unchanged_except locs_change s1 s1') /\
(unchanged_except locs_c... | false | null | true | match locs with
| [] -> ()
| x :: xs ->
lemma_unchanged_at'_maintained xs locs_change s1 s1' s2 s2';
if x `L.mem` locs_change
then (lemma_unchanged_at'_mem locs_change x s1' s2')
else (lemma_unchanged_except_not_mem locs_change x) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"FStar.List.Tot.Base.mem",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at'_mem",
"Prims.bool",
"Vale.Transformers.BoundedInstructionEffects.lemm... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at'_maintained (locs locs_change: locations) (s1 s1' s2 s2': machine_state)
: Lemma
(requires
((not s1.ms_ok ==> not s1'.ms_ok) /\ (not s2.ms_ok ==> not s2'.ms_ok) /\
(unchanged_at' locs s1 s2) /\ (unchanged_except locs_change s1 s1') /\
(unchanged_except locs_c... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at'_maintained | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
locs: Vale.Transformers.Locations.locations ->
locs_change: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s1': Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state ->
s2': Vale.X64.Machine_Semantics_s.machine_s... | {
"end_col": 5,
"end_line": 446,
"start_col": 2,
"start_line": 438
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at_extend_append (l1 l2: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at l1 s1 s2) /\ (unchanged_except l2 s1 s1') /\ (unchanged_except l2 s2 s2') /\
(unchanged_at l2 s1' s2'))) (ensures ((unchanged_at (l1 `L.append` l2) s1' s2'))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at_extend_append (l1 l2:locations) (s1 s2 s1' s2':machine_state):
Lemma
(requires (
(unchanged_at l1 s1 s2) /\
(unchanged_except l2 s1 s1') /\
(unchanged_except l2 s2 s2') /\
(unchanged_at l2 s1' s2')))
(ensures (
(unchanged_at (l1 `L.append` l2)... | val lemma_unchanged_at_extend_append (l1 l2: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at l1 s1 s2) /\ (unchanged_except l2 s1 s1') /\ (unchanged_except l2 s2 s2') /\
(unchanged_at l2 s1' s2'))) (ensures ((unchanged_at (l1 `L.append` l2) s1' s2')))
let rec lemma... | false | null | true | match l1 with
| [] -> ()
| x :: xs ->
if L.mem x l2
then (lemma_unchanged_at_mem l2 x s1' s2')
else (lemma_unchanged_except_not_mem l2 x);
lemma_unchanged_at_extend_append xs l2 s1 s2 s1' s2' | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_extend_append",
"Prims.unit",
"FStar.List.Tot.Base.mem",
"Vale.Transformers.BoundedInstructionEff... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at_extend_append (l1 l2: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at l1 s1 s2) /\ (unchanged_except l2 s1 s1') /\ (unchanged_except l2 s2 s2') /\
(unchanged_at l2 s1' s2'))) (ensures ((unchanged_at (l1 `L.append` l2) s1' s2'))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_extend_append | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
l1: Vale.Transformers.Locations.locations ->
l2: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state ->
s1': Vale.X64.Machine_Semantics_s.machine_state ->
s2': Vale.X64.Machine_Semantics_s.machine_state
-> F... | {
"end_col": 56,
"end_line": 1284,
"start_col": 2,
"start_line": 1276
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at_except_disjoint (same change: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at same s1 s2) /\ (unchanged_except change s1 s1') /\
(unchanged_except change s2 s2') /\ !!(disjoint_locations same change)))
(ensures ((unchanged_at same s1' s... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at_except_disjoint (same change:locations) (s1 s2 s1' s2':machine_state) :
Lemma
(requires (
(unchanged_at same s1 s2) /\
(unchanged_except change s1 s1') /\
(unchanged_except change s2 s2') /\
!!(disjoint_locations same change)))
(ensures (
(unc... | val lemma_unchanged_at_except_disjoint (same change: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at same s1 s2) /\ (unchanged_except change s1 s1') /\
(unchanged_except change s2 s2') /\ !!(disjoint_locations same change)))
(ensures ((unchanged_at same s1' s... | false | null | true | match same with
| [] -> ()
| x :: xs -> lemma_unchanged_at_except_disjoint xs change s1 s2 s1' s2' | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_except_disjoint",
"Prims.unit",
"Prims.l_and",
"Vale.Transformers.BoundedInstructionEffects.uncha... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at_except_disjoint (same change: locations) (s1 s2 s1' s2': machine_state)
: Lemma
(requires
((unchanged_at same s1 s2) /\ (unchanged_except change s1 s1') /\
(unchanged_except change s2 s2') /\ !!(disjoint_locations same change)))
(ensures ((unchanged_at same s1' s... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_except_disjoint | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
same: Vale.Transformers.Locations.locations ->
change: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state ->
s1': Vale.X64.Machine_Semantics_s.machine_state ->
s2': Vale.X64.Machine_Semantics_s.machine_state
... | {
"end_col": 62,
"end_line": 1235,
"start_col": 2,
"start_line": 1232
} |
FStar.Pervasives.Lemma | val lemma_eval_instr_only_affects_write
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
(a: location)
: Lemma
(requires
((let w = (rw_set_of_ins (Instr it oprs ann)).loc_writes in
!!(disjoint_locatio... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_eval_instr_only_affects_write
(it:instr_t_record) (oprs:instr_operands_t it.outs it.args) (ann:instr_annotation it)
(s0:machine_state)
(a:location) :
Lemma
(requires (
(let w = (rw_set_of_ins (Instr it oprs ann)).loc_writes in
!!(disjoint_location_from_locations a w) /\
... | val lemma_eval_instr_only_affects_write
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
(a: location)
: Lemma
(requires
((let w = (rw_set_of_ins (Instr it oprs ann)).loc_writes in
!!(disjoint_locatio... | false | null | true | let InstrTypeRecord #outs #args #havoc_flags' i = it in
let vs = instr_apply_eval outs args (instr_eval i) oprs s0 in
let s1 =
match havoc_flags' with
| HavocFlags -> { s0 with ms_flags = havoc_flags }
| PreserveFlags -> s0
in
let Some vs = vs in
let _ = instr_write_outputs outs args vs oprs s0 s1 in
lemma_instr_... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs",
"Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_state",
"... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_eval_instr_only_affects_write
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
(a: location)
: Lemma
(requires
((let w = (rw_set_of_ins (Instr it oprs ann)).loc_writes in
!!(disjoint_locatio... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_eval_instr_only_affects_write | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
it: Vale.X64.Instruction_s.instr_t_record ->
oprs:
Vale.X64.Instruction_s.instr_operands_t (InstrTypeRecord?.outs it) (InstrTypeRecord?.args it) ->
ann: Vale.X64.Machine_Semantics_s.instr_annotation it ->
s0: Vale.X64.Machine_Semantics_s.machine_state ->
a: Vale.Transformers.Locations.locatio... | {
"end_col": 72,
"end_line": 209,
"start_col": 89,
"start_line": 199
} |
FStar.Pervasives.Lemma | val lemma_instr_apply_eval_args_same_read
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set0 args oprs) s1 s2))
(ensures
((instr_apply_eval_... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_instr_apply_eval_args_same_read
(outs:list instr_out) (args:list instr_operand)
(f:instr_args_t outs args) (oprs:instr_operands_t_args args)
(s1 s2:machine_state) :
Lemma
(requires (unchanged_at (aux_read_set0 args oprs) s1 s2))
(ensures (
(instr_apply_eval_args outs args f o... | val lemma_instr_apply_eval_args_same_read
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set0 args oprs) s1 s2))
(ensures
((instr_apply_eval_... | false | null | true | match args with
| [] -> ()
| i :: args ->
let v1, v2, oprs:option _ & option _ & instr_operands_t_args args =
match i with
| IOpEx i ->
let oprs = coerce oprs in
lemma_unchanged_at_append (both (locations_of_explicit i (fst oprs)))
(aux_read_set0 args (snd oprs))
s1
s2;
... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_args_t",
"Vale.X64.Instruction_s.instr_operands_t_args",
"Vale.X64.Machine_Semantics_s.machine_state",
"FStar.Pervasives.Native.option",
"Vale.X64.Instruction_s.instr_val_t",
"Vale... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_apply_eval_args_same_read
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set0 args oprs) s1 s2))
(ensures
((instr_apply_eval_... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_instr_apply_eval_args_same_read | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
f: Vale.X64.Instruction_s.instr_args_t outs args ->
oprs: Vale.X64.Instruction_s.instr_operands_t_args args ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Sem... | {
"end_col": 70,
"end_line": 302,
"start_col": 2,
"start_line": 275
} |
FStar.Pervasives.Lemma | val lemma_bounded_effects_series_aux2 (c1 c2 f1 f2 s: _)
: Lemma
(requires
((forall s. {:pattern (constant_on_execution c1 f1 s)} (constant_on_execution c1 f1 s)) /\
(forall s. {:pattern (constant_on_execution c2 f2 s)} (constant_on_execution c2 f2 s))))
(ensures
(let open Vale... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_bounded_effects_series_aux2 c1 c2 f1 f2 s :
Lemma
(requires (
(forall s. {:pattern (constant_on_execution c1 f1 s)} (constant_on_execution c1 f1 s)) /\
(forall s. {:pattern (constant_on_execution c2 f2 s)} (constant_on_execution c2 f2 s))))
(ensures (
let open Vale.X64.Ma... | val lemma_bounded_effects_series_aux2 (c1 c2 f1 f2 s: _)
: Lemma
(requires
((forall s. {:pattern (constant_on_execution c1 f1 s)} (constant_on_execution c1 f1 s)) /\
(forall s. {:pattern (constant_on_execution c2 f2 s)} (constant_on_execution c2 f2 s))))
(ensures
(let open Vale... | false | null | true | let open Vale.X64.Machine_Semantics_s in
let f =
let* _ = f1 in
f2
in
if (run f s).ms_ok
then
(match c1 with
| [] -> ()
| (| l , v |) :: xs ->
if L.mem (| l, v |) c2 then (lemma_constant_on_execution_mem c2 f2 (run f1 s) l v);
assert (forall s. constant_on_execution c1 f1 s ==> constant_on_exe... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.locations_with_values",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Vale.X64.Machine_Semantics_s.run",
"Vale.Transformers.Locations.locati... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_bounded_effects_series_aux2 (c1 c2 f1 f2 s: _)
: Lemma
(requires
((forall s. {:pattern (constant_on_execution c1 f1 s)} (constant_on_execution c1 f1 s)) /\
(forall s. {:pattern (constant_on_execution c2 f2 s)} (constant_on_execution c2 f2 s))))
(ensures
(let open Vale... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_series_aux2 | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c1: Vale.Transformers.BoundedInstructionEffects.locations_with_values ->
c2: Vale.Transformers.BoundedInstructionEffects.locations_with_values ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> FS... | {
"end_col": 11,
"end_line": 1220,
"start_col": 2,
"start_line": 1209
} |
FStar.Pervasives.Lemma | val lemma_eval_instr_unchanged_at'
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins (Instr it oprs ann)).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_eval_instr_unchanged_at'
(it:instr_t_record) (oprs:instr_operands_t it.outs it.args) (ann:instr_annotation it)
(s1 s2:machine_state) :
Lemma
(requires (
let r = (rw_set_of_ins (Instr it oprs ann)).loc_reads in
(s1.ms_ok = s2.ms_ok) /\
(unchanged_at r s1 s2)))
(ensures... | val lemma_eval_instr_unchanged_at'
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins (Instr it oprs ann)).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s... | false | null | true | let InstrTypeRecord #outs #args #havoc_flags' i = it in
let vs1 = instr_apply_eval outs args (instr_eval i) oprs s1 in
let vs2 = instr_apply_eval outs args (instr_eval i) oprs s2 in
lemma_instr_apply_eval_same_read outs args (instr_eval i) oprs s1 s2;
assert (vs1 == vs2);
let s11, s22 =
match havoc_flags' with
| Ha... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__outs",
"Vale.X64.Instruction_s.__proj__InstrTypeRecord__item__args",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_state",
"... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_eval_instr_unchanged_at'
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins (Instr it oprs ann)).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_eval_instr_unchanged_at' | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
it: Vale.X64.Instruction_s.instr_t_record ->
oprs:
Vale.X64.Instruction_s.instr_operands_t (InstrTypeRecord?.outs it) (InstrTypeRecord?.args it) ->
ann: Vale.X64.Machine_Semantics_s.instr_annotation it ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machi... | {
"end_col": 13,
"end_line": 631,
"start_col": 57,
"start_line": 600
} |
Prims.Tot | val locations_of_implicit (t: instr_operand_implicit) : locations & locations | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let locations_of_implicit (t:instr_operand_implicit) : locations & locations =
match t with
| IOp64One i -> locations_of_operand64 i
| IOpXmmOne i -> locations_of_operand128 i
| IOpFlagsCf -> [], [ALocCf]
| IOpFlagsOf -> [], [ALocOf] | val locations_of_implicit (t: instr_operand_implicit) : locations & locations
let locations_of_implicit (t: instr_operand_implicit) : locations & locations = | false | null | false | match t with
| IOp64One i -> locations_of_operand64 i
| IOpXmmOne i -> locations_of_operand128 i
| IOpFlagsCf -> [], [ALocCf]
| IOpFlagsOf -> [], [ALocOf] | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Vale.X64.Instruction_s.instr_operand_implicit",
"Vale.X64.Machine_s.operand64",
"Vale.Transformers.BoundedInstructionEffects.locations_of_operand64",
"Vale.X64.Machine_s.operand128",
"Vale.Transformers.BoundedInstructionEffects.locations_of_operand128",
"FStar.Pervasives.Native.Mktuple2",
"Vale.Transfo... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | true | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val locations_of_implicit (t: instr_operand_implicit) : locations & locations | [] | Vale.Transformers.BoundedInstructionEffects.locations_of_implicit | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Vale.X64.Instruction_s.instr_operand_implicit
-> Vale.Transformers.Locations.locations * Vale.Transformers.Locations.locations | {
"end_col": 30,
"end_line": 50,
"start_col": 2,
"start_line": 46
} |
FStar.Pervasives.Lemma | val lemma_machine_eval_ins_st_only_affects_write_aux
(i: ins{Instr? i})
(s: machine_state)
(a: location)
: Lemma
(requires
(let w = (rw_set_of_ins i).loc_writes in
(!!(disjoint_location_from_locations a w))))
(ensures ((eval_location a s == eval_location a (run (machi... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_machine_eval_ins_st_only_affects_write_aux (i:ins{Instr? i}) (s:machine_state) (a:location) :
Lemma
(requires (
let w = (rw_set_of_ins i).loc_writes in
(!!(disjoint_location_from_locations a w))))
(ensures (
(eval_location a s == eval_location a (run (machine_eval_ins_st i) s... | val lemma_machine_eval_ins_st_only_affects_write_aux
(i: ins{Instr? i})
(s: machine_state)
(a: location)
: Lemma
(requires
(let w = (rw_set_of_ins i).loc_writes in
(!!(disjoint_location_from_locations a w))))
(ensures ((eval_location a s == eval_location a (run (machi... | false | null | true | let Instr it oprs ann = i in
match eval_instr it oprs ann s with
| Some _ -> lemma_eval_instr_only_affects_write it oprs ann s a
| None -> () | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Machine_Semantics_s.ins",
"Prims.b2t",
"Vale.X64.Bytes_Code_s.uu___is_Instr",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64.Instruction_s.instr_operands... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_machine_eval_ins_st_only_affects_write_aux
(i: ins{Instr? i})
(s: machine_state)
(a: location)
: Lemma
(requires
(let w = (rw_set_of_ins i).loc_writes in
(!!(disjoint_location_from_locations a w))))
(ensures ((eval_location a s == eval_location a (run (machi... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_ins_st_only_affects_write_aux | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Machine_Semantics_s.ins{Instr? i} ->
s: Vale.X64.Machine_Semantics_s.machine_state ->
a: Vale.Transformers.Locations.location
-> FStar.Pervasives.Lemma
(requires
(let w =
Mkrw_set?.loc_writes (Vale.Transformers.BoundedInstructionEffects.rw_set_of_ins i)
in
... | {
"end_col": 14,
"end_line": 222,
"start_col": 82,
"start_line": 218
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let unchanged_at' (l:locations) (s1 s2:machine_state) =
(s1.ms_ok = s2.ms_ok) /\
(s1.ms_ok /\ s2.ms_ok ==>
unchanged_at l s1 s2) | let unchanged_at' (l: locations) (s1 s2: machine_state) = | false | null | false | (s1.ms_ok = s2.ms_ok) /\ (s1.ms_ok /\ s2.ms_ok ==> unchanged_at l s1 s2) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"Prims.bool",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Prims.l_imp",
"Vale.Transformers.BoundedInstructionEffects.unchanged_at",
"Pri... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | true | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val unchanged_at' : l: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.logical | [] | Vale.Transformers.BoundedInstructionEffects.unchanged_at' | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
l: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.logical | {
"end_col": 24,
"end_line": 364,
"start_col": 2,
"start_line": 362
} | |
FStar.Pervasives.Lemma | val lemma_constant_intersect_belongs_to_writes_union
(c1 c2: locations_with_values)
(w1 w2: locations)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires
((let x:location_with_value = (| l, v |) in
L.mem x (c1 `intersect` c2) /\
(forall l v. {:pa... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_constant_intersect_belongs_to_writes_union
(c1 c2:locations_with_values) (w1 w2:locations) (l:location_eq) (v:location_val_eqt l) :
Lemma
(requires (
(let x : location_with_value = (|l,v|) in
L.mem x (c1 `intersect` c2) /\
(forall l v. {:pattern (L.mem (|l,v|) c1); (L.m... | val lemma_constant_intersect_belongs_to_writes_union
(c1 c2: locations_with_values)
(w1 w2: locations)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires
((let x:location_with_value = (| l, v |) in
L.mem x (c1 `intersect` c2) /\
(forall l v. {:pa... | false | null | true | match c1 with
| [] -> ()
| x :: xs ->
if x = (| l, v |)
then
(assert (L.mem (| l, v |) c1);
assert (L.mem l w1);
L.append_mem w1 w2 l)
else
(assert (forall l v. L.mem (| l, v |) xs ==> L.mem (| l, v |) c1);
lemma_constant_intersect_belongs_to_writes_union xs c2 w1 w2 l v) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.locations_with_values",
"Vale.Transformers.Locations.locations",
"Vale.Transformers.Locations.location_eq",
"Vale.Transformers.Locations.location_val_eqt",
"Vale.Transformers.BoundedInstructionEffects.location_with_value",
"Prims.list",
"Prims.op_Equality",
... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_constant_intersect_belongs_to_writes_union
(c1 c2: locations_with_values)
(w1 w2: locations)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires
((let x:location_with_value = (| l, v |) in
L.mem x (c1 `intersect` c2) /\
(forall l v. {:pa... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_constant_intersect_belongs_to_writes_union | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
c1: Vale.Transformers.BoundedInstructionEffects.locations_with_values ->
c2: Vale.Transformers.BoundedInstructionEffects.locations_with_values ->
w1: Vale.Transformers.Locations.locations ->
w2: Vale.Transformers.Locations.locations ->
l: Vale.Transformers.Locations.location_eq ->
v: Vale.Trans... | {
"end_col": 5,
"end_line": 924,
"start_col": 2,
"start_line": 914
} |
Prims.Tot | val aux_write_set
(outs: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t outs args)
: locations | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec aux_write_set
(outs:list instr_out) (args:list instr_operand) (oprs:instr_operands_t outs args) : locations =
match outs with
| [] -> []
| (_, IOpEx i) :: outs ->
let l, r = coerce #(instr_operand_t i & instr_operands_t outs args) oprs in
snd (locations_of_explicit i l) `L.append` aux_write_se... | val aux_write_set
(outs: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t outs args)
: locations
let rec aux_write_set
(outs: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t outs args)
: locations = | false | null | false | match outs with
| [] -> []
| (_, IOpEx i) :: outs ->
let l, r = coerce #(instr_operand_t i & instr_operands_t outs args) oprs in
(snd (locations_of_explicit i l)) `L.append` (aux_write_set outs args r)
| (_, IOpIm i) :: outs ->
(snd (locations_of_implicit i))
`L.append`
(aux_write_set outs args (coerce #(inst... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_operands_t",
"Prims.Nil",
"Vale.Transformers.Locations.location",
"Vale.X64.Instruction_s.instr_operand_inout",
"Vale.X64.Instruction_s.instr_operand_explicit",
"Vale.X64.Instructi... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val aux_write_set
(outs: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t outs args)
: locations | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.aux_write_set | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
oprs: Vale.X64.Instruction_s.instr_operands_t outs args
-> Vale.Transformers.Locations.locations | {
"end_col": 112,
"end_line": 91,
"start_col": 2,
"start_line": 85
} |
FStar.Pervasives.Lemma | val lemma_bounded_effects_parallel :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
(bounded_effects (rw_set_in_parallel rw1 rw2) f1) /\
(bounded_effects (rw_set_in_parallel rw1 rw2... | [
{
"abbrev": false,
"full_module": "Vale.X64.Print_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instruction_s",
"short_module": null
},
{
"abbrev": true,... | false | let lemma_bounded_effects_parallel rw1 rw2 f1 f2 =
let rw = rw_set_in_parallel rw1 rw2 in
let aux s a :
Lemma
(requires (
!!(disjoint_location_from_locations a rw.loc_writes) /\
(run f1 s).ms_ok))
(ensures (eval_location a s == eval_location a (run f1 s))) =
lemma_disjoint_l... | val lemma_bounded_effects_parallel :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
(bounded_effects (rw_set_in_parallel rw1 rw2) f1) /\
(bounded_effects (rw_set_in_parallel rw1 rw2... | false | null | true | let rw = rw_set_in_parallel rw1 rw2 in
let aux s a
: Lemma (requires (!!(disjoint_location_from_locations a rw.loc_writes) /\ (run f1 s).ms_ok))
(ensures (eval_location a s == eval_location a (run f1 s))) =
lemma_disjoint_location_from_locations_append a rw1.loc_writes rw2.loc_writes;
assert (unchanged_ex... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Prims._assert",
"Prims.l_Forall",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.l_imp",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"Prims.bool",
"Vale.X64.Machine_Semantics_s.__... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_bounded_effects_parallel :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
(bounded_effects (rw_set_in_parallel rw1 rw2) f1) /\
(bounded_effects (rw_set_in_parallel rw1 rw2... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_parallel | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit
-> FStar.Pervasives.Lemma
(requires
Vale.Transformers.BoundedInstruction... | {
"end_col": 3,
"end_line": 1179,
"start_col": 50,
"start_line": 1061
} |
FStar.Pervasives.Lemma | val lemma_instr_write_outputs_only_affects_write_extend
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(locs_extension: locations)
: Lemma
(ensures
(let s' = instr_write_outputs outs ... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_instr_write_outputs_only_affects_write_extend
(outs:list instr_out) (args:list instr_operand)
(vs:instr_ret_t outs) (oprs:instr_operands_t outs args)
(s_orig s:machine_state)
(locs_extension:locations) :
Lemma
(ensures (
let s' = instr_write_outputs outs args vs oprs s_orig s in
... | val lemma_instr_write_outputs_only_affects_write_extend
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(locs_extension: locations)
: Lemma
(ensures
(let s' = instr_write_outputs outs ... | false | null | true | let s' = instr_write_outputs outs args vs oprs s_orig s in
let locs = aux_write_set outs args oprs in
FStar.Classical.forall_intro (FStar.Classical.move_requires (lemma_instr_write_outputs_only_affects_write
outs
args
vs
oprs
s_orig
s));
lemma_unchanged_except... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_ret_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.locations",
"Vale.Transformers.BoundedInstructionEffects... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_write_outputs_only_affects_write_extend
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(locs_extension: locations)
: Lemma
(ensures
(let s' = instr_write_outputs outs ... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_instr_write_outputs_only_affects_write_extend | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
vs: Vale.X64.Instruction_s.instr_ret_t outs ->
oprs: Vale.X64.Instruction_s.instr_operands_t outs args ->
s_orig: Vale.X64.Machine_Semantics_s.machine_state ->
s: Vale.X64.Machine_Seman... | {
"end_col": 56,
"end_line": 485,
"start_col": 66,
"start_line": 480
} |
Prims.Tot | val rw_set_in_series : rw_set -> rw_set -> rw_set | [
{
"abbrev": false,
"full_module": "Vale.X64.Print_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instruction_s",
"short_module": null
},
{
"abbrev": true,... | false | let rw_set_in_series rw1 rw2 =
{
loc_reads = rw1.loc_reads `L.append` (difference rw2.loc_reads rw1.loc_writes);
loc_writes = rw1.loc_writes `L.append` rw2.loc_writes;
loc_constant_writes = rw1.loc_constant_writes `intersect` rw2.loc_constant_writes;
} | val rw_set_in_series : rw_set -> rw_set -> rw_set
let rw_set_in_series rw1 rw2 = | false | null | false | {
loc_reads = rw1.loc_reads `L.append` (difference rw2.loc_reads rw1.loc_writes);
loc_writes = rw1.loc_writes `L.append` rw2.loc_writes;
loc_constant_writes = rw1.loc_constant_writes `intersect` rw2.loc_constant_writes
} | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.Transformers.BoundedInstructionEffects.Mkrw_set",
"FStar.List.Tot.Base.append",
"Vale.Transformers.Locations.location",
"Vale.Transformers.BoundedInstructionEffects.__proj__Mkrw_set__item__loc_reads",
"Vale.Transformers.BoundedInstructionEffects.... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | true | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val rw_set_in_series : rw_set -> rw_set -> rw_set | [] | Vale.Transformers.BoundedInstructionEffects.rw_set_in_series | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set
-> Vale.Transformers.BoundedInstructionEffects.rw_set | {
"end_col": 86,
"end_line": 870,
"start_col": 4,
"start_line": 868
} |
Prims.Tot | val rw_set_in_parallel : rw_set -> rw_set -> rw_set | [
{
"abbrev": false,
"full_module": "Vale.X64.Print_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instruction_s",
"short_module": null
},
{
"abbrev": true,... | false | let rw_set_in_parallel rw1 rw2 =
{
loc_reads = sym_difference rw1.loc_writes rw2.loc_writes `L.append` (rw1.loc_reads `L.append` rw2.loc_reads);
loc_writes = rw1.loc_writes `L.append` rw2.loc_writes;
loc_constant_writes = rw1.loc_constant_writes `intersect` rw2.loc_constant_writes;
} | val rw_set_in_parallel : rw_set -> rw_set -> rw_set
let rw_set_in_parallel rw1 rw2 = | false | null | false | {
loc_reads
=
(sym_difference rw1.loc_writes rw2.loc_writes) `L.append` (rw1.loc_reads `L.append` rw2.loc_reads);
loc_writes = rw1.loc_writes `L.append` rw2.loc_writes;
loc_constant_writes = rw1.loc_constant_writes `intersect` rw2.loc_constant_writes
} | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.Transformers.BoundedInstructionEffects.Mkrw_set",
"FStar.List.Tot.Base.append",
"Vale.Transformers.Locations.location",
"Vale.Transformers.BoundedInstructionEffects.sym_difference",
"Vale.Transformers.BoundedInstructionEffects.__proj__Mkrw_set__i... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | true | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val rw_set_in_parallel : rw_set -> rw_set -> rw_set | [] | Vale.Transformers.BoundedInstructionEffects.rw_set_in_parallel | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set
-> Vale.Transformers.BoundedInstructionEffects.rw_set | {
"end_col": 86,
"end_line": 862,
"start_col": 4,
"start_line": 860
} |
FStar.Pervasives.Lemma | val lemma_machine_eval_ins_st_ok (i: ins{Instr? i}) (s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins i).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s2)))
(ensures
(let f = machine_eval_ins_st i in
(run f s1).ms_ok = (run f s2).ms_ok)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_machine_eval_ins_st_ok (i:ins{Instr? i}) (s1 s2:machine_state) :
Lemma
(requires (
let r = (rw_set_of_ins i).loc_reads in
(s1.ms_ok = s2.ms_ok) /\
(unchanged_at r s1 s2)))
(ensures (
let f = machine_eval_ins_st i in
(run f s1).ms_ok = (run f s2).ms_ok)) =
le... | val lemma_machine_eval_ins_st_ok (i: ins{Instr? i}) (s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins i).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s2)))
(ensures
(let f = machine_eval_ins_st i in
(run f s1).ms_ok = (run f s2).ms_ok))
let ... | false | null | true | let Instr it oprs ann = i in
lemma_eval_instr_unchanged_at' it oprs ann s1 s2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Machine_Semantics_s.ins",
"Prims.b2t",
"Vale.X64.Bytes_Code_s.uu___is_Instr",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Instruction_s.__proj__Ins... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_machine_eval_ins_st_ok (i: ins{Instr? i}) (s1 s2: machine_state)
: Lemma
(requires
(let r = (rw_set_of_ins i).loc_reads in
(s1.ms_ok = s2.ms_ok) /\ (unchanged_at r s1 s2)))
(ensures
(let f = machine_eval_ins_st i in
(run f s1).ms_ok = (run f s2).ms_ok)) | [] | Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_ins_st_ok | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Machine_Semantics_s.ins{Instr? i} ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(requires
(let r =
Mkrw_set?.loc_reads (Vale.Transformers.BoundedInstructionEffects.rw_set_of_ins i)
... | {
"end_col": 50,
"end_line": 644,
"start_col": 47,
"start_line": 642
} |
FStar.Pervasives.Lemma | val lemma_bounded_effects_parallel_aux1 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let rw = rw_set_in_parallel rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(run f1 s1).ms_ok /\ (run f1 s2).ms_ok /\ unchanged_at rw.loc_reads s1 s2))
... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_bounded_effects_parallel_aux1 rw1 rw2 f1 f2 s1 s2 :
Lemma
(requires (
let rw = rw_set_in_parallel rw1 rw2 in
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2) /\
(s1.ms_ok = s2.ms_ok) /\
(run f1 s1).ms_ok /\
(run f1 s2).ms_ok /\
unchanged_at rw.... | val lemma_bounded_effects_parallel_aux1 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let rw = rw_set_in_parallel rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(run f1 s1).ms_ok /\ (run f1 s2).ms_ok /\ unchanged_at rw.loc_reads s1 s2))
... | false | null | true | lemma_unchanged_at_append rw1.loc_reads rw2.loc_reads s1 s2;
lemma_unchanged_at_append (sym_difference rw1.loc_writes rw2.loc_writes)
(rw1.loc_reads `L.append` rw2.loc_reads)
s1
s2;
lemma_unchanged_at_append rw1.loc_writes rw2.loc_writes (run f1 s1) (run f1 s2);
assert (unchanged_at rw1.loc_reads s1 s2);
assert (... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims._assert",
"Vale.Transformers.BoundedInstructionEffects.unchanged_at",
"Vale.Transformers.BoundedInstructionEffects.__proj__Mkrw_set__item__loc_write... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_bounded_effects_parallel_aux1 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let rw = rw_set_in_parallel rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(run f1 s1).ms_ok /\ (run f1 s2).ms_ok /\ unchanged_at rw.loc_reads s1 s2))
... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_parallel_aux1 | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semant... | {
"end_col": 62,
"end_line": 1033,
"start_col": 2,
"start_line": 1023
} |
FStar.Pervasives.Lemma | val lemma_bounded_effects_series_aux3 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(unchanged_at rw.loc_reads s1 s... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_bounded_effects_series_aux3 rw1 rw2 f1 f2 s1 s2 :
Lemma
(requires (
let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2) /\
(s1.ms_ok = s2.ms_ok) /\
(unchanged_at rw.loc_reads s1... | val lemma_bounded_effects_series_aux3 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(unchanged_at rw.loc_reads s1 s... | false | null | true | let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
let f =
(let* _ = f1 in
f2)
in
let s1_1, s2_1 = run f1 s1, run f1 s2 in
let s1_1_2, s2_1_2 = run f2 s1_1, run f2 s2_1 in
lemma_unchanged_at_append rw1.loc_reads (rw2.loc_reads `difference` rw1.loc_writes) s1 s2;
assert (s1_1.ms_ok = s2_... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_difference_elim",
"Val... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_bounded_effects_series_aux3 (rw1 rw2 f1 f2 s1 s2: _)
: Lemma
(requires
(let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
(bounded_effects rw1 f1) /\ (bounded_effects rw2 f2) /\ (s1.ms_ok = s2.ms_ok) /\
(unchanged_at rw.loc_reads s1 s... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_series_aux3 | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semant... | {
"end_col": 11,
"end_line": 1265,
"start_col": 2,
"start_line": 1250
} |
FStar.Pervasives.Lemma | val lemma_machine_eval_code_Ins_bounded_effects_aux3 (i: ins) (fuel: nat) (s1 s2: _)
: Lemma
(requires
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
(safely_bounded i) /\ (s1.ms_ok = s2.ms_ok) /\ (unchanged_at rw.loc_reads s1 s2)))
(ensures
... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_machine_eval_code_Ins_bounded_effects_aux3 (i:ins) (fuel:nat) s1 s2 :
Lemma
(requires (
let f : st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
(safely_bounded i) /\
(s1.ms_ok = s2.ms_ok) /\
(unchanged_at rw.loc_reads s1 s2)))
(ensures (
... | val lemma_machine_eval_code_Ins_bounded_effects_aux3 (i: ins) (fuel: nat) (s1 s2: _)
: Lemma
(requires
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
(safely_bounded i) /\ (s1.ms_ok = s2.ms_ok) /\ (unchanged_at rw.loc_reads s1 s2)))
(ensures
... | false | null | true | let filt s = { s with ms_trace = [] } in
let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
lemma_unchanged_at_trace rw.loc_reads s1 s2 [] [];
lemma_machine_eval_ins_st_ok i (filt s1) (filt s2) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Machine_Semantics_s.ins",
"Prims.nat",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_ins_st_ok",
"Prims.unit",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_trace",
"Vale.Transformers.BoundedInstructionEffects.__... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_machine_eval_code_Ins_bounded_effects_aux3 (i: ins) (fuel: nat) (s1 s2: _)
: Lemma
(requires
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
(safely_bounded i) /\ (s1.ms_ok = s2.ms_ok) /\ (unchanged_at rw.loc_reads s1 s2)))
(ensures
... | [] | Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_code_Ins_bounded_effects_aux3 | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Machine_Semantics_s.ins ->
fuel: Prims.nat ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(requires
(let f = Vale.Transformers.BoundedInstructionEffects.machine_eval_code_Ins i fuel in
l... | {
"end_col": 52,
"end_line": 792,
"start_col": 47,
"start_line": 787
} |
FStar.Pervasives.Lemma | val lemma_instr_apply_eval_inouts_same_read
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set1 inouts args oprs) s1 s2))
(ensures
... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_instr_apply_eval_inouts_same_read
(outs inouts:list instr_out) (args:list instr_operand)
(f:instr_inouts_t outs inouts args) (oprs:instr_operands_t inouts args)
(s1 s2:machine_state) :
Lemma
(requires (unchanged_at (aux_read_set1 inouts args oprs) s1 s2))
(ensures (
(instr_ap... | val lemma_instr_apply_eval_inouts_same_read
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set1 inouts args oprs) s1 s2))
(ensures
... | false | null | true | match inouts with
| [] -> lemma_instr_apply_eval_args_same_read outs args f oprs s1 s2
| (Out, i) :: inouts ->
let oprs =
match i with
| IOpEx i -> snd #(instr_operand_t i) (coerce oprs)
| IOpIm i -> coerce oprs
in
lemma_instr_apply_eval_inouts_same_read outs inouts args (coerce f) oprs s1 s2
| (InOut... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_inouts_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.BoundedInstructionEffects.lemma_instr_apply_eval_args_same_read",... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 6,
"initial_ifuel": 2,
"max_fuel": 6,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_apply_eval_inouts_same_read
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s1 s2: machine_state)
: Lemma (requires (unchanged_at (aux_read_set1 inouts args oprs) s1 s2))
(ensures
... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_instr_apply_eval_inouts_same_read | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
inouts: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
f: Vale.X64.Instruction_s.instr_inouts_t outs inouts args ->
oprs: Vale.X64.Instruction_s.instr_operands_t inouts args ->
s1: Vale... | {
"end_col": 79,
"end_line": 347,
"start_col": 2,
"start_line": 314
} |
FStar.Pervasives.Lemma | val lemma_unchanged_except_not_mem (as0: locations) (a: location)
: Lemma (requires ((not (L.mem a as0)))) (ensures (!!(disjoint_location_from_locations a as0))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_except_not_mem (as0:locations) (a:location) :
Lemma
(requires (
(not (L.mem a as0))))
(ensures (
!!(disjoint_location_from_locations a as0))) =
match as0 with
| [] -> ()
| x :: xs -> lemma_unchanged_except_not_mem xs a | val lemma_unchanged_except_not_mem (as0: locations) (a: location)
: Lemma (requires ((not (L.mem a as0)))) (ensures (!!(disjoint_location_from_locations a as0)))
let rec lemma_unchanged_except_not_mem (as0: locations) (a: location)
: Lemma (requires ((not (L.mem a as0)))) (ensures (!!(disjoint_location_from_loc... | false | null | true | match as0 with
| [] -> ()
| x :: xs -> lemma_unchanged_except_not_mem xs a | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_except_not_mem",
"Prims.unit",
"Prims.b2t",
"Prims.op_Negation",
"FStar.List.Tot.Base.mem",
"Prims.squash",
"Vale.Def.PossiblyMonad.op_Bang_Ba... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_except_not_mem (as0: locations) (a: location)
: Lemma (requires ((not (L.mem a as0)))) (ensures (!!(disjoint_location_from_locations a as0))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_except_not_mem | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | as0: Vale.Transformers.Locations.locations -> a: Vale.Transformers.Locations.location
-> FStar.Pervasives.Lemma (requires Prims.op_Negation (FStar.List.Tot.Base.mem a as0))
(ensures !!(Vale.Transformers.Locations.disjoint_location_from_locations a as0)) | {
"end_col": 50,
"end_line": 425,
"start_col": 2,
"start_line": 423
} |
Prims.Tot | val intersect (#t: eqtype) (l1 l2: list t) : list t | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec intersect (#t:eqtype) (l1 l2:list t) : list t =
match l1 with
| [] -> []
| x :: xs -> if L.mem x l2 then x :: intersect xs l2 else intersect xs l2 | val intersect (#t: eqtype) (l1 l2: list t) : list t
let rec intersect (#t: eqtype) (l1 l2: list t) : list t = | false | null | false | match l1 with
| [] -> []
| x :: xs -> if L.mem x l2 then x :: intersect xs l2 else intersect xs l2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"total"
] | [
"Prims.eqtype",
"Prims.list",
"Prims.Nil",
"FStar.List.Tot.Base.mem",
"Prims.Cons",
"Vale.Transformers.BoundedInstructionEffects.intersect",
"Prims.bool"
] | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val intersect (#t: eqtype) (l1 l2: list t) : list t | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.intersect | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l1: Prims.list t -> l2: Prims.list t -> Prims.list t | {
"end_col": 75,
"end_line": 847,
"start_col": 2,
"start_line": 845
} |
FStar.Pervasives.Lemma | val lemma_disjoint_location_from_locations_not_mem (locs: locations) (l: location)
: Lemma (ensures (!!(disjoint_location_from_locations l locs) <==> not (L.mem l locs))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_disjoint_location_from_locations_not_mem (locs:locations) (l:location) :
Lemma
(ensures (
!!(disjoint_location_from_locations l locs) <==>
not (L.mem l locs))) =
match locs with
| [] -> ()
| x :: xs ->
lemma_disjoint_location_from_locations_not_mem xs l | val lemma_disjoint_location_from_locations_not_mem (locs: locations) (l: location)
: Lemma (ensures (!!(disjoint_location_from_locations l locs) <==> not (L.mem l locs)))
let rec lemma_disjoint_location_from_locations_not_mem (locs: locations) (l: location)
: Lemma (ensures (!!(disjoint_location_from_locations ... | false | null | true | match locs with
| [] -> ()
| x :: xs -> lemma_disjoint_location_from_locations_not_mem xs l | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_disjoint_location_from_locations_not_mem",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_iff",
"Prims.b2t",
"Vale.Def.PossiblyMonad.op_Bang_Ban... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_disjoint_location_from_locations_not_mem (locs: locations) (l: location)
: Lemma (ensures (!!(disjoint_location_from_locations l locs) <==> not (L.mem l locs))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_disjoint_location_from_locations_not_mem | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | locs: Vale.Transformers.Locations.locations -> l: Vale.Transformers.Locations.location
-> FStar.Pervasives.Lemma
(ensures
!!(Vale.Transformers.Locations.disjoint_location_from_locations l locs) <==>
Prims.op_Negation (FStar.List.Tot.Base.mem l locs)) | {
"end_col": 55,
"end_line": 969,
"start_col": 2,
"start_line": 966
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at'_maintained_upon_flag_update
(locs: locations)
(s1 s2: machine_state)
(flags: flags_t)
: Lemma (requires (unchanged_at' locs s1 s2))
(ensures (unchanged_at' locs ({ s1 with ms_flags = flags }) ({ s2 with ms_flags = flags }))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at'_maintained_upon_flag_update (locs:locations) (s1 s2:machine_state) (flags:flags_t) :
Lemma
(requires (unchanged_at' locs s1 s2))
(ensures (unchanged_at' locs
({s1 with ms_flags = flags})
({s2 with ms_flags = flags}))) =
match locs with
| [] -> ()... | val lemma_unchanged_at'_maintained_upon_flag_update
(locs: locations)
(s1 s2: machine_state)
(flags: flags_t)
: Lemma (requires (unchanged_at' locs s1 s2))
(ensures (unchanged_at' locs ({ s1 with ms_flags = flags }) ({ s2 with ms_flags = flags })))
let rec lemma_unchanged_at'_maintained_upon... | false | null | true | match locs with
| [] -> ()
| x :: xs -> lemma_unchanged_at'_maintained_upon_flag_update xs s1 s2 flags | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.flags_t",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at'_maintained_upon_flag_update",
"Prims.unit",
"Vale.Transf... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at'_maintained_upon_flag_update
(locs: locations)
(s1 s2: machine_state)
(flags: flags_t)
: Lemma (requires (unchanged_at' locs s1 s2))
(ensures (unchanged_at' locs ({ s1 with ms_flags = flags }) ({ s2 with ms_flags = flags }))) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at'_maintained_upon_flag_update | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
locs: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state ->
flags: Vale.X64.Machine_Semantics_s.flags_t
-> FStar.Pervasives.Lemma
(requires Vale.Transformers.BoundedInstructionEffects.unchanged_at' locs s1 s2... | {
"end_col": 77,
"end_line": 583,
"start_col": 2,
"start_line": 581
} |
FStar.Pervasives.Lemma | val lemma_unchanged_except_to_at_difference (locs locs_change: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_except locs_change s1 s2))
(ensures (unchanged_at (locs `difference` locs_change) s1 s2)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_except_to_at_difference (locs locs_change:locations) (s1 s2:machine_state) :
Lemma
(requires (unchanged_except locs_change s1 s2))
(ensures (unchanged_at (locs `difference` locs_change) s1 s2)) =
match locs with
| [] -> ()
| x :: xs ->
lemma_difference_disjoint locs locs_chan... | val lemma_unchanged_except_to_at_difference (locs locs_change: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_except locs_change s1 s2))
(ensures (unchanged_at (locs `difference` locs_change) s1 s2))
let rec lemma_unchanged_except_to_at_difference (locs locs_change: locations) (s1 s2: machine_... | false | null | true | match locs with
| [] -> ()
| x :: xs ->
lemma_difference_disjoint locs locs_change;
lemma_unchanged_except_to_at_difference xs locs_change s1 s2 | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_except_to_at_difference",
"Prims.unit",
"Vale.Transformers.BoundedInstructionEffects.lemma_difference_... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_except_to_at_difference (locs locs_change: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_except locs_change s1 s2))
(ensures (unchanged_at (locs `difference` locs_change) s1 s2)) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_except_to_at_difference | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
locs: Vale.Transformers.Locations.locations ->
locs_change: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(requires Vale.Transformers.BoundedInstructionEffects.unchanged_except ... | {
"end_col": 64,
"end_line": 989,
"start_col": 2,
"start_line": 985
} |
FStar.Pervasives.Lemma | val lemma_unchanged_at_difference_elim (l1 l2: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_at (l1 `difference` l2) s1 s2 /\ unchanged_at l2 s1 s2))
(ensures (unchanged_at l1 s1 s2)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_unchanged_at_difference_elim (l1 l2:locations) (s1 s2:machine_state) :
Lemma
(requires (unchanged_at (l1 `difference` l2) s1 s2 /\ unchanged_at l2 s1 s2))
(ensures (unchanged_at l1 s1 s2)) =
match l1 with
| [] -> ()
| x :: xs ->
if L.mem x l2 then (
lemma_unchanged_at_mem l2 x s1... | val lemma_unchanged_at_difference_elim (l1 l2: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_at (l1 `difference` l2) s1 s2 /\ unchanged_at l2 s1 s2))
(ensures (unchanged_at l1 s1 s2))
let rec lemma_unchanged_at_difference_elim (l1 l2: locations) (s1 s2: machine_state)
: Lemma (requires (u... | false | null | true | match l1 with
| [] -> ()
| x :: xs ->
if L.mem x l2
then
(lemma_unchanged_at_mem l2 x s1 s2;
lemma_unchanged_at_difference_elim xs l2 s1 s2)
else (lemma_unchanged_at_difference_elim xs l2 s1 s2) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.Locations.locations",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Prims.list",
"FStar.List.Tot.Base.mem",
"Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_difference_elim",
"Prims.unit",
"Vale.Transformers.BoundedInstructionE... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_unchanged_at_difference_elim (l1 l2: locations) (s1 s2: machine_state)
: Lemma (requires (unchanged_at (l1 `difference` l2) s1 s2 /\ unchanged_at l2 s1 s2))
(ensures (unchanged_at l1 s1 s2)) | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_unchanged_at_difference_elim | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
l1: Vale.Transformers.Locations.locations ->
l2: Vale.Transformers.Locations.locations ->
s1: Vale.X64.Machine_Semantics_s.machine_state ->
s2: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(requires
Vale.Transformers.BoundedInstructionEffects.unchanged_at (Vale.T... | {
"end_col": 5,
"end_line": 953,
"start_col": 2,
"start_line": 945
} |
FStar.Pervasives.Lemma | val lemma_bounded_effects_series :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
let open Vale.X64.Machine_Semantics_s in
(bounded_effects (rw_set_in_series rw1 rw2) (f1;*f2)))) | [
{
"abbrev": false,
"full_module": "Vale.X64.Print_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instruction_s",
"short_module": null
},
{
"abbrev": true,... | false | let lemma_bounded_effects_series rw1 rw2 f1 f2 =
let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
let aux s = FStar.Classical.move_requires (lemma_bounded_effects_series_aux1 rw1 rw2 f1 f2 s) in
FStar.Classical.forall_intro_2 aux;
let aux = FStar.Classical.move_requires (lemma_bou... | val lemma_bounded_effects_series :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
let open Vale.X64.Machine_Semantics_s in
(bounded_effects (rw_set_in_series rw1 rw2) (f1;*f2))))
le... | false | null | true | let open Vale.X64.Machine_Semantics_s in
let rw = rw_set_in_series rw1 rw2 in
let aux s = FStar.Classical.move_requires (lemma_bounded_effects_series_aux1 rw1 rw2 f1 f2 s) in
FStar.Classical.forall_intro_2 aux;
let aux =
FStar.Classical.move_requires (lemma_bounded_effects_series_aux2 rw1.loc_constant_writes
... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"FStar.Classical.forall_intro_2",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.l_imp",
"Prims.l_and",
"Vale.Transformers.BoundedInstructionEffects.bounded_effects",
"Prims.b2t",
"Prims.op... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_bounded_effects_series :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
let open Vale.X64.Machine_Semantics_s in
(bounded_effects (rw_set_in_series rw1 rw2) (f1;*f2)))) | [] | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_series | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit
-> FStar.Pervasives.Lemma
(requires
Vale.Transformers.BoundedInstruction... | {
"end_col": 36,
"end_line": 1342,
"start_col": 2,
"start_line": 1324
} |
FStar.Pervasives.Lemma | val lemma_machine_eval_ins_st_constant_on_execution (i: ins{Instr? i}) (s: machine_state)
: Lemma
(ensures (constant_on_execution (rw_set_of_ins i).loc_constant_writes (machine_eval_ins_st i) s)
) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_machine_eval_ins_st_constant_on_execution (i:ins{Instr? i}) (s:machine_state) :
Lemma
(ensures (constant_on_execution (rw_set_of_ins i).loc_constant_writes (machine_eval_ins_st i) s)) =
if s.ms_ok then (
let Instr it oprs ann = i in
let InstrTypeRecord #outs #args #havoc_flags' i = it in
m... | val lemma_machine_eval_ins_st_constant_on_execution (i: ins{Instr? i}) (s: machine_state)
: Lemma
(ensures (constant_on_execution (rw_set_of_ins i).loc_constant_writes (machine_eval_ins_st i) s)
)
let lemma_machine_eval_ins_st_constant_on_execution (i: ins{Instr? i}) (s: machine_state)
: Lemma
(ensu... | false | null | true | if s.ms_ok
then
(let Instr it oprs ann = i in
let InstrTypeRecord #outs #args #havoc_flags' i = it in
match havoc_flags' with
| PreserveFlags -> ()
| HavocFlags ->
let ws = aux_write_set outs args oprs in
if L.mem ALocCf ws
then ()
else
(let s0 = s in
let vs =... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Machine_Semantics_s.ins",
"Prims.b2t",
"Vale.X64.Bytes_Code_s.uu___is_Instr",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 3,
"initial_ifuel": 1,
"max_fuel": 3,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_machine_eval_ins_st_constant_on_execution (i: ins{Instr? i}) (s: machine_state)
: Lemma
(ensures (constant_on_execution (rw_set_of_ins i).loc_constant_writes (machine_eval_ins_st i) s)
) | [] | Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_ins_st_constant_on_execution | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | i: Vale.X64.Machine_Semantics_s.ins{Instr? i} -> s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma
(ensures
Vale.Transformers.BoundedInstructionEffects.constant_on_execution (Mkrw_set?.loc_constant_writes
(Vale.Transformers.BoundedInstructionEffects.rw_set_of_ins i))
... | {
"end_col": 11,
"end_line": 703,
"start_col": 2,
"start_line": 666
} |
FStar.Pervasives.Lemma | val lemma_machine_eval_code_Ins_bounded_effects_aux2 (i: ins) (fuel: nat) (s: _)
: Lemma (requires (safely_bounded i))
(ensures
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
constant_on_execution rw.loc_constant_writes f s)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let lemma_machine_eval_code_Ins_bounded_effects_aux2 (i:ins) (fuel:nat) s :
Lemma
(requires (safely_bounded i))
(ensures (
let f : st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
constant_on_execution rw.loc_constant_writes f s)) =
let filt s = { s with ms_trace... | val lemma_machine_eval_code_Ins_bounded_effects_aux2 (i: ins) (fuel: nat) (s: _)
: Lemma (requires (safely_bounded i))
(ensures
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
constant_on_execution rw.loc_constant_writes f s))
let lemma_machine_eval_cod... | false | null | true | let filt s = { s with ms_trace = [] } in
let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
lemma_machine_eval_ins_st_constant_on_execution i (filt s);
let rec aux c
: Lemma (requires (constant_on_execution c (machine_eval_ins_st i) (filt s)))
(ensures (constant_on_execution c f s)) =... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.X64.Machine_Semantics_s.ins",
"Prims.nat",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.BoundedInstructionEffects.__proj__Mkrw_set__item__loc_constant_writes",
"Vale.Transformers.BoundedInstructionEffects.locations_with_values",
"Prims.unit",
"Vale.Transformers.BoundedInstructi... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_machine_eval_code_Ins_bounded_effects_aux2 (i: ins) (fuel: nat) (s: _)
: Lemma (requires (safely_bounded i))
(ensures
(let f:st unit = machine_eval_code_Ins i fuel in
let rw = rw_set_of_ins i in
constant_on_execution rw.loc_constant_writes f s)) | [] | Vale.Transformers.BoundedInstructionEffects.lemma_machine_eval_code_Ins_bounded_effects_aux2 | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Machine_Semantics_s.ins ->
fuel: Prims.nat ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Lemma (requires Vale.Transformers.BoundedInstructionEffects.safely_bounded i)
(ensures
(let f = Vale.Transformers.BoundedInstructionEffects.machine_eval_code_Ins i fue... | {
"end_col": 28,
"end_line": 775,
"start_col": 60,
"start_line": 759
} |
FStar.Pervasives.Lemma | val lemma_constant_on_execution_mem
(locv: locations_with_values)
(f: st unit)
(s: machine_state)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires ((run f s).ms_ok /\ (constant_on_execution locv f s) /\ (L.mem (| l, v |) locv)))
(ensures (eval_location l (run f s)... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_constant_on_execution_mem (locv:locations_with_values) (f:st unit) (s:machine_state)
(l:location_eq) (v:location_val_eqt l) :
Lemma
(requires (
(run f s).ms_ok /\
(constant_on_execution locv f s) /\
(L.mem (|l,v|) locv)))
(ensures (eval_location l (run f s) == raise_l... | val lemma_constant_on_execution_mem
(locv: locations_with_values)
(f: st unit)
(s: machine_state)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires ((run f s).ms_ok /\ (constant_on_execution locv f s) /\ (L.mem (| l, v |) locv)))
(ensures (eval_location l (run f s)... | false | null | true | let (| l1 , v1 |) :: xs = locv in
if l = l1 && v = v1 then () else (lemma_constant_on_execution_mem xs f s l v) | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Vale.Transformers.BoundedInstructionEffects.locations_with_values",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location_eq",
"Vale.Transformers.Locations.location_val_eqt",
"Prims.list",
"Vale.Transformers.BoundedInstruc... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_constant_on_execution_mem
(locv: locations_with_values)
(f: st unit)
(s: machine_state)
(l: location_eq)
(v: location_val_eqt l)
: Lemma
(requires ((run f s).ms_ok /\ (constant_on_execution locv f s) /\ (L.mem (| l, v |) locv)))
(ensures (eval_location l (run f s)... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_constant_on_execution_mem | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
locv: Vale.Transformers.BoundedInstructionEffects.locations_with_values ->
f: Vale.X64.Machine_Semantics_s.st Prims.unit ->
s: Vale.X64.Machine_Semantics_s.machine_state ->
l: Vale.Transformers.Locations.location_eq ->
v: Vale.Transformers.Locations.location_val_eqt l
-> FStar.Pervasives.Lemma
... | {
"end_col": 3,
"end_line": 884,
"start_col": 71,
"start_line": 880
} |
FStar.Pervasives.Lemma | val lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_instr_write_outputs_only_affects_write
(outs:list instr_out) (args:list instr_operand)
(vs:instr_ret_t outs) (oprs:instr_operands_t outs args) (s_orig s:machine_state)
(a:location) :
Lemma
(requires (
let w = aux_write_set outs args oprs in
!!(disjoint_location_from_locat... | val lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | false | null | true | match outs with
| [] -> ()
| (_, i) :: outs ->
(let (v: instr_val_t i), (vs: instr_ret_t outs) =
match outs with
| [] -> (vs, ())
| _ :: _ ->
let vs = coerce vs in
(fst vs, snd vs)
in
match i with
| IOpEx i ->
let oprs = coerce oprs in
let s = instr_write_outp... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_ret_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Vale.X64.Instruction_s.instr_operand_inout",... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_instr_write_outputs_only_affects_write | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
vs: Vale.X64.Instruction_s.instr_ret_t outs ->
oprs: Vale.X64.Instruction_s.instr_operands_t outs args ->
s_orig: Vale.X64.Machine_Semantics_s.machine_state ->
s: Vale.X64.Machine_Seman... | {
"end_col": 5,
"end_line": 185,
"start_col": 2,
"start_line": 169
} |
FStar.Pervasives.Lemma | val lemma_instr_write_outputs_only_writes
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig1 s1 s_orig2 s2: machine_state)
: Lemma
(requires
((unchanged_at (aux_read_set1 outs args oprs) s_orig1 s_orig2) /\... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | false | let rec lemma_instr_write_outputs_only_writes
(outs:list instr_out) (args:list instr_operand)
(vs:instr_ret_t outs) (oprs:instr_operands_t outs args)
(s_orig1 s1 s_orig2 s2:machine_state) :
Lemma
(requires (
(unchanged_at (aux_read_set1 outs args oprs) s_orig1 s_orig2) /\
(unchanged_at... | val lemma_instr_write_outputs_only_writes
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig1 s1 s_orig2 s2: machine_state)
: Lemma
(requires
((unchanged_at (aux_read_set1 outs args oprs) s_orig1 s_orig2) /\... | false | null | true | let s1', s2' =
instr_write_outputs outs args vs oprs s_orig1 s1, instr_write_outputs outs args vs oprs s_orig2 s2
in
match outs with
| [] -> ()
| (io, i) :: outs ->
(let (v: instr_val_t i), (vs: instr_ret_t outs) =
match outs with
| [] -> (vs, ())
| _ :: _ ->
let vs = coerce vs in
... | {
"checked_file": "Vale.Transformers.BoundedInstructionEffects.fst.checked",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X6... | [
"lemma"
] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_ret_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Instruction_s.instr_operand_inout",
"Vale.X64.Instruction_s.instr_val_t",
... | [] | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | false | false | Vale.Transformers.BoundedInstructionEffects.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_write_outputs_only_writes
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig1 s1 s_orig2 s2: machine_state)
: Lemma
(requires
((unchanged_at (aux_read_set1 outs args oprs) s_orig1 s_orig2) /\... | [
"recursion"
] | Vale.Transformers.BoundedInstructionEffects.lemma_instr_write_outputs_only_writes | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
vs: Vale.X64.Instruction_s.instr_ret_t outs ->
oprs: Vale.X64.Instruction_s.instr_operands_t outs args ->
s_orig1: Vale.X64.Machine_Semantics_s.machine_state ->
s1: Vale.X64.Machine_Sem... | {
"end_col": 5,
"end_line": 572,
"start_col": 46,
"start_line": 507
} |
Prims.Tot | val gf128_mul_BE (a b: quad32) : quad32 | [
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.A... | false | let gf128_mul_BE (a b:quad32) : quad32 =
gf128_to_quad32 (gf128_mul (gf128_of_quad32 a) (gf128_of_quad32 b)) | val gf128_mul_BE (a b: quad32) : quad32
let gf128_mul_BE (a b: quad32) : quad32 = | false | null | false | gf128_to_quad32 (gf128_mul (gf128_of_quad32 a) (gf128_of_quad32 b)) | {
"checked_file": "Vale.AES.GHash_BE_s.fst.checked",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.AES.GF128_s.fsti.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"FSt... | [
"total"
] | [
"Vale.Def.Types_s.quad32",
"Vale.AES.GF128_s.gf128_to_quad32",
"Vale.AES.GF128_s.gf128_mul",
"Vale.AES.GF128_s.gf128_of_quad32"
] | [] | module Vale.AES.GHash_BE_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.AES.GF128_s
open Vale.Lib.Seqs_s
open FStar.Mul
open FStar.Seq
type ghash_plain_BE:eqtype = s:seq quad32 { length s > 0 } | false | true | Vale.AES.GHash_BE_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gf128_mul_BE (a b: quad32) : quad32 | [] | Vale.AES.GHash_BE_s.gf128_mul_BE | {
"file_name": "vale/specs/crypto/Vale.AES.GHash_BE_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Vale.Def.Types_s.quad32 -> b: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32 | {
"end_col": 69,
"end_line": 14,
"start_col": 2,
"start_line": 14
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.A... | false | let ghash_BE = opaque_make ghash_BE_def | let ghash_BE = | false | null | false | opaque_make ghash_BE_def | {
"checked_file": "Vale.AES.GHash_BE_s.fst.checked",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.AES.GF128_s.fsti.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"FSt... | [
"total"
] | [
"Vale.Def.Opaque_s.opaque_make",
"Vale.Def.Types_s.quad32",
"Vale.AES.GHash_BE_s.ghash_plain_BE",
"Vale.AES.GHash_BE_s.ghash_BE_def"
] | [] | module Vale.AES.GHash_BE_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.AES.GF128_s
open Vale.Lib.Seqs_s
open FStar.Mul
open FStar.Seq
type ghash_plain_BE:eqtype = s:seq quad32 { length s > 0 }
let gf128_mul_BE (a b:quad32) : quad32 =
gf128_to_quad32 (gf128_mul (gf128_of_quad32 a) (... | false | true | Vale.AES.GHash_BE_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_BE : _: Vale.Def.Types_s.quad32 -> _: Vale.AES.GHash_BE_s.ghash_plain_BE
-> Prims.Tot Vale.Def.Types_s.quad32 | [] | Vale.AES.GHash_BE_s.ghash_BE | {
"file_name": "vale/specs/crypto/Vale.AES.GHash_BE_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Vale.Def.Types_s.quad32 -> _: Vale.AES.GHash_BE_s.ghash_plain_BE
-> Prims.Tot Vale.Def.Types_s.quad32 | {
"end_col": 58,
"end_line": 25,
"start_col": 34,
"start_line": 25
} | |
FStar.Pervasives.Lemma | [
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.A... | false | let ghash_BE_reveal = opaque_revealer (`%ghash_BE) ghash_BE ghash_BE_def | let ghash_BE_reveal = | false | null | true | opaque_revealer (`%ghash_BE) ghash_BE ghash_BE_def | {
"checked_file": "Vale.AES.GHash_BE_s.fst.checked",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.AES.GF128_s.fsti.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"FSt... | [
"lemma"
] | [
"Vale.Def.Opaque_s.opaque_revealer",
"Vale.Def.Types_s.quad32",
"Vale.AES.GHash_BE_s.ghash_plain_BE",
"Vale.AES.GHash_BE_s.ghash_BE",
"Vale.AES.GHash_BE_s.ghash_BE_def"
] | [] | module Vale.AES.GHash_BE_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.AES.GF128_s
open Vale.Lib.Seqs_s
open FStar.Mul
open FStar.Seq
type ghash_plain_BE:eqtype = s:seq quad32 { length s > 0 }
let gf128_mul_BE (a b:quad32) : quad32 =
gf128_to_quad32 (gf128_mul (gf128_of_quad32 a) (... | false | false | Vale.AES.GHash_BE_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_BE_reveal : _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.GHash_BE_s.ghash_BE == Vale.AES.GHash_BE_s.ghash_BE_def) | [] | Vale.AES.GHash_BE_s.ghash_BE_reveal | {
"file_name": "vale/specs/crypto/Vale.AES.GHash_BE_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit
-> FStar.Pervasives.Lemma
(ensures Vale.AES.GHash_BE_s.ghash_BE == Vale.AES.GHash_BE_s.ghash_BE_def) | {
"end_col": 84,
"end_line": 26,
"start_col": 34,
"start_line": 26
} | |
Prims.Tot | val ghash_BE_def (h_BE: quad32) (x: ghash_plain_BE) : Tot quad32 (decreases %[length x]) | [
{
"abbrev": false,
"full_module": "FStar.Seq",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.A... | false | let rec ghash_BE_def (h_BE:quad32) (x:ghash_plain_BE) : Tot quad32 (decreases %[length x]) =
let y_i_minus_1 =
(if length x = 1 then
Mkfour 0 0 0 0
else
ghash_BE_def h_BE (all_but_last x)) in
let x_i = last x in
let xor_BE = quad32_xor y_i_minus_1 x_i in
gf128_mul_BE xor_BE h_BE | val ghash_BE_def (h_BE: quad32) (x: ghash_plain_BE) : Tot quad32 (decreases %[length x])
let rec ghash_BE_def (h_BE: quad32) (x: ghash_plain_BE) : Tot quad32 (decreases %[length x]) = | false | null | false | let y_i_minus_1 = (if length x = 1 then Mkfour 0 0 0 0 else ghash_BE_def h_BE (all_but_last x)) in
let x_i = last x in
let xor_BE = quad32_xor y_i_minus_1 x_i in
gf128_mul_BE xor_BE h_BE | {
"checked_file": "Vale.AES.GHash_BE_s.fst.checked",
"dependencies": [
"Vale.Lib.Seqs_s.fst.checked",
"Vale.Def.Words_s.fsti.checked",
"Vale.Def.Types_s.fst.checked",
"Vale.Def.Opaque_s.fsti.checked",
"Vale.AES.GF128_s.fsti.checked",
"prims.fst.checked",
"FStar.Seq.fst.checked",
"FSt... | [
"total",
""
] | [
"Vale.Def.Types_s.quad32",
"Vale.AES.GHash_BE_s.ghash_plain_BE",
"Vale.AES.GHash_BE_s.gf128_mul_BE",
"Vale.Def.Types_s.quad32_xor",
"FStar.Seq.Properties.last",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"Vale.Def.Words_s.Mkfour",
"Vale.Def.Types_s.nat32",
"Prims.bool",
"Vale.A... | [] | module Vale.AES.GHash_BE_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open Vale.AES.GF128_s
open Vale.Lib.Seqs_s
open FStar.Mul
open FStar.Seq
type ghash_plain_BE:eqtype = s:seq quad32 { length s > 0 }
let gf128_mul_BE (a b:quad32) : quad32 =
gf128_to_quad32 (gf128_mul (gf128_of_quad32 a) (... | false | true | Vale.AES.GHash_BE_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ghash_BE_def (h_BE: quad32) (x: ghash_plain_BE) : Tot quad32 (decreases %[length x]) | [
"recursion"
] | Vale.AES.GHash_BE_s.ghash_BE_def | {
"file_name": "vale/specs/crypto/Vale.AES.GHash_BE_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h_BE: Vale.Def.Types_s.quad32 -> x: Vale.AES.GHash_BE_s.ghash_plain_BE
-> Prims.Tot Vale.Def.Types_s.quad32 | {
"end_col": 26,
"end_line": 24,
"start_col": 92,
"start_line": 16
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let cons #a (x:a) (s:seq a) = singleton x `append` s | let cons #a (x: a) (s: seq a) = | false | null | false | (singleton x) `append` s | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"FStar.Sequence.Base.append",
"FStar.Sequence.Base.singleton"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val cons : x: a -> s: FStar.Sequence.Base.seq a -> FStar.Sequence.Base.seq a | [] | FStar.Sequence.Util.cons | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: a -> s: FStar.Sequence.Base.seq a -> FStar.Sequence.Base.seq a | {
"end_col": 52,
"end_line": 30,
"start_col": 30,
"start_line": 30
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let count (#a:eqtype) (x:a) (s:seq a) = count_matches (fun y -> x = y) s | let count (#a: eqtype) (x: a) (s: seq a) = | false | null | false | count_matches (fun y -> x = y) s | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"Prims.eqtype",
"FStar.Sequence.Base.seq",
"FStar.Sequence.Util.count_matches",
"Prims.op_Equality",
"Prims.bool",
"Prims.nat"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val count : x: a -> s: FStar.Sequence.Base.seq a -> Prims.nat | [] | FStar.Sequence.Util.count | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: a -> s: FStar.Sequence.Base.seq a -> Prims.nat | {
"end_col": 72,
"end_line": 67,
"start_col": 40,
"start_line": 67
} | |
Prims.Tot | val split (#a: _) (s: seq a) (i: nat{i <= length s}) : seq a & seq a | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let split #a (s:seq a) (i:nat{ i <= length s})
: seq a & seq a
= take s i,
drop s i | val split (#a: _) (s: seq a) (i: nat{i <= length s}) : seq a & seq a
let split #a (s: seq a) (i: nat{i <= length s}) : seq a & seq a = | false | null | false | take s i, drop s i | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.Sequence.Base.length",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Sequence.Base.take",
"FStar.Sequence.Base.drop",
"FStar.Pervasives.Native.tuple2"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split (#a: _) (s: seq a) (i: nat{i <= length s}) : seq a & seq a | [] | FStar.Sequence.Util.split | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a -> i: Prims.nat{i <= FStar.Sequence.Base.length s}
-> FStar.Sequence.Base.seq a * FStar.Sequence.Base.seq a | {
"end_col": 12,
"end_line": 46,
"start_col": 4,
"start_line": 45
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let head #a (s:seq a{length s > 0}) = s $@ 0 | let head #a (s: seq a {length s > 0}) = | false | null | false | s $@ 0 | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.Sequence.Base.length",
"FStar.Sequence.Base.op_Dollar_At"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val head : s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0} -> a | [] | FStar.Sequence.Util.head | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0} -> a | {
"end_col": 44,
"end_line": 32,
"start_col": 38,
"start_line": 32
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let tail #a (s:seq a{length s > 0}) = drop s 1 | let tail #a (s: seq a {length s > 0}) = | false | null | false | drop s 1 | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.Sequence.Base.length",
"FStar.Sequence.Base.drop"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tail : s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0} -> FStar.Sequence.Base.seq a | [] | FStar.Sequence.Util.tail | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0} -> FStar.Sequence.Base.seq a | {
"end_col": 46,
"end_line": 34,
"start_col": 38,
"start_line": 34
} | |
Prims.Tot | val slice (#ty: Type) (s: seq ty) (i: nat) (j: nat{j >= i && j <= length s}) : seq ty | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let slice (#ty: Type) (s: seq ty) (i: nat) (j: nat{j >= i && j <= length s})
: seq ty
= all_seq_facts_lemma();
drop (take s j) i | val slice (#ty: Type) (s: seq ty) (i: nat) (j: nat{j >= i && j <= length s}) : seq ty
let slice (#ty: Type) (s: seq ty) (i: nat) (j: nat{j >= i && j <= length s}) : seq ty = | false | null | false | all_seq_facts_lemma ();
drop (take s j) i | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"Prims.nat",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_GreaterThanOrEqual",
"Prims.op_LessThanOrEqual",
"FStar.Sequence.Base.length",
"FStar.Sequence.Base.drop",
"FStar.Sequence.Base.take",
"Prims.unit",
"FStar.Sequence.Base.all_seq_facts_lemma"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val slice (#ty: Type) (s: seq ty) (i: nat) (j: nat{j >= i && j <= length s}) : seq ty | [] | FStar.Sequence.Util.slice | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
s: FStar.Sequence.Base.seq ty ->
i: Prims.nat ->
j: Prims.nat{j >= i && j <= FStar.Sequence.Base.length s}
-> FStar.Sequence.Base.seq ty | {
"end_col": 21,
"end_line": 28,
"start_col": 4,
"start_line": 27
} |
FStar.Pervasives.Lemma | val count_empty (#a: eqtype) (s: seq a {length s = 0}) : Lemma (forall x. count x s = 0) | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let count_empty (#a:eqtype) (s:seq a{length s = 0})
: Lemma (forall x. count x s = 0)
= reveal_opaque (`%count) (count #a) | val count_empty (#a: eqtype) (s: seq a {length s = 0}) : Lemma (forall x. count x s = 0)
let count_empty (#a: eqtype) (s: seq a {length s = 0}) : Lemma (forall x. count x s = 0) = | false | null | true | reveal_opaque (`%count) (count #a) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"lemma"
] | [
"Prims.eqtype",
"FStar.Sequence.Base.seq",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.Sequence.Base.length",
"FStar.Pervasives.reveal_opaque",
"Prims.nat",
"FStar.Sequence.Util.count",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.l_Forall",
"Prims.Nil",
"FStar.Pervasiv... | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val count_empty (#a: eqtype) (s: seq a {length s = 0}) : Lemma (forall x. count x s = 0) | [] | FStar.Sequence.Util.count_empty | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s = 0}
-> FStar.Pervasives.Lemma (ensures forall (x: a). FStar.Sequence.Util.count x s = 0) | {
"end_col": 38,
"end_line": 72,
"start_col": 4,
"start_line": 72
} |
Prims.Tot | val un_build (#a: _) (s: seq a {length s > 0}) : seq a & a | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let un_build (#a:_) (s:seq a{length s > 0})
: seq a & a
= take s (length s - 1),
s $@ (length s - 1) | val un_build (#a: _) (s: seq a {length s > 0}) : seq a & a
let un_build (#a: _) (s: seq a {length s > 0}) : seq a & a = | false | null | false | take s (length s - 1), s $@ (length s - 1) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total"
] | [
"FStar.Sequence.Base.seq",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.Sequence.Base.length",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Sequence.Base.take",
"Prims.op_Subtraction",
"FStar.Sequence.Base.op_Dollar_At",
"FStar.Pervasives.Native.tuple2"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val un_build (#a: _) (s: seq a {length s > 0}) : seq a & a | [] | FStar.Sequence.Util.un_build | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0} -> FStar.Sequence.Base.seq a * a | {
"end_col": 23,
"end_line": 41,
"start_col": 4,
"start_line": 40
} |
FStar.Pervasives.Lemma | val count_head (#a: eqtype) (s: seq a {length s > 0}) : Lemma (count (head s) s > 0) | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let count_head (#a:eqtype) (s:seq a{length s > 0})
: Lemma (count (head s) s > 0)
= reveal_opaque (`%count) (count #a) | val count_head (#a: eqtype) (s: seq a {length s > 0}) : Lemma (count (head s) s > 0)
let count_head (#a: eqtype) (s: seq a {length s > 0}) : Lemma (count (head s) s > 0) = | false | null | true | reveal_opaque (`%count) (count #a) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"lemma"
] | [
"Prims.eqtype",
"FStar.Sequence.Base.seq",
"Prims.b2t",
"Prims.op_GreaterThan",
"FStar.Sequence.Base.length",
"FStar.Pervasives.reveal_opaque",
"Prims.nat",
"FStar.Sequence.Util.count",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"FStar.Sequence.Util.head",
"Prims.Nil",
"FStar.Pervasives... | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val count_head (#a: eqtype) (s: seq a {length s > 0}) : Lemma (count (head s) s > 0) | [] | FStar.Sequence.Util.count_head | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | s: FStar.Sequence.Base.seq a {FStar.Sequence.Base.length s > 0}
-> FStar.Pervasives.Lemma (ensures FStar.Sequence.Util.count (FStar.Sequence.Util.head s) s > 0) | {
"end_col": 38,
"end_line": 77,
"start_col": 4,
"start_line": 77
} |
Prims.Tot | val fold_back (#a #b: Type) (f: (b -> a -> Tot a)) (s: seq b) (init: a)
: Tot a (decreases (length s)) | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let rec fold_back (#a #b:Type) (f:b -> a -> Tot a) (s:seq b) (init:a)
: Tot a (decreases (length s))
= all_seq_facts_lemma();
if length s = 0 then init
else let last = s $@ (length s - 1) in
let s = take s (length s - 1) in
f last (fold_back f s init) | val fold_back (#a #b: Type) (f: (b -> a -> Tot a)) (s: seq b) (init: a)
: Tot a (decreases (length s))
let rec fold_back (#a #b: Type) (f: (b -> a -> Tot a)) (s: seq b) (init: a)
: Tot a (decreases (length s)) = | false | null | false | all_seq_facts_lemma ();
if length s = 0
then init
else
let last = s $@ (length s - 1) in
let s = take s (length s - 1) in
f last (fold_back f s init) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total",
""
] | [
"FStar.Sequence.Base.seq",
"Prims.op_Equality",
"Prims.int",
"FStar.Sequence.Base.length",
"Prims.bool",
"FStar.Sequence.Util.fold_back",
"FStar.Sequence.Base.take",
"Prims.op_Subtraction",
"FStar.Sequence.Base.op_Dollar_At",
"Prims.unit",
"FStar.Sequence.Base.all_seq_facts_lemma"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fold_back (#a #b: Type) (f: (b -> a -> Tot a)) (s: seq b) (init: a)
: Tot a (decreases (length s)) | [
"recursion"
] | FStar.Sequence.Util.fold_back | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: b -> _: a -> a) -> s: FStar.Sequence.Base.seq b -> init: a -> Prims.Tot a | {
"end_col": 36,
"end_line": 102,
"start_col": 4,
"start_line": 98
} |
Prims.Tot | val count_matches (#a: Type) (f: (a -> bool)) (s: seq a) : Tot nat (decreases (length s)) | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let rec count_matches (#a:Type) (f:a -> bool) (s:seq a)
: Tot nat (decreases (length s))
= all_seq_facts_lemma();
if length s = 0 then 0
else if f (head s) then 1 + count_matches f (tail s)
else count_matches f (tail s) | val count_matches (#a: Type) (f: (a -> bool)) (s: seq a) : Tot nat (decreases (length s))
let rec count_matches (#a: Type) (f: (a -> bool)) (s: seq a) : Tot nat (decreases (length s)) = | false | null | false | all_seq_facts_lemma ();
if length s = 0
then 0
else if f (head s) then 1 + count_matches f (tail s) else count_matches f (tail s) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"total",
""
] | [
"Prims.bool",
"FStar.Sequence.Base.seq",
"Prims.op_Equality",
"Prims.int",
"FStar.Sequence.Base.length",
"FStar.Sequence.Util.head",
"Prims.op_Addition",
"FStar.Sequence.Util.count_matches",
"FStar.Sequence.Util.tail",
"Prims.nat",
"Prims.unit",
"FStar.Sequence.Base.all_seq_facts_lemma"
] | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val count_matches (#a: Type) (f: (a -> bool)) (s: seq a) : Tot nat (decreases (length s)) | [
"recursion"
] | FStar.Sequence.Util.count_matches | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | f: (_: a -> Prims.bool) -> s: FStar.Sequence.Base.seq a -> Prims.Tot Prims.nat | {
"end_col": 33,
"end_line": 55,
"start_col": 4,
"start_line": 52
} |
FStar.Pervasives.Lemma | val lemma_append_count_aux (#a: eqtype) (x: a) (lo hi: seq a)
: Lemma (ensures (count x (append lo hi) = (count x lo + count x hi))) (decreases (length lo)) | [
{
"abbrev": false,
"full_module": "FStar.Sequence.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_mo... | false | let rec lemma_append_count_aux (#a:eqtype) (x:a) (lo hi:seq a)
: Lemma
(ensures (count x (append lo hi) = (count x lo + count x hi)))
(decreases (length lo))
= all_seq_facts_lemma();
reveal_opaque (`%count) (count #a);
if length lo = 0
then assert (append lo hi `equal` hi)
else (
lemma... | val lemma_append_count_aux (#a: eqtype) (x: a) (lo hi: seq a)
: Lemma (ensures (count x (append lo hi) = (count x lo + count x hi))) (decreases (length lo))
let rec lemma_append_count_aux (#a: eqtype) (x: a) (lo hi: seq a)
: Lemma (ensures (count x (append lo hi) = (count x lo + count x hi))) (decreases (length... | false | null | true | all_seq_facts_lemma ();
reveal_opaque (`%count) (count #a);
if length lo = 0
then assert ((append lo hi) `equal` hi)
else
(lemma_append_count_aux x (tail lo) hi;
assert ((append (tail lo) hi) `equal` (tail (append lo hi)))) | {
"checked_file": "FStar.Sequence.Util.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Sequence.Base.fsti.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.Sequence.Util.fst"
} | [
"lemma",
""
] | [
"Prims.eqtype",
"FStar.Sequence.Base.seq",
"Prims.op_Equality",
"Prims.int",
"FStar.Sequence.Base.length",
"Prims._assert",
"FStar.Sequence.Base.equal",
"FStar.Sequence.Base.append",
"Prims.bool",
"FStar.Sequence.Util.tail",
"Prims.unit",
"FStar.Sequence.Util.lemma_append_count_aux",
"FStar.... | [] | (*
Copyright 2021 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | false | FStar.Sequence.Util.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_append_count_aux (#a: eqtype) (x: a) (lo hi: seq a)
: Lemma (ensures (count x (append lo hi) = (count x lo + count x hi))) (decreases (length lo)) | [
"recursion"
] | FStar.Sequence.Util.lemma_append_count_aux | {
"file_name": "ulib/experimental/FStar.Sequence.Util.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: a -> lo: FStar.Sequence.Base.seq a -> hi: FStar.Sequence.Base.seq a
-> FStar.Pervasives.Lemma
(ensures
FStar.Sequence.Util.count x (FStar.Sequence.Base.append lo hi) =
FStar.Sequence.Util.count x lo + FStar.Sequence.Util.count x hi)
(decreases FStar.Sequence.Base.length lo) | {
"end_col": 5,
"end_line": 91,
"start_col": 4,
"start_line": 84
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | false | let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> r:lbuffer (uint_t t SEC) (size 1) ->
Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 ... | let add_carry_st (t: inttype{t = U32 \/ t = U64}) = | false | null | false | cin: uint_t t SEC -> x: uint_t t SEC -> y: uint_t t SEC -> r: lbuffer (uint_t t SEC) (size 1)
-> Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures
fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 r) 0 in
v r + v c ... | {
"checked_file": "Lib.IntTypes.Intrinsics.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.Hyper... | [
"total"
] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.size",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Pri... | [] | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction | false | false | Lib.IntTypes.Intrinsics.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val add_carry_st : t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | [] | Lib.IntTypes.Intrinsics.add_carry_st | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | {
"end_col": 52,
"end_line": 24,
"start_col": 4,
"start_line": 15
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | false | let sub_borrow_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> r:lbuffer (uint_t t SEC) (size 1) ->
Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1... | let sub_borrow_st (t: inttype{t = U32 \/ t = U64}) = | false | null | false | cin: uint_t t SEC -> x: uint_t t SEC -> y: uint_t t SEC -> r: lbuffer (uint_t t SEC) (size 1)
-> Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures
fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 r) 0 in
v r - v c ... | {
"checked_file": "Lib.IntTypes.Intrinsics.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.Hyper... | [
"total"
] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.size",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Pri... | [] | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | false | false | Lib.IntTypes.Intrinsics.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sub_borrow_st : t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | [] | Lib.IntTypes.Intrinsics.sub_borrow_st | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | {
"end_col": 52,
"end_line": 50,
"start_col": 4,
"start_line": 41
} | |
Prims.Tot | val add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | false | let add_carry (#t:inttype{t = U32 \/ t = U64}) : add_carry_st t =
match t with
| U32 -> add_carry_u32
| U64 -> add_carry_u64 | val add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t
let add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t = | false | null | false | match t with
| U32 -> add_carry_u32
| U64 -> add_carry_u64 | {
"checked_file": "Lib.IntTypes.Intrinsics.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.Hyper... | [
"total"
] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.Intrinsics.add_carry_u32",
"Lib.IntTypes.Intrinsics.add_carry_u64",
"Lib.IntTypes.Intrinsics.add_carry_st"
] | [] | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | false | false | Lib.IntTypes.Intrinsics.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t | [] | Lib.IntTypes.Intrinsics.add_carry | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Lib.IntTypes.Intrinsics.add_carry_st t | {
"end_col": 24,
"end_line": 36,
"start_col": 2,
"start_line": 34
} |
Prims.Tot | val sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | false | let sub_borrow (#t:inttype{t = U32 \/ t = U64}) : sub_borrow_st t =
match t with
| U32 -> sub_borrow_u32
| U64 -> sub_borrow_u64 | val sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t
let sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t = | false | null | false | match t with
| U32 -> sub_borrow_u32
| U64 -> sub_borrow_u64 | {
"checked_file": "Lib.IntTypes.Intrinsics.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.Hyper... | [
"total"
] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.Intrinsics.sub_borrow_u32",
"Lib.IntTypes.Intrinsics.sub_borrow_u64",
"Lib.IntTypes.Intrinsics.sub_borrow_st"
] | [] | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | false | false | Lib.IntTypes.Intrinsics.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t | [] | Lib.IntTypes.Intrinsics.sub_borrow | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Lib.IntTypes.Intrinsics.sub_borrow_st t | {
"end_col": 25,
"end_line": 62,
"start_col": 2,
"start_line": 60
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
... | false | let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32} | let width = | false | null | false | n: size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32} | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntTypes.size_nat",
"Prims.l_or",
"Prims.eq2",
"Prims.int"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)} | false | true | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val width : Type0 | [] | Lib.IntVector.width | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 82,
"end_line": 11,
"start_col": 12,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
... | false | let vec_index (w:width) = n:size_t{v n < w} | let vec_index (w: width) = | false | null | false | n: size_t{v n < w} | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.width",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_LessThan",
"Lib.IntTypes.v",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)} | false | true | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vec_index : w: Lib.IntVector.width -> Type0 | [] | Lib.IntVector.vec_index | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | w: Lib.IntVector.width -> Type0 | {
"end_col": 43,
"end_line": 12,
"start_col": 26,
"start_line": 12
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
... | false | let v_inttype = t:inttype{unsigned t /\ ~(U1? t)} | let v_inttype = | false | null | false | t: inttype{unsigned t /\ ~(U1? t)} | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntTypes.inttype",
"Prims.l_and",
"Prims.b2t",
"Lib.IntTypes.unsigned",
"Prims.l_not",
"Lib.IntTypes.uu___is_U1"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0" | false | true | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val v_inttype : Type0 | [] | Lib.IntVector.v_inttype | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 49,
"end_line": 9,
"start_col": 16,
"start_line": 9
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( +| ) #t #w = vec_add_mod #t #w | let op_Plus_Bar #t #w = | false | null | false | vec_add_mod #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_add_mod",
"Lib.IntVector.vec_t"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Plus_Bar : v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Plus_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 36,
"end_line": 320,
"start_col": 19,
"start_line": 320
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( ^| ) #t #w = vec_xor #t #w | let op_Hat_Bar #t #w = | false | null | false | vec_xor #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_xor",
"Lib.IntVector.vec_t"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Hat_Bar : v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Hat_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 32,
"end_line": 326,
"start_col": 19,
"start_line": 326
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( >>>| ) #t #w = vec_rotate_right #t #w | let op_Greater_Greater_Greater_Bar #t #w = | false | null | false | vec_rotate_right #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_rotate_right",
"Lib.IntVector.vec_t",
"Lib.IntTypes.rotval",
"Prims.l_or",
"Prims.b2t",
"Prims.op_disEquality",
"Lib.IntTypes.inttype",
"Lib.IntTypes.U128",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Lib.IntTypes.v",
... | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Greater_Greater_Bar : v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.rotval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Greater_Greater_Greater_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.rotval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> Lib.IntVector.vec_t t w | {
"end_col": 43,
"end_line": 338,
"start_col": 21,
"start_line": 338
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( ~| ) #t #w = vec_not #t #w | let op_Tilde_Bar #t #w = | false | null | false | vec_not #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_not",
"Lib.IntVector.vec_t"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Tilde_Bar : v1: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Tilde_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 32,
"end_line": 332,
"start_col": 19,
"start_line": 332
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( >>| ) #t #w = vec_shift_right #t #w | let op_Greater_Greater_Bar #t #w = | false | null | false | vec_shift_right #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_shift_right",
"Lib.IntVector.vec_t",
"Lib.IntTypes.shiftval",
"Prims.l_or",
"Prims.b2t",
"Prims.op_disEquality",
"Lib.IntTypes.inttype",
"Lib.IntTypes.U128",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Lib.IntTypes.v",... | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Greater_Greater_Bar : v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.shiftval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> v2:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v2 ==
Lib.Sequence.map (Lib.IntTypes.shift_right_i s) (Lib.IntVector.vec_v v1) } | [] | Lib.IntVector.op_Greater_Greater_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.shiftval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> v2:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v2 ==
Lib.Sequence.map (Lib.IntTypes.shift_right_i s) (Lib.IntVector.vec_v v1) } | {
"end_col": 41,
"end_line": 334,
"start_col": 20,
"start_line": 334
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( -| ) #t #w = vec_sub_mod #t #w | let op_Subtraction_Bar #t #w = | false | null | false | vec_sub_mod #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_sub_mod",
"Lib.IntVector.vec_t",
"Prims.eq2",
"Lib.Sequence.lseq",
"Lib.IntTypes.int_t",
"Lib.IntTypes.SEC",
"Lib.IntVector.vec_v",
"Lib.Sequence.map2",
"Lib.IntTypes.sub_mod"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Subtraction_Bar : v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w
-> v3:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v3 ==
Lib.Sequence.map2 Lib.IntTypes.sub_mod (Lib.IntVector.vec_v v1) (Lib.IntVector.vec_v v2) } | [] | Lib.IntVector.op_Subtraction_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w
-> v3:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v3 ==
Lib.Sequence.map2 Lib.IntTypes.sub_mod (Lib.IntVector.vec_v v1) (Lib.IntVector.vec_v v2) } | {
"end_col": 36,
"end_line": 322,
"start_col": 19,
"start_line": 322
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( &| ) #t #w = vec_and #t #w | let op_Amp_Bar #t #w = | false | null | false | vec_and #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_and",
"Lib.IntVector.vec_t"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Amp_Bar : v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Amp_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 32,
"end_line": 328,
"start_col": 19,
"start_line": 328
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( <<| ) #t #w = vec_shift_left #t #w | let op_Less_Less_Bar #t #w = | false | null | false | vec_shift_left #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_shift_left",
"Lib.IntVector.vec_t",
"Lib.IntTypes.shiftval",
"Prims.l_or",
"Prims.b2t",
"Prims.op_disEquality",
"Lib.IntTypes.inttype",
"Lib.IntTypes.U128",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Lib.IntTypes.v",
... | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Less_Bar : v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.shiftval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> v2:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v2 ==
Lib.Sequence.map (Lib.IntTypes.shift_left_i s) (Lib.IntVector.vec_v v1) } | [] | Lib.IntVector.op_Less_Less_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.shiftval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> v2:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v2 ==
Lib.Sequence.map (Lib.IntTypes.shift_left_i s) (Lib.IntVector.vec_v v1) } | {
"end_col": 40,
"end_line": 336,
"start_col": 20,
"start_line": 336
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( <<<| ) #t #w = vec_rotate_left #t #w | let op_Less_Less_Less_Bar #t #w = | false | null | false | vec_rotate_left #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_rotate_left",
"Lib.IntVector.vec_t",
"Lib.IntTypes.rotval",
"Prims.l_or",
"Prims.b2t",
"Prims.op_disEquality",
"Lib.IntTypes.inttype",
"Lib.IntTypes.U128",
"Prims.eq2",
"Prims.int",
"Prims.op_Modulus",
"Lib.IntTypes.v",
... | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Less_Less_Less_Bar : v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.rotval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> Lib.IntVector.vec_t t w | [] | Lib.IntVector.op_Less_Less_Less_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
v1: Lib.IntVector.vec_t t w ->
s: Lib.IntTypes.rotval t {t <> Lib.IntTypes.U128 \/ Lib.IntTypes.v s % 8 == 0}
-> Lib.IntVector.vec_t t w | {
"end_col": 42,
"end_line": 340,
"start_col": 21,
"start_line": 340
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Sequence",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
... | false | let vec_v_t (t:v_inttype{unsigned t}) (w:width) = lseq (uint_t t SEC) w | let vec_v_t (t: v_inttype{unsigned t}) (w: width) = | false | null | false | lseq (uint_t t SEC) w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Prims.b2t",
"Lib.IntTypes.unsigned",
"Lib.IntVector.width",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32} | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vec_v_t : t: Lib.IntVector.v_inttype{Lib.IntTypes.unsigned t} -> w: Lib.IntVector.width -> Type0 | [] | Lib.IntVector.vec_v_t | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.IntVector.v_inttype{Lib.IntTypes.unsigned t} -> w: Lib.IntVector.width -> Type0 | {
"end_col": 71,
"end_line": 13,
"start_col": 50,
"start_line": 13
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let ( *| ) #t #w = vec_mul_mod #t #w | let op_Star_Bar #t #w = | false | null | false | vec_mul_mod #t #w | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Prims.b2t",
"Prims.op_disEquality",
"Lib.IntTypes.inttype",
"Lib.IntTypes.U128",
"Lib.IntVector.width",
"Lib.IntVector.vec_mul_mod",
"Lib.IntVector.vec_t",
"Prims.eq2",
"Lib.Sequence.lseq",
"Lib.IntTypes.int_t",
"Lib.IntTypes.SEC",
"Lib.IntVector.vec_v",
"Lib.Se... | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Star_Bar : v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w
-> v3:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v3 ==
Lib.Sequence.map2 Lib.IntTypes.mul_mod (Lib.IntVector.vec_v v1) (Lib.IntVector.vec_v v2) } | [] | Lib.IntVector.op_Star_Bar | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w
-> v3:
Lib.IntVector.vec_t t w
{ Lib.IntVector.vec_v v3 ==
Lib.Sequence.map2 Lib.IntTypes.mul_mod (Lib.IntVector.vec_v v1) (Lib.IntVector.vec_v v2) } | {
"end_col": 36,
"end_line": 324,
"start_col": 19,
"start_line": 324
} | |
Prims.Tot | val vec_interleave_low (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let vec_interleave_low (#t:v_inttype) (#w:width) (v1:vec_t t w) (v2:vec_t t w) : vec_t t w =
vec_interleave_low_n 1 v1 v2 | val vec_interleave_low (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w
let vec_interleave_low (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w = | false | null | false | vec_interleave_low_n 1 v1 v2 | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_t",
"Lib.IntVector.vec_interleave_low_n"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vec_interleave_low (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w | [] | Lib.IntVector.vec_interleave_low | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 30,
"end_line": 174,
"start_col": 2,
"start_line": 174
} |
Prims.Tot | val vec_interleave_high (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w | [
{
"abbrev": false,
"full_module": "Lib.IntVector.Intrinsics",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.IntTypes",
"short_module": "Ints"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let vec_interleave_high (#t:v_inttype) (#w:width) (v1:vec_t t w) (v2:vec_t t w) : vec_t t w =
vec_interleave_high_n 1 v1 v2 | val vec_interleave_high (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w
let vec_interleave_high (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w = | false | null | false | vec_interleave_high_n 1 v1 v2 | {
"checked_file": "Lib.IntVector.fsti.checked",
"dependencies": [
"Spec.AES.fst.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.che... | [
"total"
] | [
"Lib.IntVector.v_inttype",
"Lib.IntVector.width",
"Lib.IntVector.vec_t",
"Lib.IntVector.vec_interleave_high_n"
] | [] | module Lib.IntVector
open FStar.Mul
open Lib.Sequence
open Lib.IntTypes
#set-options "--z3rlimit 20 --max_fuel 0 --max_ifuel 0"
let v_inttype = t:inttype{unsigned t /\ ~(U1? t)}
let width = n:size_nat{n == 1 \/ n == 2 \/ n == 4 \/ n == 8 \/ n == 16 \/ n == 32}
let vec_index (w:width) = n:size_t{v n < w}
let vec_v_t... | false | false | Lib.IntVector.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vec_interleave_high (#t: v_inttype) (#w: width) (v1 v2: vec_t t w) : vec_t t w | [] | Lib.IntVector.vec_interleave_high | {
"file_name": "lib/Lib.IntVector.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | v1: Lib.IntVector.vec_t t w -> v2: Lib.IntVector.vec_t t w -> Lib.IntVector.vec_t t w | {
"end_col": 31,
"end_line": 209,
"start_col": 2,
"start_line": 209
} |
FStar.HyperStack.ST.Stack | val load_acc1:
acc:felem 1
-> b:lbuffer uint8 16ul
-> Stack unit
(requires fun h ->
live h acc /\ live h b /\ disjoint acc b /\
felem_fits h acc (2, 2, 2, 2, 2))
(ensures fun h0 _ h1 ->
modifies (loc acc) h0 h1 /\
felem_fits h1 acc (3, 3, 3, 3, 3) /\
feval h1 acc == Vec.lo... | [
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let load_acc1 acc b =
push_frame();
let h0 = ST.get () in
LSeq.eq_intro (feval h0 acc) (LSeq.create 1 (feval h0 acc).[0]);
let e = create 5ul (zero 1) in
load_blocks e b;
fadd acc acc e;
pop_frame() | val load_acc1:
acc:felem 1
-> b:lbuffer uint8 16ul
-> Stack unit
(requires fun h ->
live h acc /\ live h b /\ disjoint acc b /\
felem_fits h acc (2, 2, 2, 2, 2))
(ensures fun h0 _ h1 ->
modifies (loc acc) h0 h1 /\
felem_fits h1 acc (3, 3, 3, 3, 3) /\
feval h1 acc == Vec.lo... | true | null | false | push_frame ();
let h0 = ST.get () in
LSeq.eq_intro (feval h0 acc) (LSeq.create 1 (feval h0 acc).[ 0 ]);
let e = create 5ul (zero 1) in
load_blocks e b;
fadd acc acc e;
pop_frame () | {
"checked_file": "Hacl.Impl.Poly1305.Field32xN_32.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.Lemmas.fst.checked",
"Hacl.Spec... | [] | [
"Hacl.Impl.Poly1305.Field32xN.felem",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Poly1305.Field32xN.fadd",
"Hacl.Impl.Poly1305.Field32xN.load_blocks",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Hacl.Spec.Poly1... | [] | module Hacl.Impl.Poly1305.Field32xN_32
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Poly1305.Field32xN
open Hacl.Spec.Poly1305.Field32xN.Lemmas
module Vec = Hacl.Spec.Poly1305.Vec
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
open H... | false | false | Hacl.Impl.Poly1305.Field32xN_32.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val load_acc1:
acc:felem 1
-> b:lbuffer uint8 16ul
-> Stack unit
(requires fun h ->
live h acc /\ live h b /\ disjoint acc b /\
felem_fits h acc (2, 2, 2, 2, 2))
(ensures fun h0 _ h1 ->
modifies (loc acc) h0 h1 /\
felem_fits h1 acc (3, 3, 3, 3, 3) /\
feval h1 acc == Vec.lo... | [] | Hacl.Impl.Poly1305.Field32xN_32.load_acc1 | {
"file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN_32.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | acc: Hacl.Impl.Poly1305.Field32xN.felem 1 -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 13,
"end_line": 44,
"start_col": 2,
"start_line": 38
} |
FStar.HyperStack.ST.Stack | val fmul_r1_normalize:
out:felem 1
-> p:precomp_r 1
-> Stack unit
(requires fun h ->
live h out /\ live h p /\
felem_fits h out (3, 3, 3, 3, 3) /\
load_precompute_r_post h p)
(ensures fun h0 _ h1 ->
modifies (loc out) h0 h1 /\
felem_fits h1 out (2, 2, 2, 2, 2) /\
(let... | [
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | false | let fmul_r1_normalize out p =
let r = sub p 0ul 5ul in
let r5 = sub p 5ul 5ul in
fmul_r out out r r5 | val fmul_r1_normalize:
out:felem 1
-> p:precomp_r 1
-> Stack unit
(requires fun h ->
live h out /\ live h p /\
felem_fits h out (3, 3, 3, 3, 3) /\
load_precompute_r_post h p)
(ensures fun h0 _ h1 ->
modifies (loc out) h0 h1 /\
felem_fits h1 out (2, 2, 2, 2, 2) /\
(let... | true | null | false | let r = sub p 0ul 5ul in
let r5 = sub p 5ul 5ul in
fmul_r out out r r5 | {
"checked_file": "Hacl.Impl.Poly1305.Field32xN_32.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.Lemmas.fst.checked",
"Hacl.Spec... | [] | [
"Hacl.Impl.Poly1305.Field32xN.felem",
"Hacl.Impl.Poly1305.Field32xN.precomp_r",
"Hacl.Impl.Poly1305.Field32xN.fmul_r",
"Prims.unit",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Hacl.Spec.Poly1305.Field32xN.uint64xN",
"FStar.UInt32.uint_to_t",
"FStar.UInt32.t",
"Lib.Buffer.sub",
"FStar.UInt32.__ui... | [] | module Hacl.Impl.Poly1305.Field32xN_32
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Poly1305.Field32xN
open Hacl.Spec.Poly1305.Field32xN.Lemmas
module Vec = Hacl.Spec.Poly1305.Vec
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
open H... | false | false | Hacl.Impl.Poly1305.Field32xN_32.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fmul_r1_normalize:
out:felem 1
-> p:precomp_r 1
-> Stack unit
(requires fun h ->
live h out /\ live h p /\
felem_fits h out (3, 3, 3, 3, 3) /\
load_precompute_r_post h p)
(ensures fun h0 _ h1 ->
modifies (loc out) h0 h1 /\
felem_fits h1 out (2, 2, 2, 2, 2) /\
(let... | [] | Hacl.Impl.Poly1305.Field32xN_32.fmul_r1_normalize | {
"file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN_32.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | out: Hacl.Impl.Poly1305.Field32xN.felem 1 -> p: Hacl.Impl.Poly1305.Field32xN.precomp_r 1
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 21,
"end_line": 64,
"start_col": 29,
"start_line": 61
} |
Prims.Tot | val mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let rec mk_be_to_n
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot})
: Tot (be_to_n_t u len)
(decreases len)
= if len = 0
then be_to_n_0 u
else be_to_n_S (mk_be_to_n u (len - 1)) | val mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len)
let rec mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) = | false | null | false | if len = 0 then be_to_n_0 u else be_to_n_S (mk_be_to_n u (len - 1)) | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total",
""
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.be_to_n_0",
"Prims.bool",
"LowParse.SLow.Endianness.be_to_n_S",
"Prims.op_Subtraction",
"LowParse.SLow.Endianness.mk_be_to_n",
"LowParse.SLow.E... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) | [
"recursion"
] | LowParse.SLow.Endianness.mk_be_to_n | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u19: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot}
-> Prims.Tot (LowParse.SLow.Endianness.be_to_n_t u19 len) | {
"end_col": 41,
"end_line": 79,
"start_col": 2,
"start_line": 77
} |
Prims.Tot | val mk_n_to_be (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let rec mk_n_to_be
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len)
(decreases len)
= if len = 0
then n_to_be_0 u
else n_to_be_S (mk_n_to_be u (len - 1)) | val mk_n_to_be (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len)
let rec mk_n_to_be
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) = | false | null | false | if len = 0 then n_to_be_0 u else n_to_be_S (mk_n_to_be u (len - 1)) | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total",
""
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.pow2",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.n_to_be_0",
"Prims.bool",
"LowParse.SLow.Endianness.n_to_be_S",
"Prims.op_Subtraction",
"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_n_to_be (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) | [
"recursion"
] | LowParse.SLow.Endianness.mk_n_to_be | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u35: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot /\ tot < Prims.pow2 32}
-> Prims.Tot (LowParse.SLow.Endianness.n_to_be_t u35 len) | {
"end_col": 41,
"end_line": 129,
"start_col": 2,
"start_line": 127
} |
Prims.Tot | val be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "LowParse.Bytes32",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "LowPa... | false | let be_to_n_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (be_to_n_t u 0)
= fun x ->
E.reveal_be_to_n (B.reveal x);
u.zero | val be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0)
let be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) = | false | null | false | fun x ->
E.reveal_be_to_n (B.reveal x);
u.zero | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__zero",
"Prims.unit",
"FStar.Endianness.reveal_be_to_n",
"FStar.Bytes.reveal",
"Prims.eq2",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Endianness.be_to_n",
"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) | [] | LowParse.SLow.Endianness.be_to_n_0 | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u9: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.be_to_n_t u9 0 | {
"end_col": 8,
"end_line": 31,
"start_col": 2,
"start_line": 29
} |
Prims.Tot | val mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | false | let rec mk_le_to_n
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot})
: Tot (le_to_n_t u len)
(decreases len)
= if len = 0
then le_to_n_0 u
else le_to_n_S (mk_le_to_n u (len - 1)) | val mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len)
let rec mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) = | false | null | false | if len = 0 then le_to_n_0 u else le_to_n_S (mk_le_to_n u (len - 1)) | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total",
""
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.le_to_n_0",
"Prims.bool",
"LowParse.SLow.Endianness.le_to_n_S",
"Prims.op_Subtraction",
"LowParse.SLow.Endianness.mk_le_to_n",
"LowParse.SLow.E... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) | [
"recursion"
] | LowParse.SLow.Endianness.mk_le_to_n | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u51: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot}
-> Prims.Tot (LowParse.SLow.Endianness.le_to_n_t u51 len) | {
"end_col": 41,
"end_line": 194,
"start_col": 2,
"start_line": 192
} |
Prims.Tot | val n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let n_to_be_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (n_to_be_t u 0)
= fun _ -> B.empty_bytes | val n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0)
let n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) = | false | null | false | fun _ -> B.empty_bytes | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThan",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"Prims.pow2",
"FStar.Mul.op_Star",
"FStar.Bytes.empty_bytes",
"FStar.Bytes.bytes",
"FStar.Seq.Base.equal",
"FStar.Bytes.byte",
"FStar.Bytes.reveal",
"FSta... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) | [] | LowParse.SLow.Endianness.n_to_be_0 | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u26: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.n_to_be_t u26 0 | {
"end_col": 24,
"end_line": 99,
"start_col": 2,
"start_line": 99
} |
Prims.Tot | val le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let le_to_n_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (le_to_n_t u 0)
= fun x ->
E.reveal_le_to_n (B.reveal x);
u.zero | val le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0)
let le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) = | false | null | false | fun x ->
E.reveal_le_to_n (B.reveal x);
u.zero | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__zero",
"Prims.unit",
"FStar.Endianness.reveal_le_to_n",
"FStar.Bytes.reveal",
"Prims.eq2",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Endianness.le_to_n",
"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) | [] | LowParse.SLow.Endianness.le_to_n_0 | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u42: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.le_to_n_t u42 0 | {
"end_col": 8,
"end_line": 151,
"start_col": 2,
"start_line": 149
} |
Prims.Tot | val mk_n_to_le (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | false | let rec mk_n_to_le
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len)
(decreases len)
= if len = 0
then n_to_le_0 u
else n_to_le_S (mk_n_to_le u (len - 1)) | val mk_n_to_le (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len)
let rec mk_n_to_le
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) = | false | null | false | if len = 0 then n_to_le_0 u else n_to_le_S (mk_n_to_le u (len - 1)) | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total",
""
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.pow2",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.n_to_le_0",
"Prims.bool",
"LowParse.SLow.Endianness.n_to_le_S",
"Prims.op_Subtraction",
"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_n_to_le (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) | [
"recursion"
] | LowParse.SLow.Endianness.mk_n_to_le | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u67: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot /\ tot < Prims.pow2 32}
-> Prims.Tot (LowParse.SLow.Endianness.n_to_le_t u67 len) | {
"end_col": 41,
"end_line": 244,
"start_col": 2,
"start_line": 242
} |
Prims.Tot | val n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | false | let n_to_le_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (n_to_le_t u 0)
= fun _ -> B.empty_bytes | val n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0)
let n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) = | false | null | false | fun _ -> B.empty_bytes | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThan",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"Prims.pow2",
"FStar.Mul.op_Star",
"FStar.Bytes.empty_bytes",
"FStar.Bytes.bytes",
"FStar.Seq.Base.equal",
"FStar.Bytes.byte",
"FStar.Bytes.reveal",
"FSta... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) | [] | LowParse.SLow.Endianness.n_to_le_0 | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | u58: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.n_to_le_t u58 0 | {
"end_col": 24,
"end_line": 214,
"start_col": 2,
"start_line": 214
} |
Prims.Tot | val be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat { len + 1 <= tot })
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1))
= fun x ->
assert_norm (pow2 8 == 256);
E.reveal_be_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2... | val be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1))
let be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot ... | false | null | false | fun x ->
assert_norm (pow2 8 == 256);
E.reveal_be_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2_plus (8 * len) 8;
[@@ inline_let ]let ulen = U32.uint_to_t len in
let last = B.get x ulen in
let first = B.slice x 0ul ulen in
let n = ih first ... | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"LowParse.SLow.Endianness.be_to_n_t",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__add",
"LowParse.Spec.Endianness.__proj__UIntType__item__mul256",
"Prims.eq2"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1)) | [] | LowParse.SLow.Endianness.be_to_n_S | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ih: LowParse.SLow.Endianness.be_to_n_t u14 len -> LowParse.SLow.Endianness.be_to_n_t u14 (len + 1) | {
"end_col": 26,
"end_line": 61,
"start_col": 2,
"start_line": 45
} |
Prims.Tot | val n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | false | let n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat {len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1))
= fun n ->
reveal_n_to_be (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo i... | val n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1))
let n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
... | false | null | false | fun n ->
reveal_n_to_be (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo in
seq_hi `B.append` seq_lo | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_LessThan",
"Prims.pow2",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Mul.op_Star",
"FStar.Bytes.append... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1)) | [] | LowParse.SLow.Endianness.n_to_be_S | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ih: LowParse.SLow.Endianness.n_to_be_t u31 len -> LowParse.SLow.Endianness.n_to_be_t u31 (len + 1) | {
"end_col": 26,
"end_line": 116,
"start_col": 2,
"start_line": 110
} |
Prims.Tot | val n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | false | let n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat {len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1))
= fun n ->
reveal_n_to_le (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo i... | val n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1))
let n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
... | false | null | false | fun n ->
reveal_n_to_le (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo in
seq_lo `B.append` seq_hi | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_LessThan",
"Prims.pow2",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Mul.op_Star",
"FStar.Bytes.append... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1)) | [] | LowParse.SLow.Endianness.n_to_le_S | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ih: LowParse.SLow.Endianness.n_to_le_t u63 len -> LowParse.SLow.Endianness.n_to_le_t u63 (len + 1) | {
"end_col": 26,
"end_line": 231,
"start_col": 2,
"start_line": 225
} |
Prims.Tot | val le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1)) | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | false | let le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat { len + 1 <= tot })
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1))
= fun x ->
assert_norm (pow2 8 == 256);
E.reveal_le_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2... | val le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1))
let le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot ... | false | null | false | fun x ->
assert_norm (pow2 8 == 256);
E.reveal_le_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2_plus (8 * len) 8;
[@@ inline_let ]let ulen = U32.uint_to_t len in
let last = B.get x 0ul in
let first = B.slice x 1ul (ulen `U32.add` 1ul) in
le... | {
"checked_file": "LowParse.SLow.Endianness.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
... | [
"total"
] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"LowParse.SLow.Endianness.le_to_n_t",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__add",
"LowParse.Spec.Endianness.__proj__UIntType__item__mul256",
"Prims.eq2"... | [] | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | false | false | LowParse.SLow.Endianness.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1)) | [] | LowParse.SLow.Endianness.le_to_n_S | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | ih: LowParse.SLow.Endianness.le_to_n_t u47 len -> LowParse.SLow.Endianness.le_to_n_t u47 (len + 1) | {
"end_col": 26,
"end_line": 181,
"start_col": 2,
"start_line": 165
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | false | let bn_mod_slow_st (t:limb_t) (len:BN.meta_len t) =
nBits:size_t
-> n:lbignum t len
-> a:lbignum t (len +! len)
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h a /\ live h res /\
disjoint res n /\ disjoint res a /\
1 < bn_v h n /\ bn_v h n % 2 = 1 /\
v nBits / bit... | let bn_mod_slow_st (t: limb_t) (len: BN.meta_len t) = | false | null | false | nBits: size_t -> n: lbignum t len -> a: lbignum t (len +! len) -> res: lbignum t len
-> Stack unit
(requires
fun h ->
live h n /\ live h a /\ live h res /\ disjoint res n /\ disjoint res a /\ 1 < bn_v h n /\
bn_v h n % 2 = 1 /\ v nBits / bits t < v len /\ pow2 (v nBits) < bn_v h n)
... | {
"checked_file": "Hacl.Bignum.ModReduction.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"H... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Definitions.lbignum",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Hacl.B... | [] | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | false | false | Hacl.Bignum.ModReduction.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mod_slow_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.ModReduction.bn_mod_slow_st | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 41,
"end_line": 75,
"start_col": 4,
"start_line": 63
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | false | let bn_mod_slow_precomp_st (t:limb_t) (len:BN.meta_len t) =
n:lbignum t len
-> mu:limb t
-> r2:lbignum t len
-> a:lbignum t (len +! len)
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h a /\ live h r2 /\ live h res /\
disjoint res n /\ disjoint res a /\ disjoint res r2 /... | let bn_mod_slow_precomp_st (t: limb_t) (len: BN.meta_len t) = | false | null | false |
n: lbignum t len ->
mu: limb t ->
r2: lbignum t len ->
a: lbignum t (len +! len) ->
res: lbignum t len
-> Stack unit
(requires
fun h ->
live h n /\ live h a /\ live h r2 /\ live h res /\ disjoint res n /\ disjoint res a /\
disjoint res r2 /\ disjoint r2 n /\ SM.b... | {
"checked_file": "Hacl.Bignum.ModReduction.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"H... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
... | [] | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | false | false | Hacl.Bignum.ModReduction.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mod_slow_precomp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | [] | Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | {
"end_col": 41,
"end_line": 39,
"start_col": 5,
"start_line": 26
} | |
Prims.Tot | val mk_bn_mod_slow:
#t:limb_t
-> len:BN.meta_len t
-> precompr2:BM.bn_precomp_r2_mod_n_st t len
-> bn_mod_slow_precomp:bn_mod_slow_precomp_st t len ->
bn_mod_slow_st t len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | false | let mk_bn_mod_slow #t len precompr2 bn_mod_slow_precomp nBits n a res =
push_frame ();
let r2 = create len (uint #t #SEC 0) in
let mu = BM.bn_mont_precomp len precompr2 nBits n r2 in
bn_mod_slow_precomp n mu r2 a res;
pop_frame () | val mk_bn_mod_slow:
#t:limb_t
-> len:BN.meta_len t
-> precompr2:BM.bn_precomp_r2_mod_n_st t len
-> bn_mod_slow_precomp:bn_mod_slow_precomp_st t len ->
bn_mod_slow_st t len
let mk_bn_mod_slow #t len precompr2 bn_mod_slow_precomp nBits n a res = | false | null | false | push_frame ();
let r2 = create len (uint #t #SEC 0) in
let mu = BM.bn_mont_precomp len precompr2 nBits n r2 in
bn_mod_slow_precomp n mu r2 a res;
pop_frame () | {
"checked_file": "Hacl.Bignum.ModReduction.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"H... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st",
"Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Definitions.lbignum",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.HyperS... | [] | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | false | false | Hacl.Bignum.ModReduction.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_bn_mod_slow:
#t:limb_t
-> len:BN.meta_len t
-> precompr2:BM.bn_precomp_r2_mod_n_st t len
-> bn_mod_slow_precomp:bn_mod_slow_precomp_st t len ->
bn_mod_slow_st t len | [] | Hacl.Bignum.ModReduction.mk_bn_mod_slow | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Hacl.Bignum.meta_len t ->
precompr2: Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st t len ->
bn_mod_slow_precomp: Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st t len
-> Hacl.Bignum.ModReduction.bn_mod_slow_st t len | {
"end_col": 14,
"end_line": 91,
"start_col": 2,
"start_line": 87
} |
Prims.Tot | val bn_mod_slow_precomp:
#t:limb_t
-> k:AM.almost_mont t ->
bn_mod_slow_precomp_st t k.AM.bn.BN.len | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | false | let bn_mod_slow_precomp #t k n mu r2 a res =
let h0 = ST.get () in
S.bn_mod_slow_precomp_lemma (as_seq h0 n) mu (as_seq h0 r2) (as_seq h0 a);
[@inline_let] let len = k.AM.bn.BN.len in
push_frame ();
let a_mod = create len (uint #t #SEC 0) in
let a1 = create (len +! len) (uint #t #SEC 0) in
copy a1 a;
AM... | val bn_mod_slow_precomp:
#t:limb_t
-> k:AM.almost_mont t ->
bn_mod_slow_precomp_st t k.AM.bn.BN.len
let bn_mod_slow_precomp #t k n mu r2 a res = | false | null | false | let h0 = ST.get () in
S.bn_mod_slow_precomp_lemma (as_seq h0 n) mu (as_seq h0 r2) (as_seq h0 a);
[@@ inline_let ]let len = k.AM.bn.BN.len in
push_frame ();
let a_mod = create len (uint #t #SEC 0) in
let a1 = create (len +! len) (uint #t #SEC 0) in
copy a1 a;
AM.reduction n mu a1 a_mod;
AM.to n mu r2 a_mod res;
pop_fram... | {
"checked_file": "Hacl.Bignum.ModReduction.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"H... | [
"total"
] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.AlmostMontgomery.almost_mont",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.__proj__Mkbn__item__len",
"Hacl.Bignum.AlmostMontgomery.__proj__Mkalmost_mont__item__bn",
"Hacl.Bignum.Definitions.limb",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Li... | [] | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | false | false | Hacl.Bignum.ModReduction.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_mod_slow_precomp:
#t:limb_t
-> k:AM.almost_mont t ->
bn_mod_slow_precomp_st t k.AM.bn.BN.len | [] | Hacl.Bignum.ModReduction.bn_mod_slow_precomp | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | k: Hacl.Bignum.AlmostMontgomery.almost_mont t
-> Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st t (Mkbn?.len (Mkalmost_mont?.bn k)) | {
"end_col": 14,
"end_line": 58,
"start_col": 44,
"start_line": 48
} |
Prims.GTot | val modified_arg_mloc (x: arg) : GTot ME.loc | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let modified_arg_mloc (x:arg) : GTot ME.loc =
match x with
| (|TD_Buffer src t {modified=true}, x|) -> ME.loc_buffer (as_vale_buffer #src #t x)
| _ -> ME.loc_none | val modified_arg_mloc (x: arg) : GTot ME.loc
let modified_arg_mloc (x: arg) : GTot ME.loc = | false | null | false | match x with
| (| TD_Buffer src t { modified = true } , x |) -> ME.loc_buffer (as_vale_buffer #src #t x)
| _ -> ME.loc_none | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"sometrivial"
] | [
"Vale.Interop.Base.arg",
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Arch.HeapTypes_s.taint",
"Prims.bool",
"Vale.Interop.Base.td_as_type",
"Vale.Interop.Base.TD_Buffer",
"Vale.Interop.Base.Mkbuffer_qualifiers",
"Vale.X64.Memory.loc_buffer",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Prims.dtuple2",
... | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | false | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val modified_arg_mloc (x: arg) : GTot ME.loc | [] | Vale.AsLowStar.ValeSig.modified_arg_mloc | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | x: Vale.Interop.Base.arg -> Prims.GTot Vale.X64.Memory.loc | {
"end_col": 22,
"end_line": 60,
"start_col": 4,
"start_line": 58
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let disjoint_or_eq (l:list arg) =
BigOps.pairwise_and' disjoint_or_eq_1 l | let disjoint_or_eq (l: list arg) = | false | null | false | BigOps.pairwise_and' disjoint_or_eq_1 l | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Prims.list",
"Vale.Interop.Base.arg",
"FStar.BigOps.pairwise_and'",
"Vale.AsLowStar.ValeSig.disjoint_or_eq_1"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val disjoint_or_eq : l: Prims.list Vale.Interop.Base.arg -> Type0 | [] | Vale.AsLowStar.ValeSig.disjoint_or_eq | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l: Prims.list Vale.Interop.Base.arg -> Type0 | {
"end_col": 42,
"end_line": 112,
"start_col": 2,
"start_line": 112
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let vale_save_reg (r:MS.reg_64) (s0 s1:V.va_state) =
VS.eval_reg_64 r s0 == VS.eval_reg_64 r s1 | let vale_save_reg (r: MS.reg_64) (s0 s1: V.va_state) = | false | null | false | VS.eval_reg_64 r s0 == VS.eval_reg_64 r s1 | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Vale.X64.Machine_s.reg_64",
"Vale.X64.Decls.va_state",
"Prims.eq2",
"Vale.X64.Memory.nat64",
"Vale.X64.State.eval_reg_64",
"Prims.logical"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vale_save_reg : r: Vale.X64.Machine_s.reg_64 -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | [] | Vale.AsLowStar.ValeSig.vale_save_reg | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | r: Vale.X64.Machine_s.reg_64 -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | {
"end_col": 44,
"end_line": 39,
"start_col": 2,
"start_line": 39
} | |
Prims.Tot | val readable_one (s: ME.vale_heap) (arg: arg) : prop | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let readable_one (s:ME.vale_heap) (arg:arg) : prop =
match arg with
| (|TD_Buffer src bt _, x |) ->
ME.buffer_readable s (as_vale_buffer #src #bt x) /\
ME.buffer_writeable (as_vale_buffer #src #bt x)
/\ True //promote to prop
| (|TD_ImmBuffer src bt _, x |) ->
ME.buffer_readable s (as_vale_immbuff... | val readable_one (s: ME.vale_heap) (arg: arg) : prop
let readable_one (s: ME.vale_heap) (arg: arg) : prop = | false | null | false | match arg with
| (| TD_Buffer src bt _ , x |) ->
ME.buffer_readable s (as_vale_buffer #src #bt x) /\
ME.buffer_writeable (as_vale_buffer #src #bt x) /\ True
| (| TD_ImmBuffer src bt _ , x |) -> ME.buffer_readable s (as_vale_immbuffer #src #bt x) /\ True
| _ -> True | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Vale.X64.Memory.vale_heap",
"Vale.Interop.Base.arg",
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Interop.Base.buffer_qualifiers",
"Vale.Interop.Base.td_as_type",
"Vale.Interop.Base.TD_Buffer",
"Prims.l_and",
"Vale.X64.Memory.buffer_readable",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Vale.X64.Memory... | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val readable_one (s: ME.vale_heap) (arg: arg) : prop | [] | Vale.AsLowStar.ValeSig.readable_one | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Vale.X64.Memory.vale_heap -> arg: Vale.Interop.Base.arg -> Prims.prop | {
"end_col": 13,
"end_line": 81,
"start_col": 2,
"start_line": 73
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let state_of (x:(V.va_state & V.va_fuel)) = fst x | let state_of (x: (V.va_state & V.va_fuel)) = | false | null | false | fst x | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.fst",
"Vale.X64.State.vale_state"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val state_of : x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.State.vale_state | [] | Vale.AsLowStar.ValeSig.state_of | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.State.vale_state | {
"end_col": 49,
"end_line": 66,
"start_col": 44,
"start_line": 66
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let sprop = VS.vale_state -> prop | let sprop = | false | null | false | VS.vale_state -> prop | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Vale.X64.State.vale_state",
"Prims.prop"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sprop : Type | [] | Vale.AsLowStar.ValeSig.sprop | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type | {
"end_col": 33,
"end_line": 68,
"start_col": 12,
"start_line": 68
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let vale_pre_tl (dom:list td) =
n_arrow dom (V.va_state -> prop) | let vale_pre_tl (dom: list td) = | false | null | false | n_arrow dom (V.va_state -> prop) | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.Interop.Base.n_arrow",
"Vale.X64.Decls.va_state",
"Prims.prop"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vale_pre_tl : dom: Prims.list Vale.Interop.Base.td -> Type | [] | Vale.AsLowStar.ValeSig.vale_pre_tl | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | dom: Prims.list Vale.Interop.Base.td -> Type | {
"end_col": 36,
"end_line": 21,
"start_col": 4,
"start_line": 21
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let fuel_of (x:(V.va_state & V.va_fuel)) = snd x | let fuel_of (x: (V.va_state & V.va_fuel)) = | false | null | false | snd x | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.snd"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fuel_of : x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.Decls.va_fuel | [] | Vale.AsLowStar.ValeSig.fuel_of | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.Decls.va_fuel | {
"end_col": 48,
"end_line": 67,
"start_col": 43,
"start_line": 67
} | |
Prims.GTot | val mloc_modified_args (args: list arg) : GTot ME.loc | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let mloc_modified_args (args:list arg) : GTot ME.loc =
List.fold_right_gtot (List.map_gtot modified_arg_mloc args) ME.loc_union ME.loc_none | val mloc_modified_args (args: list arg) : GTot ME.loc
let mloc_modified_args (args: list arg) : GTot ME.loc = | false | null | false | List.fold_right_gtot (List.map_gtot modified_arg_mloc args) ME.loc_union ME.loc_none | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"sometrivial"
] | [
"Prims.list",
"Vale.Interop.Base.arg",
"FStar.List.Tot.Base.fold_right_gtot",
"Vale.X64.Memory.loc",
"FStar.List.Tot.Base.map_gtot",
"Vale.AsLowStar.ValeSig.modified_arg_mloc",
"Vale.X64.Memory.loc_union",
"Vale.X64.Memory.loc_none"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | false | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mloc_modified_args (args: list arg) : GTot ME.loc | [] | Vale.AsLowStar.ValeSig.mloc_modified_args | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | args: Prims.list Vale.Interop.Base.arg -> Prims.GTot Vale.X64.Memory.loc | {
"end_col": 88,
"end_line": 64,
"start_col": 4,
"start_line": 64
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | false | let vale_post_tl (dom:list td) =
n_arrow dom
(s0:V.va_state -> s1:V.va_state -> f:V.va_fuel -> prop) | let vale_post_tl (dom: list td) = | false | null | false | n_arrow dom (s0: V.va_state -> s1: V.va_state -> f: V.va_fuel -> prop) | {
"checked_file": "Vale.AsLowStar.ValeSig.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"V... | [
"total"
] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.Interop.Base.n_arrow",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"Prims.prop"
] | [] | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | false | true | Vale.AsLowStar.ValeSig.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val vale_post_tl : dom: Prims.list Vale.Interop.Base.td -> Type | [] | Vale.AsLowStar.ValeSig.vale_post_tl | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | dom: Prims.list Vale.Interop.Base.td -> Type | {
"end_col": 67,
"end_line": 31,
"start_col": 4,
"start_line": 30
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.