file_name stringlengths 5 52 | name stringlengths 4 95 | original_source_type stringlengths 0 23k | source_type stringlengths 9 23k | source_definition stringlengths 9 57.9k | source dict | source_range dict | file_context stringlengths 0 721k | dependencies dict | opens_and_abbrevs listlengths 2 94 | vconfig dict | interleaved bool 1
class | verbose_type stringlengths 1 7.42k | effect stringclasses 118
values | effect_flags listlengths 0 2 | mutual_with listlengths 0 11 | ideal_premises listlengths 0 236 | proof_features listlengths 0 1 | is_simple_lemma bool 2
classes | is_div bool 2
classes | is_proof bool 2
classes | is_simply_typed bool 2
classes | is_type bool 2
classes | partial_definition stringlengths 5 3.99k | completed_definiton stringlengths 1 1.63M | isa_cross_project_example bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_ocmp | val machine_eval_ocmp (s: machine_state) (c: ocmp) : machine_state & bool | val machine_eval_ocmp (s: machine_state) (c: ocmp) : machine_state & bool | let machine_eval_ocmp (s:machine_state) (c:ocmp) : machine_state & bool =
let s = run (check (valid_ocmp_opaque c)) s in
let b = eval_ocmp_opaque s c in
let s = {s with ms_flags = havoc_flags; ms_trace = (BranchPredicate b)::s.ms_trace} in
(s, b) | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 8,
"end_line": 737,
"start_col": 0,
"start_line": 733
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.X64.Machine_Semantics_s.machine_state -> c: Vale.X64.Machine_Semantics_s.ocmp
-> Vale.X64.Machine_Semantics_s.machine_state * Prims.bool | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.ocmp",
"FStar.Pervasives.Native.Mktuple2",
"Prims.bool",
"Vale.X64.Machine_Semantics_s.Mkmachine_state",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state_... | [] | false | false | false | true | false | let machine_eval_ocmp (s: machine_state) (c: ocmp) : machine_state & bool =
| let s = run (check (valid_ocmp_opaque c)) s in
let b = eval_ocmp_opaque s c in
let s = { s with ms_flags = havoc_flags; ms_trace = (BranchPredicate b) :: s.ms_trace } in
(s, b) | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_ins | val machine_eval_ins (i: ins) (s: machine_state) : machine_state | val machine_eval_ins (i: ins) (s: machine_state) : machine_state | let machine_eval_ins (i:ins) (s:machine_state) : machine_state =
run (machine_eval_ins_st i) s | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 31,
"end_line": 723,
"start_col": 0,
"start_line": 722
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state
-> Vale.X64.Machine_Semantics_s.machine_state | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.ins",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.run",
"Vale.X64.Machine_Semantics_s.machine_eval_ins_st"
] | [] | false | false | false | true | false | let machine_eval_ins (i: ins) (s: machine_state) : machine_state =
| run (machine_eval_ins_st i) s | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.try_option | val try_option (#a: Type) (o: option a) (f: (a -> st unit)) : st unit | val try_option (#a: Type) (o: option a) (f: (a -> st unit)) : st unit | let try_option (#a:Type) (o:option a) (f:a -> st unit) : st unit =
match o with
| None -> fail
| Some x -> f x | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 17,
"end_line": 422,
"start_col": 0,
"start_line": 419
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | o: FStar.Pervasives.Native.option a -> f: (_: a -> Vale.X64.Machine_Semantics_s.st Prims.unit)
-> Vale.X64.Machine_Semantics_s.st Prims.unit | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.option",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.fail"
] | [] | false | false | false | true | false | let try_option (#a: Type) (o: option a) (f: (a -> st unit)) : st unit =
| match o with
| None -> fail
| Some x -> f x | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_code_ins | val machine_eval_code_ins (i: ins) (s: machine_state) : option machine_state | val machine_eval_code_ins (i: ins) (s: machine_state) : option machine_state | let machine_eval_code_ins (i:ins) (s:machine_state) : option machine_state =
machine_eval_code_ins_def i s | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 31,
"end_line": 731,
"start_col": 0,
"start_line": 730
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.ins",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.machine_eval_code_ins_def",
"FStar.Pervasives.Native.option"
] | [] | false | false | false | true | false | let machine_eval_code_ins (i: ins) (s: machine_state) : option machine_state =
| machine_eval_code_ins_def i s | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_code_ins_def | val machine_eval_code_ins_def (i: ins) (s: machine_state) : option machine_state | val machine_eval_code_ins_def (i: ins) (s: machine_state) : option machine_state | let machine_eval_code_ins_def (i:ins) (s:machine_state) : option machine_state =
let obs = ins_obs i s in
// REVIEW: drop trace, then restore trace, to make clear that machine_eval_ins shouldn't depend on trace
Some ({machine_eval_ins i ({s with ms_trace = []}) with ms_trace = obs @ s.ms_trace}) | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 87,
"end_line": 728,
"start_col": 0,
"start_line": 725
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.ins",
"Vale.X64.Machine_Semantics_s.machine_state",
"FStar.Pervasives.Native.Some",
"Vale.X64.Machine_Semantics_s.Mkmachine_state",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_ok",
"Vale.X64.Machine_Semantics_s.__proj__Mkmachine_state__item__ms_regs",
"V... | [] | false | false | false | true | false | let machine_eval_code_ins_def (i: ins) (s: machine_state) : option machine_state =
| let obs = ins_obs i s in
Some ({ machine_eval_ins i ({ s with ms_trace = [] }) with ms_trace = obs @ s.ms_trace }) | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.bind_option | val bind_option (#a #b: Type) (v: option a) (f: (a -> option b)) : option b | val bind_option (#a #b: Type) (v: option a) (f: (a -> option b)) : option b | let bind_option (#a #b:Type) (v:option a) (f:a -> option b) : option b =
match v with
| None -> None
| Some x -> f x | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 17,
"end_line": 480,
"start_col": 0,
"start_line": 477
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: FStar.Pervasives.Native.option a -> f: (_: a -> FStar.Pervasives.Native.option b)
-> FStar.Pervasives.Native.option b | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.None"
] | [] | false | false | false | true | false | let bind_option (#a #b: Type) (v: option a) (f: (a -> option b)) : option b =
| match v with
| None -> None
| Some x -> f x | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.obs_operand_explicit | val obs_operand_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (s: machine_state)
: list observation | val obs_operand_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (s: machine_state)
: list observation | let obs_operand_explicit
(i:instr_operand_explicit)
(o:instr_operand_t i)
(s:machine_state) : list observation =
match i with
| IOp64 -> operand_obs s o
| IOpXmm -> operand_obs128 s o | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 32,
"end_line": 500,
"start_col": 0,
"start_line": 494
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Vale.X64.Instruction_s.instr_operand_explicit ->
o: Vale.X64.Instruction_s.instr_operand_t i ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_explicit",
"Vale.X64.Instruction_s.instr_operand_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.operand_obs",
"Vale.X64.Machine_Semantics_s.operand_obs128",
"Prims.list",
"Vale.X64.Machine_s.observation"
] | [] | false | false | false | false | false | let obs_operand_explicit (i: instr_operand_explicit) (o: instr_operand_t i) (s: machine_state)
: list observation =
| match i with
| IOp64 -> operand_obs s o
| IOpXmm -> operand_obs128 s o | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.obs_operand_implicit | val obs_operand_implicit (i: instr_operand_implicit) (s: machine_state) : list observation | val obs_operand_implicit (i: instr_operand_implicit) (s: machine_state) : list observation | let obs_operand_implicit
(i:instr_operand_implicit)
(s:machine_state) : list observation =
match i with
| IOp64One o -> operand_obs s o
| IOpXmmOne o -> operand_obs128 s o
| IOpFlagsCf | IOpFlagsOf -> [] | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 509,
"start_col": 0,
"start_line": 503
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Vale.X64.Instruction_s.instr_operand_implicit -> s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_implicit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_s.operand64",
"Vale.X64.Machine_Semantics_s.operand_obs",
"Vale.X64.Machine_s.operand128",
"Vale.X64.Machine_Semantics_s.operand_obs128",
"Prims.Nil",
"Vale.X64.Machine_s.observation",
"P... | [] | false | false | false | true | false | let obs_operand_implicit (i: instr_operand_implicit) (s: machine_state) : list observation =
| match i with
| IOp64One o -> operand_obs s o
| IOpXmmOne o -> operand_obs128 s o
| IOpFlagsCf | IOpFlagsOf -> [] | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.operand_obs | val operand_obs (s: machine_state) (o: operand64) : list observation | val operand_obs (s: machine_state) (o: operand64) : list observation | let operand_obs (s:machine_state) (o:operand64) : list observation =
match o with
| OConst _ | OReg _ -> []
| OMem (m, _) | OStack (m, _) -> [MemAccess (eval_maddr m s)] | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 63,
"end_line": 485,
"start_col": 0,
"start_line": 482
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.X64.Machine_Semantics_s.machine_state -> o: Vale.X64.Machine_s.operand64
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_s.operand64",
"Vale.X64.Machine_s.nat64",
"Prims.Nil",
"Vale.X64.Machine_s.observation",
"Vale.X64.Machine_s.reg_64",
"Vale.X64.Machine_s.maddr",
"Vale.Arch.HeapTypes_s.taint",
"Prims.Cons",
"Vale.X64.Machine_s.MemAccess",
"Vale.X64... | [] | false | false | false | true | false | let operand_obs (s: machine_state) (o: operand64) : list observation =
| match o with
| OConst _ | OReg _ -> []
| OMem (m, _) | OStack (m, _) -> [MemAccess (eval_maddr m s)] | false |
Pulse.Elaborate.fst | Pulse.Elaborate.elab_close_commute' | val elab_close_commute' (e:term)
(v:var)
(n:index)
: Lemma (RT.subst_term (elab_term e) [ RT.ND v n ] ==
elab_term (close_term' e v n)) | val elab_close_commute' (e:term)
(v:var)
(n:index)
: Lemma (RT.subst_term (elab_term e) [ RT.ND v n ] ==
elab_term (close_term' e v n)) | let rec elab_close_commute' (e:term)
(v:var)
(n:index)
: Lemma (ensures (
RT.subst_term (elab_term e) [ RT.ND v n ] ==
elab_term (close_term' e v n)))
(decreases e)
= match e.t with
| Tm_Emp
| Tm_Inames
| Tm_E... | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 22,
"end_line": 113,
"start_col": 0,
"start_line": 88
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Elaborate.Core.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked... | [
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Elaborate.Pure",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax.Naming",
"short_module": null
},
{
"abbrev": false,
"ful... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 10,
"initial_ifuel": 10,
"max_fuel": 10,
"max_ifuel": 10,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencodin... | false | e: Pulse.Syntax.Base.term -> v: Pulse.Syntax.Base.var -> n: Pulse.Syntax.Base.index
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_term e)
[FStar.Reflection.Typing.ND v n] ==
Pulse.Elaborate.Pure.elab_term (Pulse.Syntax.Naming.close_ter... | FStar.Pervasives.Lemma | [
"",
"lemma"
] | [] | [
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.index",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Elaborate.elab_close_commute'",
"Prims.unit",
"Pulse.Syntax.Base.universe",
"Pulse.Syntax.Base.binder",
"Prims.op_Addition",
"Pulse.Syntax.Base.__proj__Mkbinder__item__... | [
"recursion"
] | false | false | true | false | false | let rec elab_close_commute' (e: term) (v: var) (n: index)
: Lemma (ensures (RT.subst_term (elab_term e) [RT.ND v n] == elab_term (close_term' e v n)))
(decreases e) =
| match e.t with
| Tm_Emp | Tm_Inames | Tm_EmpInames | Tm_VProp | Tm_Unknown -> ()
| Tm_Inv p -> elab_close_commute' p v n
| Tm_Pure p -> elab_close_commute' p v n
| Tm_AddInv e1 e2
| Tm_Star e1 e2 ->
elab_close_commute' e1 v n;
elab_close_commute' e2 v n
| Tm_ExistsSL _ t body
| Tm_ForallSL _ t body ->
elab_close_... | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.ins_obs | val ins_obs (ins: ins) (s: machine_state) : list observation | val ins_obs (ins: ins) (s: machine_state) : list observation | let ins_obs (ins:ins) (s:machine_state) : list observation =
match ins with
| BC.Instr (InstrTypeRecord #outs #args _) oprs _ -> obs_inouts outs args oprs s
| BC.Push src _ -> operand_obs s src
| BC.Pop dst _ -> operand_obs s dst
| BC.Alloc _ | BC.Dealloc _ -> [] | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 35,
"end_line": 549,
"start_col": 0,
"start_line": 544
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ins: Vale.X64.Machine_Semantics_s.ins -> s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.ins",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.flag_havoc",
"Vale.X64.Instruction_s.instr_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Inst... | [] | false | false | false | true | false | let ins_obs (ins: ins) (s: machine_state) : list observation =
| match ins with
| BC.Instr (InstrTypeRecord #outs #args _) oprs _ -> obs_inouts outs args oprs s
| BC.Push src _ -> operand_obs s src
| BC.Pop dst _ -> operand_obs s dst
| BC.Alloc _ | BC.Dealloc _ -> [] | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_write_output_implicit | val instr_write_output_implicit
(i: instr_operand_implicit)
(v: instr_val_t (IOpIm i))
(s_orig s: machine_state)
: machine_state | val instr_write_output_implicit
(i: instr_operand_implicit)
(v: instr_val_t (IOpIm i))
(s_orig s: machine_state)
: machine_state | let instr_write_output_implicit
(i:instr_operand_implicit) (v:instr_val_t (IOpIm i)) (s_orig s:machine_state)
: machine_state =
match i with
| IOp64One o ->
state_or_fail s (valid_dst_operand64 o s_orig) (update_operand64_preserve_flags'' o v s_orig s)
| IOpXmmOne o ->
state_or_fail s (valid_dst_ope... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 61,
"end_line": 640,
"start_col": 0,
"start_line": 631
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Vale.X64.Instruction_s.instr_operand_implicit ->
v: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm i) ->
s_orig: Vale.X64.Machine_Semantics_s.machine_state ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Vale.X64.Machine_Semantics_s.machine_state | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_implicit",
"Vale.X64.Instruction_s.instr_val_t",
"Vale.X64.Instruction_s.IOpIm",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_s.operand64",
"Vale.X64.Machine_Semantics_s.state_or_fail",
"Vale.X64.Machine_Semantics_s.valid_dst_operand64",
"Vale.X... | [] | false | false | false | false | false | let instr_write_output_implicit
(i: instr_operand_implicit)
(v: instr_val_t (IOpIm i))
(s_orig s: machine_state)
: machine_state =
| match i with
| IOp64One o ->
state_or_fail s (valid_dst_operand64 o s_orig) (update_operand64_preserve_flags'' o v s_orig s)
| IOpXmmOne o ->
state_or_fail s (valid_dst_operand128 o s_orig) (update_operand128_preserve_flags'' o v s_orig s)
| IOpFlagsCf -> { s with ms_flags = update_cf' s.ms_flags v }
| IOpFlagsOf -... | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.obs_args | val obs_args (args: list instr_operand) (oprs: instr_operands_t_args args) (s: machine_state)
: list observation | val obs_args (args: list instr_operand) (oprs: instr_operands_t_args args) (s: machine_state)
: list observation | let rec obs_args
(args:list instr_operand)
(oprs:instr_operands_t_args args)
(s:machine_state) : list observation =
match args with
| [] -> []
| i::args ->
match i with
| IOpEx i ->
let oprs = coerce oprs in
obs_operand_explicit i (fst oprs) s @ obs_args args (snd oprs) s
| IOpIm i -... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 62,
"end_line": 524,
"start_col": 0,
"start_line": 512
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
oprs: Vale.X64.Instruction_s.instr_operands_t_args args ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_operands_t_args",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.Nil",
"Vale.X64.Machine_s.observation",
"Vale.X64.Instruction_s.instr_operand_explicit",
"FStar.List.Tot.Base.op_At",
"Vale.X64.Machine_Semantics... | [
"recursion"
] | false | false | false | false | false | let rec obs_args (args: list instr_operand) (oprs: instr_operands_t_args args) (s: machine_state)
: list observation =
| match args with
| [] -> []
| i :: args ->
match i with
| IOpEx i ->
let oprs = coerce oprs in
obs_operand_explicit i (fst oprs) s @ obs_args args (snd oprs) s
| IOpIm i -> obs_operand_implicit i s @ obs_args args (coerce oprs) s | false |
Pulse.Elaborate.fst | Pulse.Elaborate.elab_freevars_comp_eq | val elab_freevars_comp_eq (c: comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) | val elab_freevars_comp_eq (c: comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) | let elab_freevars_comp_eq (c:comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) =
match c with
| C_Tot t -> elab_freevars_eq t
| C_ST st
| C_STGhost st ->
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post
| C_STAtomic inames _ st ->
elab_freevar... | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 28,
"end_line": 218,
"start_col": 0,
"start_line": 204
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Elaborate.Core.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked... | [
{
"abbrev": false,
"full_module": "Pulse.Elaborate.Core",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 10,
"initial_ifuel": 10,
"max_fuel": 10,
"max_ifuel": 10,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencodin... | false | c: Pulse.Syntax.Base.comp
-> FStar.Pervasives.Lemma
(ensures
FStar.Set.equal (Pulse.Syntax.Naming.freevars_comp c)
(FStar.Reflection.Typing.freevars (Pulse.Elaborate.Pure.elab_comp c))) | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Pulse.Syntax.Base.comp",
"Pulse.Syntax.Base.term",
"Pulse.Elaborate.elab_freevars_eq",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__post",
"Prims.unit",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__pre",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__res",
"Pulse.Syntax.Base... | [] | false | false | true | false | false | let elab_freevars_comp_eq (c: comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) =
| match c with
| C_Tot t -> elab_freevars_eq t
| C_ST st
| C_STGhost st ->
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post
| C_STAtomic inames _ st ->
elab_freevars_eq inames;
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.operand_obs128 | val operand_obs128 (s: machine_state) (op: operand128) : list observation | val operand_obs128 (s: machine_state) (op: operand128) : list observation | let operand_obs128 (s:machine_state) (op:operand128) : list observation =
match op with
| OConst _ | OReg _ -> []
| OMem (m, _) | OStack (m, _) -> [MemAccess (eval_maddr m s)] | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 63,
"end_line": 491,
"start_col": 0,
"start_line": 488
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.X64.Machine_Semantics_s.machine_state -> op: Vale.X64.Machine_s.operand128
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_s.operand128",
"Vale.X64.Machine_s.quad32",
"Prims.Nil",
"Vale.X64.Machine_s.observation",
"Vale.X64.Machine_s.reg_xmm",
"Vale.X64.Machine_s.maddr",
"Vale.Arch.HeapTypes_s.taint",
"Prims.Cons",
"Vale.X64.Machine_s.MemAccess",
"Vale.... | [] | false | false | false | true | false | let operand_obs128 (s: machine_state) (op: operand128) : list observation =
| match op with
| OConst _ | OReg _ -> []
| OMem (m, _) | OStack (m, _) -> [MemAccess (eval_maddr m s)] | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_eval_operand_explicit | val instr_eval_operand_explicit
(i: instr_operand_explicit)
(o: instr_operand_t i)
(s: machine_state)
: option (instr_val_t (IOpEx i)) | val instr_eval_operand_explicit
(i: instr_operand_explicit)
(o: instr_operand_t i)
(s: machine_state)
: option (instr_val_t (IOpEx i)) | let instr_eval_operand_explicit (i:instr_operand_explicit) (o:instr_operand_t i) (s:machine_state) : option (instr_val_t (IOpEx i)) =
match i with
| IOp64 -> if valid_src_operand64_and_taint o s then Some (eval_operand o s) else None
| IOpXmm -> if valid_src_operand128_and_taint o s then Some (eval_mov128_op o s)... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 92,
"end_line": 555,
"start_col": 0,
"start_line": 552
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Vale.X64.Instruction_s.instr_operand_explicit ->
o: Vale.X64.Instruction_s.instr_operand_t i ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Native.option (Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx
i)) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_explicit",
"Vale.X64.Instruction_s.instr_operand_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.valid_src_operand64_and_taint",
"FStar.Pervasives.Native.Some",
"Vale.X64.Instruction_s.instr_val_t",
"Vale.X64.Instruction_s.IOpEx",
"... | [] | false | false | false | false | false | let instr_eval_operand_explicit
(i: instr_operand_explicit)
(o: instr_operand_t i)
(s: machine_state)
: option (instr_val_t (IOpEx i)) =
| match i with
| IOp64 -> if valid_src_operand64_and_taint o s then Some (eval_operand o s) else None
| IOpXmm -> if valid_src_operand128_and_taint o s then Some (eval_mov128_op o s) else None | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_apply_eval_inouts | val instr_apply_eval_inouts
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: option (instr_ret_t outs) | val instr_apply_eval_inouts
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: option (instr_ret_t outs) | let rec instr_apply_eval_inouts
(outs inouts:list instr_out) (args:list instr_operand)
(f:instr_inouts_t outs inouts args) (oprs:instr_operands_t inouts args) (s:machine_state)
: option (instr_ret_t outs) =
match inouts with
| [] -> instr_apply_eval_args outs args f oprs s
| (Out, i)::inouts ->
let ... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 82,
"end_line": 602,
"start_col": 0,
"start_line": 582
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
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 ->
s: Vale.... | Prims.Tot | [
"total"
] | [] | [
"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.X64.Machine_Semantics_s.instr_apply_eval_args",
"Vale.X64.Machine_Semantics_... | [
"recursion"
] | false | false | false | false | false | let rec instr_apply_eval_inouts
(outs inouts: list instr_out)
(args: list instr_operand)
(f: instr_inouts_t outs inouts args)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: option (instr_ret_t outs) =
| match inouts with
| [] -> instr_apply_eval_args outs args f oprs s
| (Out, i) :: inouts ->
let oprs =
match i with
| IOpEx i -> snd #(instr_operand_t i) (coerce oprs)
| IOpIm i -> coerce oprs
in
instr_apply_eval_inouts outs inouts args (coerce f) oprs s
| (InOut, i) :: inouts ->
let v, oprs =
ma... | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_apply_eval_args | val instr_apply_eval_args
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s: machine_state)
: option (instr_ret_t outs) | val instr_apply_eval_args
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s: machine_state)
: option (instr_ret_t outs) | let rec instr_apply_eval_args
(outs:list instr_out) (args:list instr_operand)
(f:instr_args_t outs args) (oprs:instr_operands_t_args args) (s:machine_state)
: option (instr_ret_t outs) =
match args with
| [] -> f
| i::args ->
let (v, oprs) =
match i with
| IOpEx i -> let oprs = coerce op... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 73,
"end_line": 579,
"start_col": 0,
"start_line": 566
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
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 ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Native.opt... | Prims.Tot | [
"total"
] | [] | [
"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... | [
"recursion"
] | false | false | false | false | false | let rec instr_apply_eval_args
(outs: list instr_out)
(args: list instr_operand)
(f: instr_args_t outs args)
(oprs: instr_operands_t_args args)
(s: machine_state)
: option (instr_ret_t outs) =
| match args with
| [] -> f
| i :: args ->
let v, oprs =
match i with
| IOpEx i ->
let oprs = coerce oprs in
(instr_eval_operand_explicit i (fst oprs) s, snd oprs)
| IOpIm i -> (instr_eval_operand_implicit i s, coerce oprs)
in
let f:arrow (instr_val_t i) (instr_args_t outs args) = coerce f i... | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_write_output_explicit | val instr_write_output_explicit
(i: instr_operand_explicit)
(v: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(s_orig s: machine_state)
: machine_state | val instr_write_output_explicit
(i: instr_operand_explicit)
(v: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(s_orig s: machine_state)
: machine_state | let instr_write_output_explicit
(i:instr_operand_explicit) (v:instr_val_t (IOpEx i)) (o:instr_operand_t i) (s_orig s:machine_state)
: machine_state =
match i with
| IOp64 ->
state_or_fail s (valid_dst_operand64 o s_orig) (update_operand64_preserve_flags'' o v s_orig s)
| IOpXmm ->
state_or_fail s (v... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 101,
"end_line": 628,
"start_col": 0,
"start_line": 621
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
i: Vale.X64.Instruction_s.instr_operand_explicit ->
v: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx i) ->
o: Vale.X64.Instruction_s.instr_operand_t i ->
s_orig: Vale.X64.Machine_Semantics_s.machine_state ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Vale.X64.Machine_Sema... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_explicit",
"Vale.X64.Instruction_s.instr_val_t",
"Vale.X64.Instruction_s.IOpEx",
"Vale.X64.Instruction_s.instr_operand_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.state_or_fail",
"Vale.X64.Machine_Semantics_s.valid_dst_operand64",... | [] | false | false | false | false | false | let instr_write_output_explicit
(i: instr_operand_explicit)
(v: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(s_orig s: machine_state)
: machine_state =
| match i with
| IOp64 ->
state_or_fail s (valid_dst_operand64 o s_orig) (update_operand64_preserve_flags'' o v s_orig s)
| IOpXmm ->
state_or_fail s (valid_dst_operand128 o s_orig) (update_operand128_preserve_flags'' o v s_orig s) | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_eval_operand_implicit | val instr_eval_operand_implicit (i: instr_operand_implicit) (s: machine_state)
: option (instr_val_t (IOpIm i)) | val instr_eval_operand_implicit (i: instr_operand_implicit) (s: machine_state)
: option (instr_val_t (IOpIm i)) | let instr_eval_operand_implicit (i:instr_operand_implicit) (s:machine_state) : option (instr_val_t (IOpIm i)) =
match i with
| IOp64One o -> if valid_src_operand64_and_taint o s then Some (eval_operand o s) else None
| IOpXmmOne o -> if valid_src_operand128_and_taint o s then Some (eval_mov128_op o s) else None
... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 37,
"end_line": 563,
"start_col": 0,
"start_line": 558
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | i: Vale.X64.Instruction_s.instr_operand_implicit -> s: Vale.X64.Machine_Semantics_s.machine_state
-> FStar.Pervasives.Native.option (Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm
i)) | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Instruction_s.instr_operand_implicit",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_s.operand64",
"Vale.X64.Machine_Semantics_s.valid_src_operand64_and_taint",
"FStar.Pervasives.Native.Some",
"Vale.X64.Instruction_s.instr_val_t",
"Vale.X64.Instruction_s.IOpIm",
"Vale.X64.M... | [] | false | false | false | false | false | let instr_eval_operand_implicit (i: instr_operand_implicit) (s: machine_state)
: option (instr_val_t (IOpIm i)) =
| match i with
| IOp64One o -> if valid_src_operand64_and_taint o s then Some (eval_operand o s) else None
| IOpXmmOne o -> if valid_src_operand128_and_taint o s then Some (eval_mov128_op o s) else None
| IOpFlagsCf -> cf s.ms_flags
| IOpFlagsOf -> overflow s.ms_flags | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.instr_write_outputs | val instr_write_outputs
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
: machine_state | val instr_write_outputs
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
: machine_state | let rec instr_write_outputs
(outs:list instr_out) (args:list instr_operand)
(vs:instr_ret_t outs) (oprs:instr_operands_t outs args) (s_orig s:machine_state)
: machine_state =
match outs with
| [] -> s
| (_, i)::outs ->
(
let ((v:instr_val_t i), (vs:instr_ret_t outs)) =
match outs with
... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 5,
"end_line": 669,
"start_col": 0,
"start_line": 648
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
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... | Prims.Tot | [
"total"
] | [] | [
"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",
... | [
"recursion"
] | false | false | false | false | false | let rec instr_write_outputs
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
: machine_state =
| match outs with
| [] -> s
| (_, 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_outpu... | false |
Vale.X64.Leakage_Ins.fst | Vale.X64.Leakage_Ins.lemma_pop_leakage_free | val lemma_pop_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Pop? ins)
(ensures
(let b, ts' = check_if_pop_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) | val lemma_pop_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Pop? ins)
(ensures
(let b, ts' = check_if_pop_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) | let lemma_pop_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma
(requires BC.Pop? ins)
(ensures (
let (b, ts') = check_if_pop_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts
))
=
let (b, ts') = check_if_pop_consumes_fixed_time ins t... | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 3,
"end_line": 779,
"start_col": 0,
"start_line": 747
} | module Vale.X64.Leakage_Ins
open FStar.Mul
open Vale.Arch.MachineHeap_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.Instruction_s
module BC = Vale.X64.Bytes_Code_s
module S = Vale.X64.Machine_Semantics_s
open Vale.X64.Leakage_s
open Vale.X64.Leakage_Helpers
unfold let (.[]) = Map.sel
unfold let (.[]<-) =... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Leakage_s.fst.checked",
"Vale.X64.Leakage_Helpers.fst.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.... | [
{
"abbrev": false,
"full_module": "Vale.X64.Leakage_Helpers",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Leakage_s",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "S"
},
{
"abbrev"... | {
"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... | false | ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins
-> FStar.Pervasives.Lemma (requires Pop? ins)
(ensures
(let _ = Vale.X64.Leakage_Ins.check_if_pop_consumes_fixed_time ins ts in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ b ts' = _ in
b ==>
... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.X64.Leakage_Helpers.analysis_taints",
"Vale.X64.Machine_Semantics_s.ins",
"Prims.bool",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.nat",
"Prims.unit",
"Vale.X64.Leakage_s.is_explicit_leakage_free_lhs",
"Vale.X64.Leakage_Helpers.__proj__AnalysisTaints__item__lts",
"Prims.squash",
"V... | [] | false | false | true | false | false | let lemma_pop_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Pop? ins)
(ensures
(let b, ts' = check_if_pop_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) =
| let b, ts' = check_if_pop_consumes_fixed_time ins ts in
if b
then
(let code = Ins ins in
let lem (s1 s2: S.machine_state) (fuel: nat)
: Lemma (requires is_explicit_leakage_free_lhs code fuel ts.lts ts'.lts s1 s2)
(ensures is_explicit_leakage_free_rhs code fuel ts.lts ts'.lts s1 s2)
[SM... | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.obs_inouts | val obs_inouts
(inouts: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: list observation | val obs_inouts
(inouts: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: list observation | let rec obs_inouts
(inouts:list instr_out)
(args:list instr_operand)
(oprs:instr_operands_t inouts args)
(s:machine_state) : list observation =
match inouts with
| [] -> obs_args args oprs s
| (_, i)::inouts ->
let (v, oprs) =
match i with
| IOpEx i ->
let oprs = coerce oprs in
... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 40,
"end_line": 541,
"start_col": 0,
"start_line": 527
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
inouts: 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 inouts args ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.list Vale.X64.Machine_s.observation | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Machine_Semantics_s.obs_args",
"Vale.X64.Instruction_s.instr_operand_inout",
"Vale.X64.Machine_s.observation",
... | [
"recursion"
] | false | false | false | false | false | let rec obs_inouts
(inouts: list instr_out)
(args: list instr_operand)
(oprs: instr_operands_t inouts args)
(s: machine_state)
: list observation =
| match inouts with
| [] -> obs_args args oprs s
| (_, i) :: inouts ->
let v, oprs =
match i with
| IOpEx i ->
let oprs = coerce oprs in
(obs_operand_explicit i (fst oprs) s), snd oprs
| IOpIm i -> obs_operand_implicit i s, coerce oprs
in
v @ obs_inouts inouts args oprs s | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.eval_instr | val eval_instr
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
: option machine_state | val eval_instr
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
: option machine_state | let eval_instr
(it:instr_t_record) (oprs:instr_operands_t it.outs it.args) (ann:instr_annotation it)
(s0:machine_state)
: option machine_state =
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
... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 80,
"end_line": 683,
"start_col": 0,
"start_line": 672
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
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
-> FStar.Pervasives.Native.option Vale.X64.... | Prims.Tot | [
"total"
] | [] | [
"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",
"... | [] | false | false | false | false | false | let eval_instr
(it: instr_t_record)
(oprs: instr_operands_t it.outs it.args)
(ann: instr_annotation it)
(s0: machine_state)
: option machine_state =
| 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
FStar.Option.mapTot (fun vs -> instr_write_outputs outs args vs oprs s0 s1) vs | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.be_to_n_2 | val be_to_n_2 : LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | let be_to_n_2 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 2) 2) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 30,
"start_col": 0,
"start_line": 30
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.be_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let be_to_n_2 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 2) 2) | false | |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_code | val machine_eval_code (c: code) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;c]) | val machine_eval_code (c: code) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;c]) | let rec machine_eval_code (c:code) (fuel:nat) (s:machine_state) : Tot (option machine_state)
(decreases %[fuel; c])
=
match c with
| Ins i ->
machine_eval_code_ins i s
| Block cs ->
machine_eval_codes cs fuel s
| IfElse cond ct cf ->
let (s', b) = machine_eval_ocmp s cond in
if b then machin... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 777,
"start_col": 0,
"start_line": 743
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
c: Vale.X64.Machine_Semantics_s.code ->
fuel: Prims.nat ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state) | Prims.Tot | [
"total",
""
] | [
"machine_eval_code",
"machine_eval_codes",
"machine_eval_while"
] | [
"Vale.X64.Machine_Semantics_s.code",
"Prims.nat",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.X64.Bytes_Code_s.instruction_t",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Vale.X64.Machine_Semantics_s.machine_eval_code_ins",
"Prims.list",
"Vale.X64.Machine_s.precode",
"Vale.X64.Bytes_Co... | [
"mutual recursion"
] | false | false | false | true | false | let rec machine_eval_code (c: code) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;c]) =
| match c with
| Ins i -> machine_eval_code_ins i s
| Block cs -> machine_eval_codes cs fuel s
| IfElse cond ct cf ->
let s', b = machine_eval_ocmp s cond in
if b then machine_eval_code ct fuel s' else machine_eval_code cf fuel s'
| While cond body -> machine_eval_while cond body fuel s | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_ins_st | val machine_eval_ins_st (ins: ins) : st unit | val machine_eval_ins_st (ins: ins) : st unit | let machine_eval_ins_st (ins:ins) : st unit =
let* s = get in
match ins with
| BC.Instr it oprs ann ->
apply_option (eval_instr it oprs ann s) set
| BC.Push src t ->
check (valid_src_operand64_and_taint src);*
let new_src = eval_operand src s in // Evaluate value on initial state
let... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 719,
"start_col": 0,
"start_line": 687
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ins: Vale.X64.Machine_Semantics_s.ins -> Vale.X64.Machine_Semantics_s.st Prims.unit | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_Semantics_s.ins",
"Vale.X64.Machine_Semantics_s.op_let_Star",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.unit",
"Vale.X64.Machine_Semantics_s.get",
"Vale.X64.Instruction_s.instr_t_record",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Instruction_s.__proj__InstrTypeR... | [] | false | false | false | true | false | let machine_eval_ins_st (ins: ins) : st unit =
| let* s = get in
match ins with
| BC.Instr it oprs ann -> apply_option (eval_instr it oprs ann s) set
| BC.Push src t ->
let* _ = check (valid_src_operand64_and_taint src) in
let new_src = eval_operand src s in
let new_rsp = eval_reg_64 rRsp s - 8 in
let* _ = update_rsp new_rsp in
let o_new = OStack (MConst ne... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.be_to_n_1 | val be_to_n_1 : LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | let be_to_n_1 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 1) 1) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 20,
"start_col": 0,
"start_line": 20
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.be_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let be_to_n_1 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 1) 1) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.be_to_n_3 | val be_to_n_3 : LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | let be_to_n_3 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 3) 3) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 40,
"start_col": 0,
"start_line": 40
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.be_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let be_to_n_3 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 3) 3) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_3 | val parse32_bounded_integer_3
: (parser32 (parse_bounded_integer 3)) | val parse32_bounded_integer_3
: (parser32 (parse_bounded_integer 3)) | let parse32_bounded_integer_3 = parse32_bounded_integer' 3 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 58,
"end_line": 81,
"start_col": 0,
"start_line": 81
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer 3) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_3 =
| parse32_bounded_integer' 3 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.be_to_n_4 | val be_to_n_4 : LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | let be_to_n_4 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 4) 4) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 50,
"start_col": 0,
"start_line": 50
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.be_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.be_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let be_to_n_4 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_be_to_n (EI.bounded_integer 4) 4) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_2 | val parse32_bounded_integer_2
: (parser32 (parse_bounded_integer 2)) | val parse32_bounded_integer_2
: (parser32 (parse_bounded_integer 2)) | let parse32_bounded_integer_2 = parse32_bounded_integer' 2 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 58,
"end_line": 80,
"start_col": 0,
"start_line": 80
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer 2) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_2 =
| parse32_bounded_integer' 2 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_1 | val parse32_bounded_integer_1
: (parser32 (parse_bounded_integer 1)) | val parse32_bounded_integer_1
: (parser32 (parse_bounded_integer 1)) | let parse32_bounded_integer_1 = parse32_bounded_integer' 1 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 58,
"end_line": 79,
"start_col": 0,
"start_line": 79
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer 1) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_1 =
| parse32_bounded_integer' 1 | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_while | val machine_eval_while (cond: ocmp) (body: code) (fuel: nat) (s0: machine_state)
: Tot (option machine_state) (decreases %[fuel;body]) | val machine_eval_while (cond: ocmp) (body: code) (fuel: nat) (s0: machine_state)
: Tot (option machine_state) (decreases %[fuel;body]) | let rec machine_eval_code (c:code) (fuel:nat) (s:machine_state) : Tot (option machine_state)
(decreases %[fuel; c])
=
match c with
| Ins i ->
machine_eval_code_ins i s
| Block cs ->
machine_eval_codes cs fuel s
| IfElse cond ct cf ->
let (s', b) = machine_eval_ocmp s cond in
if b then machin... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 777,
"start_col": 0,
"start_line": 743
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
cond: Vale.X64.Machine_Semantics_s.ocmp ->
body: Vale.X64.Machine_Semantics_s.code ->
fuel: Prims.nat ->
s0: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state) | Prims.Tot | [
"total",
""
] | [
"machine_eval_code",
"machine_eval_codes",
"machine_eval_while"
] | [
"Vale.X64.Machine_Semantics_s.ocmp",
"Vale.X64.Machine_Semantics_s.code",
"Prims.nat",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.op_Equality",
"Prims.int",
"FStar.Pervasives.Native.None",
"Prims.bool",
"Prims.op_Negation",
"FStar.Pervasives.Native.Some",
"Vale.X64.Machine_Semantics_s.... | [
"mutual recursion"
] | false | false | false | true | false | let rec machine_eval_while (cond: ocmp) (body: code) (fuel: nat) (s0: machine_state)
: Tot (option machine_state) (decreases %[fuel;body]) =
| if fuel = 0
then None
else
let s1, b = machine_eval_ocmp s0 cond in
if not b
then Some s1
else
match machine_eval_code body (fuel - 1) s1 with
| None -> None
| Some s2 -> if not s2.ms_ok then Some s2 else machine_eval_while cond body (fuel - 1) s2 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.le_to_n_1 | val le_to_n_1 : LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | let le_to_n_1 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 1) 1) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 126,
"start_col": 0,
"start_line": 126
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.le_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let le_to_n_1 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 1) 1) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_4 | val parse32_bounded_integer_4
: (parser32 (parse_bounded_integer 4)) | val parse32_bounded_integer_4
: (parser32 (parse_bounded_integer 4)) | let parse32_bounded_integer_4 = parse32_bounded_integer' 4 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 58,
"end_line": 82,
"start_col": 0,
"start_line": 82
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer 4) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_4 =
| parse32_bounded_integer' 4 | false |
Vale.X64.Machine_Semantics_s.fst | Vale.X64.Machine_Semantics_s.machine_eval_codes | val machine_eval_codes (cs: codes) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;cs]) | val machine_eval_codes (cs: codes) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;cs]) | let rec machine_eval_code (c:code) (fuel:nat) (s:machine_state) : Tot (option machine_state)
(decreases %[fuel; c])
=
match c with
| Ins i ->
machine_eval_code_ins i s
| Block cs ->
machine_eval_codes cs fuel s
| IfElse cond ct cf ->
let (s', b) = machine_eval_ocmp s cond in
if b then machin... | {
"file_name": "vale/specs/hardware/Vale.X64.Machine_Semantics_s.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 777,
"start_col": 0,
"start_line": 743
} | module Vale.X64.Machine_Semantics_s
open FStar.Mul
open FStar.List.Tot
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
include Vale.Arch.MachineHeap_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.Heap
open Vale.X64.Machine_s
open Vale.X64.CPU_Features_s
open Vale.Def.Words_s
open Vale.Def.Words.Two_s
open Vale.Def.Words.Four... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Lib.Set.fsti.checked",
"Vale.Def.Words_s.fsti.checke... | [
{
"abbrev": true,
"full_module": "Vale.X64.Bytes_Code_s",
"short_module": "BC"
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.Instructions_s",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
cs: Vale.X64.Machine_Semantics_s.codes ->
fuel: Prims.nat ->
s: Vale.X64.Machine_Semantics_s.machine_state
-> Prims.Tot (FStar.Pervasives.Native.option Vale.X64.Machine_Semantics_s.machine_state) | Prims.Tot | [
"total",
""
] | [
"machine_eval_code",
"machine_eval_codes",
"machine_eval_while"
] | [
"Vale.X64.Machine_Semantics_s.codes",
"Prims.nat",
"Vale.X64.Machine_Semantics_s.machine_state",
"FStar.Pervasives.Native.Some",
"Vale.X64.Bytes_Code_s.code_t",
"Vale.X64.Machine_Semantics_s.instr_annotation",
"Prims.list",
"Vale.X64.Machine_Semantics_s.machine_eval_code",
"FStar.Pervasives.Native.N... | [
"mutual recursion"
] | false | false | false | true | false | let rec machine_eval_codes (cs: codes) (fuel: nat) (s: machine_state)
: Tot (option machine_state) (decreases %[fuel;cs]) =
| match cs with
| [] -> Some s
| c' :: cs' ->
(match machine_eval_code c' fuel s with
| None -> None
| Some s' -> machine_eval_codes cs' fuel s') | false |
Vale.AES.X64.AESGCM.fsti | Vale.AES.X64.AESGCM.va_quick_AES_GCM_encrypt_6mult | val va_quick_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) | val va_quick_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) | let va_quick_AES_GCM_encrypt_6mult (alg:algorithm) (h_LE:quad32) (iv_b:buffer128) (in_b:buffer128)
(out_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq quad32))
(keys_b:buffer128) (hkeys_b:buffer128) : (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) =
(va_QProc (va_code_AES_GCM... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 183,
"start_col": 0,
"start_line": 172
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
iv_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
scratch_b: Vale.X64.Memory.buffer128 ->
key_words: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
round_keys: FSt... | Prims.Tot | [
"total"
] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.AES.X64.AESGCM.va_code_AES_GCM_encrypt_6mult",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.... | [] | false | false | false | false | false | let va_quick_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) =
| (va_QProc (va_code_AES_GCM_encrypt_6mult alg)
([
va_Mod_flags; va_Mod_mem_heaplet 3; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 6;
va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod_xmm 10;
va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_... | false |
Vale.AES.X64.AESGCM.fsti | Vale.AES.X64.AESGCM.va_wp_AES_GCM_encrypt_6mult | val va_wp_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_AES_GCM_encrypt_6mult (alg:algorithm) (h_LE:quad32) (iv_b:buffer128) (in_b:buffer128)
(out_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq quad32))
(keys_b:buffer128) (hkeys_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (sse_... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 155,
"start_col": 0,
"start_line": 98
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
iv_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
scratch_b: Vale.X64.Memory.buffer128 ->
key_words: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
round_keys: FSt... | Prims.Tot | [
"total"
] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.sse_enabled",
"Vale.X64.CPU_Features... | [] | false | false | false | true | true | let va_wp_AES_GCM_encrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(sse_enabled /\ movbe_enabled /\
Vale.X64.Decls.validDstAddrs128 (va_get_mem_heaplet 2 va_s0)
(va_get_reg64 rR8 va_s0)
iv_b
1
(va_get_mem_layout va_s0)
Public /\
Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 6 va_s0)
(va_get_reg64 rRdi va_s0)
... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.le_to_n_2 | val le_to_n_2 : LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | let le_to_n_2 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 2) 2) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 136,
"start_col": 0,
"start_line": 136
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.le_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let le_to_n_2 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 2) 2) | false | |
Vale.AES.X64.AESGCM.fsti | Vale.AES.X64.AESGCM.va_wp_AES_GCM_decrypt_6mult | val va_wp_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_AES_GCM_decrypt_6mult (alg:algorithm) (h_LE:quad32) (iv_b:buffer128) (in_b:buffer128)
(out_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq quad32))
(keys_b:buffer128) (hkeys_b:buffer128) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (sse_... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 54,
"end_line": 302,
"start_col": 0,
"start_line": 245
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
iv_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
scratch_b: Vale.X64.Memory.buffer128 ->
key_words: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
round_keys: FSt... | Prims.Tot | [
"total"
] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.sse_enabled",
"Vale.X64.CPU_Features... | [] | false | false | false | true | true | let va_wp_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(sse_enabled /\ movbe_enabled /\
Vale.X64.Decls.validDstAddrs128 (va_get_mem_heaplet 2 va_s0)
(va_get_reg64 rR8 va_s0)
iv_b
1
(va_get_mem_layout va_s0)
Public /\
Vale.X64.Decls.validSrcAddrs128 (va_get_mem_heaplet 6 va_s0)
(va_get_reg64 rRdi va_s0)
... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.le_to_n_3 | val le_to_n_3 : LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | let le_to_n_3 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 3) 3) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 146,
"start_col": 0,
"start_line": 146
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.le_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let le_to_n_3 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 3) 3) | false | |
Pulse.Elaborate.fst | Pulse.Elaborate.elab_comp_close_commute' | val elab_comp_close_commute' (c: comp) (v: var) (n: index)
: Lemma (ensures RT.subst_term (elab_comp c) [RT.ND v n] == elab_comp (close_comp' c v n))
(decreases c) | val elab_comp_close_commute' (c: comp) (v: var) (n: index)
: Lemma (ensures RT.subst_term (elab_comp c) [RT.ND v n] == elab_comp (close_comp' c v n))
(decreases c) | let elab_comp_close_commute' (c:comp) (v:var) (n:index)
: Lemma (ensures
RT.subst_term (elab_comp c) [ RT.ND v n ] ==
elab_comp (close_comp' c v n))
(decreases c)
= match c with
| C_Tot t -> elab_close_commute' t v n
| C_ST s
| C_STGhost s ->
elab_close_comm... | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 42,
"end_line": 131,
"start_col": 0,
"start_line": 115
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Elaborate.Core.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked... | [
{
"abbrev": false,
"full_module": "Pulse.Elaborate.Core",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 10,
"initial_ifuel": 10,
"max_fuel": 10,
"max_ifuel": 10,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencodin... | false | c: Pulse.Syntax.Base.comp -> v: Pulse.Syntax.Base.var -> n: Pulse.Syntax.Base.index
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_comp c)
[FStar.Reflection.Typing.ND v n] ==
Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.close_com... | FStar.Pervasives.Lemma | [
"lemma",
""
] | [] | [
"Pulse.Syntax.Base.comp",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.index",
"Pulse.Syntax.Base.term",
"Pulse.Elaborate.elab_close_commute'",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__post",
"Prims.op_Addition",
"Prims.unit",
"Pulse.Syntax.Base.__proj__Mkst_comp__it... | [] | false | false | true | false | false | let elab_comp_close_commute' (c: comp) (v: var) (n: index)
: Lemma (ensures RT.subst_term (elab_comp c) [RT.ND v n] == elab_comp (close_comp' c v n))
(decreases c) =
| match c with
| C_Tot t -> elab_close_commute' t v n
| C_ST s
| C_STGhost s ->
elab_close_commute' s.res v n;
elab_close_commute' s.pre v n;
elab_close_commute' s.post v (n + 1)
| C_STAtomic inames _ s ->
elab_close_commute' inames v n;
elab_close_commute' s.res v n;
elab_close_commute' s.pre v n;
elab_clo... | false |
Vale.AES.X64.AESGCM.fsti | Vale.AES.X64.AESGCM.va_quick_AES_GCM_decrypt_6mult | val va_quick_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_decrypt_6mult alg)) | val va_quick_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_decrypt_6mult alg)) | let va_quick_AES_GCM_decrypt_6mult (alg:algorithm) (h_LE:quad32) (iv_b:buffer128) (in_b:buffer128)
(out_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq quad32))
(keys_b:buffer128) (hkeys_b:buffer128) : (va_quickCode unit (va_code_AES_GCM_decrypt_6mult alg)) =
(va_QProc (va_code_AES_GCM... | {
"file_name": "obj/Vale.AES.X64.AESGCM.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 330,
"start_col": 0,
"start_line": 319
} | module Vale.AES.X64.AESGCM
open FStar.Mul
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open Vale.Def.Words_s
open Vale.Def.Types_s
open FStar.Seq
open Vale.AES.AES_s
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.InsMem
open Vale.X64.InsVector
op... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsVector.fsti.checked",
"Vale.X64.InsMem.fsti.checked",
"Vale.X64... | [
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt2",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.X64.AESopt",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.AES.GHash",
"short_module": null
},
{
"abbrev": false,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
alg: Vale.AES.AES_common_s.algorithm ->
h_LE: Vale.X64.Decls.quad32 ->
iv_b: Vale.X64.Memory.buffer128 ->
in_b: Vale.X64.Memory.buffer128 ->
out_b: Vale.X64.Memory.buffer128 ->
scratch_b: Vale.X64.Memory.buffer128 ->
key_words: FStar.Seq.Base.seq Vale.X64.Memory.nat32 ->
round_keys: FSt... | Prims.Tot | [
"total"
] | [] | [
"Vale.AES.AES_common_s.algorithm",
"Vale.X64.Decls.quad32",
"Vale.X64.Memory.buffer128",
"FStar.Seq.Base.seq",
"Vale.X64.Memory.nat32",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.AES.X64.AESGCM.va_code_AES_GCM_decrypt_6mult",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.... | [] | false | false | false | false | false | let va_quick_AES_GCM_decrypt_6mult
(alg: algorithm)
(h_LE: quad32)
(iv_b in_b out_b scratch_b: buffer128)
(key_words: (seq nat32))
(round_keys: (seq quad32))
(keys_b hkeys_b: buffer128)
: (va_quickCode unit (va_code_AES_GCM_decrypt_6mult alg)) =
| (va_QProc (va_code_AES_GCM_decrypt_6mult alg)
([
va_Mod_flags; va_Mod_mem_heaplet 3; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 6;
va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod_xmm 10;
va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.le_to_n_4 | val le_to_n_4 : LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | let le_to_n_4 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 4) 4) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 156,
"start_col": 0,
"start_line": 156
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.le_to_n_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.le_to_n_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let le_to_n_4 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_le_to_n (EI.bounded_integer 4) 4) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_le_1 | val parse32_bounded_integer_le_1
: parser32 (parse_bounded_integer_le 1) | val parse32_bounded_integer_le_1
: parser32 (parse_bounded_integer_le 1) | let parse32_bounded_integer_le_1 = parse32_bounded_integer_le' 1 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 64,
"end_line": 185,
"start_col": 0,
"start_line": 185
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer_le 1) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer_le'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_le_1 =
| parse32_bounded_integer_le' 1 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_le_2 | val parse32_bounded_integer_le_2
: parser32 (parse_bounded_integer_le 2) | val parse32_bounded_integer_le_2
: parser32 (parse_bounded_integer_le 2) | let parse32_bounded_integer_le_2 = parse32_bounded_integer_le' 2 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 64,
"end_line": 186,
"start_col": 0,
"start_line": 186
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer_le 2) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer_le'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_le_2 =
| parse32_bounded_integer_le' 2 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_le_4 | val parse32_bounded_integer_le_4
: parser32 (parse_bounded_integer_le 4) | val parse32_bounded_integer_le_4
: parser32 (parse_bounded_integer_le 4) | let parse32_bounded_integer_le_4 = parse32_bounded_integer_le' 4 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 64,
"end_line": 188,
"start_col": 0,
"start_line": 188
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer_le 4) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer_le'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_le_4 =
| parse32_bounded_integer_le' 4 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_le_3 | val parse32_bounded_integer_le_3
: parser32 (parse_bounded_integer_le 3) | val parse32_bounded_integer_le_3
: parser32 (parse_bounded_integer_le 3) | let parse32_bounded_integer_le_3 = parse32_bounded_integer_le' 3 | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 64,
"end_line": 187,
"start_col": 0,
"start_line": 187
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer_le 3) | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.BoundedInt.parse32_bounded_integer_le'"
] | [] | false | false | false | false | false | let parse32_bounded_integer_le_3 =
| parse32_bounded_integer_le' 3 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer' | val parse32_bounded_integer' (sz: integer_size) : Tot (parser32 (parse_bounded_integer sz)) | val parse32_bounded_integer' (sz: integer_size) : Tot (parser32 (parse_bounded_integer sz)) | let parse32_bounded_integer' (sz: integer_size) : Tot (parser32 (parse_bounded_integer sz)) =
[@inline_let]
let _ = decode_bounded_integer_injective sz in
make_total_constant_size_parser32 sz (U32.uint_to_t sz)
(decode_bounded_integer sz)
()
(decode32_bounded_integer sz) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 33,
"end_line": 77,
"start_col": 0,
"start_line": 71
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | sz: LowParse.Spec.BoundedInt.integer_size
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer sz) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.SLow.Combinators.make_total_constant_size_parser32",
"FStar.UInt32.uint_to_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.Spec.BoundedInt.decode_bounded_integer",
"LowParse.SLow.BoundedInt.decode32_bounded_integer",
"Prims.unit",
"LowParse.... | [] | false | false | false | false | false | let parse32_bounded_integer' (sz: integer_size) : Tot (parser32 (parse_bounded_integer sz)) =
| [@@ inline_let ]let _ = decode_bounded_integer_injective sz in
make_total_constant_size_parser32 sz
(U32.uint_to_t sz)
(decode_bounded_integer sz)
()
(decode32_bounded_integer sz) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.decode32_bounded_integer_1 | val decode32_bounded_integer_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == decode_bounded_integer 1 (B32.reveal b)}) | val decode32_bounded_integer_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == decode_bounded_integer 1 (B32.reveal b)}) | let decode32_bounded_integer_1
(b: B32.lbytes 1)
: Tot (y: bounded_integer 1 { y == decode_bounded_integer 1 (B32.reveal b) } )
= be_to_n_1 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 26,
"start_col": 0,
"start_line": 23
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 1
-> y:
LowParse.Spec.BoundedInt.bounded_integer 1
{y == LowParse.Spec.BoundedInt.decode_bounded_integer 1 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.be_to_n_1",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.decode_bounded_integer",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let decode32_bounded_integer_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == decode_bounded_integer 1 (B32.reveal b)}) =
| be_to_n_1 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.decode32_bounded_integer_2 | val decode32_bounded_integer_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == decode_bounded_integer 2 (B32.reveal b)}) | val decode32_bounded_integer_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == decode_bounded_integer 2 (B32.reveal b)}) | let decode32_bounded_integer_2
(b: B32.lbytes 2)
: Tot (y: bounded_integer 2 { y == decode_bounded_integer 2 (B32.reveal b) } )
= be_to_n_2 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 36,
"start_col": 0,
"start_line": 33
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 2
-> y:
LowParse.Spec.BoundedInt.bounded_integer 2
{y == LowParse.Spec.BoundedInt.decode_bounded_integer 2 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.be_to_n_2",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.decode_bounded_integer",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let decode32_bounded_integer_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == decode_bounded_integer 2 (B32.reveal b)}) =
| be_to_n_2 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_be_1 | val n_to_be_1 : LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | let n_to_be_1 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 1) 1) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 86,
"start_col": 0,
"start_line": 86
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_be_1 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 1) 1) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.decode32_bounded_integer_3 | val decode32_bounded_integer_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == decode_bounded_integer 3 (B32.reveal b)}) | val decode32_bounded_integer_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == decode_bounded_integer 3 (B32.reveal b)}) | let decode32_bounded_integer_3
(b: B32.lbytes 3)
: Tot (y: bounded_integer 3 { y == decode_bounded_integer 3 (B32.reveal b) } )
= be_to_n_3 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 46,
"start_col": 0,
"start_line": 43
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 3
-> y:
LowParse.Spec.BoundedInt.bounded_integer 3
{y == LowParse.Spec.BoundedInt.decode_bounded_integer 3 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.be_to_n_3",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.decode_bounded_integer",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let decode32_bounded_integer_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == decode_bounded_integer 3 (B32.reveal b)}) =
| be_to_n_3 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_3 | val serialize32_bounded_integer_3
: (serializer32 (serialize_bounded_integer 3)) | val serialize32_bounded_integer_3
: (serializer32 (serialize_bounded_integer 3)) | let serialize32_bounded_integer_3
: (serializer32 (serialize_bounded_integer 3))
= (fun (input: bounded_integer 3) ->
n_to_be_3 input) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 20,
"end_line": 112,
"start_col": 0,
"start_line": 109
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 3) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_be_3",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer",
"LowParse.Spec.BoundedInt.serialize_bounded_... | [] | false | false | false | false | false | let serialize32_bounded_integer_3:(serializer32 (serialize_bounded_integer 3)) =
| (fun (input: bounded_integer 3) -> n_to_be_3 input) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_2 | val serialize32_bounded_integer_2
: (serializer32 (serialize_bounded_integer 2)) | val serialize32_bounded_integer_2
: (serializer32 (serialize_bounded_integer 2)) | let serialize32_bounded_integer_2
: (serializer32 (serialize_bounded_integer 2))
= (fun (input: bounded_integer 2) ->
n_to_be_2 input) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 20,
"end_line": 102,
"start_col": 0,
"start_line": 99
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 2) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_be_2",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer",
"LowParse.Spec.BoundedInt.serialize_bounded_... | [] | false | false | false | false | false | let serialize32_bounded_integer_2:(serializer32 (serialize_bounded_integer 2)) =
| (fun (input: bounded_integer 2) -> n_to_be_2 input) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.decode32_bounded_integer | val decode32_bounded_integer (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == decode_bounded_integer sz (B32.reveal b)})
) | val decode32_bounded_integer (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == decode_bounded_integer sz (B32.reveal b)})
) | let decode32_bounded_integer
(sz: integer_size)
: Tot ((b: B32.lbytes sz) ->
Tot (y: bounded_integer sz { y == decode_bounded_integer sz (B32.reveal b) } )
)
= match sz with
| 1 -> decode32_bounded_integer_1
| 2 -> decode32_bounded_integer_2
| 3 -> decode32_bounded_integer_3
| 4 -> decode32_bounded_inte... | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 35,
"end_line": 68,
"start_col": 0,
"start_line": 59
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | sz: LowParse.Spec.BoundedInt.integer_size -> b: FStar.Bytes.lbytes sz
-> y:
LowParse.Spec.BoundedInt.bounded_integer sz
{y == LowParse.Spec.BoundedInt.decode_bounded_integer sz (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.SLow.BoundedInt.decode32_bounded_integer_1",
"LowParse.SLow.BoundedInt.decode32_bounded_integer_2",
"LowParse.SLow.BoundedInt.decode32_bounded_integer_3",
"LowParse.SLow.BoundedInt.decode32_bounded_integer_4",
"FStar.Bytes.lbytes",
"LowParse.Spec.Bounde... | [] | false | false | false | false | false | let decode32_bounded_integer (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == decode_bounded_integer sz (B32.reveal b)})
) =
| match sz with
| 1 -> decode32_bounded_integer_1
| 2 -> decode32_bounded_integer_2
| 3 -> decode32_bounded_integer_3
| 4 -> decode32_bounded_integer_4 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.decode32_bounded_integer_4 | val decode32_bounded_integer_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == decode_bounded_integer 4 (B32.reveal b)}) | val decode32_bounded_integer_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == decode_bounded_integer 4 (B32.reveal b)}) | let decode32_bounded_integer_4
(b: B32.lbytes 4)
: Tot (y: bounded_integer 4 { y == decode_bounded_integer 4 (B32.reveal b) } )
= be_to_n_4 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 56,
"start_col": 0,
"start_line": 53
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 4
-> y:
LowParse.Spec.BoundedInt.bounded_integer 4
{y == LowParse.Spec.BoundedInt.decode_bounded_integer 4 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.be_to_n_4",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.decode_bounded_integer",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let decode32_bounded_integer_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == decode_bounded_integer 4 (B32.reveal b)}) =
| be_to_n_4 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_1 | val serialize32_bounded_integer_1
: (serializer32 (serialize_bounded_integer 1)) | val serialize32_bounded_integer_1
: (serializer32 (serialize_bounded_integer 1)) | let serialize32_bounded_integer_1
: (serializer32 (serialize_bounded_integer 1))
= (fun (input: bounded_integer 1) ->
n_to_be_1 input) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 20,
"end_line": 92,
"start_col": 0,
"start_line": 89
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 1) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_be_1",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer",
"LowParse.Spec.BoundedInt.serialize_bounded_... | [] | false | false | false | false | false | let serialize32_bounded_integer_1:(serializer32 (serialize_bounded_integer 1)) =
| (fun (input: bounded_integer 1) -> n_to_be_1 input) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.bounded_integer_of_le_32_1 | val bounded_integer_of_le_32_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == bounded_integer_of_le 1 (B32.reveal b)}) | val bounded_integer_of_le_32_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == bounded_integer_of_le 1 (B32.reveal b)}) | let bounded_integer_of_le_32_1
(b: B32.lbytes 1)
: Tot (y: bounded_integer 1 { y == bounded_integer_of_le 1 (B32.reveal b) } )
= le_to_n_1 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 132,
"start_col": 0,
"start_line": 129
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 1
-> y:
LowParse.Spec.BoundedInt.bounded_integer 1
{y == LowParse.Spec.BoundedInt.bounded_integer_of_le 1 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.le_to_n_1",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.bounded_integer_of_le",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let bounded_integer_of_le_32_1 (b: B32.lbytes 1)
: Tot (y: bounded_integer 1 {y == bounded_integer_of_le 1 (B32.reveal b)}) =
| le_to_n_1 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_be_4 | val n_to_be_4 : LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | let n_to_be_4 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 4) 4) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 116,
"start_col": 0,
"start_line": 116
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_be_4 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 4) 4) | false | |
Vale.X64.Stack_i.fsti | Vale.X64.Stack_i.modifies_stack | val modifies_stack (lo_rsp hi_rsp: nat) (h h': vale_stack) : Vale.Def.Prop_s.prop0 | val modifies_stack (lo_rsp hi_rsp: nat) (h h': vale_stack) : Vale.Def.Prop_s.prop0 | let modifies_stack (lo_rsp hi_rsp:nat) (h h':vale_stack) : Vale.Def.Prop_s.prop0 =
forall addr . {:pattern (load_stack64 addr h') \/ (valid_src_stack64 addr h') }
valid_src_stack64 addr h /\ (addr + 8 <= lo_rsp || addr >= hi_rsp) ==>
valid_src_stack64 addr h' /\
load_stack64 addr h == load_stack64 add... | {
"file_name": "vale/code/arch/x64/Vale.X64.Stack_i.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 25,
"start_col": 0,
"start_line": 21
} | module Vale.X64.Stack_i
open FStar.Mul
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.Def.Prop_s
val vale_stack : Type u#0
val valid_src_stack64 (ptr:int) (h:vale_stack) : GTot bool
val load_stack64 (ptr:int) (h:vale_stack) : GTot nat64
val store_stack64 (ptr:int) (v:nat64) (h:vale_stack) : GTot vale_stack
v... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Def.Prop_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked"
],
"interface_file": false,
"source_file... | [
{
"abbrev": false,
"full_module": "Vale.Arch.MachineHeap",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "BS"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
lo_rsp: Prims.nat ->
hi_rsp: Prims.nat ->
h: Vale.X64.Stack_i.vale_stack ->
h': Vale.X64.Stack_i.vale_stack
-> Vale.Def.Prop_s.prop0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.X64.Stack_i.vale_stack",
"Prims.l_Forall",
"Prims.int",
"Prims.l_imp",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Stack_i.valid_src_stack64",
"Prims.op_BarBar",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_GreaterThanOrEqual",
"Prims.eq2",
"Vale.X64.Memory.nat64... | [] | false | false | false | true | false | let modifies_stack (lo_rsp hi_rsp: nat) (h h': vale_stack) : Vale.Def.Prop_s.prop0 =
| forall addr. {:pattern (load_stack64 addr h')\/(valid_src_stack64 addr h')}
valid_src_stack64 addr h /\ (addr + 8 <= lo_rsp || addr >= hi_rsp) ==>
valid_src_stack64 addr h' /\ load_stack64 addr h == load_stack64 addr h' | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_4 | val serialize32_bounded_integer_4
: (serializer32 (serialize_bounded_integer 4)) | val serialize32_bounded_integer_4
: (serializer32 (serialize_bounded_integer 4)) | let serialize32_bounded_integer_4
: (serializer32 (serialize_bounded_integer 4))
= (fun (input: bounded_integer 4) ->
n_to_be_4 input) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 20,
"end_line": 122,
"start_col": 0,
"start_line": 119
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer 4) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_be_4",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer",
"LowParse.Spec.BoundedInt.serialize_bounded_... | [] | false | false | false | false | false | let serialize32_bounded_integer_4:(serializer32 (serialize_bounded_integer 4)) =
| (fun (input: bounded_integer 4) -> n_to_be_4 input) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_be_3 | val n_to_be_3 : LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | let n_to_be_3 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 3) 3) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 106,
"start_col": 0,
"start_line": 106
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_be_3 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 3) 3) | false | |
Vale.X64.Stack_i.fsti | Vale.X64.Stack_i.valid_stack_slot64 | val valid_stack_slot64 : ptr: Prims.int ->
h: Vale.X64.Stack_i.vale_stack ->
t: Vale.Arch.HeapTypes_s.taint ->
stackTaint: Vale.X64.Memory.memtaint
-> Prims.logical | let valid_stack_slot64 (ptr:int) (h:vale_stack) (t:taint) (stackTaint:memtaint) =
valid_src_stack64 ptr h /\ valid_taint_stack64 ptr t stackTaint | {
"file_name": "vale/code/arch/x64/Vale.X64.Stack_i.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 113,
"start_col": 0,
"start_line": 112
} | module Vale.X64.Stack_i
open FStar.Mul
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.Def.Prop_s
val vale_stack : Type u#0
val valid_src_stack64 (ptr:int) (h:vale_stack) : GTot bool
val load_stack64 (ptr:int) (h:vale_stack) : GTot nat64
val store_stack64 (ptr:int) (v:nat64) (h:vale_stack) : GTot vale_stack
v... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Def.Prop_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked"
],
"interface_file": false,
"source_file... | [
{
"abbrev": false,
"full_module": "Vale.Arch.MachineHeap",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "BS"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
ptr: Prims.int ->
h: Vale.X64.Stack_i.vale_stack ->
t: Vale.Arch.HeapTypes_s.taint ->
stackTaint: Vale.X64.Memory.memtaint
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Prims.int",
"Vale.X64.Stack_i.vale_stack",
"Vale.Arch.HeapTypes_s.taint",
"Vale.X64.Memory.memtaint",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Stack_i.valid_src_stack64",
"Vale.X64.Stack_i.valid_taint_stack64",
"Prims.logical"
] | [] | false | false | false | true | true | let valid_stack_slot64 (ptr: int) (h: vale_stack) (t: taint) (stackTaint: memtaint) =
| valid_src_stack64 ptr h /\ valid_taint_stack64 ptr t stackTaint | false | |
Vale.X64.Stack_i.fsti | Vale.X64.Stack_i.valid_src_stack64s | val valid_src_stack64s (base num_slots: nat) (h: vale_stack) : Vale.Def.Prop_s.prop0 | val valid_src_stack64s (base num_slots: nat) (h: vale_stack) : Vale.Def.Prop_s.prop0 | let valid_src_stack64s (base num_slots:nat) (h:vale_stack) : Vale.Def.Prop_s.prop0 =
forall addr . {:pattern (valid_src_stack64 addr h)}
(base <= addr) && (addr < base + num_slots * 8) && (addr - base) % 8 = 0 ==>
valid_src_stack64 addr h | {
"file_name": "vale/code/arch/x64/Vale.X64.Stack_i.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 30,
"end_line": 30,
"start_col": 0,
"start_line": 27
} | module Vale.X64.Stack_i
open FStar.Mul
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.Def.Prop_s
val vale_stack : Type u#0
val valid_src_stack64 (ptr:int) (h:vale_stack) : GTot bool
val load_stack64 (ptr:int) (h:vale_stack) : GTot nat64
val store_stack64 (ptr:int) (v:nat64) (h:vale_stack) : GTot vale_stack
v... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Def.Prop_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked"
],
"interface_file": false,
"source_file... | [
{
"abbrev": false,
"full_module": "Vale.Arch.MachineHeap",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "BS"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | base: Prims.nat -> num_slots: Prims.nat -> h: Vale.X64.Stack_i.vale_stack -> Vale.Def.Prop_s.prop0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.X64.Stack_i.vale_stack",
"Prims.l_Forall",
"Prims.int",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.op_Equality",
"Prims.op_Modulus",
"Prims.op_Subtraction",
"Vale.X64.... | [] | false | false | false | true | false | let valid_src_stack64s (base num_slots: nat) (h: vale_stack) : Vale.Def.Prop_s.prop0 =
| forall addr. {:pattern (valid_src_stack64 addr h)}
(base <= addr) && (addr < base + num_slots * 8) && (addr - base) % 8 = 0 ==>
valid_src_stack64 addr h | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.bounded_integer_of_le_32_2 | val bounded_integer_of_le_32_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == bounded_integer_of_le 2 (B32.reveal b)}) | val bounded_integer_of_le_32_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == bounded_integer_of_le 2 (B32.reveal b)}) | let bounded_integer_of_le_32_2
(b: B32.lbytes 2)
: Tot (y: bounded_integer 2 { y == bounded_integer_of_le 2 (B32.reveal b) } )
= le_to_n_2 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 142,
"start_col": 0,
"start_line": 139
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 2
-> y:
LowParse.Spec.BoundedInt.bounded_integer 2
{y == LowParse.Spec.BoundedInt.bounded_integer_of_le 2 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.le_to_n_2",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.bounded_integer_of_le",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let bounded_integer_of_le_32_2 (b: B32.lbytes 2)
: Tot (y: bounded_integer 2 {y == bounded_integer_of_le 2 (B32.reveal b)}) =
| le_to_n_2 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_be_2 | val n_to_be_2 : LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | let n_to_be_2 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 2) 2) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 96,
"start_col": 0,
"start_line": 96
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_be_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_be_2 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_be (EI.bounded_integer 2) 2) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.bounded_integer_of_le_32_4 | val bounded_integer_of_le_32_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == bounded_integer_of_le 4 (B32.reveal b)}) | val bounded_integer_of_le_32_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == bounded_integer_of_le 4 (B32.reveal b)}) | let bounded_integer_of_le_32_4
(b: B32.lbytes 4)
: Tot (y: bounded_integer 4 { y == bounded_integer_of_le 4 (B32.reveal b) } )
= le_to_n_4 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 162,
"start_col": 0,
"start_line": 159
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 4
-> y:
LowParse.Spec.BoundedInt.bounded_integer 4
{y == LowParse.Spec.BoundedInt.bounded_integer_of_le 4 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.le_to_n_4",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.bounded_integer_of_le",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let bounded_integer_of_le_32_4 (b: B32.lbytes 4)
: Tot (y: bounded_integer 4 {y == bounded_integer_of_le 4 (B32.reveal b)}) =
| le_to_n_4 b | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.bounded_integer_of_le_32_3 | val bounded_integer_of_le_32_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == bounded_integer_of_le 3 (B32.reveal b)}) | val bounded_integer_of_le_32_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == bounded_integer_of_le 3 (B32.reveal b)}) | let bounded_integer_of_le_32_3
(b: B32.lbytes 3)
: Tot (y: bounded_integer 3 { y == bounded_integer_of_le 3 (B32.reveal b) } )
= le_to_n_3 b | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 152,
"start_col": 0,
"start_line": 149
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | b: FStar.Bytes.lbytes 3
-> y:
LowParse.Spec.BoundedInt.bounded_integer 3
{y == LowParse.Spec.BoundedInt.bounded_integer_of_le 3 (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"FStar.Bytes.lbytes",
"LowParse.SLow.BoundedInt.le_to_n_3",
"LowParse.Spec.BoundedInt.bounded_integer",
"Prims.eq2",
"LowParse.Spec.BoundedInt.bounded_integer_of_le",
"FStar.Bytes.reveal"
] | [] | false | false | false | false | false | let bounded_integer_of_le_32_3 (b: B32.lbytes 3)
: Tot (y: bounded_integer 3 {y == bounded_integer_of_le 3 (B32.reveal b)}) =
| le_to_n_3 b | false |
Vale.X64.Stack_i.fsti | Vale.X64.Stack_i.valid_stack_slot64s | val valid_stack_slot64s (base num_slots: nat) (h: vale_stack) (t: taint) (stackTaint: memtaint)
: Vale.Def.Prop_s.prop0 | val valid_stack_slot64s (base num_slots: nat) (h: vale_stack) (t: taint) (stackTaint: memtaint)
: Vale.Def.Prop_s.prop0 | let valid_stack_slot64s (base num_slots:nat) (h:vale_stack) (t:taint) (stackTaint:memtaint) : Vale.Def.Prop_s.prop0 =
forall addr . {:pattern (valid_src_stack64 addr h) \/ (valid_taint_stack64 addr t stackTaint) \/
(valid_stack_slot64 addr h t stackTaint)}
(base <= addr) && (addr < base + num_slots * 8) && (a... | {
"file_name": "vale/code/arch/x64/Vale.X64.Stack_i.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 71,
"end_line": 119,
"start_col": 0,
"start_line": 115
} | module Vale.X64.Stack_i
open FStar.Mul
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.Def.Prop_s
val vale_stack : Type u#0
val valid_src_stack64 (ptr:int) (h:vale_stack) : GTot bool
val load_stack64 (ptr:int) (h:vale_stack) : GTot nat64
val store_stack64 (ptr:int) (v:nat64) (h:vale_stack) : GTot vale_stack
v... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Def.Prop_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked"
],
"interface_file": false,
"source_file... | [
{
"abbrev": false,
"full_module": "Vale.Arch.MachineHeap",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "BS"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
base: Prims.nat ->
num_slots: Prims.nat ->
h: Vale.X64.Stack_i.vale_stack ->
t: Vale.Arch.HeapTypes_s.taint ->
stackTaint: Vale.X64.Memory.memtaint
-> Vale.Def.Prop_s.prop0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.X64.Stack_i.vale_stack",
"Vale.Arch.HeapTypes_s.taint",
"Vale.X64.Memory.memtaint",
"Prims.l_Forall",
"Prims.int",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_AmpAmp",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.op_Addition",
"FStar.Mul.op_Star",
"Prims.op_Equality... | [] | false | false | false | true | false | let valid_stack_slot64s (base num_slots: nat) (h: vale_stack) (t: taint) (stackTaint: memtaint)
: Vale.Def.Prop_s.prop0 =
| forall addr.
{:pattern
(valid_src_stack64 addr h)\/(valid_taint_stack64 addr t stackTaint)\/(valid_stack_slot64 addr
h
t
stackTaint)}
(base <= addr) && (addr < base + num_slots * 8) && (addr - base) % 8 = 0 ==>
valid_src_stack64 addr h /\ valid_taint_stack64 addr t stackTaint | false |
Vale.X64.Stack_i.fsti | Vale.X64.Stack_i.modifies_stacktaint | val modifies_stacktaint (lo_rsp hi_rsp: nat) (h h': memtaint) : Vale.Def.Prop_s.prop0 | val modifies_stacktaint (lo_rsp hi_rsp: nat) (h h': memtaint) : Vale.Def.Prop_s.prop0 | let modifies_stacktaint (lo_rsp hi_rsp:nat) (h h':memtaint) : Vale.Def.Prop_s.prop0 =
forall addr t. {:pattern (valid_taint_stack64 addr t h') }
(addr + 8 <= lo_rsp || addr >= hi_rsp) ==>
valid_taint_stack64 addr t h == valid_taint_stack64 addr t h' | {
"file_name": "vale/code/arch/x64/Vale.X64.Stack_i.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 124,
"start_col": 0,
"start_line": 121
} | module Vale.X64.Stack_i
open FStar.Mul
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.Def.Prop_s
val vale_stack : Type u#0
val valid_src_stack64 (ptr:int) (h:vale_stack) : GTot bool
val load_stack64 (ptr:int) (h:vale_stack) : GTot nat64
val store_stack64 (ptr:int) (v:nat64) (h:vale_stack) : GTot vale_stack
v... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.Def.Prop_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.Map.fsti.checked"
],
"interface_file": false,
"source_file... | [
{
"abbrev": false,
"full_module": "Vale.Arch.MachineHeap",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.X64.Machine_Semantics_s",
"short_module": "BS"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
lo_rsp: Prims.nat ->
hi_rsp: Prims.nat ->
h: Vale.X64.Memory.memtaint ->
h': Vale.X64.Memory.memtaint
-> Vale.Def.Prop_s.prop0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"Vale.X64.Memory.memtaint",
"Prims.l_Forall",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_BarBar",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_GreaterThanOrEqual",
"Prims.eq2",
"Vale.Def.Prop_s.prop0",
"Vale.X64.Stack_i.vali... | [] | false | false | false | true | false | let modifies_stacktaint (lo_rsp hi_rsp: nat) (h h': memtaint) : Vale.Def.Prop_s.prop0 =
| forall addr t. {:pattern (valid_taint_stack64 addr t h')}
(addr + 8 <= lo_rsp || addr >= hi_rsp) ==>
valid_taint_stack64 addr t h == valid_taint_stack64 addr t h' | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_le_2 | val n_to_le_2 : LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | let n_to_le_2 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 2) 2) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 213,
"start_col": 0,
"start_line": 213
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 2) 2 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_le_2 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 2) 2) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_u16_le | val parse32_u16_le : parser32 parse_u16_le | val parse32_u16_le : parser32 parse_u16_le | let parse32_u16_le =
parse32_synth'
_
synth_u16_le
parse32_bounded_integer_le_2
() | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 195,
"start_col": 0,
"start_line": 190
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 LowParse.Spec.BoundedInt.parse_u16_le | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.Combinators.parse32_synth'",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.bounded_integer",
"FStar.UInt16.t",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.synth_u16_le",
"LowParse.SLow.BoundedInt.parse32_bounded_integer... | [] | false | false | false | true | false | let parse32_u16_le =
| parse32_synth' _ synth_u16_le parse32_bounded_integer_le_2 () | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_integer_le' | val parse32_bounded_integer_le' (sz: integer_size) : Tot (parser32 (parse_bounded_integer_le sz)) | val parse32_bounded_integer_le' (sz: integer_size) : Tot (parser32 (parse_bounded_integer_le sz)) | let parse32_bounded_integer_le' (sz: integer_size) : Tot (parser32 (parse_bounded_integer_le sz)) =
[@inline_let]
let _ = bounded_integer_of_le_injective sz in
make_total_constant_size_parser32 sz (U32.uint_to_t sz)
(bounded_integer_of_le sz)
()
(bounded_integer_of_le_32 sz) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 33,
"end_line": 183,
"start_col": 0,
"start_line": 177
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | sz: LowParse.Spec.BoundedInt.integer_size
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_integer_le sz) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.SLow.Combinators.make_total_constant_size_parser32",
"FStar.UInt32.uint_to_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.Spec.BoundedInt.bounded_integer_of_le",
"LowParse.SLow.BoundedInt.bounded_integer_of_le_32",
"Prims.unit",
"LowParse.S... | [] | false | false | false | false | false | let parse32_bounded_integer_le' (sz: integer_size) : Tot (parser32 (parse_bounded_integer_le sz)) =
| [@@ inline_let ]let _ = bounded_integer_of_le_injective sz in
make_total_constant_size_parser32 sz
(U32.uint_to_t sz)
(bounded_integer_of_le sz)
()
(bounded_integer_of_le_32 sz) | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.bounded_integer_of_le_32 | val bounded_integer_of_le_32 (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == bounded_integer_of_le sz (B32.reveal b)})) | val bounded_integer_of_le_32 (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == bounded_integer_of_le sz (B32.reveal b)})) | let bounded_integer_of_le_32
(sz: integer_size)
: Tot ((b: B32.lbytes sz) ->
Tot (y: bounded_integer sz { y == bounded_integer_of_le sz (B32.reveal b) } )
)
= match sz with
| 1 -> bounded_integer_of_le_32_1
| 2 -> bounded_integer_of_le_32_2
| 3 -> bounded_integer_of_le_32_3
| 4 -> bounded_integer_of_le_... | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 35,
"end_line": 174,
"start_col": 0,
"start_line": 165
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | sz: LowParse.Spec.BoundedInt.integer_size -> b: FStar.Bytes.lbytes sz
-> y:
LowParse.Spec.BoundedInt.bounded_integer sz
{y == LowParse.Spec.BoundedInt.bounded_integer_of_le sz (FStar.Bytes.reveal b)} | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.integer_size",
"LowParse.SLow.BoundedInt.bounded_integer_of_le_32_1",
"LowParse.SLow.BoundedInt.bounded_integer_of_le_32_2",
"LowParse.SLow.BoundedInt.bounded_integer_of_le_32_3",
"LowParse.SLow.BoundedInt.bounded_integer_of_le_32_4",
"FStar.Bytes.lbytes",
"LowParse.Spec.Bounde... | [] | false | false | false | false | false | let bounded_integer_of_le_32 (sz: integer_size)
: Tot
(b: B32.lbytes sz -> Tot (y: bounded_integer sz {y == bounded_integer_of_le sz (B32.reveal b)})) =
| match sz with
| 1 -> bounded_integer_of_le_32_1
| 2 -> bounded_integer_of_le_32_2
| 3 -> bounded_integer_of_le_32_3
| 4 -> bounded_integer_of_le_32_4 | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_u16_le | val serialize32_u16_le : serializer32 serialize_u16_le | val serialize32_u16_le : serializer32 serialize_u16_le | let serialize32_u16_le =
serialize32_synth'
_
synth_u16_le
_
serialize32_bounded_integer_le_2
synth_u16_le_recip
() | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 239,
"start_col": 0,
"start_line": 232
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 LowParse.Spec.BoundedInt.serialize_u16_le | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.Combinators.serialize32_synth'",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.bounded_integer",
"FStar.UInt16.t",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.synth_u16_le",
"LowParse.Spec.BoundedInt.serialize_bounded_i... | [] | false | false | false | true | false | let serialize32_u16_le =
| serialize32_synth' _ synth_u16_le _ serialize32_bounded_integer_le_2 synth_u16_le_recip () | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_u32_le | val parse32_u32_le : parser32 parse_u32_le | val parse32_u32_le : parser32 parse_u32_le | let parse32_u32_le =
parse32_synth'
_
synth_u32_le
parse32_bounded_integer_le_4
() | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 202,
"start_col": 0,
"start_line": 197
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.parser32 LowParse.Spec.BoundedInt.parse_u32_le | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.Combinators.parse32_synth'",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.bounded_integer",
"FStar.UInt32.t",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.synth_u32_le",
"LowParse.SLow.BoundedInt.parse32_bounded_integer... | [] | false | false | false | true | false | let parse32_u32_le =
| parse32_synth' _ synth_u32_le parse32_bounded_integer_le_4 () | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_le_1 | val serialize32_bounded_integer_le_1 : serializer32 (serialize_bounded_integer_le 1) | val serialize32_bounded_integer_le_1 : serializer32 (serialize_bounded_integer_le 1) | let serialize32_bounded_integer_le_1 = fun (x: bounded_integer 1) ->
n_to_le_1 x | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 209,
"start_col": 0,
"start_line": 208
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 1) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_le_1",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.serialize_bound... | [] | false | false | false | false | false | let serialize32_bounded_integer_le_1 =
| fun (x: bounded_integer 1) -> n_to_le_1 x | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_u32_le | val serialize32_u32_le : serializer32 serialize_u32_le | val serialize32_u32_le : serializer32 serialize_u32_le | let serialize32_u32_le =
serialize32_synth'
_
synth_u32_le
_
serialize32_bounded_integer_le_4
synth_u32_le_recip
() | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 248,
"start_col": 0,
"start_line": 241
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 LowParse.Spec.BoundedInt.serialize_u32_le | Prims.Tot | [
"total"
] | [] | [
"LowParse.SLow.Combinators.serialize32_synth'",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.bounded_integer",
"FStar.UInt32.t",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.synth_u32_le",
"LowParse.Spec.BoundedInt.serialize_bounded_i... | [] | false | false | false | true | false | let serialize32_u32_le =
| serialize32_synth' _ synth_u32_le _ serialize32_bounded_integer_le_4 synth_u32_le_recip () | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_2 | val parse32_bounded_int32_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_2
min max
= parse32_bounded_int32' min max 2ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 36,
"end_line": 275,
"start_col": 0,
"start_line": 273
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 65536 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32
)
(FSta... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.parse32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bound... | [] | false | false | false | false | false | let parse32_bounded_int32_2 min max =
| parse32_bounded_int32' min max 2ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_le_1 | val n_to_le_1 : LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | let n_to_le_1 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 1) 1) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 206,
"start_col": 0,
"start_line": 206
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 1) 1 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_le_1 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 1) 1) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_le_3 | val n_to_le_3 : LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | let n_to_le_3 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 3) 3) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 220,
"start_col": 0,
"start_line": 220
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 3) 3 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_le_3 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 3) 3) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_le_3 | val serialize32_bounded_integer_le_3 : serializer32 (serialize_bounded_integer_le 3) | val serialize32_bounded_integer_le_3 : serializer32 (serialize_bounded_integer_le 3) | let serialize32_bounded_integer_le_3 = fun (x: bounded_integer 3) ->
n_to_le_3 x | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 223,
"start_col": 0,
"start_line": 222
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 3) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_le_3",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.serialize_bound... | [] | false | false | false | false | false | let serialize32_bounded_integer_le_3 =
| fun (x: bounded_integer 3) -> n_to_le_3 x | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.n_to_le_4 | val n_to_le_4 : LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | let n_to_le_4 = norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 4) 4) | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 112,
"end_line": 227,
"start_col": 0,
"start_line": 227
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Endianness.n_to_le_t (LowParse.Spec.Endianness.Instances.bounded_integer 4) 4 | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.delta_attr",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.iota",
"FStar.Pervasives.zeta",
"FStar.Pervasives.primops",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.BoundedInt.bounded_integer",
"LowP... | [] | false | false | false | false | false | let n_to_le_4 =
| norm [delta_attr [`%E.must_reduce]; iota; zeta; primops] (E.mk_n_to_le (EI.bounded_integer 4) 4) | false | |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_1 | val parse32_bounded_int32_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_1
min max
= parse32_bounded_int32' min max 1ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 36,
"end_line": 271,
"start_col": 0,
"start_line": 269
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 256 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32
)
(FStar.UIn... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"LowParse.SLow.BoundedInt.parse32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bound... | [] | false | false | false | false | false | let parse32_bounded_int32_1 min max =
| parse32_bounded_int32' min max 1ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_le_2 | val serialize32_bounded_integer_le_2 : serializer32 (serialize_bounded_integer_le 2) | val serialize32_bounded_integer_le_2 : serializer32 (serialize_bounded_integer_le 2) | let serialize32_bounded_integer_le_2 = fun (x: bounded_integer 2) ->
n_to_le_2 x | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 216,
"start_col": 0,
"start_line": 215
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 2) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_le_2",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.serialize_bound... | [] | false | false | false | false | false | let serialize32_bounded_integer_le_2 =
| fun (x: bounded_integer 2) -> n_to_le_2 x | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_le_2 | val parse32_bounded_int32_le_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_le_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_le_2
min max
= parse32_bounded_int32_le' min max 2ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 39,
"end_line": 348,
"start_col": 0,
"start_line": 346
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 65536 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32
)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.parse32_bounded_int32_le'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bo... | [] | false | false | false | false | false | let parse32_bounded_int32_le_2 min max =
| parse32_bounded_int32_le' min max 2ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_int32_1 | val serialize32_bounded_int32_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | val serialize32_bounded_int32_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | let serialize32_bounded_int32_1
min max
= serialize32_bounded_int32' min max 1ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 40,
"end_line": 308,
"start_col": 0,
"start_line": 306
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 256 }
-> LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v
min32)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"LowParse.SLow.BoundedInt.serialize32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.serializer32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Sp... | [] | false | false | false | false | false | let serialize32_bounded_int32_1 min max =
| serialize32_bounded_int32' min max 1ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_4 | val parse32_bounded_int32_4
(min32: U32.t)
(max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_4
(min32: U32.t)
(max32: U32.t { 16777216 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_4
min max
= parse32_bounded_int32' min max 4ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 36,
"end_line": 283,
"start_col": 0,
"start_line": 281
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 16777216 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 4294967296 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32
)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.parse32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bound... | [] | false | false | false | false | false | let parse32_bounded_int32_4 min max =
| parse32_bounded_int32' min max 4ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_integer_le_4 | val serialize32_bounded_integer_le_4 : serializer32 (serialize_bounded_integer_le 4) | val serialize32_bounded_integer_le_4 : serializer32 (serialize_bounded_integer_le 4) | let serialize32_bounded_integer_le_4 = fun (x: bounded_integer 4) ->
n_to_le_4 x | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 13,
"end_line": 230,
"start_col": 0,
"start_line": 229
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_integer_le 4) | Prims.Tot | [
"total"
] | [] | [
"LowParse.Spec.BoundedInt.bounded_integer",
"LowParse.SLow.BoundedInt.n_to_le_4",
"LowParse.SLow.Base.bytes32",
"LowParse.SLow.Base.serializer32_correct",
"LowParse.Spec.BoundedInt.parse_bounded_integer_kind",
"LowParse.Spec.BoundedInt.parse_bounded_integer_le",
"LowParse.Spec.BoundedInt.serialize_bound... | [] | false | false | false | false | false | let serialize32_bounded_integer_le_4 =
| fun (x: bounded_integer 4) -> n_to_le_4 x | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_int32_3 | val serialize32_bounded_int32_3
(min32: U32.t)
(max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | val serialize32_bounded_int32_3
(min32: U32.t)
(max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | let serialize32_bounded_int32_3
min max
= serialize32_bounded_int32' min max 3ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 40,
"end_line": 316,
"start_col": 0,
"start_line": 314
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 16777216 }
-> LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v
min32)... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.serialize32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.serializer32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Sp... | [] | false | false | false | false | false | let serialize32_bounded_int32_3 min max =
| serialize32_bounded_int32' min max 3ul | false |
Pulse.Elaborate.fst | Pulse.Elaborate.elab_comp_open_commute' | val elab_comp_open_commute' (c: comp) (v: term) (n: index)
: Lemma
(ensures RT.subst_term (elab_comp c) [RT.DT n (elab_term v)] == elab_comp (open_comp' c v n)) | val elab_comp_open_commute' (c: comp) (v: term) (n: index)
: Lemma
(ensures RT.subst_term (elab_comp c) [RT.DT n (elab_term v)] == elab_comp (open_comp' c v n)) | let elab_comp_open_commute' (c:comp) (v:term) (n:index)
: Lemma (ensures
RT.subst_term (elab_comp c) [ RT.DT n (elab_term v) ] ==
elab_comp (open_comp' c v n))
= match c with
| C_Tot t -> elab_open_commute' t v n
| C_ST s
| C_STGhost s ->
elab_open_commute' s.res v n;
... | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 41,
"end_line": 86,
"start_col": 0,
"start_line": 71
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Elaborate.Core.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.fsti.checked... | [
{
"abbrev": false,
"full_module": "Pulse.Elaborate.Core",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_modul... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 10,
"initial_ifuel": 10,
"max_fuel": 10,
"max_ifuel": 10,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencodin... | false | c: Pulse.Syntax.Base.comp -> v: Pulse.Syntax.Base.term -> n: Pulse.Syntax.Base.index
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_comp c)
[FStar.Reflection.Typing.DT n (Pulse.Elaborate.Pure.elab_term v)] ==
Pulse.Elaborate.Pure.elab_comp (Pul... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Pulse.Syntax.Base.comp",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.index",
"Pulse.Elaborate.elab_open_commute'",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__post",
"Prims.op_Addition",
"Prims.unit",
"Pulse.Syntax.Base.__proj__Mkst_comp__item__pre",
"Pulse.Syntax.Ba... | [] | false | false | true | false | false | let elab_comp_open_commute' (c: comp) (v: term) (n: index)
: Lemma
(ensures RT.subst_term (elab_comp c) [RT.DT n (elab_term v)] == elab_comp (open_comp' c v n)) =
| match c with
| C_Tot t -> elab_open_commute' t v n
| C_ST s
| C_STGhost s ->
elab_open_commute' s.res v n;
elab_open_commute' s.pre v n;
elab_open_commute' s.post v (n + 1)
| C_STAtomic inames _ s ->
elab_open_commute' inames v n;
elab_open_commute' s.res v n;
elab_open_commute' s.pre v n;
elab_open_commu... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_int32_le_1 | val serialize32_bounded_int32_le_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (serializer32 (serialize_bounded_int32_le (U32.v min32) (U32.v max32))) | val serialize32_bounded_int32_le_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (serializer32 (serialize_bounded_int32_le (U32.v min32) (U32.v max32))) | let serialize32_bounded_int32_le_1
min max
= serialize32_bounded_int32_le' min max 1ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 43,
"end_line": 384,
"start_col": 0,
"start_line": 382
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 256 }
-> LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v
min32)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"LowParse.SLow.BoundedInt.serialize32_bounded_int32_le'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.serializer32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse... | [] | false | false | false | false | false | let serialize32_bounded_int32_le_1 min max =
| serialize32_bounded_int32_le' min max 1ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_int32_2 | val serialize32_bounded_int32_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | val serialize32_bounded_int32_2
(min32: U32.t)
(max32: U32.t { 256 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 65536 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | let serialize32_bounded_int32_2
min max
= serialize32_bounded_int32' min max 2ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 40,
"end_line": 312,
"start_col": 0,
"start_line": 310
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 256 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 65536 }
-> LowParse.SLow.Base.serializer32 (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v
min32)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.serialize32_bounded_int32'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.serializer32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Sp... | [] | false | false | false | false | false | let serialize32_bounded_int32_2 min max =
| serialize32_bounded_int32' min max 2ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.serialize32_bounded_int32' | val serialize32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | val serialize32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) | let serialize32_bounded_int32'
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 })
(sz32: U32.t { log256' (U32.v max32) == U32.v sz32 })
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
= [@inline_let]
let sz = U32.v sz32 in
[@i... | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 304,
"start_col": 0,
"start_line": 286
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 4294967296 } ->
sz32:
FStar.UInt32.t{LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32) == FStar.UInt32.v sz32}
-> LowPars... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowParse.Spec.BoundedInt.log256'",
"LowParse.SLow.Combinators.serial... | [] | false | false | false | false | false | let serialize32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (serializer32 (serialize_bounded_int32 (U32.v min32) (U32.v max32))) =
| [@@ inline_let ]let sz = U32.v sz32 in
[@@ inline_let ]let min = U32.v min32 in
[@@ inline_let ]let max = U32.v max32 in
serialize32_synth ((parse_bounded_integer sz) `parse_filter` (in_bounds min max))
(fun x -> (x <: bounded_int32 min max))
_
(serialize32_filter (serialize32_bounded_integer sz) (in_bounds min m... | false |
Test.Vectors.Chacha20Poly1305.fst | Test.Vectors.Chacha20Poly1305.input9 | val input9:(b: B.buffer UInt8.t {B.length b = 1024 /\ B.recallable b /\ B.disjoint b aad9}) | val input9:(b: B.buffer UInt8.t {B.length b = 1024 /\ B.recallable b /\ B.disjoint b aad9}) | let input9: (b: B.buffer UInt8.t { B.length b = 1024 /\ B.recallable b /\ B.disjoint b aad9 }) =
B.recall aad9;[@inline_let] let l = [ 0x42uy; 0x93uy; 0xe4uy; 0xebuy; 0x97uy; 0xb0uy; 0x57uy; 0xbfuy; 0x1auy; 0x8buy; 0x1fuy; 0xe4uy; 0x5fuy; 0x36uy; 0x20uy; 0x3cuy; 0xefuy; 0x0auy; 0xa9uy; 0x48uy; 0x5fuy; 0x5fuy; 0x37... | {
"file_name": "providers/test/vectors/Test.Vectors.Chacha20Poly1305.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 38,
"end_line": 394,
"start_col": 0,
"start_line": 391
} | module Test.Vectors.Chacha20Poly1305
module B = LowStar.Buffer
#set-options "--max_fuel 0 --max_ifuel 0"
let key0: (b: B.buffer UInt8.t { B.length b = 32 /\ B.recallable b }) =
[@inline_let] let l = [ 0x1cuy; 0x92uy; 0x40uy; 0xa5uy; 0xebuy; 0x55uy; 0xd3uy; 0x8auy; 0xf3uy; 0x33uy; 0x88uy; 0x86uy; 0x04uy; 0xf6uy; 0x... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.List.Tot.fst.checked",
"FStar.HyperStack.fst.checked"
],
"interface_file": false,
"source_fil... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": false,
"full_module": "Test.Vectors",
"short_module": null
},
{
"abbrev": false,
"full_module": "Test.Vectors",
"short_module": null
},
{
"abbrev": false,
"full_module": "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... | false | b:
LowStar.Buffer.buffer FStar.UInt8.t
{ LowStar.Monotonic.Buffer.length b = 1024 /\ LowStar.Monotonic.Buffer.recallable b /\
LowStar.Monotonic.Buffer.disjoint b Test.Vectors.Chacha20Poly1305.aad9 } | Prims.Tot | [
"total"
] | [] | [
"LowStar.Buffer.gcmalloc_of_list",
"FStar.UInt8.t",
"FStar.Monotonic.HyperHeap.root",
"LowStar.Monotonic.Buffer.mbuffer",
"LowStar.Buffer.trivial_preorder",
"Prims.l_and",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"FStar.Pervasives.normalize_term",
"FStar.List.Tot.Base.length"... | [] | false | false | false | false | false | let input9:(b: B.buffer UInt8.t {B.length b = 1024 /\ B.recallable b /\ B.disjoint b aad9}) =
| B.recall aad9;
[@@ inline_let ]let l =
[
0x42uy; 0x93uy; 0xe4uy; 0xebuy; 0x97uy; 0xb0uy; 0x57uy; 0xbfuy; 0x1auy; 0x8buy; 0x1fuy; 0xe4uy;
0x5fuy; 0x36uy; 0x20uy; 0x3cuy; 0xefuy; 0x0auy; 0xa9uy; 0x48uy; 0x5fuy; 0x5fuy; 0x37uy; 0x22uy;
0x3auy; 0xdeuy; 0xe3uy; 0xaeuy; 0xbeuy; 0xaduy; 0x07uy; 0xccuy; 0xb1uy; 0... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_le_3 | val parse32_bounded_int32_le_3
(min32: U32.t)
(max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_le_3
(min32: U32.t)
(max32: U32.t { 65536 <= U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 16777216 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_le_3
min max
= parse32_bounded_int32_le' min max 3ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 39,
"end_line": 352,
"start_col": 0,
"start_line": 350
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 65536 <= FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 16777216 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32
)
... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"FStar.UInt32.v",
"Prims.op_LessThan",
"LowParse.SLow.BoundedInt.parse32_bounded_int32_le'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bo... | [] | false | false | false | false | false | let parse32_bounded_int32_le_3 min max =
| parse32_bounded_int32_le' min max 3ul | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32' | val parse32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | val parse32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) | let parse32_bounded_int32'
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 })
(sz32: U32.t { log256' (U32.v max32) == U32.v sz32 })
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32)))
= [@inline_let]
let sz = U32.v sz32 in
[@inline_let]
... | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 6,
"end_line": 267,
"start_col": 0,
"start_line": 251
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 4294967296 } ->
sz32:
FStar.UInt32.t{LowParse.Spec.BoundedInt.log256' (FStar.UInt32.v max32) == FStar.UInt32.v sz32}
-> LowPars... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowParse.Spec.BoundedInt.log256'",
"LowParse.SLow.Combinators.parse3... | [] | false | false | false | false | false | let parse32_bounded_int32'
(min32: U32.t)
(max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296})
(sz32: U32.t{log256' (U32.v max32) == U32.v sz32})
: Tot (parser32 (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
| [@@ inline_let ]let sz = U32.v sz32 in
[@@ inline_let ]let min = U32.v min32 in
[@@ inline_let ]let max = U32.v max32 in
parse32_synth ((parse_bounded_integer sz) `parse_filter` (in_bounds min max))
(fun x -> (x <: bounded_int32 min max))
(fun x -> x)
(parse32_filter (parse32_bounded_integer sz)
(in_bounds ... | false |
LowParse.SLow.BoundedInt.fst | LowParse.SLow.BoundedInt.parse32_bounded_int32_le_1 | val parse32_bounded_int32_le_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | val parse32_bounded_int32_le_1
(min32: U32.t)
(max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 256 })
: Tot (parser32 (parse_bounded_int32_le (U32.v min32) (U32.v max32))) | let parse32_bounded_int32_le_1
min max
= parse32_bounded_int32_le' min max 1ul | {
"file_name": "src/lowparse/LowParse.SLow.BoundedInt.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 39,
"end_line": 344,
"start_col": 0,
"start_line": 342
} | module LowParse.SLow.BoundedInt
open LowParse.SLow.Combinators
#set-options "--split_queries no"
#set-options "--z3rlimit 20"
module Seq = FStar.Seq
module U8 = FStar.UInt8
module U16 = FStar.UInt16
module U32 = FStar.UInt32
module B32 = FStar.Bytes
module E = LowParse.SLow.Endianness
module EI = LowParse.Spec.Endia... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.Instances.fst.checked",
"LowParse.Spec.BoundedInt.fst.checked",
"LowParse.SLow.Endianness.fst.checked",
"LowParse.SLow.Combinators.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked"... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowParse.Spec.Endianness.Instances",
"short_module": "EI"
},
{
"abbrev": true,
"full_module": "LowParse.SLow.Endianness",
"short_module": "E"
},
{
"abbre... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
min32: FStar.UInt32.t ->
max32:
FStar.UInt32.t
{ 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\
FStar.UInt32.v max32 < 256 }
-> LowParse.SLow.Base.parser32 (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32
)
(FSta... | Prims.Tot | [
"total"
] | [] | [
"FStar.UInt32.t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"Prims.op_LessThanOrEqual",
"LowParse.SLow.BoundedInt.parse32_bounded_int32_le'",
"FStar.UInt32.__uint_to_t",
"LowParse.SLow.Base.parser32",
"LowParse.Spec.BoundedInt.parse_bounded_int32_kind",
"LowParse.Spec.Bo... | [] | false | false | false | false | false | let parse32_bounded_int32_le_1 min max =
| parse32_bounded_int32_le' min max 1ul | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.