effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FStar.Pervasives.Lemma | val lemma_push_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Push? ins)
(ensures
(let b, ts' = check_if_push_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) | [
{
"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"... | false | let lemma_push_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma
(requires BC.Push? ins)
(ensures (
let (b, ts') = check_if_push_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_push_consumes_fixed_time i... | val lemma_push_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Push? ins)
(ensures
(let b, ts' = check_if_push_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts))
let lemma_push_leakage_free (ts: analysis_ta... | false | null | true | let b, ts' = check_if_push_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)
[S... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"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... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_push_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Push? ins)
(ensures
(let b, ts' = check_if_push_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)) | [] | Vale.X64.Leakage_Ins.lemma_push_leakage_free | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins
-> FStar.Pervasives.Lemma (requires Push? ins)
(ensures
(let _ = Vale.X64.Leakage_Ins.check_if_push_consumes_fixed_time ins ts in
(let FStar.Pervasives.Native.Mktuple2 #_ #_ b ts' = _ in
b ==>
... | {
"end_col": 3,
"end_line": 744,
"start_col": 3,
"start_line": 710
} |
FStar.Pervasives.Lemma | val lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.... | [
{
"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"... | false | let lemma_vpxor_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma
(requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins))
(ensures (
let (b, ts') = check_if_vpxor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts
))
=
... | val lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.... | false | null | true | let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateVPxor eq) = ins in
let oprs:normal (instr_operands_t [out opXmm] [opXmm; opXmm]) =
coerce_to_normal #(instr_operands_t [out opXmm] [opXmm; opXmm]) oprs
in
let _, (o1, (o2, ())) = oprs in
if o1 = o2 then Vale.Arch.Types.lemma_quad32_xor () el... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"lemma"
] | [
"Vale.X64.Leakage_Helpers.analysis_taints",
"Vale.X64.Machine_Semantics_s.ins",
"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.Instru... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 4,
"initial_ifuel": 2,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.... | [] | Vale.X64.Leakage_Ins.lemma_vpxor_leakage_free | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins
-> FStar.Pervasives.Lemma (requires Instr? ins /\ AnnotateVPxor? (Instr?.annotation ins))
(ensures
(let _ = Vale.X64.Leakage_Ins.check_if_vpxor_consumes_fixed_time ins ts in
(let FStar.Pervasives.Native.Mktup... | {
"end_col": 35,
"end_line": 828,
"start_col": 3,
"start_line": 820
} |
FStar.Pervasives.Lemma | val lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_xor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)... | [
{
"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"... | false | let lemma_xor_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma
(requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins))
(ensures (
let (b, ts') = check_if_xor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts
))
=
let ... | val lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_xor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)... | false | null | true | let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateXor64 eq) = ins in
let oprs:normal (instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) =
coerce_to_normal #(instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) oprs
in
let o1, (o2, ()) = oprs in
if o1 = o2
th... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"lemma"
] | [
"Vale.X64.Leakage_Helpers.analysis_taints",
"Vale.X64.Machine_Semantics_s.ins",
"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.Instru... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 4,
"initial_ifuel": 2,
"max_fuel": 4,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins)
: Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins))
(ensures
(let b, ts' = check_if_xor_consumes_fixed_time ins ts in
b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)... | [] | Vale.X64.Leakage_Ins.lemma_xor_leakage_free | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins
-> FStar.Pervasives.Lemma (requires Instr? ins /\ AnnotateXor64? (Instr?.annotation ins))
(ensures
(let _ = Vale.X64.Leakage_Ins.check_if_xor_consumes_fixed_time ins ts in
(let FStar.Pervasives.Native.Mktuple... | {
"end_col": 35,
"end_line": 796,
"start_col": 3,
"start_line": 788
} |
FStar.Pervasives.Lemma | val lemma_instr_set_taints_implicit
(i: instr_operand_implicit)
(v1 v2: instr_val_t (IOpIm i))
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in
let... | [
{
"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"... | false | let lemma_instr_set_taints_implicit
(i:instr_operand_implicit) (v1 v2:instr_val_t (IOpIm i))
(ts_orig ts:analysis_taints) (t_out:taint)
(s1_orig s1 s2_orig s2:S.machine_state)
: Lemma
(requires (
let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in
let s2' = S.instr_write_output_impl... | val lemma_instr_set_taints_implicit
(i: instr_operand_implicit)
(v1 v2: instr_val_t (IOpIm i))
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in
let... | false | null | true | allow_inversion maddr;
allow_inversion tmaddr;
allow_inversion operand64;
allow_inversion operand128;
lemma_preserve_valid64 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap);
lemma_preserve_valid64 (heap_get s2_orig.S.ms_heap) (heap_get s2.S.ms_heap);
lemma_preserve_valid128 (heap_get s1_orig.S.ms_heap) (heap_get s... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"lemma"
] | [
"Vale.X64.Instruction_s.instr_operand_implicit",
"Vale.X64.Instruction_s.instr_val_t",
"Vale.X64.Instruction_s.IOpIm",
"Vale.X64.Leakage_Helpers.analysis_taints",
"Vale.Arch.HeapTypes_s.taint",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.unit",
"FStar.Pervasives.reveal_opaque",
"Prims.int",... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_set_taints_implicit
(i: instr_operand_implicit)
(v1 v2: instr_val_t (IOpIm i))
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in
let... | [] | Vale.X64.Leakage_Ins.lemma_instr_set_taints_implicit | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Instruction_s.instr_operand_implicit ->
v1: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm i) ->
v2: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm i) ->
ts_orig: Vale.X64.Leakage_Helpers.analysis_taints ->
ts: Vale.X64.Leakage_Helpers.analysis_taints... | {
"end_col": 4,
"end_line": 445,
"start_col": 2,
"start_line": 436
} |
FStar.Pervasives.Lemma | val lemma_instr_set_taints_explicit
(i: instr_operand_explicit)
(v1 v2: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_explicit i v... | [
{
"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"... | false | let lemma_instr_set_taints_explicit
(i:instr_operand_explicit) (v1 v2:instr_val_t (IOpEx i)) (o:instr_operand_t i)
(ts_orig ts:analysis_taints) (t_out:taint)
(s1_orig s1 s2_orig s2:S.machine_state)
: Lemma
(requires (
let s1' = S.instr_write_output_explicit i v1 o s1_orig s1 in
let s2' = S... | val lemma_instr_set_taints_explicit
(i: instr_operand_explicit)
(v1 v2: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_explicit i v... | false | null | true | allow_inversion maddr;
allow_inversion tmaddr;
lemma_preserve_valid64 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap);
lemma_preserve_valid64 (heap_get s2_orig.S.ms_heap) (heap_get s2.S.ms_heap);
lemma_preserve_valid128 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap);
lemma_preserve_valid128 (heap_get s2_orig... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"lemma"
] | [
"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.Leakage_Helpers.analysis_taints",
"Vale.Arch.HeapTypes_s.taint",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.unit",
"FSt... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_instr_set_taints_explicit
(i: instr_operand_explicit)
(v1 v2: instr_val_t (IOpEx i))
(o: instr_operand_t i)
(ts_orig ts: analysis_taints)
(t_out: taint)
(s1_orig s1 s2_orig s2: S.machine_state)
: Lemma
(requires
(let s1' = S.instr_write_output_explicit i v... | [] | Vale.X64.Leakage_Ins.lemma_instr_set_taints_explicit | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
i: Vale.X64.Instruction_s.instr_operand_explicit ->
v1: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx i) ->
v2: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx i) ->
o: Vale.X64.Instruction_s.instr_operand_t i ->
ts_orig: Vale.X64.Leakage_Helpers.analysis_taints ... | {
"end_col": 4,
"end_line": 409,
"start_col": 2,
"start_line": 402
} |
FStar.Pervasives.Lemma | 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)) | [
{
"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"... | 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 t... | 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... | false | null | true | 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... | {
"checked_file": "Vale.X64.Leakage_Ins.fst.checked",
"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.ch... | [
"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... | [] | 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 (.[]<-) =... | false | false | Vale.X64.Leakage_Ins.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 1,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lemma_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)) | [] | Vale.X64.Leakage_Ins.lemma_pop_leakage_free | {
"file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | 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 ==>
... | {
"end_col": 3,
"end_line": 779,
"start_col": 3,
"start_line": 753
} |
Prims.Tot | val prot:Type u#1 | [
{
"abbrev": false,
"full_module": "Steel.Effect",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Memory",
"short_module": null
},
{
"abbrev": false,
"full_module": "Steel.Channel.Protocol",
"short_module": null
},
{
"abbrev": false,
"full_mod... | false | let prot : Type u#1 = protocol unit | val prot:Type u#1
let prot:Type u#1 = | false | null | false | protocol unit | {
"checked_file": "Steel.Channel.Simplex.fsti.checked",
"dependencies": [
"Steel.Memory.fsti.checked",
"Steel.Effect.fsti.checked",
"Steel.Channel.Protocol.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Steel.Channel.Simplex.f... | [
"total"
] | [
"Steel.Channel.Protocol.protocol",
"Prims.unit"
] | [] | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | false | true | Steel.Channel.Simplex.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val prot:Type u#1 | [] | Steel.Channel.Simplex.prot | {
"file_name": "lib/steel/Steel.Channel.Simplex.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | Type | {
"end_col": 35,
"end_line": 31,
"start_col": 22,
"start_line": 31
} |
FStar.Tactics.Effect.Tac | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let fail (#a:Type) (m:string) = raise #a (TacticFailure m) | let fail (#a: Type) (m: string) = | true | null | false | raise #a (TacticFailure m) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.string",
"FStar.Tactics.Effect.raise",
"FStar.Tactics.Common.TacticFailure"
] | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val fail : m: Prims.string -> FStar.Tactics.Effect.Tac a | [] | FStar.Tactics.V2.SyntaxHelpers.fail | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | m: Prims.string -> FStar.Tactics.Effect.Tac a | {
"end_col": 58,
"end_line": 49,
"start_col": 32,
"start_line": 49
} | |
FStar.Tactics.Effect.Tac | val collect_arr : typ -> Tac (list typ * comp) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let collect_arr t =
let (bs, c) = collect_arr' [] (C_Total t) in
let ts = List.Tot.Base.map (fun (b:binder) -> b.sort) bs in
(List.Tot.Base.rev ts, c) | val collect_arr : typ -> Tac (list typ * comp)
let collect_arr t = | true | null | false | let bs, c = collect_arr' [] (C_Total t) in
let ts = List.Tot.Base.map (fun (b: binder) -> b.sort) bs in
(List.Tot.Base.rev ts, c) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"FStar.Reflection.Types.typ",
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.comp",
"FStar.Pervasives.Native.Mktuple2",
"FStar.List.Tot.Base.rev",
"FStar.List.Tot.Base.map",
"FStar.Tactics.NamedView.__proj__Mkbinder__item__sort",
"FStar.Pervasives.Native.tuple2",
"FStar.T... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_arr : typ -> Tac (list typ * comp) | [] | FStar.Tactics.V2.SyntaxHelpers.collect_arr | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.typ
-> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.typ * FStar.Tactics.NamedView.comp) | {
"end_col": 29,
"end_line": 33,
"start_col": 19,
"start_line": 30
} |
FStar.Tactics.Effect.Tac | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let collect_app = collect_app' [] | let collect_app = | true | null | false | collect_app' [] | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"FStar.Tactics.V2.SyntaxHelpers.collect_app'",
"Prims.Nil",
"FStar.Reflection.V2.Data.argv"
] | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_app : t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(FStar.Tactics.NamedView.term * Prims.list FStar.Reflection.V2.Data.argv) | [] | FStar.Tactics.V2.SyntaxHelpers.collect_app | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(FStar.Tactics.NamedView.term * Prims.list FStar.Reflection.V2.Data.argv) | {
"end_col": 33,
"end_line": 88,
"start_col": 18,
"start_line": 88
} | |
FStar.Tactics.Effect.Tac | val collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec collect_abs' (bs : list binder) (t : term) : Tac (list binder * term) (decreases t) =
match inspect t with
| Tv_Abs b t' ->
collect_abs' (b::bs) t'
| _ -> (bs, t) | val collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t)
let rec collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t) = | true | null | false | match inspect t with
| Tv_Abs b t' -> collect_abs' (b :: bs) t'
| _ -> (bs, t) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [
""
] | [
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.SyntaxHelpers.collect_abs'",
"Prims.Cons",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.NamedView.named_term_view",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Tactics.NamedView.inspect"
] | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t) | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.collect_abs' | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | bs: Prims.list FStar.Tactics.NamedView.binder -> t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(Prims.list FStar.Tactics.NamedView.binder * FStar.Tactics.NamedView.term) | {
"end_col": 18,
"end_line": 40,
"start_col": 4,
"start_line": 37
} |
FStar.Tactics.Effect.Tac | val collect_arr_bs : typ -> Tac (list binder * comp) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let collect_arr_bs t =
let (bs, c) = collect_arr' [] (C_Total t) in
(List.Tot.Base.rev bs, c) | val collect_arr_bs : typ -> Tac (list binder * comp)
let collect_arr_bs t = | true | null | false | let bs, c = collect_arr' [] (C_Total t) in
(List.Tot.Base.rev bs, c) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"FStar.Reflection.Types.typ",
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.comp",
"FStar.Pervasives.Native.Mktuple2",
"FStar.List.Tot.Base.rev",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.V2.SyntaxHelpers.collect_arr'",
"Prims.Nil",
"FStar.Reflection.V2.Data.C_Tot... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_arr_bs : typ -> Tac (list binder * comp) | [] | FStar.Tactics.V2.SyntaxHelpers.collect_arr_bs | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.typ
-> FStar.Tactics.Effect.Tac
(Prims.list FStar.Tactics.NamedView.binder * FStar.Tactics.NamedView.comp) | {
"end_col": 29,
"end_line": 27,
"start_col": 22,
"start_line": 25
} |
FStar.Tactics.Effect.Tac | val collect_abs : term -> Tac (list binder * term) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let collect_abs t =
let (bs, t') = collect_abs' [] t in
(List.Tot.Base.rev bs, t') | val collect_abs : term -> Tac (list binder * term)
let collect_abs t = | true | null | false | let bs, t' = collect_abs' [] t in
(List.Tot.Base.rev bs, t') | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"FStar.Tactics.NamedView.term",
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Pervasives.Native.Mktuple2",
"FStar.List.Tot.Base.rev",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.V2.SyntaxHelpers.collect_abs'",
"Prims.Nil"
] | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_abs : term -> Tac (list binder * term) | [] | FStar.Tactics.V2.SyntaxHelpers.collect_abs | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(Prims.list FStar.Tactics.NamedView.binder * FStar.Tactics.NamedView.term) | {
"end_col": 30,
"end_line": 45,
"start_col": 19,
"start_line": 43
} |
FStar.Tactics.Effect.Tac | val collect_app' (args: list argv) (t: term) : Tac (term * list argv) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec collect_app' (args : list argv) (t : term)
: Tac (term * list argv) =
match inspect_unascribe t with
| Tv_App l r ->
collect_app' (r::args) l
| _ -> (t, args) | val collect_app' (args: list argv) (t: term) : Tac (term * list argv)
let rec collect_app' (args: list argv) (t: term) : Tac (term * list argv) = | true | null | false | match inspect_unascribe t with
| Tv_App l r -> collect_app' (r :: args) l
| _ -> (t, args) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.list",
"FStar.Reflection.V2.Data.argv",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.V2.SyntaxHelpers.collect_app'",
"Prims.Cons",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.NamedView.named_term_view",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Tactics.NamedView.term_view",
"Prims.b... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_app' (args: list argv) (t: term) : Tac (term * list argv) | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.collect_app' | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | args: Prims.list FStar.Reflection.V2.Data.argv -> t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(FStar.Tactics.NamedView.term * Prims.list FStar.Reflection.V2.Data.argv) | {
"end_col": 20,
"end_line": 86,
"start_col": 4,
"start_line": 83
} |
FStar.Tactics.Effect.Tac | val collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) =
begin match c with
| C_Total t ->
begin match inspect t with
| Tv_Arrow b c ->
collect_arr' (b::bs) c
| _ ->
(bs, c)
end
| _ -> (bs, c)
end | val collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp)
let rec collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp) = | true | null | false | match c with
| C_Total t ->
(match inspect t with
| Tv_Arrow b c -> collect_arr' (b :: bs) c
| _ -> (bs, c))
| _ -> (bs, c) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.comp",
"FStar.Reflection.Types.typ",
"FStar.Tactics.V2.SyntaxHelpers.collect_arr'",
"Prims.Cons",
"FStar.Pervasives.Native.tuple2",
"FStar.Tactics.NamedView.named_term_view",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Tactics... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp) | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.collect_arr' | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | bs: Prims.list FStar.Tactics.NamedView.binder -> c: FStar.Tactics.NamedView.comp
-> FStar.Tactics.Effect.Tac
(Prims.list FStar.Tactics.NamedView.binder * FStar.Tactics.NamedView.comp) | {
"end_col": 18,
"end_line": 21,
"start_col": 10,
"start_line": 13
} |
FStar.Tactics.Effect.Tac | val lookup_lb (lbs: list letbinding) (nm: name) : Tac letbinding | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let lookup_lb (lbs:list letbinding) (nm:name) : Tac letbinding =
let o = FStar.List.Tot.Base.find
(fun lb -> (inspect_fv lb.lb_fv) = nm)
lbs
in
match o with
| Some lb -> lb
| None -> fail "lookup_letbinding: Name not in let group" | val lookup_lb (lbs: list letbinding) (nm: name) : Tac letbinding
let lookup_lb (lbs: list letbinding) (nm: name) : Tac letbinding = | true | null | false | let o = FStar.List.Tot.Base.find (fun lb -> (inspect_fv lb.lb_fv) = nm) lbs in
match o with
| Some lb -> lb
| None -> fail "lookup_letbinding: Name not in let group" | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.list",
"FStar.Tactics.NamedView.letbinding",
"FStar.Reflection.Types.name",
"Prims.b2t",
"Prims.op_Equality",
"FStar.Reflection.V2.Builtins.inspect_fv",
"FStar.Tactics.NamedView.__proj__Mkletbinding__item__lb_fv",
"FStar.Tactics.V2.SyntaxHelpers.fail",
"FStar.Pervasives.Native.option",
"FSt... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lookup_lb (lbs: list letbinding) (nm: name) : Tac letbinding | [] | FStar.Tactics.V2.SyntaxHelpers.lookup_lb | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | lbs: Prims.list FStar.Tactics.NamedView.letbinding -> nm: FStar.Reflection.Types.name
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.letbinding | {
"end_col": 59,
"end_line": 71,
"start_col": 64,
"start_line": 64
} |
FStar.Tactics.Effect.Tac | val mk_tot_arr (bs: list binder) (cod: term) : Tac term | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec mk_tot_arr (bs: list binder) (cod : term) : Tac term =
match bs with
| [] -> cod
| (b::bs) ->
pack (Tv_Arrow b (C_Total (mk_tot_arr bs cod))) | val mk_tot_arr (bs: list binder) (cod: term) : Tac term
let rec mk_tot_arr (bs: list binder) (cod: term) : Tac term = | true | null | false | match bs with
| [] -> cod
| b :: bs -> pack (Tv_Arrow b (C_Total (mk_tot_arr bs cod))) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.NamedView.pack",
"FStar.Tactics.NamedView.named_term_view",
"FStar.Tactics.NamedView.Tv_Arrow",
"FStar.Tactics.NamedView.comp",
"FStar.Reflection.V2.Data.C_Total",
"FStar.Reflection.Types.typ",
"FStar.Ta... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_tot_arr (bs: list binder) (cod: term) : Tac term | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.mk_tot_arr | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | bs: Prims.list FStar.Tactics.NamedView.binder -> cod: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term | {
"end_col": 53,
"end_line": 62,
"start_col": 4,
"start_line": 59
} |
FStar.Tactics.Effect.Tac | val inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv}) | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec inspect_unascribe (t:term) : Tac (tv:term_view{notAscription tv}) =
match inspect t with
| Tv_AscribedT t _ _ _
| Tv_AscribedC t _ _ _ ->
inspect_unascribe t
| tv -> tv | val inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv})
let rec inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv}) = | true | null | false | match inspect t with
| Tv_AscribedT t _ _ _ | Tv_AscribedC t _ _ _ -> inspect_unascribe t
| tv -> tv | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"FStar.Tactics.NamedView.term",
"FStar.Pervasives.Native.option",
"Prims.bool",
"FStar.Tactics.V2.SyntaxHelpers.inspect_unascribe",
"FStar.Tactics.NamedView.term_view",
"Prims.b2t",
"FStar.Tactics.NamedView.notAscription",
"FStar.Tactics.NamedView.comp",
"FStar.Tactics.NamedView.named_term_view",
... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv}) | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.inspect_unascribe | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Tactics.NamedView.term
-> FStar.Tactics.Effect.Tac
(tv: FStar.Tactics.NamedView.term_view{FStar.Tactics.NamedView.notAscription tv}) | {
"end_col": 12,
"end_line": 78,
"start_col": 2,
"start_line": 74
} |
FStar.Tactics.Effect.Tac | val mk_arr (bs: list binder) (cod: comp) : Tac term | [
{
"abbrev": false,
"full_module": "FStar.Tactics.NamedView",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.Types",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Tactics.V2.Builtins",
"short_module": null
},
{
"abbrev":... | false | let rec mk_arr (bs: list binder) (cod : comp) : Tac term =
match bs with
| [] -> fail "mk_arr, empty binders"
| [b] -> pack (Tv_Arrow b cod)
| (b::bs) ->
pack (Tv_Arrow b (C_Total (mk_arr bs cod))) | val mk_arr (bs: list binder) (cod: comp) : Tac term
let rec mk_arr (bs: list binder) (cod: comp) : Tac term = | true | null | false | match bs with
| [] -> fail "mk_arr, empty binders"
| [b] -> pack (Tv_Arrow b cod)
| b :: bs -> pack (Tv_Arrow b (C_Total (mk_arr bs cod))) | {
"checked_file": "FStar.Tactics.V2.SyntaxHelpers.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.Builtins.fsti.checked",
"FStar.Tactics.Types.fsti.checked",
"FStar.Tactics.NamedView.fsti.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Reflection.V2.fst.checked",... | [] | [
"Prims.list",
"FStar.Tactics.NamedView.binder",
"FStar.Tactics.NamedView.comp",
"FStar.Tactics.V2.SyntaxHelpers.fail",
"FStar.Tactics.NamedView.term",
"FStar.Tactics.NamedView.pack",
"FStar.Tactics.NamedView.Tv_Arrow",
"FStar.Tactics.NamedView.named_term_view",
"FStar.Reflection.V2.Data.C_Total",
... | [] | module FStar.Tactics.V2.SyntaxHelpers
open FStar.Reflection.V2
open FStar.Tactics.Effect
open FStar.Tactics.V2.Builtins
open FStar.Tactics.Types
open FStar.Tactics.NamedView
(* These are fully-named variants of functions found in FStar.Reflection *)
private
let rec collect_arr' (bs : list binder) (c : comp) : Tac (l... | false | false | FStar.Tactics.V2.SyntaxHelpers.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_arr (bs: list binder) (cod: comp) : Tac term | [
"recursion"
] | FStar.Tactics.V2.SyntaxHelpers.mk_arr | {
"file_name": "ulib/FStar.Tactics.V2.SyntaxHelpers.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | bs: Prims.list FStar.Tactics.NamedView.binder -> cod: FStar.Tactics.NamedView.comp
-> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term | {
"end_col": 49,
"end_line": 56,
"start_col": 4,
"start_line": 52
} |
Prims.Tot | val jump_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {p... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let jump_vlgen
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond (vmin) (vmax) k ... | val jump_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {p... | false | null | false | jump_synth (jump_bounded_vlgen vmin vmax vk rk s) (synth_vlgen (vmin) (vmax) s) () | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Low.Base.jumper",
"LowParse.Low.Base.leaf_reader",
"LowParse.Spec.Base... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val jump_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {p... | [] | LowParse.Low.VLGen.jump_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
vk: LowParse.Low.Base.jumper pk ->
rk: LowParse.Low.Base.leaf_reader pk ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond vmin vmax k}
-> LowParse.Low.Ba... | {
"end_col": 6,
"end_line": 493,
"start_col": 2,
"start_line": 490
} |
Prims.Tot | val gaccessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})
: Tot (gaccessor (parse_b... | val gaccessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})... | false | null | false | Classical.forall_intro_2 (gaccessor_bounded_vlgen_payload_no_lookahead_2 min max pk s);
Classical.forall_intro_2 (gaccessor_bounded_vlgen_payload_injective_2 min max pk s);
gaccessor_prop_equiv (parse_bounded_vlgen min max pk s)
p
(clens_bounded_vldata_strong_payload min max s)
(gaccessor_bounded_vlgen_payload' m... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"Prims.eq2",
"FStar.Pervasives.Native.opti... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s:
LowParse.Spec.Base.serializer p
{ Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse... | {
"end_col": 47,
"end_line": 641,
"start_col": 2,
"start_line": 638
} |
Prims.Tot | val gaccessor_bounded_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong}... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload'
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})
: Tot (gaccessor' (parse... | val gaccessor_bounded_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong}... | false | null | false | fun input ->
parse_bounded_vlgen_unfold min max pk s input;
let res =
match parse pk input with
| None -> (0)
| Some (len, sz) ->
if sz + U32.v len <= Seq.length input
then
let input' = Seq.slice input sz (sz + U32.v len) in
let _ =
match parse p input' with
... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"Prims.eq2",
"FStar.Pervasives.Native.opti... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong}... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s:
LowParse.Spec.Base.serializer p
{ Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse... | {
"end_col": 5,
"end_line": 522,
"start_col": 2,
"start_line": 505
} |
Prims.Tot | val accessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k ... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let accessor_vlgen_payload
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 ( min) ( max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k /\ k.parser_kind_subkind == S... | val accessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k ... | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ =
slice_access_eq h (gaccessor_vlgen_payload min max pk s) input pos;
valid_facts (parse_vlgen min max pk s) h input pos;
parse_vlgen_unfold min max pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos
in
jk in... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Low.Base.jumper",
"LowParse.Spec.Base.serializer",
"LowParse.Spec... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val accessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k ... | [] | LowParse.Low.VLGen.accessor_vlgen_payload | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
jk: LowParse.Low.Base.jumper pk ->
s:
LowParse.Spec.Base.serializer p
{ LowParse.Spec.VLGen.parse_vlgen_precond min max k /\
Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.... | {
"end_col": 14,
"end_line": 837,
"start_col": 2,
"start_line": 828
} |
Prims.Tot | val accessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind ... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let accessor_bounded_vlgen_payload
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 ( min) ( max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong})
: Tot (... | val accessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind ... | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ =
slice_access_eq h (gaccessor_bounded_vlgen_payload min max pk s) input pos;
valid_facts (parse_bounded_vlgen min max pk s) h input pos;
parse_bounded_vlgen_unfold_aux min max pk s (bytes_of_slice_from h input pos);
valid_facts... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Low.Base.jumper",
"LowParse.Spec.Base.serializer",
"Prims.eq2",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val accessor_bounded_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(jk: jumper pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind ... | [] | LowParse.Low.VLGen.accessor_bounded_vlgen_payload | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
jk: LowParse.Low.Base.jumper pk ->
s:
LowParse.Spec.Base.serializer p
{ Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong }
-> LowParse.Low.Base.a... | {
"end_col": 14,
"end_line": 666,
"start_col": 2,
"start_line": 657
} |
FStar.Pervasives.Lemma | val gaccessor_bounded_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl' : bytes)
: Lemma
(ensures ((
k.parser_k... | val gaccessor_bounded_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | false | null | true | Classical.move_requires (gaccessor_bounded_vlgen_payload_no_lookahead_1 min max pk s sl) sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"FStar.Classical.m... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload_no_lookahead_2 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
sl: LowParse.Bytes.bytes ->
sl': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensure... | {
"end_col": 94,
"end_line": 626,
"start_col": 2,
"start_line": 626
} |
Prims.Tot | val gaccessor_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subk... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload'
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k /\ k.parser_kind_subkind == Some ParserStrong ... | val gaccessor_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subk... | false | null | false | fun input ->
parse_vlgen_unfold min max pk s input;
let res =
match parse pk input with
| None -> (0)
| Some (len, sz) ->
if sz + U32.v len <= Seq.length input
then
let input' = Seq.slice input sz (sz + U32.v len) in
let _ =
match parse p input' with
| Non... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload'
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subk... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s:
LowParse.Spec.Base.serializer p
{ LowParse.Spec.VLGen.parse_vlgen_precond min max k /\
Mkparser_kind'?.parser_ki... | {
"end_col": 5,
"end_line": 695,
"start_col": 2,
"start_line": 678
} |
FStar.Pervasives.Lemma | val gaccessor_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k })
(sl sl' : bytes)
: Lemma
... | val gaccessor_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | false | null | true | Classical.move_requires (gaccessor_vlgen_payload_no_lookahead_1 min max pk s sl) sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload_no_lookahead_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload_no_lookahead_2 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
sl: LowParse.Bytes.bytes ->
sl': LowParse... | {
"end_col": 86,
"end_line": 799,
"start_col": 2,
"start_line": 799
} |
Prims.Tot | val gaccessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subki... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k /\ k.parser_kind_subkind == Some ParserStrong})... | val gaccessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subki... | false | null | false | Classical.forall_intro_2 (gaccessor_vlgen_payload_no_lookahead_2 min max pk s);
Classical.forall_intro_2 (gaccessor_vlgen_payload_injective_2 min max pk s);
gaccessor_prop_equiv (parse_vlgen min max pk s)
p
(clens_id _)
(gaccessor_vlgen_payload' min max pk s);
gaccessor_vlgen_payload' min max pk s | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subki... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s:
LowParse.Spec.Base.serializer p
{ LowParse.Spec.VLGen.parse_vlgen_precond min max k /\
Mkparser_kind'?.parser_ki... | {
"end_col": 39,
"end_line": 814,
"start_col": 2,
"start_line": 811
} |
FStar.Pervasives.Lemma | val gaccessor_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload_injective_2
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k })
(sl sl' : bytes)
: Lemma
(en... | val gaccessor_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | false | null | true | Classical.move_requires (gaccessor_vlgen_payload_injective_1 min max pk s sl) sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload_injective_2 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
sl: LowParse.Bytes.bytes ->
sl': LowParse... | {
"end_col": 83,
"end_line": 749,
"start_col": 2,
"start_line": 749
} |
FStar.Pervasives.Lemma | val gaccessor_bounded_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload_injective_2
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl' : bytes)
: Lemma
(ensures ((
k.parser_kind... | val gaccessor_bounded_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | false | null | true | Classical.move_requires (gaccessor_bounded_vlgen_payload_injective_1 min max pk s sl) sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"FStar.Classical.m... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload_injective_2
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload_injective_2 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
sl: LowParse.Bytes.bytes ->
sl': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensure... | {
"end_col": 91,
"end_line": 576,
"start_col": 2,
"start_line": 576
} |
FStar.Pervasives.Lemma | val valid_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond (vmin) (vmax) k})
(#rrel... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_vlgen
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond (vmin) (vmax) k })
#rrel #rel
(input: slice rrel rel)... | val valid_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond (vmin) (vmax) k})
(#rrel... | false | null | true | valid_bounded_vlgen vmin vmax pk s input pos h;
valid_synth h (parse_bounded_vlgen vmin vmax pk s) (synth_vlgen (vmin) (vmax) s) input pos | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
"Low... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond (vmin) (vmax) k})
(#rrel... | [] | LowParse.Low.VLGen.valid_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond vmin vmax k} ->
input... | {
"end_col": 7,
"end_line": 329,
"start_col": 2,
"start_line": 323
} |
FStar.HyperStack.ST.Stack | val finalize_bounded_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parse... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let finalize_bounded_vlgen
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel ... | val finalize_bounded_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parse... | true | null | false | let h = HST.get () in
[@@ inline_let ]let _ =
let pos_payload = pos `U32.add` sz32 in
valid_pos_valid_exact p h input pos_payload pos'
in
finalize_bounded_vlgen_exact min max sz32 wk s input pos pos' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"FStar.UInt32.t",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Low.Base.leaf_... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val finalize_bounded_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parse... | [] | LowParse.Low.VLGen.finalize_bounded_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
sz32: FStar.UInt32.t ->
wk: LowParse.Low.Base.leaf_writer_strong ssk ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Hyp... | {
"end_col": 63,
"end_line": 263,
"start_col": 1,
"start_line": 257
} |
FStar.HyperStack.ST.Stack | val finalize_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let finalize_vlgen
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_prec... | val finalize_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
... | true | null | false | let h = HST.get () in
[@@ inline_let ]let _ =
let pos_payload = pos `U32.add` sz32 in
valid_pos_valid_exact p h input pos_payload pos'
in
finalize_vlgen_exact min max sz32 wk s input pos pos' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"FStar.UInt32.t",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Low.Base.leaf_... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val finalize_vlgen
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
... | [] | LowParse.Low.VLGen.finalize_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
sz32: FStar.UInt32.t ->
wk: LowParse.Low.Base.leaf_writer_strong ssk ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar... | {
"end_col": 55,
"end_line": 424,
"start_col": 1,
"start_line": 418
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen_intro_strong_prefix
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t)
: ... | val valid_bounded_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(... | false | null | true | let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_pos_valid_exact p h input pos1 (pos1 `U32.add` len);
valid_bounded_vlgen_intro min max pk s h input pos | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(... | [] | LowParse.Low.VLGen.valid_bounded_vlgen_intro_strong_prefix | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
h: FStar.Monotonic.HyperStack.mem ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-... | {
"end_col": 54,
"end_line": 920,
"start_col": 1,
"start_line": 917
} |
Prims.Tot | val validate_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: pars... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_vlgen
(vmin: der_length_t)
(min: U32.t { U32.v min == vmin } )
(vmax: der_length_t)
(max: U32.t { U32.v max == vmax /\ U32.v min <= U32.v max } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p:... | val validate_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: pars... | false | null | false | validate_synth (validate_bounded_vlgen vmin min vmax max vk rk s v)
(synth_vlgen (U32.v min) (U32.v max) s)
() | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"FStar.UInt32.t",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt32.n",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_max",
"FStar.UInt32.v",
"LowParse.Spec.Base.... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: pars... | [] | LowParse.Low.VLGen.validate_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
min: FStar.UInt32.t{FStar.UInt32.v min == vmin} ->
vmax: LowParse.Spec.DER.der_length_t ->
max: FStar.UInt32.t{FStar.UInt32.v max == vmax /\ FStar.UInt32.v min <= FStar.UInt32.v max} ->
vk: LowParse.Low.Base.validator pk ->
rk: LowParse.Low.Base.leaf_read... | {
"end_col": 6,
"end_line": 445,
"start_col": 2,
"start_line": 442
} |
FStar.Pervasives.Lemma | val valid_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: s... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_vlgen_intro_strong_prefix
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t)
: Lemma
... | val valid_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: s... | false | null | true | let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_pos_valid_exact p h input pos1 (pos1 `U32.add` len);
valid_vlgen_intro min max pk s h input pos | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_vlgen_intro_strong_prefix
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: s... | [] | LowParse.Low.VLGen.valid_vlgen_intro_strong_prefix | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
h: FStar.Monotonic.HyperStack.mem ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-... | {
"end_col": 46,
"end_line": 997,
"start_col": 1,
"start_line": 994
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice ... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.mem)
: ... | val valid_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice ... | false | null | true | valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos;
parse_bounded_vlgen_unfold (vmin) (vmax) pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
let pos2 = pos1 `U32.add` len in
let x = contents_exact p h input... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice ... | [] | LowParse.Low.VLGen.valid_bounded_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt... | {
"end_col": 43,
"end_line": 91,
"start_col": 2,
"start_line": 82
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice r... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen_intro
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t)
: Lemma
(requi... | val valid_bounded_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice r... | false | null | true | valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_exact_equiv p h input pos1 (pos1 `U32.add` len);
contents_exact_eq p h input pos1 (pos1 `U32.add` len);
parse_bounded_vlgen_unfold min max pk s (bytes_of_slice_from h input pos);
valid_facts (parse_bounded_... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice r... | [] | LowParse.Low.VLGen.valid_bounded_vlgen_intro | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
h: FStar.Monotonic.HyperStack.mem ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-... | {
"end_col": 60,
"end_line": 880,
"start_col": 2,
"start_line": 874
} |
FStar.Pervasives.Lemma | val valid_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_vlgen_intro
(min: nat)
(max: nat { min <= max /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t)
: Lemma
(requires (
... | val valid_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)... | false | null | true | valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_exact_equiv p h input pos1 (pos1 `U32.add` len);
contents_exact_eq p h input pos1 (pos1 `U32.add` len);
parse_vlgen_unfold min max pk s (bytes_of_slice_from h input pos);
valid_facts (parse_vlgen min max pk... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_vlgen_intro
(min: nat)
(max: nat{min <= max /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(h: HS.mem)
(#rrel #rel: _)
(input: slice rrel rel)... | [] | LowParse.Low.VLGen.valid_vlgen_intro | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
h: FStar.Monotonic.HyperStack.mem ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-... | {
"end_col": 52,
"end_line": 959,
"start_col": 2,
"start_line": 953
} |
FStar.Pervasives.Lemma | val gaccessor_bounded_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload_injective_1
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl' : bytes)
: Lemma
(requires (
k.parser_kind... | val gaccessor_bounded_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | false | null | true | parse_bounded_vlgen_unfold min max pk s sl;
parse_bounded_vlgen_unfold min max pk s sl';
parse_injective (parse_bounded_vlgen min max pk s) sl sl';
parse_injective pk sl sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"LowParse.Spec.Bas... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: Lemm... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload_injective_1 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
sl: LowParse.Bytes.bytes ->
sl': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requ... | {
"end_col": 27,
"end_line": 551,
"start_col": 2,
"start_line": 548
} |
FStar.HyperStack.ST.Stack | val finalize_bounded_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p:... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let finalize_bounded_vlgen_exact
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(... | val finalize_bounded_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p:... | true | null | false | [@@ inline_let ]let len_payload = pos' `U32.sub` (pos `U32.add` sz32) in
let h = HST.get () in
[@@ inline_let ]let _ =
serialized_length_eq s (contents_exact p h input (pos `U32.add` sz32) pos');
valid_exact_serialize s h input (pos `U32.add` sz32) pos'
in
let _ = wk len_payload input pos in
let h = HST.get () in
v... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"FStar.UInt32.t",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Low.Base.leaf_... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val finalize_bounded_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p:... | [] | LowParse.Low.VLGen.finalize_bounded_vlgen_exact | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
sz32: FStar.UInt32.t ->
wk: LowParse.Low.Base.leaf_writer_strong ssk ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Hyp... | {
"end_col": 46,
"end_line": 218,
"start_col": 2,
"start_line": 208
} |
FStar.Pervasives.Lemma | val gaccessor_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload_injective_1
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k })
(sl sl' : bytes)
: Lemma
(re... | val gaccessor_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | false | null | true | parse_vlgen_unfold min max pk s sl;
parse_vlgen_unfold min max pk s sl';
parse_injective (parse_vlgen min max pk s) sl sl';
parse_injective pk sl sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload_injective_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
(s... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload_injective_1 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
sl: LowParse.Bytes.bytes ->
sl': LowParse... | {
"end_col": 27,
"end_line": 724,
"start_col": 2,
"start_line": 721
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: ... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen_elim'
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.m... | val valid_bounded_vlgen_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: ... | false | null | true | valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos;
parse_bounded_vlgen_unfold_aux (vmin) (vmax) pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_facts (parse_fldata_strong s (U32.v len)) h input pos1 | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: ... | [] | LowParse.Low.VLGen.valid_bounded_vlgen_elim' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt... | {
"end_col": 62,
"end_line": 128,
"start_col": 2,
"start_line": 123
} |
FStar.Pervasives.Lemma | val gaccessor_bounded_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let gaccessor_bounded_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl' : bytes)
: Lemma
(requires (
k.parser_k... | val gaccessor_bounded_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | false | null | true | parse_bounded_vlgen_unfold min max pk s sl;
parse_bounded_vlgen_unfold min max pk s sl';
parse_strong_prefix (parse_bounded_vlgen min max pk s) sl sl';
parse_injective pk sl sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Bytes.bytes",
"LowParse.Spec.Bas... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_bounded_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(sl sl': bytes)
: L... | [] | LowParse.Low.VLGen.gaccessor_bounded_vlgen_payload_no_lookahead_1 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p ->
sl: LowParse.Bytes.bytes ->
sl': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requ... | {
"end_col": 27,
"end_line": 603,
"start_col": 2,
"start_line": 600
} |
FStar.Pervasives.Lemma | val gaccessor_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | [
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "L... | false | let gaccessor_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 ( min) ( max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlgen_precond min max k })
(sl sl' : bytes)
: Lemma
... | val gaccessor_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | false | null | true | parse_vlgen_unfold min max pk s sl;
parse_vlgen_unfold min max pk s sl';
parse_strong_prefix (parse_vlgen min max pk s) sl sl';
parse_injective pk sl sl' | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Spec.VLGen.parse_vlgen_precond",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val gaccessor_vlgen_payload_no_lookahead_1
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (min) (max)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {parse_vlgen_precond min max k})
... | [] | LowParse.Low.VLGen.gaccessor_vlgen_payload_no_lookahead_1 | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
sl: LowParse.Bytes.bytes ->
sl': LowParse... | {
"end_col": 27,
"end_line": 776,
"start_col": 2,
"start_line": 773
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen_elim
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: s... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen_elim
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.me... | val valid_bounded_vlgen_elim
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: s... | false | null | true | valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos;
parse_bounded_vlgen_unfold (vmin) (vmax) pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
let pos2 = pos1 `U32.add` len in
valid_facts (parse_fldata p (U32... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen_elim
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: s... | [] | LowParse.Low.VLGen.valid_bounded_vlgen_elim | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt... | {
"end_col": 43,
"end_line": 168,
"start_col": 2,
"start_line": 160
} |
FStar.HyperStack.ST.Stack | val finalize_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser ... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let finalize_vlgen_exact
(min: nat)
(max: nat { min <= max /\ max > 0 /\ max < 4294967296 } )
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { parse_vlge... | val finalize_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser ... | true | null | false | [@@ inline_let ]let len_payload = pos' `U32.sub` (pos `U32.add` sz32) in
let h = HST.get () in
[@@ inline_let ]let _ =
serialized_length_eq s (contents_exact p h input (pos `U32.add` sz32) pos');
valid_exact_serialize s h input (pos `U32.add` sz32) pos'
in
let _ = wk len_payload input pos in
let h = HST.get () in
v... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [] | [
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_GreaterThan",
"Prims.op_LessThan",
"FStar.UInt32.t",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Low.Base.leaf_... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val finalize_vlgen_exact
(min: nat)
(max: nat{min <= max /\ max > 0 /\ max < 4294967296})
(sz32: U32.t)
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (min) (max)))
(#ssk: serializer pk)
(wk: leaf_writer_strong ssk)
(#k: parser_kind)
(#t: Type)
(#p: parser ... | [] | LowParse.Low.VLGen.finalize_vlgen_exact | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
min: Prims.nat ->
max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} ->
sz32: FStar.UInt32.t ->
wk: LowParse.Low.Base.leaf_writer_strong ssk ->
s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar... | {
"end_col": 38,
"end_line": 379,
"start_col": 2,
"start_line": 369
} |
FStar.Pervasives.Lemma | val valid_bounded_vlgen'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_bounded_vlgen'
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.mem)
:... | val valid_bounded_vlgen'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice... | false | null | true | valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos;
parse_bounded_vlgen_unfold_aux (vmin) (vmax) pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_facts (parse_fldata_strong s (U32.v len)) h input pos1 | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Spec.Base.serializer",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_bounded_vlgen'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(#rrel #rel: _)
(input: slice... | [] | LowParse.Low.VLGen.valid_bounded_vlgen' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
s: LowParse.Spec.Base.serializer p ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt... | {
"end_col": 62,
"end_line": 49,
"start_col": 2,
"start_line": 44
} |
FStar.Pervasives.Lemma | val valid_vlgen_weak'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_vlgen_weak'
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.mem)
: Lemma
(requires (
... | val valid_vlgen_weak'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t... | false | null | true | valid_facts (parse_vlgen_weak (vmin) (vmax) pk p) h input pos;
parse_vlgen_weak_unfold (vmin) (vmax) pk p (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_facts (parse_fldata p (U32.v len)) h input pos1 | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.U... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_vlgen_weak'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: U32.t... | [] | LowParse.Low.VLGen.valid_vlgen_weak' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
p: LowParse.Spec.Base.parser k t ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32... | {
"end_col": 55,
"end_line": 1032,
"start_col": 2,
"start_line": 1027
} |
FStar.Pervasives.Lemma | val valid_vlgen_weak_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: ... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let valid_vlgen_weak_elim'
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
#rrel #rel
(input: slice rrel rel)
(pos: U32.t)
(h: HS.mem)
: Lemma
(requires ... | val valid_vlgen_weak_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: ... | false | null | true | valid_facts (parse_vlgen_weak (vmin) (vmax) pk p) h input pos;
parse_vlgen_weak_unfold (vmin) (vmax) pk p (bytes_of_slice_from h input pos);
valid_facts pk h input pos;
let pos1 = get_valid_pos pk h input pos in
let len = contents pk h input pos in
valid_facts (parse_fldata p (U32.v len)) h input pos1 | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"lemma"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.U... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_vlgen_weak_elim'
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(pk: parser sk (bounded_int32 (vmin) (vmax)))
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(#rrel #rel: _)
(input: slice rrel rel)
(pos: ... | [] | LowParse.Low.VLGen.valid_vlgen_weak_elim' | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) ->
p: LowParse.Spec.Base.parser k t ->
input: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32... | {
"end_col": 55,
"end_line": 1067,
"start_col": 2,
"start_line": 1062
} |
Prims.Tot | val jump_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: seriali... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let jump_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
: Tot (jumper (parse_bounded_... | val jump_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: seriali... | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ =
valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos;
parse_bounded_vlgen_unfold (vmin) (vmax) pk s (bytes_of_slice_from h input pos);
valid_facts pk h input pos
in
let n = vk input pos in
let len = rk input pos ... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.BoundedInt.bounded_int32",
"LowParse.Low.Base.jumper",
"LowParse.Low.Base.leaf_reader",
"LowParse.Spec.Base... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val jump_bounded_vlgen
(vmin: der_length_t)
(vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: jumper pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: seriali... | [] | LowParse.Low.VLGen.jump_bounded_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} ->
vk: LowParse.Low.Base.jumper pk ->
rk: LowParse.Low.Base.leaf_reader pk ->
s: LowParse.Spec.Base.serializer p
-> LowParse.Low.Base.jumper (LowParse.Spec.VLGen.parse_bounded_vlgen vmi... | {
"end_col": 46,
"end_line": 473,
"start_col": 2,
"start_line": 462
} |
Prims.Tot | val validate_vlgen_weak
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k:... | [
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_vlgen_weak
(vmin: der_length_t)
(min: U32.t { U32.v min == vmin } )
(vmax: der_length_t)
(max: U32.t { U32.v max == vmax /\ U32.v min <= U32.v max } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type)
... | val validate_vlgen_weak
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k:... | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ =
Classical.move_requires (valid_vlgen_weak' vmin vmax pk p input (uint64_to_uint32 pos)) h;
Classical.move_requires (valid_vlgen_weak_elim' vmin vmax pk p input (uint64_to_uint32 pos)) h
in
let n = vk input pos in
if is_error n
... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"FStar.UInt32.t",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt32.n",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_max",
"FStar.UInt32.v",
"LowParse.Spec.Base.... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_vlgen_weak
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k:... | [] | LowParse.Low.VLGen.validate_vlgen_weak | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
min: FStar.UInt32.t{FStar.UInt32.v min == vmin} ->
vmax: LowParse.Spec.DER.der_length_t ->
max: FStar.UInt32.t{FStar.UInt32.v max == vmax /\ FStar.UInt32.v min <= FStar.UInt32.v max} ->
vk: LowParse.Low.Base.validator pk ->
rk: LowParse.Low.Base.leaf_read... | {
"end_col": 5,
"end_line": 1096,
"start_col": 2,
"start_line": 1084
} |
Prims.Tot | val validate_bounded_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(... | [
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_bounded_vlgen
(vmin: der_length_t)
(min: U32.t { U32.v min == vmin } )
(vmax: der_length_t)
(max: U32.t { U32.v max == vmax /\ U32.v min <= U32.v max } )
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(#k: parser_kind)
(#t: Type... | val validate_bounded_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(... | false | null | false | fun #rrel #rel input pos ->
let h = HST.get () in
[@@ inline_let ]let _ =
Classical.move_requires (valid_bounded_vlgen' vmin vmax pk s input (uint64_to_uint32 pos)) h;
Classical.move_requires (valid_bounded_vlgen_elim' vmin vmax pk s input (uint64_to_uint32 pos))
h
in
let n = vk input pos in
if ... | {
"checked_file": "LowParse.Low.VLGen.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.VLGen.fst.checked",
"LowParse.Low.VLData.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Per... | [
"total"
] | [
"LowParse.Spec.DER.der_length_t",
"FStar.UInt32.t",
"Prims.eq2",
"Prims.int",
"Prims.l_or",
"FStar.UInt.size",
"FStar.UInt32.n",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThanOrEqual",
"Prims.op_LessThanOrEqual",
"LowParse.Spec.DER.der_length_max",
"FStar.UInt32.v",
"LowParse.Spec.Base.... | [] | module LowParse.Low.VLGen
include LowParse.Spec.VLGen
include LowParse.Low.VLData
module U32 = FStar.UInt32
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module B = LowStar.Buffer
module Cast = FStar.Int.Cast
module U64 = FStar.UInt64
#reset-options "--z3cliopt smt.arith.nl=false"
let valid_bounded_v... | false | false | LowParse.Low.VLGen.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_bounded_vlgen
(vmin: der_length_t)
(min: U32.t{U32.v min == vmin})
(vmax: der_length_t)
(max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max})
(#sk: parser_kind)
(#pk: parser sk (bounded_int32 (vmin) (vmax)))
(vk: validator pk)
(rk: leaf_reader pk)
(... | [] | LowParse.Low.VLGen.validate_bounded_vlgen | {
"file_name": "src/lowparse/LowParse.Low.VLGen.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
vmin: LowParse.Spec.DER.der_length_t ->
min: FStar.UInt32.t{FStar.UInt32.v min == vmin} ->
vmax: LowParse.Spec.DER.der_length_t ->
max: FStar.UInt32.t{FStar.UInt32.v max == vmax /\ FStar.UInt32.v min <= FStar.UInt32.v max} ->
vk: LowParse.Low.Base.validator pk ->
rk: LowParse.Low.Base.leaf_read... | {
"end_col": 5,
"end_line": 293,
"start_col": 2,
"start_line": 281
} |
Prims.GTot | val v (s: t) : GTot (s:Seq.seq C.char{well_formed s}) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Modifies",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_modul... | false | let v s = s.s | val v (s: t) : GTot (s:Seq.seq C.char{well_formed s})
let v s = | false | null | false | s.s | {
"checked_file": "C.String.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.... | [
"sometrivial"
] | [
"C.String.t",
"C.String.__proj__S__item__s",
"FStar.Seq.Base.seq",
"C.char",
"C.String.well_formed"
] | [] | module C.String
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module B = LowStar.Buffer
module M = LowStar.Modifies
open FStar.HyperStack.ST
[@@ no_auto_projectors]
type t = | S: s:Seq.seq C.char { well_formed s } -> t | false | false | C.String.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val v (s: t) : GTot (s:Seq.seq C.char{well_formed s}) | [] | C.String.v | {
"file_name": "krmllib/C.String.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | s: C.String.t -> Prims.GTot (s: FStar.Seq.Base.seq C.char {C.String.well_formed s}) | {
"end_col": 13,
"end_line": 14,
"start_col": 10,
"start_line": 14
} |
Prims.GTot | val length (s: t): GTot (n:nat{n > 0 /\ n == Seq.length (v s)}) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Modifies",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_modul... | false | let length s = Seq.length s.s | val length (s: t): GTot (n:nat{n > 0 /\ n == Seq.length (v s)})
let length s = | false | null | false | Seq.length s.s | {
"checked_file": "C.String.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.... | [
"sometrivial"
] | [
"C.String.t",
"FStar.Seq.Base.length",
"C.char",
"C.String.__proj__S__item__s",
"Prims.nat",
"Prims.l_and",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.eq2",
"C.String.v"
] | [] | module C.String
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module B = LowStar.Buffer
module M = LowStar.Modifies
open FStar.HyperStack.ST
[@@ no_auto_projectors]
type t = | S: s:Seq.seq C.char { well_formed s } -> t
let v s = s.s | false | false | C.String.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val length (s: t): GTot (n:nat{n > 0 /\ n == Seq.length (v s)}) | [] | C.String.length | {
"file_name": "krmllib/C.String.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | s: C.String.t -> Prims.GTot (n: Prims.nat{n > 0 /\ n == FStar.Seq.Base.length (C.String.v s)}) | {
"end_col": 29,
"end_line": 16,
"start_col": 15,
"start_line": 16
} |
Prims.Pure | val get (s: t) (l: U32.t{ U32.v l < Seq.length (v s) }): Pure C.char
(requires True)
(ensures (fun c -> c = Seq.index (v s) (U32.v l))) | [
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": true,
"full_module": "LowStar.Modifies",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "LowStar.Buffer",
"short_module": "B"
},
{
"abbrev": true,
"full_modul... | false | let get s l = Seq.index s.s (U32.v l) | val get (s: t) (l: U32.t{ U32.v l < Seq.length (v s) }): Pure C.char
(requires True)
(ensures (fun c -> c = Seq.index (v s) (U32.v l)))
let get s l = | false | null | false | Seq.index s.s (U32.v l) | {
"checked_file": "C.String.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Modifies.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.HyperStack.ST.fsti.... | [] | [
"C.String.t",
"FStar.UInt32.t",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.UInt32.v",
"FStar.Seq.Base.length",
"C.char",
"C.String.v",
"FStar.Seq.Base.index",
"C.String.__proj__S__item__s"
] | [] | module C.String
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module B = LowStar.Buffer
module M = LowStar.Modifies
open FStar.HyperStack.ST
[@@ no_auto_projectors]
type t = | S: s:Seq.seq C.char { well_formed s } -> t
let v s = s.s
let length s = Seq.length s.s | false | false | C.String.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val get (s: t) (l: U32.t{ U32.v l < Seq.length (v s) }): Pure C.char
(requires True)
(ensures (fun c -> c = Seq.index (v s) (U32.v l))) | [] | C.String.get | {
"file_name": "krmllib/C.String.fst",
"git_rev": "a7be2a7c43eca637ceb57fe8f3ffd16fc6627ebd",
"git_url": "https://github.com/FStarLang/karamel.git",
"project_name": "karamel"
} | s: C.String.t -> l: FStar.UInt32.t{FStar.UInt32.v l < FStar.Seq.Base.length (C.String.v s)}
-> Prims.Pure C.char | {
"end_col": 37,
"end_line": 18,
"start_col": 14,
"start_line": 18
} |
FStar.Pervasives.Lemma | val table_select_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Lemma (Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len;
table_select len table_l... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Base",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev... | false | let table_select_lemma #t len table_len table i =
let _ = table_select_loop_lemma len table_len table i in () | val table_select_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Lemma (Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len;
table_select len table_l... | false | null | true | let _ = table_select_loop_lemma len table_len table i in
() | {
"checked_file": "Hacl.Spec.PrecompTable.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Spec.Bignum.Base... | [
"lemma"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Lib.IntTypes.max_size_t",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.IntTypes.v... | [] | module Hacl.Spec.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module BSeq = Lib.ByteSequence
module Loops = Lib.LoopCombinators
module SB = Hacl.Spec.Bignum.Base
open Hacl.Spec.Bignum.Definitions
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val table_select_f:
#t:limb_t
-> len:size_n... | false | false | Hacl.Spec.PrecompTable.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val table_select_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Lemma (Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len;
table_select len table_l... | [] | Hacl.Spec.PrecompTable.table_select_lemma | {
"file_name": "code/bignum/Hacl.Spec.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_nat{len > 0} ->
table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} ->
table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) ->
i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len}
-> FS... | {
"end_col": 61,
"end_line": 118,
"start_col": 49,
"start_line": 117
} |
Prims.Tot | val table_select:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
lseq (uint_t t SEC) len | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Base",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev... | false | let table_select #a_t len table_len table i =
let res = sub table 0 len in
Loops.repeati (table_len - 1) (table_select_f #a_t len table_len table i) res | val table_select:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
lseq (uint_t t SEC) len
let table_select #a_t len table_len table i = | false | null | false | let res = sub table 0 len in
Loops.repeati (table_len - 1) (table_select_f #a_t len table_len table i) res | {
"checked_file": "Hacl.Spec.PrecompTable.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Spec.Bignum.Base... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Lib.IntTypes.max_size_t",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.IntTypes.v... | [] | module Hacl.Spec.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module BSeq = Lib.ByteSequence
module Loops = Lib.LoopCombinators
module SB = Hacl.Spec.Bignum.Base
open Hacl.Spec.Bignum.Definitions
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val table_select_f:
#t:limb_t
-> len:size_n... | false | false | Hacl.Spec.PrecompTable.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val table_select:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
lseq (uint_t t SEC) len | [] | Hacl.Spec.PrecompTable.table_select | {
"file_name": "code/bignum/Hacl.Spec.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_nat{len > 0} ->
table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} ->
table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) ->
i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len}
-> Li... | {
"end_col": 79,
"end_line": 46,
"start_col": 45,
"start_line": 44
} |
Prims.Tot | val table_select_f:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
lseq (uint_t t SEC) len | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Base",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev... | false | let table_select_f #t len table_len table i j acc =
let c = eq_mask i (SB.size_to_limb (size j +! 1ul)) in
//assert (v c == (if v i = v j + 1 then ones_v a_t else 0));
Math.Lemmas.lemma_mult_le_right len (j + 2) table_len;
let res_j = sub table ((j + 1) * len) len in
let acc = map2 (SB.mask_select c) res_j a... | val table_select_f:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
lseq (uint_t t SEC) len
let ... | false | null | false | let c = eq_mask i (SB.size_to_limb (size j +! 1ul)) in
Math.Lemmas.lemma_mult_le_right len (j + 2) table_len;
let res_j = sub table ((j + 1) * len) len in
let acc = map2 (SB.mask_select c) res_j acc in
acc | {
"checked_file": "Hacl.Spec.PrecompTable.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Spec.Bignum.Base... | [
"total"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Lib.IntTypes.max_size_t",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.IntTypes.v... | [] | module Hacl.Spec.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module BSeq = Lib.ByteSequence
module Loops = Lib.LoopCombinators
module SB = Hacl.Spec.Bignum.Base
open Hacl.Spec.Bignum.Definitions
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val table_select_f:
#t:limb_t
-> len:size_n... | false | false | Hacl.Spec.PrecompTable.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val table_select_f:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
lseq (uint_t t SEC) len | [] | Hacl.Spec.PrecompTable.table_select_f | {
"file_name": "code/bignum/Hacl.Spec.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_nat{len > 0} ->
table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} ->
table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) ->
i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} ->
... | {
"end_col": 5,
"end_line": 33,
"start_col": 51,
"start_line": 26
} |
FStar.Pervasives.Lemma | val table_select_f_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
Lemma (
let res = ... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Base",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev... | false | let table_select_f_lemma #t len table_len table i j acc =
let c = eq_mask i (SB.size_to_limb (size (j + 1))) in
assert (v c == (if v i = j + 1 then ones_v t else 0));
Math.Lemmas.lemma_mult_le_right len (j + 2) table_len;
let res_j = sub table ((j + 1) * len) len in
let res = map2 (SB.mask_select c) res_j ac... | val table_select_f_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
Lemma (
let res = ... | false | null | true | let c = eq_mask i (SB.size_to_limb (size (j + 1))) in
assert (v c == (if v i = j + 1 then ones_v t else 0));
Math.Lemmas.lemma_mult_le_right len (j + 2) table_len;
let res_j = sub table ((j + 1) * len) len in
let res = map2 (SB.mask_select c) res_j acc in
SB.lseq_mask_select_lemma res_j acc c | {
"checked_file": "Hacl.Spec.PrecompTable.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Spec.Bignum.Base... | [
"lemma"
] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Lib.IntTypes.max_size_t",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.IntTypes.v... | [] | module Hacl.Spec.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module BSeq = Lib.ByteSequence
module Loops = Lib.LoopCombinators
module SB = Hacl.Spec.Bignum.Base
open Hacl.Spec.Bignum.Definitions
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val table_select_f:
#t:limb_t
-> len:size_n... | false | false | Hacl.Spec.PrecompTable.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val table_select_f_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len}
-> j:size_nat{j < table_len - 1}
-> acc:lseq (uint_t t SEC) len ->
Lemma (
let res = ... | [] | Hacl.Spec.PrecompTable.table_select_f_lemma | {
"file_name": "code/bignum/Hacl.Spec.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_nat{len > 0} ->
table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} ->
table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) ->
i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} ->
... | {
"end_col": 39,
"end_line": 71,
"start_col": 57,
"start_line": 64
} |
Prims.Pure | val table_select_loop_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Pure (lseq (uint_t t SEC) len)
(requires True)
(ensures fun res ->
let res0 = ... | [
{
"abbrev": false,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": null
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Base",
"short_module": "SB"
},
{
"abbrev": true,
"full_module": "Lib.LoopCombinators",
"short_module": "Loops"
},
{
"abbrev... | false | let table_select_loop_lemma #t len table_len table i =
let f = table_select_f len table_len table i in
let res0 = sub table 0 len in
Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len;
Loops.eq_repeati0 (table_len - 1) f res0;
Loops.repeati_inductive (table_len - 1)
(fun j priv ->
priv == Loops.re... | val table_select_loop_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Pure (lseq (uint_t t SEC) len)
(requires True)
(ensures fun res ->
let res0 = ... | false | null | false | let f = table_select_f len table_len table i in
let res0 = sub table 0 len in
Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len;
Loops.eq_repeati0 (table_len - 1) f res0;
Loops.repeati_inductive (table_len - 1)
(fun j priv ->
priv == Loops.repeati j f res0 /\
priv == (if j >= v i then sub table (v i... | {
"checked_file": "Hacl.Spec.PrecompTable.fst.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.LoopCombinators.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.ByteSequence.fsti.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Spec.Bignum.Base... | [] | [
"Hacl.Spec.Bignum.Definitions.limb_t",
"Lib.IntTypes.size_nat",
"Prims.b2t",
"Prims.op_GreaterThan",
"Prims.l_and",
"Prims.op_LessThan",
"Prims.op_LessThanOrEqual",
"FStar.Mul.op_Star",
"Lib.IntTypes.max_size_t",
"Lib.Sequence.lseq",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.IntTypes.v... | [] | module Hacl.Spec.PrecompTable
open FStar.Mul
open Lib.IntTypes
open Lib.Sequence
module BSeq = Lib.ByteSequence
module Loops = Lib.LoopCombinators
module SB = Hacl.Spec.Bignum.Base
open Hacl.Spec.Bignum.Definitions
#reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val table_select_f:
#t:limb_t
-> len:size_n... | false | false | Hacl.Spec.PrecompTable.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val table_select_loop_lemma:
#t:limb_t
-> len:size_nat{len > 0}
-> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t}
-> table:lseq (uint_t t SEC) (table_len * len)
-> i:uint_t t SEC{v i < table_len} ->
Pure (lseq (uint_t t SEC) len)
(requires True)
(ensures fun res ->
let res0 = ... | [] | Hacl.Spec.PrecompTable.table_select_loop_lemma | {
"file_name": "code/bignum/Hacl.Spec.PrecompTable.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
len: Lib.IntTypes.size_nat{len > 0} ->
table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} ->
table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) ->
i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len}
-> Pr... | {
"end_col": 13,
"end_line": 105,
"start_col": 54,
"start_line": 88
} |
Prims.Tot | val parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t)) | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let parse_list_bare
(#k: parser_kind)
(#t: Type)
(p: parser k t)
: Tot (bare_parser (list t))
= (fun b -> parse_list_aux #k #t p b) <: bare_parser (list t) | val parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t))
let parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t)) = | false | null | false | (fun b -> parse_list_aux #k #t p b) <: bare_parser (list t) | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Bytes.bytes",
"LowParse.Spec.List.parse_list_aux",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple2",
"Prims.list",
"LowParse.Spec.Base.consumed_length",
"LowParse.Spec.Base.bare_parser"
] | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t)) | [] | LowParse.Spec.List.parse_list_bare | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.bare_parser (Prims.list t) | {
"end_col": 61,
"end_line": 37,
"start_col": 2,
"start_line": 37
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let parse_list_kind =
{
parser_kind_low = 0;
parser_kind_high = None;
parser_kind_metadata = None;
parser_kind_subkind = Some ParserConsumesAll;
} | let parse_list_kind = | false | null | false | {
parser_kind_low = 0;
parser_kind_high = None;
parser_kind_metadata = None;
parser_kind_subkind = Some ParserConsumesAll
} | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"total"
] | [
"LowParse.Spec.Base.Mkparser_kind'",
"FStar.Pervasives.Native.None",
"Prims.nat",
"FStar.Pervasives.Native.Some",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.ParserConsumesAll",
"LowParse.Spec.Base.parser_kind_metadata_some"
] | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | true | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_kind : LowParse.Spec.Base.parser_kind' | [] | LowParse.Spec.List.parse_list_kind | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | LowParse.Spec.Base.parser_kind' | {
"end_col": 49,
"end_line": 81,
"start_col": 4,
"start_line": 78
} | |
Prims.Tot | val serialize_list_precond (k: parser_kind) : Tot bool | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_precond
(k: parser_kind)
: Tot bool
= k.parser_kind_subkind = Some ParserStrong &&
k.parser_kind_low > 0 | val serialize_list_precond (k: parser_kind) : Tot bool
let serialize_list_precond (k: parser_kind) : Tot bool = | false | null | false | k.parser_kind_subkind = Some ParserStrong && k.parser_kind_low > 0 | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"Prims.op_AmpAmp",
"Prims.op_Equality",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind",
"FStar.Pervasives.Native.Some",
"LowParse.Spec.Base.ParserStrong",
"Prims.op_Greate... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | true | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_precond (k: parser_kind) : Tot bool | [] | LowParse.Spec.List.serialize_list_precond | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | k: LowParse.Spec.Base.parser_kind -> Prims.bool | {
"end_col": 23,
"end_line": 182,
"start_col": 2,
"start_line": 181
} |
FStar.Pervasives.Lemma | val parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t)
: Lemma (consumes_all (parse_list_bare p)) | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let parse_list_bare_consumes_all
(#k: parser_kind)
(#t: Type)
(p: parser k t)
: Lemma
(consumes_all (parse_list_bare p))
= Classical.forall_intro (Classical.move_requires (parse_list_bare_consumed p)) | val parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t)
: Lemma (consumes_all (parse_list_bare p))
let parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t)
: Lemma (consumes_all (parse_list_bare p)) = | false | null | true | Classical.forall_intro (Classical.move_requires (parse_list_bare_consumed p)) | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Classical.forall_intro",
"LowParse.Bytes.bytes",
"Prims.l_imp",
"Prims.b2t",
"FStar.Pervasives.Native.uu___is_Some",
"FStar.Pervasives.Native.tuple2",
"Prims.list",
"LowParse.Spec.Base.consumed_length",
"LowParse.Spec.List.par... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t)
: Lemma (consumes_all (parse_list_bare p)) | [] | LowParse.Spec.List.parse_list_bare_consumes_all | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t
-> FStar.Pervasives.Lemma
(ensures LowParse.Spec.Base.consumes_all (LowParse.Spec.List.parse_list_bare p)) | {
"end_col": 79,
"end_line": 66,
"start_col": 2,
"start_line": 66
} |
Prims.GTot | val bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t)
: GTot bytes | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let rec bare_serialize_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(s: serializer p)
(x: list t)
: GTot bytes
= match x with
| [] -> Seq.empty
| a :: q -> Seq.append (s a) (bare_serialize_list p s q) | val bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t)
: GTot bytes
let rec bare_serialize_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(s: serializer p)
(x: list t)
: GTot bytes = | false | null | false | match x with
| [] -> Seq.empty
| a :: q -> Seq.append (s a) (bare_serialize_list p s q) | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"sometrivial"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"FStar.Seq.Base.empty",
"LowParse.Bytes.byte",
"FStar.Seq.Base.append",
"LowParse.Spec.List.bare_serialize_list",
"LowParse.Bytes.bytes"
] | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t)
: GTot bytes | [
"recursion"
] | LowParse.Spec.List.bare_serialize_list | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> s: LowParse.Spec.Base.serializer p -> x: Prims.list t
-> Prims.GTot LowParse.Bytes.bytes | {
"end_col": 58,
"end_line": 175,
"start_col": 2,
"start_line": 173
} |
Prims.GTot | val parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: GTot (option (list t * (consumed_length b))) (decreases (Seq.length b)) | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let rec parse_list_aux
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(b: bytes)
: GTot (option (list t * (consumed_length b)))
(decreases (Seq.length b))
= if Seq.length b = 0
then
Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = 0
... | val parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: GTot (option (list t * (consumed_length b))) (decreases (Seq.length b))
let rec parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: GTot (option (list t * (consumed_length b))) (decreases (Seq.length b)) = | false | null | false | if Seq.length b = 0
then Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = 0
then None
else
match parse_list_aux p (Seq.slice b n (Seq.length b)) with
| Some (l, n') -> Some (v :: l, (n + n' <: consumed_length b))
| _ -> None | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"sometrivial",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Bytes.bytes",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.Native.tuple2",
"Prims.list",
"LowParse.Spec.Base.consumed_length",
"FStar.... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: GTot (option (list t * (consumed_length b))) (decreases (Seq.length b)) | [
"recursion"
] | LowParse.Spec.List.parse_list_aux | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> b: LowParse.Bytes.bytes
-> Prims.GTot
(FStar.Pervasives.Native.option (Prims.list t * LowParse.Spec.Base.consumed_length b)) | {
"end_col": 12,
"end_line": 30,
"start_col": 2,
"start_line": 18
} |
FStar.Pervasives.Lemma | val parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: Lemma (requires (Some? (parse_list_bare p b)))
(ensures
(let pb = parse_list_bare p b in
(Some? pb /\
(let Some (_, consumed) = pb in
consumed == Seq.length b))))
(decreases... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let rec parse_list_bare_consumed
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(b: bytes)
: Lemma
(requires (Some? (parse_list_bare p b)))
(ensures (
let pb = parse_list_bare p b in (
Some? pb /\ (
let (Some (_, consumed)) = pb in
consumed == Seq.length b
))))
(decreases (Seq.length b))
=... | val parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: Lemma (requires (Some? (parse_list_bare p b)))
(ensures
(let pb = parse_list_bare p b in
(Some? pb /\
(let Some (_, consumed) = pb in
consumed == Seq.length b))))
(decreases... | false | null | true | if Seq.length b = 0
then ()
else
let Some (_, consumed1) = p b in
let b' = Seq.slice b consumed1 (Seq.length b) in
parse_list_bare_consumed p b' | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Bytes.bytes",
"Prims.op_Equality",
"Prims.int",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"Prims.bool",
"LowParse.Spec.Base.consumed_length",
"LowParse.Spec.List.parse_list_bare_consumed",
"FStar.Seq.Base.seq",
"FSt... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes)
: Lemma (requires (Some? (parse_list_bare p b)))
(ensures
(let pb = parse_list_bare p b in
(Some? pb /\
(let Some (_, consumed) = pb in
consumed == Seq.length b))))
(decreases... | [
"recursion"
] | LowParse.Spec.List.parse_list_bare_consumed | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> b: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma (requires Some? (LowParse.Spec.List.parse_list_bare p b))
(ensures
(let pb = LowParse.Spec.List.parse_list_bare p b in
Some? pb /\
(let _ = pb in
(let FStar.Pervasives.Native.Some #_ (FS... | {
"end_col": 33,
"end_line": 58,
"start_col": 2,
"start_line": 53
} |
FStar.Pervasives.Lemma | val parse_list_total_constant_size
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(elem_count: nat)
(x: bytes)
: Lemma
(requires
(serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\
k.parser_kind_metadata == Some ParserKindMetadataTotal /\
... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let rec parse_list_total_constant_size
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(elem_count: nat)
(x: bytes)
: Lemma
(requires (
serialize_list_precond k /\
k.parser_kind_high == Some k.parser_kind_low /\
k.parser_kind_metadata == Some ParserKindMetadataTotal /\
Seq.length x == elem_coun... | val parse_list_total_constant_size
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(elem_count: nat)
(x: bytes)
: Lemma
(requires
(serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\
k.parser_kind_metadata == Some ParserKindMetadataTotal /\
... | false | null | true | parse_list_eq p x;
if elem_count = 0
then ()
else
(assert (Seq.length x ==
k.parser_kind_low + ((elem_count - 1) `Prims.op_Multiply` k.parser_kind_low));
parser_kind_prop_equiv k p;
assert (Some? (parse p x));
let Some (_, len) = parse p x in
assert (len == k.parser_kind_low);
parse_list_t... | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"Prims.nat",
"LowParse.Bytes.bytes",
"Prims.op_Equality",
"Prims.int",
"Prims.bool",
"LowParse.Spec.Base.consumed_length",
"LowParse.Spec.List.parse_list_total_constant_size",
"Prims.op_Subtraction",
"FStar.Seq.Base.slice",
"LowPar... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val parse_list_total_constant_size
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(elem_count: nat)
(x: bytes)
: Lemma
(requires
(serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\
k.parser_kind_metadata == Some ParserKindMetadataTotal /\
... | [
"recursion"
] | LowParse.Spec.List.parse_list_total_constant_size | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.parser k t -> elem_count: Prims.nat -> x: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requires
LowParse.Spec.List.serialize_list_precond k /\
Mkparser_kind'?.parser_kind_high k ==
FStar.Pervasives.Native.Some (Mkparser_kind'?.parser_kind_low k) /\
Mkpars... | {
"end_col": 5,
"end_line": 602,
"start_col": 2,
"start_line": 592
} |
FStar.Pervasives.Lemma | val serialize_list_cons_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
(let ln2 = S... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_cons_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires (
serialize_list_precond k /\
Seq.length (serialize s y) == Seq.length (serialize s x)
))
(ensures (
let ln2 = Seq.length (serialize (serialize_list _ ... | val serialize_list_cons_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
(let ln2 = S... | false | null | true | serialize_list_cons _ s x l2;
serialize_list_cons _ s y l2;
let sl = serialize (serialize_list _ s) (x :: l2) in
seq_upd_seq_left sl (serialize s y);
let ln = Seq.length (serialize s x) in
Seq.lemma_split sl ln;
Seq.lemma_append_inj (Seq.slice sl 0 ln)
(Seq.slice sl ln (Seq.length sl))
(serialize s x)
(serialize ... | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"FStar.Seq.Properties.lemma_append_inj",
"LowParse.Bytes.byte",
"FStar.Seq.Base.slice",
"FStar.Seq.Base.length",
"LowParse.Spec.Base.serialize",
"LowParse.Spec.List.parse_list_kind",
"Lo... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_cons_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
(let ln2 = S... | [] | LowParse.Spec.List.serialize_list_cons_upd | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | s: LowParse.Spec.Base.serializer p -> x: t -> l2: Prims.list t -> y: t
-> FStar.Pervasives.Lemma
(requires
LowParse.Spec.List.serialize_list_precond k /\
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) ==
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s x))
(ensures
... | {
"end_col": 128,
"end_line": 309,
"start_col": 2,
"start_line": 303
} |
FStar.Pervasives.Lemma | val serialize_list_upd_bw
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_upd_bw
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires (
serialize_list_precond k /\
Seq.length (serialize s y) == Seq.length (serialize s x)
))
(ensures (
let ln1 = Seq.length (serialize (seri... | val serialize_list_upd_bw
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | false | null | true | serialize_list_upd s l1 x l2 y | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"LowParse.Spec.List.serialize_list_upd",
"Prims.unit",
"FStar.List.Tot.Base.length",
"Prims.l_and",
"Prims.b2t",
"LowParse.Spec.List.serialize_list_precond",
"Prims.eq2",
"Prims.nat",
... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_upd_bw
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | [] | LowParse.Spec.List.serialize_list_upd_bw | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | s: LowParse.Spec.Base.serializer p -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t
-> FStar.Pervasives.Lemma
(requires
LowParse.Spec.List.serialize_list_precond k /\
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) ==
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s ... | {
"end_col": 32,
"end_line": 367,
"start_col": 2,
"start_line": 367
} |
FStar.Pervasives.Lemma | val serialize_list_cons_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_cons_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
(i' : nat)
(s' : bytes)
: Lemma
(requires (
let sx = serialize s x in
serialize_list_precond k /\
i' + Seq.length s' <= Seq.length sx /\
serialize s y == se... | val serialize_list_cons_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length... | false | null | true | let j' = Seq.length (serialize s x) - i' - Seq.length s' in
serialize_list_cons_upd_chain s x l2 y j' s' | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"Prims.nat",
"LowParse.Bytes.bytes",
"LowParse.Spec.List.serialize_list_cons_upd_chain",
"Prims.int",
"Prims.op_Subtraction",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"LowParse.... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_cons_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length... | [] | LowParse.Spec.List.serialize_list_cons_upd_bw_chain | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
s: LowParse.Spec.Base.serializer p ->
x: t ->
l2: Prims.list t ->
y: t ->
i': Prims.nat ->
s': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requires
(let sx = LowParse.Spec.Base.serialize s x in
LowParse.Spec.List.serialize_list_precond k /\
i' + FStar.Seq... | {
"end_col": 46,
"end_line": 500,
"start_col": 1,
"start_line": 499
} |
FStar.Pervasives.Lemma | val serialize_list_snoc_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length s' <= Seq.... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_snoc_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(y: t)
(i' : nat)
(s' : bytes)
: Lemma
(requires (
let sx = serialize s x in
serialize_list_precond k /\
i' + Seq.length s' <= Seq.length sx /\
serialize s y == se... | val serialize_list_snoc_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length s' <= Seq.... | false | null | true | let j' = Seq.length (serialize s x) - i' - Seq.length s' in
serialize_list_snoc_upd_chain s l1 x y j' s' | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"Prims.nat",
"LowParse.Bytes.bytes",
"LowParse.Spec.List.serialize_list_snoc_upd_chain",
"Prims.int",
"Prims.op_Subtraction",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"LowParse.... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_snoc_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' + Seq.length s' <= Seq.... | [] | LowParse.Spec.List.serialize_list_snoc_upd_bw_chain | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
s: LowParse.Spec.Base.serializer p ->
l1: Prims.list t ->
x: t ->
y: t ->
i': Prims.nat ->
s': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requires
(let sx = LowParse.Spec.Base.serialize s x in
LowParse.Spec.List.serialize_list_precond k /\
i' + FStar.Seq... | {
"end_col": 46,
"end_line": 554,
"start_col": 1,
"start_line": 553
} |
FStar.Pervasives.Lemma | val serialize_list_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i' : nat)
(s' : bytes)
: Lemma
(requires (
let sx = serialize s x in
serialize_list_precond k /\
i' + Seq.length s' <= Seq.length sx /\
serialize... | val serialize_list_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i... | false | null | true | let sx = serialize s x in
let j' = Seq.length sx - i' - Seq.length s' in
serialize_list_upd_chain s l1 x l2 y j' s' | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"Prims.nat",
"LowParse.Bytes.bytes",
"LowParse.Spec.List.serialize_list_upd_chain",
"Prims.int",
"Prims.op_Subtraction",
"FStar.Seq.Base.length",
"LowParse.Bytes.byte",
"LowParse.Spec.... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_upd_bw_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i... | [] | LowParse.Spec.List.serialize_list_upd_bw_chain | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
s: LowParse.Spec.Base.serializer p ->
l1: Prims.list t ->
x: t ->
l2: Prims.list t ->
y: t ->
i': Prims.nat ->
s': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requires
(let sx = LowParse.Spec.Base.serialize s x in
LowParse.Spec.List.serialize_list_precond k /\
... | {
"end_col": 44,
"end_line": 446,
"start_col": 1,
"start_line": 444
} |
FStar.Pervasives.Lemma | val serialize_list_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires (
serialize_list_precond k /\
Seq.length (serialize s y) == Seq.length (serialize s x)
))
(ensures (
let ln1 = Seq.length (serialize (seriali... | val serialize_list_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | false | null | true | serialize_list_append _ s l1 (y :: l2);
assert (serialize (serialize_list _ s) (l1 `L.append` (y :: l2)) ==
(serialize (serialize_list _ s) l1)
`Seq.append`
(serialize (serialize_list _ s) (y :: l2)));
serialize_list_cons_upd s x l2 y;
assert (serialize (serialize_list _ s) (l1 `L.append` (y :: l2)) ==
... | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"LowParse.Spec.List.serialize_list_append",
"Prims.Cons",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
"FStar.Seq.Base.seq",
"LowParse.Bytes.byte",
"LowParse.Spec.Base.serialize",
"Lo... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_upd
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
: Lemma
(requires
(serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x)))
(ensures
... | [] | LowParse.Spec.List.serialize_list_upd | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | s: LowParse.Spec.Base.serializer p -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t
-> FStar.Pervasives.Lemma
(requires
LowParse.Spec.List.serialize_list_precond k /\
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) ==
FStar.Seq.Base.length (LowParse.Spec.Base.serialize s ... | {
"end_col": 40,
"end_line": 342,
"start_col": 2,
"start_line": 336
} |
FStar.Pervasives.Lemma | val tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes)
: Lemma
(parse (tot_parse_list p) b ==
(if Seq.length b = 0
then Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = ... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let tot_parse_list_eq
(#k: parser_kind)
(#t: Type)
(p: tot_parser k t)
(b: bytes)
: Lemma
(parse (tot_parse_list p) b == (
if Seq.length b = 0
then
Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = 0
then N... | val tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes)
: Lemma
(parse (tot_parse_list p) b ==
(if Seq.length b = 0
then Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = ... | false | null | true | parse_list_eq #k p b | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.tot_parser",
"LowParse.Bytes.bytes",
"LowParse.Spec.List.parse_list_eq",
"Prims.unit",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"FStar.Pervasives.Native.tuple2",
"Prims.list",
"LowParse.Spec.Base.consum... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes)
: Lemma
(parse (tot_parse_list p) b ==
(if Seq.length b = 0
then Some ([], (0 <: consumed_length b))
else
match parse p b with
| None -> None
| Some (v, n) ->
if n = ... | [] | LowParse.Spec.List.tot_parse_list_eq | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | p: LowParse.Spec.Base.tot_parser k t -> b: LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(ensures
LowParse.Spec.Base.parse (LowParse.Spec.List.tot_parse_list p) b ==
(match FStar.Seq.Base.length b = 0 with
| true -> FStar.Pervasives.Native.Some ([], 0)
| _ ->
(match LowParse... | {
"end_col": 22,
"end_line": 164,
"start_col": 2,
"start_line": 164
} |
FStar.Pervasives.Lemma | val serialize_list_upd_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' +... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let serialize_list_upd_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i' : nat)
(s' : bytes)
: Lemma
(requires (
let sx = serialize s x in
serialize_list_precond k /\
i' + Seq.length s' <= Seq.length sx /\
serialize s ... | val serialize_list_upd_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' +... | false | null | true | serialize_list_upd s l1 x l2 y;
serialize_list_append _ s l1 (x :: l2);
let sl1 = serialize (serialize_list _ s) l1 in
let ln1 = Seq.length sl1 in
let sxl2 = serialize (serialize_list _ s) (x :: l2) in
let sl = serialize (serialize_list _ s) (l1 `L.append` (x :: l2)) in
Seq.lemma_split sl ln1;
Seq.lemma_append_inj (Seq... | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"Prims.nat",
"LowParse.Bytes.bytes",
"Prims.unit",
"LowParse.Spec.Base.seq_upd_seq_seq_upd_seq_slice",
"LowParse.Bytes.byte",
"Prims.op_Addition",
"Prims._assert",
"Prims.eq2",
"FSta... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_upd_chain
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l1: list t)
(x: t)
(l2: list t)
(y: t)
(i': nat)
(s': bytes)
: Lemma
(requires
(let sx = serialize s x in
serialize_list_precond k /\ i' +... | [] | LowParse.Spec.List.serialize_list_upd_chain | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
s: LowParse.Spec.Base.serializer p ->
l1: Prims.list t ->
x: t ->
l2: Prims.list t ->
y: t ->
i': Prims.nat ->
s': LowParse.Bytes.bytes
-> FStar.Pervasives.Lemma
(requires
(let sx = LowParse.Spec.Base.serialize s x in
LowParse.Spec.List.serialize_list_precond k /\
... | {
"end_col": 4,
"end_line": 415,
"start_col": 2,
"start_line": 398
} |
FStar.Pervasives.Lemma | val serialize_list_eq_parser_fail
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0})
(l1 l2: list t)
(b1 b2: bytes)
: Lemma
(requires
((serialize (serialize_list _ s) l1)
`S... | [
{
"abbrev": true,
"full_module": "FStar.Classical",
"short_module": "Classical"
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_modul... | false | let rec serialize_list_eq_parser_fail
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p { k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 })
(l1 l2: list t)
(b1 b2: bytes)
: Lemma
(requires (
serialize (serialize_list _ s) l1 `Seq.append` b1 == serialize (serialize_lis... | val serialize_list_eq_parser_fail
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0})
(l1 l2: list t)
(b1 b2: bytes)
: Lemma
(requires
((serialize (serialize_list _ s) l1)
`S... | false | null | true | serialize_list_nil _ s;
assert (b1 `Seq.equal` (Seq.append Seq.empty b1));
assert (b2 `Seq.equal` (Seq.append Seq.empty b2));
if L.length l2 < L.length l1
then serialize_list_eq_parser_fail s l2 l1 b2 b1
else
match l1, l2 with
| [], [] -> ()
| x1 :: l1', x2 :: l2' ->
serialize_list_cons _ s x1 l1';
serial... | {
"checked_file": "LowParse.Spec.List.fsti.checked",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Combinators.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.l_and",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind",
"FStar.Pervasives.Native.Some",
... | [] | module LowParse.Spec.List
include LowParse.Spec.Combinators // for seq_slice_append_l
module Seq = FStar.Seq
module L = FStar.List.Tot
module U32 = FStar.UInt32
module Classical = FStar.Classical
(* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t... | false | false | LowParse.Spec.List.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_list_eq_parser_fail
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0})
(l1 l2: list t)
(b1 b2: bytes)
: Lemma
(requires
((serialize (serialize_list _ s) l1)
`S... | [
"recursion"
] | LowParse.Spec.List.serialize_list_eq_parser_fail | {
"file_name": "src/lowparse/LowParse.Spec.List.fsti",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
s:
LowParse.Spec.Base.serializer p
{ Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\
Mkparser_kind'?.parser_kind_low k > 0 } ->
l1: Prims.list t ->
l2: Prims.list t ->
b1: LowParse.Bytes.bytes ->
b2: LowParse... | {
"end_col": 45,
"end_line": 281,
"start_col": 2,
"start_line": 265
} |
FStar.Pervasives.Lemma | val elab_comp_open_commute (c:comp) (x:term)
: Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) | [
{
"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... | false | let elab_comp_open_commute (c:comp) (x:term)
: Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x))
= RT.open_with_spec (elab_comp c) (elab_term x);
elab_comp_open_commute' c x 0 | val elab_comp_open_commute (c:comp) (x:term)
: Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x))
let elab_comp_open_commute (c: comp) (x: term)
: Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) = | false | null | true | RT.open_with_spec (elab_comp c) (elab_term x);
elab_comp_open_commute' c x 0 | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.comp",
"Pulse.Syntax.Base.term",
"Pulse.Elaborate.elab_comp_open_commute'",
"Prims.unit",
"FStar.Reflection.Typing.open_with_spec",
"Pulse.Elaborate.Pure.elab_comp",
"Pulse.Elaborate.Pure.elab_term",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.Reflection.Types.term",
... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_comp_open_commute (c:comp) (x:term)
: Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) | [] | Pulse.Elaborate.elab_comp_open_commute | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp -> x: Pulse.Syntax.Base.term
-> FStar.Pervasives.Lemma
(ensures
Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.open_comp_with c x) ==
FStar.Reflection.Typing.open_with (Pulse.Elaborate.Pure.elab_comp c)
(Pulse.Elaborate.Pure.elab_term x)) | {
"end_col": 33,
"end_line": 124,
"start_col": 4,
"start_line": 123
} |
FStar.Pervasives.Lemma | val elab_comp_close_commute (c:comp) (x:var)
: Lemma (elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) | [
{
"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... | false | let elab_comp_close_commute (c:comp) (x:var)
: Lemma (elab_comp (close_comp c x) == RT.close_term (elab_comp c) x)
= RT.close_term_spec (elab_comp c) x;
elab_comp_close_commute' c x 0 | val elab_comp_close_commute (c:comp) (x:var)
: Lemma (elab_comp (close_comp c x) == RT.close_term (elab_comp c) x)
let elab_comp_close_commute (c: comp) (x: var)
: Lemma (elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) = | false | null | true | RT.close_term_spec (elab_comp c) x;
elab_comp_close_commute' c x 0 | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.comp",
"Pulse.Syntax.Base.var",
"Pulse.Elaborate.elab_comp_close_commute'",
"Prims.unit",
"FStar.Reflection.Typing.close_term_spec",
"Pulse.Elaborate.Pure.elab_comp",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.Reflection.Types.term",
"Pulse.Syntax.Naming.close_comp",
... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_comp_close_commute (c:comp) (x:var)
: Lemma (elab_comp (close_comp c x) == RT.close_term (elab_comp c) x) | [] | Pulse.Elaborate.elab_comp_close_commute | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp -> x: Pulse.Syntax.Base.var
-> FStar.Pervasives.Lemma
(ensures
Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.close_comp c x) ==
FStar.Reflection.Typing.close_term (Pulse.Elaborate.Pure.elab_comp c) x) | {
"end_col": 34,
"end_line": 119,
"start_col": 4,
"start_line": 118
} |
FStar.Pervasives.Lemma | val elab_open_commute (t:term) (x:var)
: Lemma (elab_term (open_term t x) == RT.open_term (elab_term t) x) | [
{
"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... | false | let elab_open_commute (t:term) (x:var)
: Lemma (elab_term (open_term t x) == RT.open_term (elab_term t) x)
= RT.open_term_spec (elab_term t) x;
elab_open_commute' t (null_var x) 0 | val elab_open_commute (t:term) (x:var)
: Lemma (elab_term (open_term t x) == RT.open_term (elab_term t) x)
let elab_open_commute (t: term) (x: var)
: Lemma (elab_term (open_term t x) == RT.open_term (elab_term t) x) = | false | null | true | RT.open_term_spec (elab_term t) x;
elab_open_commute' t (null_var x) 0 | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.var",
"Pulse.Elaborate.elab_open_commute'",
"Pulse.Syntax.Pure.null_var",
"Prims.unit",
"FStar.Reflection.Typing.open_term_spec",
"Pulse.Elaborate.Pure.elab_term",
"Prims.l_True",
"Prims.squash",
"Prims.eq2",
"FStar.Reflection.Types.term",
"Pulse.Sy... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_open_commute (t:term) (x:var)
: Lemma (elab_term (open_term t x) == RT.open_term (elab_term t) x) | [] | Pulse.Elaborate.elab_open_commute | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | t: Pulse.Syntax.Base.term -> x: Pulse.Syntax.Base.var
-> FStar.Pervasives.Lemma
(ensures
Pulse.Elaborate.Pure.elab_term (Pulse.Syntax.Naming.open_term t x) ==
FStar.Reflection.Typing.open_term (Pulse.Elaborate.Pure.elab_term t) x) | {
"end_col": 39,
"end_line": 114,
"start_col": 4,
"start_line": 113
} |
FStar.Pervasives.Lemma | val elab_freevars (e:term)
: Lemma (freevars e == RT.freevars (elab_term e)) | [
{
"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... | false | let elab_freevars e = elab_freevars_eq e | val elab_freevars (e:term)
: Lemma (freevars e == RT.freevars (elab_term e))
let elab_freevars e = | false | null | true | elab_freevars_eq e | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.term",
"Pulse.Elaborate.elab_freevars_eq",
"Prims.unit"
] | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val elab_freevars (e:term)
: Lemma (freevars e == RT.freevars (elab_term e)) | [] | Pulse.Elaborate.elab_freevars | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | e: Pulse.Syntax.Base.term
-> FStar.Pervasives.Lemma
(ensures
Pulse.Syntax.Naming.freevars e ==
FStar.Reflection.Typing.freevars (Pulse.Elaborate.Pure.elab_term e)) | {
"end_col": 40,
"end_line": 195,
"start_col": 22,
"start_line": 195
} |
FStar.Pervasives.Lemma | val elab_ln (t:term) (i:int)
: Lemma (requires ln' t i)
(ensures RT.ln' (elab_term t) i) | [
{
"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... | false | let rec elab_ln t i =
match t.t with
| Tm_Emp -> ()
| Tm_Pure t -> elab_ln t i
| Tm_Star l r ->
elab_ln l i;
elab_ln r i
| Tm_ExistsSL _ t body
| Tm_ForallSL _ t body ->
elab_ln t.binder_ty i;
elab_ln body (i + 1)
| Tm_VProp
| Tm_Inames
| Tm_EmpInames
| Tm_Unknown
| Tm_FStar _ -> (... | val elab_ln (t:term) (i:int)
: Lemma (requires ln' t i)
(ensures RT.ln' (elab_term t) i)
let rec elab_ln t i = | false | null | true | match t.t with
| Tm_Emp -> ()
| Tm_Pure t -> elab_ln t i
| Tm_Star l r ->
elab_ln l i;
elab_ln r i
| Tm_ExistsSL _ t body
| Tm_ForallSL _ t body ->
elab_ln t.binder_ty i;
elab_ln body (i + 1)
| Tm_VProp | Tm_Inames | Tm_EmpInames | Tm_Unknown | Tm_FStar _ -> () | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.term",
"Prims.int",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Elaborate.elab_ln",
"Prims.unit",
"Pulse.Syntax.Base.universe",
"Pulse.Syntax.Base.binder",
"Prims.op_Addition",
"Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ty",
"Pulse.Syntax.Base.host_term"
] | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_ln (t:term) (i:int)
: Lemma (requires ln' t i)
(ensures RT.ln' (elab_term t) i) | [
"recursion"
] | Pulse.Elaborate.elab_ln | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | t: Pulse.Syntax.Base.term -> i: Prims.int
-> FStar.Pervasives.Lemma (requires Pulse.Syntax.Naming.ln' t i)
(ensures FStar.Reflection.Typing.ln' (Pulse.Elaborate.Pure.elab_term t) i) | {
"end_col": 20,
"end_line": 141,
"start_col": 2,
"start_line": 127
} |
FStar.Pervasives.Lemma | val elab_ln_comp (c:comp) (i:int)
: Lemma (requires ln_c' c i) (ensures RT.ln' (elab_comp c) i) | [
{
"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... | false | let elab_ln_comp (c:comp) (i:int)
: Lemma (requires ln_c' c i)
(ensures RT.ln' (elab_comp c) i) =
match c with
| C_Tot t -> elab_ln t i
| C_ST st ->
elab_ln st.res i;
elab_ln st.pre i;
elab_ln st.post (i + 1)
| C_STAtomic inames st
| C_STGhost inames st ->
elab_ln inames i;
el... | val elab_ln_comp (c:comp) (i:int)
: Lemma (requires ln_c' c i) (ensures RT.ln' (elab_comp c) i)
let elab_ln_comp (c: comp) (i: int) : Lemma (requires ln_c' c i) (ensures RT.ln' (elab_comp c) i) = | false | null | true | match c with
| C_Tot t -> elab_ln t i
| C_ST st ->
elab_ln st.res i;
elab_ln st.pre i;
elab_ln st.post (i + 1)
| C_STAtomic inames st
| C_STGhost inames st ->
elab_ln inames i;
elab_ln st.res i;
elab_ln st.pre i;
elab_ln st.post (i + 1) | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.comp",
"Prims.int",
"Pulse.Syntax.Base.term",
"Pulse.Elaborate.elab_ln",
"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.Base.__proj__Mkst_comp__ite... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_ln_comp (c:comp) (i:int)
: Lemma (requires ln_c' c i) (ensures RT.ln' (elab_comp c) i) | [] | Pulse.Elaborate.elab_ln_comp | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | c: Pulse.Syntax.Base.comp -> i: Prims.int
-> FStar.Pervasives.Lemma (requires Pulse.Syntax.Naming.ln_c' c i)
(ensures FStar.Reflection.Typing.ln' (Pulse.Elaborate.Pure.elab_comp c) i) | {
"end_col": 27,
"end_line": 158,
"start_col": 2,
"start_line": 147
} |
FStar.Pervasives.Lemma | val elab_open_commute' (e:term)
(v:term)
(n:index)
: Lemma (ensures
RT.subst_term (elab_term e) [ RT.DT n (elab_term v) ] ==
elab_term (open_term' e v n)) | [
{
"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... | false | let rec elab_open_commute' (e:term)
(v:term)
(n:index)
: Lemma (ensures
RT.subst_term (elab_term e) [ RT.DT n (elab_term v) ] ==
elab_term (open_term' e v n))
(decreases e)
= match e.t with
| Tm_Emp
| Tm_Inames
... | val elab_open_commute' (e:term)
(v:term)
(n:index)
: Lemma (ensures
RT.subst_term (elab_term e) [ RT.DT n (elab_term v) ] ==
elab_term (open_term' e v n))
let rec elab_open_commute' (e v: term) (n: index)
: Lemma
(ensures RT.subst_ter... | false | null | true | match e.t with
| Tm_Emp | Tm_Inames | Tm_EmpInames | Tm_VProp | Tm_Unknown -> ()
| Tm_Pure p -> elab_open_commute' p v n
| Tm_Star e1 e2 ->
elab_open_commute' e1 v n;
elab_open_commute' e2 v n
| Tm_ExistsSL u t body
| Tm_ForallSL u t body ->
elab_open_commute' t.binder_ty v n;
elab_open_commute' body v (n + 1)
... | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"",
"lemma"
] | [
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.index",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Elaborate.elab_open_commute'",
"Prims.unit",
"Pulse.Syntax.Base.universe",
"Pulse.Syntax.Base.binder",
"Prims.op_Addition",
"Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ty",
"Pulse.Syntax.... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_open_commute' (e:term)
(v:term)
(n:index)
: Lemma (ensures
RT.subst_term (elab_term e) [ RT.DT n (elab_term v) ] ==
elab_term (open_term' e v n)) | [
"recursion"
] | Pulse.Elaborate.elab_open_commute' | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | e: Pulse.Syntax.Base.term -> v: Pulse.Syntax.Base.term -> n: Pulse.Syntax.Base.index
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.Typing.subst_term (Pulse.Elaborate.Pure.elab_term e)
[FStar.Reflection.Typing.DT n (Pulse.Elaborate.Pure.elab_term v)] ==
Pulse.Elaborate.Pure.elab_t... | {
"end_col": 22,
"end_line": 50,
"start_col": 4,
"start_line": 32
} |
FStar.Pervasives.Lemma | 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)) | [
{
"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... | 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_E... | 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] == ... | false | null | true | match e.t with
| Tm_Emp | Tm_Inames | Tm_EmpInames | Tm_VProp | Tm_Unknown -> ()
| Tm_Pure p -> elab_close_commute' p v n
| 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_commute' t.binder_ty v n;
elab_close_commute' body v (n ... | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"",
"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__... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | 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)) | [
"recursion"
] | Pulse.Elaborate.elab_close_commute' | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | 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... | {
"end_col": 22,
"end_line": 91,
"start_col": 4,
"start_line": 76
} |
FStar.Pervasives.Lemma | val elab_freevars_comp_eq (c: comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) | [
{
"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... | 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 ->
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post
| C_STAtomic inames st
| C_STGhost inames st ->
elab_fr... | 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))) = | false | null | true | match c with
| C_Tot t -> elab_freevars_eq t
| C_ST st ->
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post
| C_STAtomic inames st
| C_STGhost inames st ->
elab_freevars_eq inames;
elab_freevars_eq st.res;
elab_freevars_eq st.pre;
elab_freevars_eq st.post | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"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",
"Prims.l_True",
... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_freevars_comp_eq (c: comp)
: Lemma (Set.equal (freevars_comp c) (RT.freevars (elab_comp c))) | [] | Pulse.Elaborate.elab_freevars_comp_eq | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | 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))) | {
"end_col": 28,
"end_line": 192,
"start_col": 2,
"start_line": 181
} |
FStar.Pervasives.Lemma | val elab_freevars_eq (e: term) : Lemma (Set.equal (freevars e) (RT.freevars (elab_term e))) | [
{
"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... | false | let rec elab_freevars_eq (e:term)
: Lemma (Set.equal (freevars e) (RT.freevars (elab_term e))) =
match e.t with
| Tm_Emp -> ()
| Tm_Pure t -> elab_freevars_eq t
| Tm_Star l r ->
elab_freevars_eq l;
elab_freevars_eq r
| Tm_ExistsSL _ t body
| Tm_ForallSL _ t body ->
elab_freevars_eq t.binder_ty... | val elab_freevars_eq (e: term) : Lemma (Set.equal (freevars e) (RT.freevars (elab_term e)))
let rec elab_freevars_eq (e: term) : Lemma (Set.equal (freevars e) (RT.freevars (elab_term e))) = | false | null | true | match e.t with
| Tm_Emp -> ()
| Tm_Pure t -> elab_freevars_eq t
| Tm_Star l r ->
elab_freevars_eq l;
elab_freevars_eq r
| Tm_ExistsSL _ t body
| Tm_ForallSL _ t body ->
elab_freevars_eq t.binder_ty;
elab_freevars_eq body
| Tm_VProp | Tm_Inames | Tm_EmpInames | Tm_Unknown | Tm_FStar _ -> () | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"lemma"
] | [
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Elaborate.elab_freevars_eq",
"Prims.unit",
"Pulse.Syntax.Base.universe",
"Pulse.Syntax.Base.binder",
"Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ty",
"Pulse.Syntax.Base.host_term",
"Prims.l_True",
"Prims.squash",
... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | val elab_freevars_eq (e: term) : Lemma (Set.equal (freevars e) (RT.freevars (elab_term e))) | [
"recursion"
] | Pulse.Elaborate.elab_freevars_eq | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | e: Pulse.Syntax.Base.term
-> FStar.Pervasives.Lemma
(ensures
FStar.Set.equal (Pulse.Syntax.Naming.freevars e)
(FStar.Reflection.Typing.freevars (Pulse.Elaborate.Pure.elab_term e))) | {
"end_col": 20,
"end_line": 176,
"start_col": 2,
"start_line": 162
} |
FStar.Pervasives.Lemma | 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)) | [
{
"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... | 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 ->
elab_open_commute' s.res v n;
elab_open_co... | 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 (o... | false | null | true | match c with
| C_Tot t -> elab_open_commute' t v n
| C_ST 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
| C_STGhost inames s ->
elab_open_commute' inames v n;
elab_open_commute' s.res v n;
elab_open_commute' s.pre v n;
elab_open_... | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"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... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | 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)) | [] | Pulse.Elaborate.elab_comp_open_commute' | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | 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... | {
"end_col": 41,
"end_line": 67,
"start_col": 4,
"start_line": 56
} |
FStar.Pervasives.Lemma | 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) | [
{
"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... | 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 ->
elab_close_commute' s.res v n;
... | 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' ... | false | null | true | match c with
| C_Tot t -> elab_close_commute' t v n
| C_ST 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
| C_STGhost inames s ->
elab_close_commute' inames v n;
elab_close_commute' s.res v n;
elab_close_commute' s.pre v n;
ela... | {
"checked_file": "Pulse.Elaborate.fst.checked",
"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.Refl... | [
"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... | [] | module Pulse.Elaborate
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Elaborate.Core
// let rec elab_term_bv_sort (t:term)
// : Lemma
// (ensures
// (R.Tv_Var? (R.in... | false | false | Pulse.Elaborate.fst | {
"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... | null | 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) | [] | Pulse.Elaborate.elab_comp_close_commute' | {
"file_name": "lib/steel/pulse/Pulse.Elaborate.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | 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... | {
"end_col": 42,
"end_line": 109,
"start_col": 4,
"start_line": 98
} |
Prims.Tot | val ins_Cmovc64 : instr_dep [inOut op64] [op64; opFlagsCf] PreserveFlags eval_Cmovc64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Cmovc64 = make_ins (fun dst src -> print_s "cmovc" [P64 dst; P64 src]) | val ins_Cmovc64 : instr_dep [inOut op64] [op64; opFlagsCf] PreserveFlags eval_Cmovc64
let ins_Cmovc64 = | false | null | false | make_ins (fun dst src -> print_s "cmovc" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.opFlagsCf",
"Vale.X64.Instruction_s.PreserveFlags",
"Vale.X64.Instruction... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Cmovc64 : instr_dep [inOut op64] [op64; opFlagsCf] PreserveFlags eval_Cmovc64 | [] | Vale.X64.Instructions_s.ins_Cmovc64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64]
[Vale.X64.Instruction_s.op64; Vale.X64.Instruction_s.opFlagsCf]
Vale.X64.Instruction_s.PreserveFlags
Vale.X64.Instructions_s.eval_Cmovc64 | {
"end_col": 78,
"end_line": 11,
"start_col": 18,
"start_line": 11
} |
Prims.Tot | val ins_MovBe64 : instr_dep [out op64] [op64] PreserveFlags eval_MovBe64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) | val ins_MovBe64 : instr_dep [out op64] [op64] PreserveFlags eval_MovBe64
let ins_MovBe64 = | false | null | false | make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.out",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.PreserveFlags",
"Vale.X64.Instructions_s.eval_MovBe64",
"Vale.X64.Machine_s... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_MovBe64 : instr_dep [out op64] [op64] PreserveFlags eval_MovBe64 | [] | Vale.X64.Instructions_s.ins_MovBe64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.PreserveFlags
Vale.X64.Instructions_s.eval_MovBe64 | {
"end_col": 78,
"end_line": 7,
"start_col": 18,
"start_line": 7
} |
Prims.Tot | val ins_Adcx64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Adcx64 = make_ins (fun dst src -> print_s "adcx" [P64 dst; P64 src]) | val ins_Adcx64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
let ins_Adcx64 = | false | null | false | make_ins (fun dst src -> print_s "adcx" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.opFlagsCf",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.PreserveFlags",
"Vale.X64.Instruction... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Adcx64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64 | [] | Vale.X64.Instructions_s.ins_Adcx64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf;
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64
]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.PreserveFlags
Vale.X64.Instructions_s.eval_Adcx64_Adox64 | {
"end_col": 76,
"end_line": 30,
"start_col": 17,
"start_line": 30
} |
Prims.Tot | val ins_AddCarry64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_AddCarry64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_AddCarry64 = make_ins (fun dst src -> print_s "adc" [P64 dst; P64 src]) | val ins_AddCarry64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_AddCarry64
let ins_AddCarry64 = | false | null | false | make_ins (fun dst src -> print_s "adc" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.opFlagsCf",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.HavocFlags",
"Vale.X64.Instructions_s... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_AddCarry64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_AddCarry64 | [] | Vale.X64.Instructions_s.ins_AddCarry64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf;
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64
]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.HavocFlags
Vale.X64.Instructions_s.eval_AddCarry64 | {
"end_col": 79,
"end_line": 28,
"start_col": 21,
"start_line": 28
} |
Prims.Tot | val ins_Mul64 : instr_dep [out (one64Reg rRdx); inOut (one64Reg rRax)] [op64] HavocFlags eval_Mul64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Mul64 = make_ins (fun src -> print_s "mul" [P64 src]) | val ins_Mul64 : instr_dep [out (one64Reg rRdx); inOut (one64Reg rRax)] [op64] HavocFlags eval_Mul64
let ins_Mul64 = | false | null | false | make_ins (fun src -> print_s "mul" [P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.out",
"Vale.X64.Instruction_s.one64Reg",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Machine_s.rRax",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Mul64 : instr_dep [out (one64Reg rRdx); inOut (one64Reg rRax)] [op64] HavocFlags eval_Mul64 | [] | Vale.X64.Instructions_s.ins_Mul64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [
Vale.X64.Instruction_s.out (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRdx);
Vale.X64.Instruction_s.inOut (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRax)
]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.HavocFlags
Vale.X64.Instructions_s.eval_M... | {
"end_col": 61,
"end_line": 38,
"start_col": 16,
"start_line": 38
} |
Prims.Tot | val ins_Adox64 : instr_dep [inOut opFlagsOf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Adox64 = make_ins (fun dst src -> print_s "adox" [P64 dst; P64 src]) | val ins_Adox64 : instr_dep [inOut opFlagsOf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
let ins_Adox64 = | false | null | false | make_ins (fun dst src -> print_s "adox" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.opFlagsOf",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.PreserveFlags",
"Vale.X64.Instruction... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Adox64 : instr_dep [inOut opFlagsOf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64 | [] | Vale.X64.Instructions_s.ins_Adox64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsOf;
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64
]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.PreserveFlags
Vale.X64.Instructions_s.eval_Adcx64_Adox64 | {
"end_col": 76,
"end_line": 32,
"start_col": 17,
"start_line": 32
} |
Prims.Tot | val ins_Shr64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shr64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Shr64 = make_ins (fun dst amt -> print_s "shr" [P64 dst; PShift amt]) | val ins_Shr64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shr64
let ins_Shr64 = | false | null | false | make_ins (fun dst amt -> print_s "shr" [P64 dst; PShift amt]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.HavocFlags",
"Vale.X64.Instructions_s.eval_Shr64",
"Vale.X64.Machine_s.op... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Shr64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shr64 | [] | Vale.X64.Instructions_s.ins_Shr64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.HavocFlags
Vale.X64.Instructions_s.eval_Shr64 | {
"end_col": 77,
"end_line": 51,
"start_col": 16,
"start_line": 51
} |
Prims.Tot | val ins_IMul64 : instr_dep [inOut op64] [op64] HavocFlags eval_IMul64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_IMul64 = make_ins (fun dst src -> print_s "imul" [P64 dst; P64 src]) | val ins_IMul64 : instr_dep [inOut op64] [op64] HavocFlags eval_IMul64
let ins_IMul64 = | false | null | false | make_ins (fun dst src -> print_s "imul" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.HavocFlags",
"Vale.X64.Instructions_s.eval_IMul64",
"Vale.X64.Machine_s.o... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_IMul64 : instr_dep [inOut op64] [op64] HavocFlags eval_IMul64 | [] | Vale.X64.Instructions_s.ins_IMul64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.HavocFlags
Vale.X64.Instructions_s.eval_IMul64 | {
"end_col": 76,
"end_line": 43,
"start_col": 17,
"start_line": 43
} |
Prims.Tot | val ins_Mov64 : instr_dep [out op64] [op64] PreserveFlags eval_Mov64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) | val ins_Mov64 : instr_dep [out op64] [op64] PreserveFlags eval_Mov64
let ins_Mov64 = | false | null | false | make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.out",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.PreserveFlags",
"Vale.X64.Instructions_s.eval_Mov64",
"Vale.X64.Machine_s.o... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Mov64 : instr_dep [out op64] [op64] PreserveFlags eval_Mov64 | [] | Vale.X64.Instructions_s.ins_Mov64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.PreserveFlags
Vale.X64.Instructions_s.eval_Mov64 | {
"end_col": 74,
"end_line": 5,
"start_col": 16,
"start_line": 5
} |
Prims.Tot | val ins_Sbb64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_Sbb64 | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Seq.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CryptoInstructions_s",
"short_module": null
},
{
"abbrev": false,
"fu... | false | let ins_Sbb64 = make_ins (fun dst src -> print_s "sbb" [P64 dst; P64 src]) | val ins_Sbb64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_Sbb64
let ins_Sbb64 = | false | null | false | make_ins (fun dst src -> print_s "sbb" [P64 dst; P64 src]) | {
"checked_file": "Vale.X64.Instructions_s.fst.checked",
"dependencies": [
"Vale.X64.Instruction_s.fst.checked",
"prims.fst.checked",
"FStar.Pervasives.Native.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.X64.Instruct... | [
"total"
] | [
"Vale.X64.Instruction_s.make_ins",
"Prims.Cons",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.inOut",
"Vale.X64.Instruction_s.opFlagsCf",
"Vale.X64.Instruction_s.op64",
"Prims.Nil",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.HavocFlags",
"Vale.X64.Instructions_s... | [] | module Vale.X64.Instructions_s
open FStar.Mul
friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
let ins_Bswa... | false | true | Vale.X64.Instructions_s.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ins_Sbb64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_Sbb64 | [] | Vale.X64.Instructions_s.ins_Sbb64 | {
"file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Vale.X64.Instruction_s.instr_dep [
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf;
Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64
]
[Vale.X64.Instruction_s.op64]
Vale.X64.Instruction_s.HavocFlags
Vale.X64.Instructions_s.eval_Sbb64 | {
"end_col": 74,
"end_line": 36,
"start_col": 16,
"start_line": 36
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.